@alfadocs/ui-kit 0.25.1 → 0.30.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/{agenda-card-BmpaUG1h.js → agenda-card-CznB7K8e.js} +2 -2
- package/dist/_chunks/{agenda-tray-DiInnVqk.js → agenda-tray-C_bha7oK.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-B5MdixzR.js → ai-prompt-input-Bka3jX3i.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CUi2UCbY.js → alia-sidebar-CnvXq95r.js} +92 -109
- package/dist/_chunks/{audio-recorder-D4xM3H5i.js → audio-recorder-OB6IV9B1.js} +2 -2
- package/dist/_chunks/{autocomplete-C7xq06bP.js → autocomplete-CUh0f7Dj.js} +2 -2
- package/dist/_chunks/{avatar-BpFohgWG.js → avatar-D_H4emLo.js} +7 -7
- package/dist/_chunks/{benefit-card-DXmrAyfn.js → benefit-card-CjYM8vNr.js} +29 -29
- package/dist/_chunks/booking-BYuc_8HV.js +2250 -0
- package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-WWNx448i.js} +114 -142
- package/dist/_chunks/{card-C353dU-H.js → card-DKTMLVrw.js} +11 -11
- package/dist/_chunks/{carousel.agent-DnPiqijR.js → carousel.agent-C9swH-Uf.js} +2 -2
- package/dist/_chunks/{chat-input-B3XmFGDw.js → chat-input-BfDcz1Yi.js} +2 -2
- package/dist/_chunks/{chat-message-W3k8rLOA.js → chat-message-fg221-yx.js} +2 -2
- package/dist/_chunks/{command-palette-DkL-aW4O.js → command-palette-11BieSNq.js} +2 -2
- package/dist/_chunks/{contact-card-CjG7c-1q.js → contact-card-DYbp--s-.js} +3 -3
- package/dist/_chunks/{date-picker-BIoSLRly.js → date-picker-D0Ry1dMz.js} +26 -27
- package/dist/_chunks/{date-range-picker-9gANFNG9.js → date-range-picker-DYgHzMOo.js} +19 -20
- package/dist/_chunks/{date-time-picker-DG7BiGdb.js → date-time-picker-CGmGtcyc.js} +10 -11
- package/dist/_chunks/{description-list-Bsga4IW8.js → description-list-yl3y3QKg.js} +34 -24
- package/dist/_chunks/{dialog-DUomPCRS.js → dialog-BBXqpZIt.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-DJB5MxAI.js → editable-currency-cell-renderer-DSReCae7.js} +7 -7
- package/dist/_chunks/{empty-state-3CLJIXSj.js → empty-state-BLy7tigq.js} +13 -33
- package/dist/_chunks/eye-LHlSU38h.js +21 -0
- package/dist/_chunks/{freemium-paywall-CM6V1zNf.js → freemium-paywall-B9c8Ylww.js} +11 -11
- package/dist/_chunks/{header-DqmKROIY.js → header-CkMb1TZS.js} +24 -24
- package/dist/_chunks/heart-pulse-CvuyFKHB.js +21 -0
- package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
- package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
- package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
- package/dist/_chunks/{link-DmM5IevO.js → link-DrD_cRUg.js} +50 -45
- package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
- package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
- package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
- package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
- package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
- package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
- package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
- package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
- package/dist/_chunks/parseISO-Dk4xa7q6.js +120 -0
- package/dist/_chunks/patient-search-BhlxYAI3.js +1102 -0
- package/dist/_chunks/patient-shell-CAXYzbRw.js +173 -0
- package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
- package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
- package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
- package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
- package/dist/_chunks/public-footer.agent-CA29gxHJ.js +516 -0
- package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
- package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
- package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
- package/dist/_chunks/reviews-panel-CFttsfuC.js +513 -0
- package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
- package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
- package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
- package/dist/_chunks/slot-grid-B2zprPcv.js +387 -0
- package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
- package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
- package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
- package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
- package/dist/_chunks/stethoscope-DT5qCW8Y.js +18 -0
- package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
- package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
- package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
- package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
- package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
- package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
- package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
- package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
- package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
- package/dist/agent-catalog.json +151 -51
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +145 -0
- package/dist/components/booking/booking.agent.d.ts +4 -0
- package/dist/components/booking/booking.d.ts +6 -0
- package/dist/components/booking/cascade.d.ts +96 -0
- package/dist/components/booking/details-form.d.ts +32 -0
- package/dist/components/booking/index.d.ts +5 -0
- package/dist/components/booking/index.js +8 -0
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +6 -2
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +16 -15
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +7 -0
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-search/index.d.ts +4 -0
- package/dist/components/patient-search/index.js +6 -0
- package/dist/components/patient-search/patient-search.agent.d.ts +4 -0
- package/dist/components/patient-search/patient-search.d.ts +103 -0
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.d.ts +6 -0
- package/dist/components/public-footer/index.js +10 -0
- package/dist/components/public-footer/legal-urls.d.ts +18 -0
- package/dist/components/public-footer/public-footer.agent.d.ts +4 -0
- package/dist/components/public-footer/public-footer.d.ts +51 -0
- package/dist/components/public-footer/socials.d.ts +9 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/reviews-panel/index.d.ts +4 -0
- package/dist/components/reviews-panel/index.js +6 -0
- package/dist/components/reviews-panel/reviews-panel.agent.d.ts +4 -0
- package/dist/components/reviews-panel/reviews-panel.d.ts +76 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +4 -3
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/i18n/config.js +4923 -49
- package/dist/i18n/locales/ar.d.ts +272 -0
- package/dist/i18n/locales/de.d.ts +272 -0
- package/dist/i18n/locales/el.d.ts +272 -0
- package/dist/i18n/locales/es.d.ts +272 -0
- package/dist/i18n/locales/fr.d.ts +272 -0
- package/dist/i18n/locales/hi.d.ts +272 -0
- package/dist/i18n/locales/ja.d.ts +272 -0
- package/dist/i18n/locales/nl.d.ts +272 -0
- package/dist/i18n/locales/pl.d.ts +272 -0
- package/dist/i18n/locales/pt.d.ts +272 -0
- package/dist/i18n/locales/ro.d.ts +272 -0
- package/dist/i18n/locales/ru.d.ts +272 -0
- package/dist/i18n/locales/sq.d.ts +272 -0
- package/dist/i18n/locales/sv.d.ts +272 -0
- package/dist/i18n/locales/tr.d.ts +272 -0
- package/dist/i18n/locales/zh.d.ts +272 -0
- package/dist/i18n/resources.d.ts +544 -0
- package/dist/index.js +364 -348
- package/dist/locales/ar.json +273 -1
- package/dist/locales/de.json +273 -1
- package/dist/locales/el.json +273 -1
- package/dist/locales/en.json +273 -1
- package/dist/locales/es.json +273 -1
- package/dist/locales/fr.json +273 -1
- package/dist/locales/hi.json +273 -1
- package/dist/locales/it.json +273 -1
- package/dist/locales/ja.json +273 -1
- package/dist/locales/nl.json +273 -1
- package/dist/locales/pl.json +273 -1
- package/dist/locales/pt.json +273 -1
- package/dist/locales/ro.json +273 -1
- package/dist/locales/ru.json +273 -1
- package/dist/locales/sq.json +273 -1
- package/dist/locales/sv.json +273 -1
- package/dist/locales/tr.json +273 -1
- package/dist/locales/zh.json +273 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +17 -1
- package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
- package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
- package/dist/_chunks/patient-shell-B164drIa.js +0 -173
- package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
- package/dist/_chunks/slot-grid-CgpYgBkW.js +0 -502
- package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
- package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
- package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
- package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
- package/dist/components/stepper-calendar/index.d.ts +0 -4
- package/dist/components/stepper-calendar/index.js +0 -6
- package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
id: "stepper-accordion",
|
|
3
|
+
capabilities: ["expand", "navigate"],
|
|
4
|
+
state: {
|
|
5
|
+
currentStep: {
|
|
6
|
+
type: "number",
|
|
7
|
+
descriptionKey: "ui.agent.stepperAccordion.state.currentStep",
|
|
8
|
+
description: "Zero-indexed active step.",
|
|
9
|
+
read: (e) => e.getCurrentStep()
|
|
10
|
+
},
|
|
11
|
+
totalSteps: {
|
|
12
|
+
type: "number",
|
|
13
|
+
descriptionKey: "ui.agent.stepperAccordion.state.totalSteps",
|
|
14
|
+
description: "Total number of steps in the flow.",
|
|
15
|
+
read: (e) => e.getTotalSteps()
|
|
16
|
+
},
|
|
17
|
+
openSteps: {
|
|
18
|
+
type: "number[]",
|
|
19
|
+
descriptionKey: "ui.agent.stepperAccordion.state.openSteps",
|
|
20
|
+
description: "Indices of currently-open step panels (singleton under Radix single mode).",
|
|
21
|
+
read: (e) => e.getOpenSteps()
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
actions: {
|
|
25
|
+
goto_step: {
|
|
26
|
+
safety: "read",
|
|
27
|
+
argsType: "{ step: number }",
|
|
28
|
+
descriptionKey: "ui.agent.stepperAccordion.actions.gotoStep",
|
|
29
|
+
description: "Activate the given step. Upcoming steps are gated by the consumer’s validation in onStepChange.",
|
|
30
|
+
invoke: (e, t) => {
|
|
31
|
+
e.gotoStep(t.step);
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
next: {
|
|
35
|
+
safety: "read",
|
|
36
|
+
descriptionKey: "ui.agent.stepperAccordion.actions.next",
|
|
37
|
+
description: "Advance to the next step. Subject to the consumer’s onStepChange validation.",
|
|
38
|
+
invoke: (e) => {
|
|
39
|
+
e.next();
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
previous: {
|
|
43
|
+
safety: "read",
|
|
44
|
+
descriptionKey: "ui.agent.stepperAccordion.actions.previous",
|
|
45
|
+
description: "Return to the previous step (re-opens a completed step in edit mode).",
|
|
46
|
+
invoke: (e) => {
|
|
47
|
+
e.previous();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
domHooks: {
|
|
52
|
+
root: {
|
|
53
|
+
attr: "data-component",
|
|
54
|
+
value: "stepper-accordion",
|
|
55
|
+
description: "Marks the StepperAccordion root."
|
|
56
|
+
},
|
|
57
|
+
instanceId: {
|
|
58
|
+
attr: "data-component-id",
|
|
59
|
+
sourceProp: "id",
|
|
60
|
+
description: "Sourced from the id prop."
|
|
61
|
+
},
|
|
62
|
+
item: {
|
|
63
|
+
attr: "data-step-id",
|
|
64
|
+
description: "Stable opaque id of a step (the zero-indexed step number as a string)."
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
export {
|
|
69
|
+
o as s
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=stepper-accordion.agent-C4quJ-MD.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { c as e } from "./createLucideIcon-CrFbzy84.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.8.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const t = [
|
|
9
|
+
["path", { d: "M11 2v2", key: "1539x4" }],
|
|
10
|
+
["path", { d: "M5 2v2", key: "1yf1q8" }],
|
|
11
|
+
["path", { d: "M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1", key: "rb5t3r" }],
|
|
12
|
+
["path", { d: "M8 15a6 6 0 0 0 12 0v-3", key: "x18d4x" }],
|
|
13
|
+
["circle", { cx: "20", cy: "10", r: "2", key: "ts1r5v" }]
|
|
14
|
+
], o = e("stethoscope", t);
|
|
15
|
+
export {
|
|
16
|
+
o as S
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=stethoscope-DT5qCW8Y.js.map
|
|
@@ -6,17 +6,6 @@ import { c as t } from "./createLucideIcon-CrFbzy84.js";
|
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
const e = [
|
|
9
|
-
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
10
|
-
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
11
|
-
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
12
|
-
], y = t("monitor", e);
|
|
13
|
-
/**
|
|
14
|
-
* @license lucide-react v1.8.0 - ISC
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the ISC license.
|
|
17
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
const o = [
|
|
20
9
|
[
|
|
21
10
|
"path",
|
|
22
11
|
{
|
|
@@ -24,7 +13,7 @@ const o = [
|
|
|
24
13
|
key: "kfwtm"
|
|
25
14
|
}
|
|
26
15
|
]
|
|
27
|
-
], a = t("moon",
|
|
16
|
+
], a = t("moon", e);
|
|
28
17
|
/**
|
|
29
18
|
* @license lucide-react v1.8.0 - ISC
|
|
30
19
|
*
|
|
@@ -44,7 +33,6 @@ const c = [
|
|
|
44
33
|
], h = t("sun", c);
|
|
45
34
|
export {
|
|
46
35
|
a as M,
|
|
47
|
-
h as S
|
|
48
|
-
y as a
|
|
36
|
+
h as S
|
|
49
37
|
};
|
|
50
|
-
//# sourceMappingURL=sun-
|
|
38
|
+
//# sourceMappingURL=sun-BuXE0xUS.js.map
|
|
@@ -2,9 +2,9 @@ import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as k, useMemo as z, useImperativeHandle as M } from "react";
|
|
3
3
|
import { c as S } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as _ } from "react-i18next";
|
|
5
|
-
import { I as C } from "./icon-button-
|
|
5
|
+
import { I as C } from "./icon-button-BRHSSFmZ.js";
|
|
6
6
|
import { S as K } from "./skeleton-CZbwyJAA.js";
|
|
7
|
-
import { E } from "./empty-state-
|
|
7
|
+
import { E } from "./empty-state-BLy7tigq.js";
|
|
8
8
|
import { T as L } from "./task-card-BUVMh6HN.js";
|
|
9
9
|
import { u as P } from "./registry-C9nwlNyL.js";
|
|
10
10
|
import { c as H } from "./createLucideIcon-CrFbzy84.js";
|
|
@@ -192,4 +192,4 @@ export {
|
|
|
192
192
|
Q as T,
|
|
193
193
|
G as t
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=task-tray-
|
|
195
|
+
//# sourceMappingURL=task-tray-Bcmrrs8m.js.map
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m, Fragment as V } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as M, useRef as k, useImperativeHandle as N, useMemo as _, useCallback as S } from "react";
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as g } from "react-i18next";
|
|
5
|
-
import { I as y } from "./icon-button-
|
|
5
|
+
import { I as y } from "./icon-button-BRHSSFmZ.js";
|
|
6
6
|
import { I as K } from "./icon-button-group-DeV3FpNY.js";
|
|
7
7
|
import { S as x } from "./switch-D916VW86.js";
|
|
8
8
|
import { D as o } from "./dropdown-menu-DZxwF23X.js";
|
|
9
|
-
import { u as z } from "./use-theme-
|
|
9
|
+
import { u as z } from "./use-theme-C2dHKUAN.js";
|
|
10
10
|
import { u as D } from "./registry-C9nwlNyL.js";
|
|
11
|
-
import { M as v, S as C
|
|
11
|
+
import { M as v, S as C } from "./sun-BuXE0xUS.js";
|
|
12
|
+
import { M as w } from "./monitor-D-SFdbrU.js";
|
|
12
13
|
const H = {
|
|
13
14
|
id: "theme-toggle",
|
|
14
15
|
capabilities: ["view_change"],
|
|
@@ -72,24 +73,24 @@ function L(e) {
|
|
|
72
73
|
const {
|
|
73
74
|
theme: n,
|
|
74
75
|
accessibility: s,
|
|
75
|
-
onThemeChange:
|
|
76
|
+
onThemeChange: r,
|
|
76
77
|
onAccessibilityChange: a
|
|
77
78
|
} = e, i = z(), u = n ?? i.theme, p = s ?? i.accessibility, l = i.setTheme, T = i.setAccessibility, d = S(
|
|
78
|
-
(
|
|
79
|
-
if (
|
|
80
|
-
c
|
|
79
|
+
(c) => {
|
|
80
|
+
if (r) {
|
|
81
|
+
r(c);
|
|
81
82
|
return;
|
|
82
83
|
}
|
|
83
|
-
l(
|
|
84
|
+
l(c);
|
|
84
85
|
},
|
|
85
|
-
[
|
|
86
|
+
[r, l]
|
|
86
87
|
), h = S(
|
|
87
|
-
(
|
|
88
|
+
(c) => {
|
|
88
89
|
if (a) {
|
|
89
|
-
a(
|
|
90
|
+
a(c);
|
|
90
91
|
return;
|
|
91
92
|
}
|
|
92
|
-
T(
|
|
93
|
+
T(c);
|
|
93
94
|
},
|
|
94
95
|
[a, T]
|
|
95
96
|
);
|
|
@@ -105,7 +106,7 @@ function I({
|
|
|
105
106
|
value: e,
|
|
106
107
|
onValueChange: n,
|
|
107
108
|
ariaLabel: s,
|
|
108
|
-
size:
|
|
109
|
+
size: r = "md"
|
|
109
110
|
}) {
|
|
110
111
|
const { t: a } = g();
|
|
111
112
|
return /* @__PURE__ */ m(
|
|
@@ -114,7 +115,7 @@ function I({
|
|
|
114
115
|
"aria-label": s,
|
|
115
116
|
role: "radiogroup",
|
|
116
117
|
mode: "toggle-single",
|
|
117
|
-
size:
|
|
118
|
+
size: r,
|
|
118
119
|
value: e,
|
|
119
120
|
onValueChange: (i) => n(i),
|
|
120
121
|
children: [
|
|
@@ -151,11 +152,11 @@ function j({
|
|
|
151
152
|
onValueChange: n,
|
|
152
153
|
size: s = "md"
|
|
153
154
|
}) {
|
|
154
|
-
const { t:
|
|
155
|
+
const { t: r } = g(), a = e === "accessible";
|
|
155
156
|
return /* @__PURE__ */ t(
|
|
156
157
|
x,
|
|
157
158
|
{
|
|
158
|
-
label:
|
|
159
|
+
label: r("navigation.themeToggle.accessibility.label"),
|
|
159
160
|
labelSide: "start",
|
|
160
161
|
size: s,
|
|
161
162
|
checked: a,
|
|
@@ -167,14 +168,14 @@ function B({
|
|
|
167
168
|
state: e,
|
|
168
169
|
className: n,
|
|
169
170
|
rest: s,
|
|
170
|
-
forwardedRef:
|
|
171
|
+
forwardedRef: r,
|
|
171
172
|
showAccessibility: a
|
|
172
173
|
}) {
|
|
173
174
|
const { t: i } = g(), u = e.resolvedTheme === "dark" || e.resolvedTheme === "dark-accessible" ? /* @__PURE__ */ t(v, { "aria-hidden": !0 }) : /* @__PURE__ */ t(C, { "aria-hidden": !0 }), p = e.accessibility === "accessible";
|
|
174
175
|
return /* @__PURE__ */ t(
|
|
175
176
|
"div",
|
|
176
177
|
{
|
|
177
|
-
ref:
|
|
178
|
+
ref: r,
|
|
178
179
|
"data-component": "theme-toggle",
|
|
179
180
|
"data-component-id": s.id,
|
|
180
181
|
className: A({ variant: "menu", className: n }),
|
|
@@ -231,13 +232,13 @@ function G({
|
|
|
231
232
|
state: e,
|
|
232
233
|
className: n,
|
|
233
234
|
rest: s,
|
|
234
|
-
forwardedRef:
|
|
235
|
+
forwardedRef: r
|
|
235
236
|
}) {
|
|
236
237
|
const { t: a } = g();
|
|
237
238
|
return /* @__PURE__ */ t(
|
|
238
239
|
"div",
|
|
239
240
|
{
|
|
240
|
-
ref:
|
|
241
|
+
ref: r,
|
|
241
242
|
"data-component": "theme-toggle",
|
|
242
243
|
"data-component-id": s.id,
|
|
243
244
|
className: A({ variant: "compact", className: n }),
|
|
@@ -257,14 +258,14 @@ function F({
|
|
|
257
258
|
state: e,
|
|
258
259
|
className: n,
|
|
259
260
|
rest: s,
|
|
260
|
-
forwardedRef:
|
|
261
|
+
forwardedRef: r,
|
|
261
262
|
showAccessibility: a
|
|
262
263
|
}) {
|
|
263
264
|
const { t: i } = g();
|
|
264
265
|
return /* @__PURE__ */ m(
|
|
265
266
|
"div",
|
|
266
267
|
{
|
|
267
|
-
ref:
|
|
268
|
+
ref: r,
|
|
268
269
|
"data-component": "theme-toggle",
|
|
269
270
|
"data-component-id": s.id,
|
|
270
271
|
className: A({ variant: "split", className: n }),
|
|
@@ -289,11 +290,11 @@ function F({
|
|
|
289
290
|
}
|
|
290
291
|
);
|
|
291
292
|
}
|
|
292
|
-
const O =
|
|
293
|
+
const O = M(
|
|
293
294
|
(e, n) => {
|
|
294
295
|
const {
|
|
295
296
|
variant: s = "menu",
|
|
296
|
-
showAccessibility:
|
|
297
|
+
showAccessibility: r = !0,
|
|
297
298
|
className: a,
|
|
298
299
|
id: i,
|
|
299
300
|
// Strip controlled props from the spread — they are read by the
|
|
@@ -303,16 +304,16 @@ const O = N(
|
|
|
303
304
|
onThemeChange: l,
|
|
304
305
|
onAccessibilityChange: T,
|
|
305
306
|
...d
|
|
306
|
-
} = e, h = L(e),
|
|
307
|
-
|
|
307
|
+
} = e, h = L(e), c = k(h);
|
|
308
|
+
c.current = h;
|
|
308
309
|
const b = k(null);
|
|
309
|
-
|
|
310
|
+
N(n, () => b.current, []);
|
|
310
311
|
const R = _(
|
|
311
312
|
() => ({
|
|
312
|
-
getCurrentTheme: () =>
|
|
313
|
-
getCurrentAccessibility: () =>
|
|
314
|
-
setTheme: (f) =>
|
|
315
|
-
setAccessibility: (f) =>
|
|
313
|
+
getCurrentTheme: () => c.current.theme,
|
|
314
|
+
getCurrentAccessibility: () => c.current.accessibility,
|
|
315
|
+
setTheme: (f) => c.current.setTheme(f),
|
|
316
|
+
setAccessibility: (f) => c.current.setAccessibility(f)
|
|
316
317
|
}),
|
|
317
318
|
[]
|
|
318
319
|
);
|
|
@@ -323,7 +324,7 @@ const O = N(
|
|
|
323
324
|
className: a,
|
|
324
325
|
rest: d,
|
|
325
326
|
forwardedRef: b,
|
|
326
|
-
showAccessibility:
|
|
327
|
+
showAccessibility: r
|
|
327
328
|
}
|
|
328
329
|
) : s === "split" ? /* @__PURE__ */ t(
|
|
329
330
|
F,
|
|
@@ -332,7 +333,7 @@ const O = N(
|
|
|
332
333
|
className: a,
|
|
333
334
|
rest: d,
|
|
334
335
|
forwardedRef: b,
|
|
335
|
-
showAccessibility:
|
|
336
|
+
showAccessibility: r
|
|
336
337
|
}
|
|
337
338
|
) : /* @__PURE__ */ t(
|
|
338
339
|
B,
|
|
@@ -341,7 +342,7 @@ const O = N(
|
|
|
341
342
|
className: a,
|
|
342
343
|
rest: d,
|
|
343
344
|
forwardedRef: b,
|
|
344
|
-
showAccessibility:
|
|
345
|
+
showAccessibility: r
|
|
345
346
|
}
|
|
346
347
|
);
|
|
347
348
|
}
|
|
@@ -351,4 +352,4 @@ export {
|
|
|
351
352
|
O as T,
|
|
352
353
|
H as t
|
|
353
354
|
};
|
|
354
|
-
//# sourceMappingURL=theme-toggle-
|
|
355
|
+
//# sourceMappingURL=theme-toggle-nPzb378f.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as m, useMemo as p, useRef as w, useState as V, useCallback as I, useImperativeHandle as O, useContext as v, createContext as C } from "react";
|
|
3
3
|
import { c as b } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
|
-
import { A as P } from "./avatar-
|
|
6
|
-
import { C as N } from "./card-
|
|
5
|
+
import { A as P } from "./avatar-D_H4emLo.js";
|
|
6
|
+
import { C as N } from "./card-DKTMLVrw.js";
|
|
7
7
|
import { T as B } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { u as H } from "./registry-C9nwlNyL.js";
|
|
9
9
|
import { C as q } from "./circle-BkqTgYmt.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
le as T,
|
|
284
284
|
K as t
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=timeline-
|
|
286
|
+
//# sourceMappingURL=timeline-CR7HjZCK.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as P, jsxs as Ht } from "react/jsx-runtime";
|
|
|
2
2
|
import s, { useState as Ot, useRef as te, useEffect as jt } from "react";
|
|
3
3
|
import ee from "react-dom";
|
|
4
4
|
import { useTranslation as ae } from "react-i18next";
|
|
5
|
-
import { I as se } from "./icon-button-
|
|
5
|
+
import { I as se } from "./icon-button-BRHSSFmZ.js";
|
|
6
6
|
import { X as oe } from "./x-CCcI3eJp.js";
|
|
7
7
|
import { C as ne } from "./circle-x-Du2CmjaU.js";
|
|
8
8
|
import { T as re } from "./triangle-alert-CBPUIzQo.js";
|
|
@@ -983,4 +983,4 @@ export {
|
|
|
983
983
|
Ze as e,
|
|
984
984
|
aa as t
|
|
985
985
|
};
|
|
986
|
-
//# sourceMappingURL=toast.agent-
|
|
986
|
+
//# sourceMappingURL=toast.agent-CTF6nIj5.js.map
|
|
@@ -4,7 +4,7 @@ import { c as D } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as F } from "react-i18next";
|
|
5
5
|
import { u as H } from "./registry-C9nwlNyL.js";
|
|
6
6
|
import { u as q } from "./index-CJE9uQmb.js";
|
|
7
|
-
import { S as B } from "./search-input-
|
|
7
|
+
import { S as B } from "./search-input-CIA6pPfn.js";
|
|
8
8
|
const U = {
|
|
9
9
|
id: "transcript-panel",
|
|
10
10
|
capabilities: ["select_single"],
|
|
@@ -343,4 +343,4 @@ export {
|
|
|
343
343
|
te as T,
|
|
344
344
|
U as t
|
|
345
345
|
};
|
|
346
|
-
//# sourceMappingURL=transcript-panel-
|
|
346
|
+
//# sourceMappingURL=transcript-panel-QUQ9XJmf.js.map
|
package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js}
RENAMED
|
@@ -7,26 +7,11 @@ import { u as ns } from "./form-field-context-B3APVHKx.js";
|
|
|
7
7
|
import { c as os } from "./compose-refs-C0k0tdqF.js";
|
|
8
8
|
import { u as ds } from "./registry-C9nwlNyL.js";
|
|
9
9
|
import { E as ls } from "./eye-off-xEXDAh5z.js";
|
|
10
|
-
import {
|
|
10
|
+
import { E as cs } from "./eye-LHlSU38h.js";
|
|
11
11
|
import { C as ps } from "./check-DPdL_Sm7.js";
|
|
12
12
|
import { C as us } from "./circle-BkqTgYmt.js";
|
|
13
13
|
import { T as ms } from "./triangle-alert-CBPUIzQo.js";
|
|
14
|
-
|
|
15
|
-
* @license lucide-react v1.8.0 - ISC
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the ISC license.
|
|
18
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
const fs = [
|
|
21
|
-
[
|
|
22
|
-
"path",
|
|
23
|
-
{
|
|
24
|
-
d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
|
|
25
|
-
key: "1nclc0"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
29
|
-
], gs = cs("eye", fs), hs = {
|
|
14
|
+
const fs = {
|
|
30
15
|
id: "password-input",
|
|
31
16
|
capabilities: ["edit_inline"],
|
|
32
17
|
state: {
|
|
@@ -96,11 +81,11 @@ const fs = [
|
|
|
96
81
|
description: "Sourced from the id prop."
|
|
97
82
|
}
|
|
98
83
|
}
|
|
99
|
-
},
|
|
84
|
+
}, gs = {
|
|
100
85
|
sm: "ds:size-4",
|
|
101
86
|
md: "ds:size-[18px]",
|
|
102
87
|
lg: "ds:size-5"
|
|
103
|
-
},
|
|
88
|
+
}, hs = I(
|
|
104
89
|
[
|
|
105
90
|
"ds:absolute ds:inset-y-0 ds:end-0 ds:ps-2 ds:pe-3",
|
|
106
91
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
@@ -114,9 +99,9 @@ const fs = [
|
|
|
114
99
|
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
115
100
|
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
116
101
|
].join(" ")
|
|
117
|
-
),
|
|
102
|
+
), ws = I(
|
|
118
103
|
"ds:h-1 ds:w-full ds:overflow-hidden ds:rounded-[var(--radius-full)] ds:bg-muted"
|
|
119
|
-
),
|
|
104
|
+
), bs = I(
|
|
120
105
|
[
|
|
121
106
|
"ds:h-full ds:rounded-[var(--radius-full)]",
|
|
122
107
|
"ds:transition-all ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
@@ -132,12 +117,12 @@ const fs = [
|
|
|
132
117
|
},
|
|
133
118
|
defaultVariants: { level: 0 }
|
|
134
119
|
}
|
|
135
|
-
),
|
|
120
|
+
), vs = {
|
|
136
121
|
0: "weak",
|
|
137
122
|
1: "fair",
|
|
138
123
|
2: "good",
|
|
139
124
|
3: "strong"
|
|
140
|
-
},
|
|
125
|
+
}, ys = I(
|
|
141
126
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-meta",
|
|
142
127
|
{
|
|
143
128
|
variants: {
|
|
@@ -148,7 +133,7 @@ const fs = [
|
|
|
148
133
|
},
|
|
149
134
|
defaultVariants: { met: !1 }
|
|
150
135
|
}
|
|
151
|
-
),
|
|
136
|
+
), xs = ts(
|
|
152
137
|
({
|
|
153
138
|
onRevealChange: e,
|
|
154
139
|
showStrength: r = !1,
|
|
@@ -169,28 +154,28 @@ const fs = [
|
|
|
169
154
|
className: $,
|
|
170
155
|
...B
|
|
171
156
|
}, G) => {
|
|
172
|
-
const { t: f } = W(),
|
|
157
|
+
const { t: f } = W(), j = ns().disabled || b, N = as(null), J = os(G, N), [c, A] = C(!1), [Q, M] = C(!1), [H, F] = C(() => typeof m == "string" ? m : typeof T == "string" ? T : "");
|
|
173
158
|
is(() => {
|
|
174
|
-
typeof m == "string" &&
|
|
159
|
+
typeof m == "string" && F(m);
|
|
175
160
|
}, [m]);
|
|
176
161
|
const X = p(
|
|
177
162
|
(s) => {
|
|
178
|
-
|
|
163
|
+
F(s.currentTarget.value), k == null || k(s);
|
|
179
164
|
},
|
|
180
165
|
[k]
|
|
181
|
-
),
|
|
166
|
+
), E = p((s) => {
|
|
182
167
|
var R;
|
|
183
168
|
const a = N.current;
|
|
184
169
|
if (!a) return;
|
|
185
170
|
const O = Object.getPrototypeOf(a), P = (R = Object.getOwnPropertyDescriptor(O, "value")) == null ? void 0 : R.set;
|
|
186
171
|
P == null || P.call(a, s), a.dispatchEvent(new Event("input", { bubbles: !0 })), a.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
187
172
|
}, []), Y = p(() => {
|
|
188
|
-
|
|
173
|
+
A((s) => {
|
|
189
174
|
const a = !s;
|
|
190
175
|
return e == null || e(a), a;
|
|
191
176
|
});
|
|
192
177
|
}, [e]), V = p((s) => {
|
|
193
|
-
typeof s.getModifierState == "function" &&
|
|
178
|
+
typeof s.getModifierState == "function" && M(s.getModifierState("CapsLock"));
|
|
194
179
|
}, []), Z = p(
|
|
195
180
|
(s) => {
|
|
196
181
|
V(s), v == null || v(s);
|
|
@@ -203,7 +188,7 @@ const fs = [
|
|
|
203
188
|
[V, y]
|
|
204
189
|
), D = p(
|
|
205
190
|
(s) => {
|
|
206
|
-
|
|
191
|
+
M(!1), x == null || x(s);
|
|
207
192
|
},
|
|
208
193
|
[x]
|
|
209
194
|
), U = L(
|
|
@@ -212,37 +197,37 @@ const fs = [
|
|
|
212
197
|
var s;
|
|
213
198
|
return ((s = N.current) == null ? void 0 : s.value) ?? "";
|
|
214
199
|
},
|
|
215
|
-
setValue: (s) =>
|
|
216
|
-
clear: () =>
|
|
200
|
+
setValue: (s) => E(s),
|
|
201
|
+
clear: () => E(""),
|
|
217
202
|
focus: () => {
|
|
218
203
|
var s;
|
|
219
204
|
return (s = N.current) == null ? void 0 : s.focus();
|
|
220
205
|
},
|
|
221
206
|
isRevealed: () => c,
|
|
222
207
|
toggleVisibility: () => {
|
|
223
|
-
|
|
208
|
+
A((s) => {
|
|
224
209
|
const a = !s;
|
|
225
210
|
return e == null || e(a), a;
|
|
226
211
|
});
|
|
227
212
|
}
|
|
228
213
|
}),
|
|
229
|
-
[e, c,
|
|
214
|
+
[e, c, E]
|
|
230
215
|
);
|
|
231
|
-
ds(
|
|
232
|
-
const
|
|
216
|
+
ds(fs, U, t);
|
|
217
|
+
const _ = gs[h], ss = f(
|
|
233
218
|
c ? "inputs.password.toggleHide" : "inputs.password.toggleShow",
|
|
234
219
|
c ? "Hide password" : "Show password"
|
|
235
220
|
), d = L(
|
|
236
221
|
() => (l == null ? void 0 : l.map((s) => ({
|
|
237
222
|
...s,
|
|
238
|
-
met: s.test(
|
|
223
|
+
met: s.test(H)
|
|
239
224
|
}))) ?? null,
|
|
240
|
-
[l,
|
|
225
|
+
[l, H]
|
|
241
226
|
), es = L(() => {
|
|
242
227
|
if (!u || !(d != null && d.length)) return 0;
|
|
243
228
|
const s = d.filter((O) => O.met).length, a = d.length;
|
|
244
229
|
return Math.min(3, Math.floor(s / a * 4));
|
|
245
|
-
}, [u, d]),
|
|
230
|
+
}, [u, d]), z = n !== void 0 ? n : u ? es : 0, S = vs[z], K = f(
|
|
246
231
|
`inputs.password.strength.${S}`,
|
|
247
232
|
S.charAt(0).toUpperCase() + S.slice(1)
|
|
248
233
|
);
|
|
@@ -266,7 +251,7 @@ const fs = [
|
|
|
266
251
|
autoCapitalize: "none",
|
|
267
252
|
autoCorrect: "off",
|
|
268
253
|
size: h,
|
|
269
|
-
disabled:
|
|
254
|
+
disabled: j,
|
|
270
255
|
onKeyDown: Z,
|
|
271
256
|
onKeyUp: q,
|
|
272
257
|
onBlur: D,
|
|
@@ -284,10 +269,10 @@ const fs = [
|
|
|
284
269
|
type: "button",
|
|
285
270
|
"aria-pressed": c,
|
|
286
271
|
"aria-label": ss,
|
|
287
|
-
disabled:
|
|
272
|
+
disabled: j,
|
|
288
273
|
onClick: Y,
|
|
289
|
-
className:
|
|
290
|
-
children: c ? /* @__PURE__ */ i(ls, { "aria-hidden": "true", className:
|
|
274
|
+
className: hs(),
|
|
275
|
+
children: c ? /* @__PURE__ */ i(ls, { "aria-hidden": "true", className: _ }) : /* @__PURE__ */ i(cs, { "aria-hidden": "true", className: _ })
|
|
291
276
|
}
|
|
292
277
|
)
|
|
293
278
|
] }),
|
|
@@ -319,7 +304,7 @@ const fs = [
|
|
|
319
304
|
{
|
|
320
305
|
role: "listitem",
|
|
321
306
|
"data-state": s.met ? "met" : "unmet",
|
|
322
|
-
className:
|
|
307
|
+
className: ys({ met: s.met }),
|
|
323
308
|
children: [
|
|
324
309
|
s.met ? /* @__PURE__ */ i(
|
|
325
310
|
ps,
|
|
@@ -364,7 +349,7 @@ const fs = [
|
|
|
364
349
|
"div",
|
|
365
350
|
{
|
|
366
351
|
role: "progressbar",
|
|
367
|
-
"aria-valuenow":
|
|
352
|
+
"aria-valuenow": z,
|
|
368
353
|
"aria-valuemin": 0,
|
|
369
354
|
"aria-valuemax": 3,
|
|
370
355
|
"aria-label": f(
|
|
@@ -372,11 +357,11 @@ const fs = [
|
|
|
372
357
|
"Password strength"
|
|
373
358
|
),
|
|
374
359
|
"aria-valuetext": K,
|
|
375
|
-
className:
|
|
360
|
+
className: ws(),
|
|
376
361
|
children: /* @__PURE__ */ i(
|
|
377
362
|
"div",
|
|
378
363
|
{
|
|
379
|
-
className:
|
|
364
|
+
className: bs({ level: z })
|
|
380
365
|
}
|
|
381
366
|
)
|
|
382
367
|
}
|
|
@@ -395,8 +380,8 @@ const fs = [
|
|
|
395
380
|
);
|
|
396
381
|
}
|
|
397
382
|
);
|
|
398
|
-
|
|
399
|
-
function
|
|
383
|
+
xs.displayName = "PasswordInput";
|
|
384
|
+
function Ms(e = {}) {
|
|
400
385
|
const { t: r } = W(), { minLength: n, uppercase: l, lowercase: u, digit: w, symbol: h, noSpaces: b } = e;
|
|
401
386
|
return L(() => {
|
|
402
387
|
const o = [];
|
|
@@ -448,7 +433,7 @@ function Hs(e = {}) {
|
|
|
448
433
|
}, [r, n, l, u, w, h, b]);
|
|
449
434
|
}
|
|
450
435
|
export {
|
|
451
|
-
|
|
452
|
-
|
|
436
|
+
xs as P,
|
|
437
|
+
Ms as u
|
|
453
438
|
};
|
|
454
|
-
//# sourceMappingURL=use-password-requirements-
|
|
439
|
+
//# sourceMappingURL=use-password-requirements-E0sSfx5X.js.map
|