@alfadocs/ui-kit 1.57.0 → 1.58.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-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
- package/dist/_chunks/{alia-sidebar-BBKBJCv6.js → alia-sidebar-dybRpWml.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CCQ62mMN.js → anamnesis-summary-rows-M-FUkw9p.js} +3 -3
- package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CII3SDmR.js → balance-badge-cell-CGoJZlKf.js} +3 -3
- package/dist/_chunks/{booking-81WnKDsH.js → booking-CiFSAMR-.js} +2 -2
- package/dist/_chunks/{calendar-workspace-D5-k_9zE.js → calendar-workspace-DNHzjG7O.js} +12 -12
- package/dist/_chunks/{chart-DQ5GxqgT.js → chart-ZMkX-Gqy.js} +28 -28
- package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
- package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
- package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
- package/dist/_chunks/{data-table-fAMTeAjM.js → data-table-Yn5xiGzs.js} +2 -2
- package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
- package/dist/_chunks/{file-manager-CFsL1KVt.js → file-manager-DEtkQR1F.js} +3 -3
- package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
- package/dist/_chunks/{heatmap-BEeOThkW.js → heatmap-DiyOSQk9.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-BUoYGo6f.js → help-me-write-templates-CM1p6qkm.js} +2 -2
- package/dist/_chunks/{icon-picker-C86lQTIA.js → icon-picker-rOFTawXk.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-CxW_oLa5.js → link-cell-renderer-C1wOyxDF.js} +2 -2
- package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
- package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
- package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
- package/dist/_chunks/{message-tray-QKQutwxj.js → message-tray-DmU0poD7.js} +2 -2
- package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
- package/dist/_chunks/{notes-panel-Cm4pttpl.js → notes-panel-DHLHsxpW.js} +2 -2
- package/dist/_chunks/{notification-tray-C5VtbGjd.js → notification-tray-DPU-Xg0i.js} +2 -2
- package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
- package/dist/_chunks/{patient-details-99kEdtc5.js → patient-details-BCaVuaXz.js} +2 -2
- package/dist/_chunks/{patient-field-row-DkxY13T6.js → patient-field-row-jcRSTrp4.js} +3 -3
- package/dist/_chunks/{patient-summary-card-opdyfeW2.js → patient-summary-card-kQIfPQOE.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
- package/dist/_chunks/{practice-results-CfRkjzsI.js → practice-results-D07wgCqV.js} +2 -2
- package/dist/_chunks/{product-hub-panel-DlVRK7Ue.js → product-hub-panel-DCYX0rPG.js} +2 -2
- package/dist/_chunks/{public-header.agent-BctevbuY.js → public-header.agent-C1SlVSYt.js} +2 -2
- package/dist/_chunks/{registration-form-BlTzYywa.js → registration-form-DrSR9Sjk.js} +3 -3
- package/dist/_chunks/{rich-text-editor-DTnNZ4Ff.js → rich-text-editor-UgXri8h6.js} +2 -2
- package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
- package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
- package/dist/_chunks/{sheet-8qsiMoUI.js → sheet-Dtjk0CVv.js} +2 -2
- package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
- package/dist/_chunks/{signature-request-DRuYAG5I.js → signature-request-dAVgE0_5.js} +2 -2
- package/dist/_chunks/{signed-out-frame-AhMsNW1r.js → signed-out-frame-DOJpobp8.js} +2 -2
- package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
- package/dist/_chunks/{task-editor-NkcopDna.js → task-editor-BflEZmcF.js} +5 -4
- package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
- package/dist/_chunks/{use-appointment-details-read-CfFQNOF_.js → use-appointment-details-read-izwoXh-G.js} +6 -6
- package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
- package/dist/_chunks/{voice-control-panel-BKbgb7FM.js → voice-control-panel-an-bpQfF.js} +2 -2
- package/dist/_chunks/{widget-picker-rBA7MR5P.js → widget-picker-DlJOgYrZ.js} +80 -57
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
- package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -5
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/search-bar.d.ts +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.d.ts +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar-move.d.ts +88 -0
- package/dist/components/sidebar/sidebar.d.ts +26 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/host-compat.css +2 -1
- package/dist/i18n/locales/ar.d.ts +10 -0
- package/dist/i18n/locales/ar.js +11 -1
- package/dist/i18n/locales/de.d.ts +10 -0
- package/dist/i18n/locales/de.js +11 -1
- package/dist/i18n/locales/el.d.ts +10 -0
- package/dist/i18n/locales/el.js +11 -1
- package/dist/i18n/locales/en.d.ts +10 -0
- package/dist/i18n/locales/en.js +11 -1
- package/dist/i18n/locales/es.d.ts +10 -0
- package/dist/i18n/locales/es.js +11 -1
- package/dist/i18n/locales/fr.d.ts +10 -0
- package/dist/i18n/locales/fr.js +11 -1
- package/dist/i18n/locales/hi.d.ts +10 -0
- package/dist/i18n/locales/hi.js +11 -1
- package/dist/i18n/locales/it.d.ts +10 -0
- package/dist/i18n/locales/it.js +11 -1
- package/dist/i18n/locales/ja.d.ts +10 -0
- package/dist/i18n/locales/ja.js +11 -1
- package/dist/i18n/locales/nl.d.ts +10 -0
- package/dist/i18n/locales/nl.js +11 -1
- package/dist/i18n/locales/pl.d.ts +10 -0
- package/dist/i18n/locales/pl.js +11 -1
- package/dist/i18n/locales/pt.d.ts +10 -0
- package/dist/i18n/locales/pt.js +11 -1
- package/dist/i18n/locales/ro.d.ts +10 -0
- package/dist/i18n/locales/ro.js +11 -1
- package/dist/i18n/locales/ru.d.ts +10 -0
- package/dist/i18n/locales/ru.js +11 -1
- package/dist/i18n/locales/sq.d.ts +10 -0
- package/dist/i18n/locales/sq.js +11 -1
- package/dist/i18n/locales/sv.d.ts +10 -0
- package/dist/i18n/locales/sv.js +11 -1
- package/dist/i18n/locales/tr.d.ts +10 -0
- package/dist/i18n/locales/tr.js +11 -1
- package/dist/i18n/locales/zh.d.ts +10 -0
- package/dist/i18n/locales/zh.js +11 -1
- package/dist/index.js +44 -44
- package/dist/locales/ar.json +11 -1
- package/dist/locales/de.json +11 -1
- package/dist/locales/el.json +11 -1
- package/dist/locales/en.json +11 -1
- package/dist/locales/es.json +11 -1
- package/dist/locales/fr.json +11 -1
- package/dist/locales/hi.json +11 -1
- package/dist/locales/it.json +11 -1
- package/dist/locales/ja.json +11 -1
- package/dist/locales/nl.json +11 -1
- package/dist/locales/pl.json +11 -1
- package/dist/locales/pt.json +11 -1
- package/dist/locales/ro.json +11 -1
- package/dist/locales/ru.json +11 -1
- package/dist/locales/sq.json +11 -1
- package/dist/locales/sv.json +11 -1
- package/dist/locales/tr.json +11 -1
- package/dist/locales/zh.json +11 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/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 +34 -9
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
- package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js +0 -555
- package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
- package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
|
@@ -24,7 +24,7 @@ import { F as Ue } from "./file-text-5yv6r2ls.js";
|
|
|
24
24
|
import { D as we } from "./download-CfYKJO_j.js";
|
|
25
25
|
import { F as Jt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
26
26
|
import Zt from "i18next";
|
|
27
|
-
import { S as Ke } from "./state-backed-text-input-
|
|
27
|
+
import { S as Ke } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
28
28
|
import { S as ea } from "./select-Ce5RMk93.js";
|
|
29
29
|
import { u as ta } from "./registry-DvAUVLHh.js";
|
|
30
30
|
import { u as aa } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
@@ -1990,4 +1990,4 @@ export {
|
|
|
1990
1990
|
Cr as h,
|
|
1991
1991
|
B as i
|
|
1992
1992
|
};
|
|
1993
|
-
//# sourceMappingURL=data-table-
|
|
1993
|
+
//# sourceMappingURL=data-table-Yn5xiGzs.js.map
|
|
@@ -10,7 +10,7 @@ import { I as Ke } from "./icon-button-COX76Jdj.js";
|
|
|
10
10
|
import { B as es } from "./button-group-CWlwR-A5.js";
|
|
11
11
|
import { C as ts } from "./combobox-U5yfO6o0.js";
|
|
12
12
|
import { I as vn } from "./icon-button-group-C5hhI-R5.js";
|
|
13
|
-
import { S as Ar } from "./state-backed-text-input-
|
|
13
|
+
import { S as Ar } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
14
14
|
import { C as Ze } from "./card-DMO2nkt4.js";
|
|
15
15
|
import { S as Tt } from "./separator-CYU_bGFn.js";
|
|
16
16
|
import { S as ns } from "./slider-pZ95bEm7.js";
|
|
@@ -3127,4 +3127,4 @@ export {
|
|
|
3127
3127
|
Nn as t,
|
|
3128
3128
|
Kr as u
|
|
3129
3129
|
};
|
|
3130
|
-
//# sourceMappingURL=face-scheme-
|
|
3130
|
+
//# sourceMappingURL=face-scheme-DSKDdIsb.js.map
|
|
@@ -10,7 +10,7 @@ import { u as wt } from "./registry-DvAUVLHh.js";
|
|
|
10
10
|
import { B as Z } from "./button-Bn16lcFM.js";
|
|
11
11
|
import { D as m } from "./dialog-Dn-iQ0Jp.js";
|
|
12
12
|
import { a as St, F as xt } from "./file-upload-CxjCs7TX.js";
|
|
13
|
-
import { S as We } from "./state-backed-text-input-
|
|
13
|
+
import { S as We } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
14
14
|
import { F as Ge } from "./folder-BghC8_S2.js";
|
|
15
15
|
import { F as Nt } from "./file-image-cDgE-BTy.js";
|
|
16
16
|
import { c as pe } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -18,7 +18,7 @@ import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
|
18
18
|
import { F as Tt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
19
19
|
import { F as At } from "./file-BuG1VMAy.js";
|
|
20
20
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
21
|
-
import { D as Fe } from "./data-table-
|
|
21
|
+
import { D as Fe } from "./data-table-Yn5xiGzs.js";
|
|
22
22
|
import { A as Rt, a as It } from "./actions-cell-renderer-Dj1ZkvJj.js";
|
|
23
23
|
import { B as $e } from "./badge-hnBt8o7n.js";
|
|
24
24
|
import { D as Ue } from "./download-CfYKJO_j.js";
|
|
@@ -1744,4 +1744,4 @@ export {
|
|
|
1744
1744
|
hn as F,
|
|
1745
1745
|
Gt as f
|
|
1746
1746
|
};
|
|
1747
|
-
//# sourceMappingURL=file-manager-
|
|
1747
|
+
//# sourceMappingURL=file-manager-DEtkQR1F.js.map
|
|
@@ -9,7 +9,7 @@ import { C as K } from "./card-DMO2nkt4.js";
|
|
|
9
9
|
import { E as bo } from "./error-summary-BhM8FEkl.js";
|
|
10
10
|
import { F as wo } from "./form-field-Ani72sVY.js";
|
|
11
11
|
import { i as xo } from "./safe-href-5dbsfbQn.js";
|
|
12
|
-
import { u as Eo } from "./use-state-backed-input-
|
|
12
|
+
import { u as Eo } from "./use-state-backed-input-DhRQo6gM.js";
|
|
13
13
|
import { u as Io, a as Ao, A as Po, b as yo, E as So, c as Ro, d as To } from "./auth-form-parts-CravOf0L.js";
|
|
14
14
|
import { u as Bo, a as Mo, b as No } from "./use-registration-submit-eWAECgUC.js";
|
|
15
15
|
const Vo = ["email"], Do = U(
|
|
@@ -231,4 +231,4 @@ export {
|
|
|
231
231
|
Vo as F,
|
|
232
232
|
_o as a
|
|
233
233
|
};
|
|
234
|
-
//# sourceMappingURL=forgot-password-form-
|
|
234
|
+
//# sourceMappingURL=forgot-password-form-CEqOmNuX.js.map
|
|
@@ -2036,7 +2036,7 @@ const ea = fa(
|
|
|
2036
2036
|
}
|
|
2037
2037
|
);
|
|
2038
2038
|
ea.displayName = "HeatmapLegend";
|
|
2039
|
-
const ta = () => import("./data-table-
|
|
2039
|
+
const ta = () => import("./data-table-Yn5xiGzs.js").then((e) => e.h).then((e) => ({
|
|
2040
2040
|
default: e.DataTable
|
|
2041
2041
|
})), Mr = va(ta);
|
|
2042
2042
|
function ha() {
|
|
@@ -2862,4 +2862,4 @@ export {
|
|
|
2862
2862
|
Na as b,
|
|
2863
2863
|
Ya as h
|
|
2864
2864
|
};
|
|
2865
|
-
//# sourceMappingURL=heatmap-
|
|
2865
|
+
//# sourceMappingURL=heatmap-DiyOSQk9.js.map
|
package/dist/_chunks/{help-me-write-templates-BUoYGo6f.js → help-me-write-templates-CM1p6qkm.js}
RENAMED
|
@@ -12,7 +12,7 @@ import { F as Z } from "./form-field-Ani72sVY.js";
|
|
|
12
12
|
import { P as pe } from "./progress-D_g_Sl2g.js";
|
|
13
13
|
import { S as ue } from "./spinner-CoflYlEx.js";
|
|
14
14
|
import { T as se } from "./text-area-COMVJ1yE.js";
|
|
15
|
-
import { S as re } from "./state-backed-text-input-
|
|
15
|
+
import { S as re } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
16
16
|
import { SafeHtml as he } from "../safe-html/index.js";
|
|
17
17
|
import { T as ge } from "./trending-up-C_luYBzS.js";
|
|
18
18
|
import { A as fe } from "./astroid-BN4f5VXU.js";
|
|
@@ -744,4 +744,4 @@ export {
|
|
|
744
744
|
Le as c,
|
|
745
745
|
mr as u
|
|
746
746
|
};
|
|
747
|
-
//# sourceMappingURL=help-me-write-templates-
|
|
747
|
+
//# sourceMappingURL=help-me-write-templates-CM1p6qkm.js.map
|
|
@@ -4,7 +4,7 @@ import { c as M } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as F } from "react-i18next";
|
|
5
5
|
import { P as k } from "./popover-BG75rYjN.js";
|
|
6
6
|
import { B as D } from "./button-Bn16lcFM.js";
|
|
7
|
-
import { S as E } from "./state-backed-text-input-
|
|
7
|
+
import { S as E } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
8
8
|
import { u as G } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { S as J } from "./search-QbWPlY5f.js";
|
|
10
10
|
const U = {
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
X as I,
|
|
270
270
|
U as i
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=icon-picker-
|
|
272
|
+
//# sourceMappingURL=icon-picker-rOFTawXk.js.map
|
|
@@ -6,7 +6,7 @@ import { useTranslation as M } from "react-i18next";
|
|
|
6
6
|
import { C as le } from "./checkbox--ndmyokr.js";
|
|
7
7
|
import { B as j } from "./button-Bn16lcFM.js";
|
|
8
8
|
import { M as se } from "./multi-select-BT23EnSA.js";
|
|
9
|
-
import { S as ie } from "./scroll-area-
|
|
9
|
+
import { S as ie } from "./scroll-area-CY5SLYNw.js";
|
|
10
10
|
import { A as ne } from "./autocomplete-DosDnGie.js";
|
|
11
11
|
import { N as D } from "./number-input-CVwI1ltI.js";
|
|
12
12
|
import { S as oe } from "./select-Ce5RMk93.js";
|
|
@@ -864,4 +864,4 @@ export {
|
|
|
864
864
|
Ke as g,
|
|
865
865
|
k as h
|
|
866
866
|
};
|
|
867
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
867
|
+
//# sourceMappingURL=link-cell-renderer-C1wOyxDF.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as W, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as X, useMemo as
|
|
2
|
+
import { forwardRef as X, useMemo as j, useState as V, useRef as J, useCallback as p, useImperativeHandle as C, useContext as ee, Children as te, isValidElement as se, createContext as ie } from "react";
|
|
3
3
|
import { c as Y } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as re } from "react-i18next";
|
|
5
5
|
import { u as ne } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -81,7 +81,7 @@ const de = {
|
|
|
81
81
|
registerItemRef: () => {
|
|
82
82
|
},
|
|
83
83
|
divider: "spaced"
|
|
84
|
-
}),
|
|
84
|
+
}), le = Y("ds:flex ds:flex-col ds:p-0 ds:m-0", {
|
|
85
85
|
variants: {
|
|
86
86
|
divider: {
|
|
87
87
|
spaced: "",
|
|
@@ -103,7 +103,7 @@ const de = {
|
|
|
103
103
|
density: "default",
|
|
104
104
|
ordered: !1
|
|
105
105
|
}
|
|
106
|
-
}),
|
|
106
|
+
}), ce = Y(
|
|
107
107
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
|
|
108
108
|
{
|
|
109
109
|
variants: {
|
|
@@ -181,102 +181,102 @@ const Q = X(
|
|
|
181
181
|
disabled: o = !1,
|
|
182
182
|
className: N,
|
|
183
183
|
children: f,
|
|
184
|
-
"aria-label":
|
|
184
|
+
"aria-label": k,
|
|
185
185
|
...r
|
|
186
186
|
}, B) => {
|
|
187
|
-
const { t: T } = re("ui"), a = w !== "none", g = w === "multiple", U =
|
|
187
|
+
const { t: T } = re("ui"), a = w !== "none", g = w === "multiple", U = j(() => {
|
|
188
188
|
if (m !== void 0)
|
|
189
189
|
return Array.isArray(m) ? m : [m];
|
|
190
|
-
}, [m]), K =
|
|
190
|
+
}, [m]), K = j(() => S === void 0 ? [] : Array.isArray(S) ? S : [S], []), [E, _] = ne({
|
|
191
191
|
value: U,
|
|
192
192
|
defaultValue: K
|
|
193
|
-
}), u =
|
|
194
|
-
() => new Set(
|
|
195
|
-
[
|
|
196
|
-
), q =
|
|
193
|
+
}), u = j(
|
|
194
|
+
() => new Set(E ?? []),
|
|
195
|
+
[E]
|
|
196
|
+
), q = j(() => me(f), [f]), i = j(
|
|
197
197
|
() => q.filter((e) => !e.disabled && !o).map((e) => e.value),
|
|
198
198
|
[q, o]
|
|
199
|
-
), [h,
|
|
200
|
-
(e,
|
|
201
|
-
|
|
199
|
+
), [h, F] = V(null), P = J(/* @__PURE__ */ new Map()), G = p(
|
|
200
|
+
(e, l) => {
|
|
201
|
+
l ? P.current.set(e, l) : P.current.delete(e);
|
|
202
202
|
},
|
|
203
203
|
[]
|
|
204
204
|
), x = p((e) => {
|
|
205
|
-
|
|
206
|
-
var
|
|
207
|
-
(
|
|
205
|
+
F(e), requestAnimationFrame(() => {
|
|
206
|
+
var l;
|
|
207
|
+
(l = P.current.get(e)) == null || l.focus();
|
|
208
208
|
});
|
|
209
209
|
}, []), d = p(
|
|
210
210
|
(e) => {
|
|
211
|
-
|
|
211
|
+
_(e), g ? b == null || b(e) : b == null || b(e[0] ?? "");
|
|
212
212
|
},
|
|
213
|
-
[
|
|
214
|
-
),
|
|
213
|
+
[_, g, b]
|
|
214
|
+
), A = p(
|
|
215
215
|
(e) => {
|
|
216
216
|
if (!o && a)
|
|
217
217
|
if (g) {
|
|
218
|
-
const
|
|
219
|
-
u.has(e) ? d(
|
|
218
|
+
const l = [...u];
|
|
219
|
+
u.has(e) ? d(l.filter((O) => O !== e)) : d([...l, e]);
|
|
220
220
|
} else
|
|
221
221
|
u.has(e) ? d([]) : d([e]);
|
|
222
222
|
},
|
|
223
223
|
[o, a, g, u, d]
|
|
224
224
|
), H = p((e) => {
|
|
225
|
-
|
|
225
|
+
F(e);
|
|
226
226
|
}, []), M = p(
|
|
227
|
-
(e,
|
|
227
|
+
(e, l) => {
|
|
228
228
|
if (!a) return;
|
|
229
|
-
const O = i.indexOf(
|
|
229
|
+
const O = i.indexOf(l);
|
|
230
230
|
switch (e.key) {
|
|
231
231
|
case "ArrowDown": {
|
|
232
232
|
e.preventDefault();
|
|
233
|
-
const
|
|
234
|
-
|
|
233
|
+
const c = i[O + 1];
|
|
234
|
+
c !== void 0 && x(c);
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
237
|
case "ArrowUp": {
|
|
238
238
|
e.preventDefault();
|
|
239
|
-
const
|
|
240
|
-
|
|
239
|
+
const c = i[O - 1];
|
|
240
|
+
c !== void 0 && x(c);
|
|
241
241
|
break;
|
|
242
242
|
}
|
|
243
243
|
case "Home": {
|
|
244
244
|
e.preventDefault();
|
|
245
|
-
const
|
|
246
|
-
|
|
245
|
+
const c = i[0];
|
|
246
|
+
c !== void 0 && x(c);
|
|
247
247
|
break;
|
|
248
248
|
}
|
|
249
249
|
case "End": {
|
|
250
250
|
e.preventDefault();
|
|
251
|
-
const
|
|
252
|
-
|
|
251
|
+
const c = i[i.length - 1];
|
|
252
|
+
c !== void 0 && x(c);
|
|
253
253
|
break;
|
|
254
254
|
}
|
|
255
255
|
case " ":
|
|
256
256
|
case "Enter": {
|
|
257
|
-
e.preventDefault(),
|
|
257
|
+
e.preventDefault(), A(l);
|
|
258
258
|
break;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
|
-
[a, i, x,
|
|
263
|
-
),
|
|
262
|
+
[a, i, x, A]
|
|
263
|
+
), R = {
|
|
264
264
|
selection: w,
|
|
265
265
|
selectedValues: u,
|
|
266
266
|
focusedValue: h,
|
|
267
267
|
disabled: o,
|
|
268
268
|
enabledItemValues: i,
|
|
269
|
-
onItemSelect:
|
|
269
|
+
onItemSelect: A,
|
|
270
270
|
onItemFocus: H,
|
|
271
271
|
onItemKeyDown: M,
|
|
272
272
|
registerItemRef: G,
|
|
273
273
|
divider: I
|
|
274
|
-
},
|
|
274
|
+
}, D = le({
|
|
275
275
|
divider: I,
|
|
276
276
|
density: y,
|
|
277
277
|
ordered: t === "ol",
|
|
278
278
|
className: N
|
|
279
|
-
}),
|
|
279
|
+
}), L = J(null), s = j(
|
|
280
280
|
() => ({
|
|
281
281
|
getSelection: () => Array.from(u),
|
|
282
282
|
setSelection: (e) => {
|
|
@@ -289,16 +289,16 @@ const Q = X(
|
|
|
289
289
|
[u, a, g, d]
|
|
290
290
|
);
|
|
291
291
|
if (C(B, () => s, [s]), ae(de, s, r.id), a) {
|
|
292
|
-
const e =
|
|
293
|
-
return /* @__PURE__ */ n(z.Provider, { value:
|
|
292
|
+
const e = k ?? T("list.label", "List");
|
|
293
|
+
return /* @__PURE__ */ n(z.Provider, { value: R, children: /* @__PURE__ */ n(
|
|
294
294
|
"div",
|
|
295
295
|
{
|
|
296
|
-
ref:
|
|
296
|
+
ref: L,
|
|
297
297
|
role: "listbox",
|
|
298
298
|
"aria-label": e,
|
|
299
299
|
"aria-multiselectable": g ? !0 : void 0,
|
|
300
300
|
"aria-disabled": o ? !0 : void 0,
|
|
301
|
-
className:
|
|
301
|
+
className: D,
|
|
302
302
|
"data-component": "list",
|
|
303
303
|
"data-component-id": r.id,
|
|
304
304
|
...r,
|
|
@@ -306,24 +306,26 @@ const Q = X(
|
|
|
306
306
|
}
|
|
307
307
|
) });
|
|
308
308
|
}
|
|
309
|
-
return t === "ol" ? /* @__PURE__ */ n(z.Provider, { value:
|
|
309
|
+
return t === "ol" ? /* @__PURE__ */ n(z.Provider, { value: R, children: /* @__PURE__ */ n(
|
|
310
310
|
"ol",
|
|
311
311
|
{
|
|
312
|
-
ref:
|
|
312
|
+
ref: L,
|
|
313
313
|
start: v,
|
|
314
314
|
role: "list",
|
|
315
|
-
|
|
315
|
+
"aria-label": k,
|
|
316
|
+
className: D,
|
|
316
317
|
"data-component": "list",
|
|
317
318
|
"data-component-id": r.id,
|
|
318
319
|
...r,
|
|
319
320
|
children: f
|
|
320
321
|
}
|
|
321
|
-
) }) : /* @__PURE__ */ n(z.Provider, { value:
|
|
322
|
+
) }) : /* @__PURE__ */ n(z.Provider, { value: R, children: /* @__PURE__ */ n(
|
|
322
323
|
"ul",
|
|
323
324
|
{
|
|
324
|
-
ref:
|
|
325
|
+
ref: L,
|
|
325
326
|
role: "list",
|
|
326
|
-
|
|
327
|
+
"aria-label": k,
|
|
328
|
+
className: D,
|
|
327
329
|
"data-component": "list",
|
|
328
330
|
"data-component-id": r.id,
|
|
329
331
|
...r,
|
|
@@ -346,7 +348,7 @@ const Z = X(
|
|
|
346
348
|
onClick: o,
|
|
347
349
|
onFocus: N,
|
|
348
350
|
onKeyDown: f,
|
|
349
|
-
...
|
|
351
|
+
...k
|
|
350
352
|
}, r) => {
|
|
351
353
|
const {
|
|
352
354
|
selection: B,
|
|
@@ -355,16 +357,16 @@ const Z = X(
|
|
|
355
357
|
disabled: g,
|
|
356
358
|
enabledItemValues: U,
|
|
357
359
|
onItemSelect: K,
|
|
358
|
-
onItemFocus:
|
|
359
|
-
onItemKeyDown:
|
|
360
|
+
onItemFocus: E,
|
|
361
|
+
onItemKeyDown: _,
|
|
360
362
|
registerItemRef: u,
|
|
361
363
|
divider: q
|
|
362
|
-
} = ee(z), i = B !== "none", h = g || S,
|
|
364
|
+
} = ee(z), i = B !== "none", h = g || S, F = t !== void 0 ? T.has(t) : !1, P = t !== void 0 && a === t, G = t !== void 0 && U[0] === t, x = i ? a !== null ? P && !h ? 0 : -1 : G && !h ? 0 : -1 : void 0, d = J(null);
|
|
363
365
|
oe(() => {
|
|
364
366
|
const s = d.current;
|
|
365
367
|
s && (m != null ? s.style.setProperty("--list-item-clamp", String(m)) : s.style.removeProperty("--list-item-clamp"));
|
|
366
368
|
}, [m]);
|
|
367
|
-
const
|
|
369
|
+
const A = p(
|
|
368
370
|
(s) => {
|
|
369
371
|
t && u(t, s), typeof r == "function" ? r(s) : r && (r.current = s);
|
|
370
372
|
},
|
|
@@ -376,21 +378,21 @@ const Z = X(
|
|
|
376
378
|
[i, t, h, K, o]
|
|
377
379
|
), M = p(
|
|
378
380
|
(s) => {
|
|
379
|
-
t &&
|
|
381
|
+
t && E(t), N == null || N(s);
|
|
380
382
|
},
|
|
381
|
-
[t,
|
|
382
|
-
),
|
|
383
|
+
[t, E, N]
|
|
384
|
+
), R = p(
|
|
383
385
|
(s) => {
|
|
384
|
-
t &&
|
|
386
|
+
t && _(s, t), f == null || f(s);
|
|
385
387
|
},
|
|
386
|
-
[t,
|
|
387
|
-
),
|
|
388
|
+
[t, _, f]
|
|
389
|
+
), D = ce({
|
|
388
390
|
divider: q,
|
|
389
391
|
interactive: i,
|
|
390
|
-
selected:
|
|
392
|
+
selected: F,
|
|
391
393
|
disabled: h,
|
|
392
394
|
className: b
|
|
393
|
-
}),
|
|
395
|
+
}), L = /* @__PURE__ */ W($, { children: [
|
|
394
396
|
v && /* @__PURE__ */ n("span", { className: "ds:shrink-0 ds:flex ds:items-center ds:justify-center", children: v }),
|
|
395
397
|
/* @__PURE__ */ W("div", { className: "ds:flex-1 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0", children: [
|
|
396
398
|
/* @__PURE__ */ n("span", { className: "ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium ds:leading-[var(--line-height-base)] ds:[overflow-wrap:anywhere]", children: I }),
|
|
@@ -411,32 +413,32 @@ const Z = X(
|
|
|
411
413
|
return i ? /* @__PURE__ */ n(
|
|
412
414
|
"div",
|
|
413
415
|
{
|
|
414
|
-
ref:
|
|
416
|
+
ref: A,
|
|
415
417
|
role: "option",
|
|
416
|
-
"aria-selected":
|
|
418
|
+
"aria-selected": F,
|
|
417
419
|
"aria-disabled": h ? !0 : void 0,
|
|
418
420
|
tabIndex: x,
|
|
419
421
|
onClick: H,
|
|
420
422
|
onFocus: M,
|
|
421
|
-
onKeyDown:
|
|
422
|
-
className:
|
|
423
|
+
onKeyDown: R,
|
|
424
|
+
className: D,
|
|
423
425
|
"data-item-id": t,
|
|
424
|
-
...
|
|
425
|
-
children:
|
|
426
|
+
...k,
|
|
427
|
+
children: L
|
|
426
428
|
}
|
|
427
429
|
) : (
|
|
428
430
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- non-interactive list items still surface click/keyboard handlers when selection mode is enabled (handlers no-op when selection==='none')
|
|
429
431
|
/* @__PURE__ */ n(
|
|
430
432
|
"li",
|
|
431
433
|
{
|
|
432
|
-
ref:
|
|
434
|
+
ref: A,
|
|
433
435
|
onClick: H,
|
|
434
436
|
onFocus: M,
|
|
435
|
-
onKeyDown:
|
|
436
|
-
className:
|
|
437
|
+
onKeyDown: R,
|
|
438
|
+
className: D,
|
|
437
439
|
"data-item-id": t,
|
|
438
|
-
...
|
|
439
|
-
children: /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:gap-x-[var(--spacing-sm)]", children:
|
|
440
|
+
...k,
|
|
441
|
+
children: /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:gap-x-[var(--spacing-sm)]", children: L })
|
|
440
442
|
}
|
|
441
443
|
)
|
|
442
444
|
);
|
|
@@ -451,4 +453,4 @@ export {
|
|
|
451
453
|
he as L,
|
|
452
454
|
de as l
|
|
453
455
|
};
|
|
454
|
-
//# sourceMappingURL=list-
|
|
456
|
+
//# sourceMappingURL=list-CNnn7DOD.js.map
|
|
@@ -9,7 +9,7 @@ import { E as Ns } from "./error-summary-BhM8FEkl.js";
|
|
|
9
9
|
import { F as rs } from "./form-field-Ani72sVY.js";
|
|
10
10
|
import { P as Is } from "./password-input-BokZ_rnT.js";
|
|
11
11
|
import { i as is } from "./safe-href-5dbsfbQn.js";
|
|
12
|
-
import { u as Bs } from "./use-state-backed-input-
|
|
12
|
+
import { u as Bs } from "./use-state-backed-input-DhRQo6gM.js";
|
|
13
13
|
import { u as Rs, a as Ls, A as As, b as Cs, E as Ms, d as Ss, c as ks } from "./auth-form-parts-CravOf0L.js";
|
|
14
14
|
import { u as qs, b as zs, a as js } from "./use-registration-submit-eWAECgUC.js";
|
|
15
15
|
import { M as $s } from "./matrix-rain-sDOUUwZp.js";
|
|
@@ -306,4 +306,4 @@ export {
|
|
|
306
306
|
Gs as a,
|
|
307
307
|
Hs as b
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=login-dev-card-
|
|
309
|
+
//# sourceMappingURL=login-dev-card-CIim81VB.js.map
|