@alfadocs/ui-kit 0.50.1 → 0.52.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-BaSfVfrL.js → agenda-card-Bl-SBiCh.js} +55 -45
- package/dist/_chunks/agenda-tray-DA6qj8BL.js +203 -0
- package/dist/_chunks/{ai-consent-banner-F2md5JD3.js → ai-consent-banner-DBKV27je.js} +2 -2
- package/dist/_chunks/ai-tools-rail-7tC3GT4h.js +340 -0
- package/dist/_chunks/{alert-CUTxnym2.js → alert-_mUKLmwA.js} +54 -44
- package/dist/_chunks/{audio-recorder-DVJXV7_k.js → audio-recorder-D6OVfNiZ.js} +2 -2
- package/dist/_chunks/{booking-DljH0JkS.js → booking-BUV9fspj.js} +2 -2
- package/dist/_chunks/{document-scanner-Cxqvq7GR.js → document-scanner-biBS_f6c.js} +2 -2
- package/dist/_chunks/dropdown-menu-DwwPovMZ.js +354 -0
- package/dist/_chunks/{editable-currency-cell-renderer-Bh48OHRv.js → editable-currency-cell-renderer-D5C5tCfu.js} +3 -3
- package/dist/_chunks/{freemium-paywall-BWaLWje-.js → freemium-paywall-gHGA44dW.js} +2 -2
- package/dist/_chunks/{header-settings-Bx0Biimh.js → header-settings-D5Z2B_Yz.js} +3 -3
- package/dist/_chunks/{logo-yituK7sE.js → logo-1FuSGx0n.js} +2 -1
- package/dist/_chunks/marketplace-app-shell-C4OYAC22.js +513 -0
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js +17 -0
- package/dist/_chunks/{patient-search-BJOmTmDA.js → patient-search-CArmRKeg.js} +3 -3
- package/dist/_chunks/patient-shell-Coarf346.js +162 -0
- package/dist/_chunks/{payment-form-xmeCkxas.js → payment-form-DJ9vnzrT.js} +2 -2
- package/dist/_chunks/{pdf-viewer-q1D3Uion.js → pdf-viewer-4odMFuFW.js} +2 -2
- package/dist/_chunks/{practice-results-Cq1y8JFD.js → practice-results-CtfciF2v.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-DT_244bG.js → pregnancy-dating-BA37LSkF.js} +15 -15
- package/dist/_chunks/{privacy-lock-BmX_gkvt.js → privacy-lock-BN3L-alb.js} +2 -2
- package/dist/_chunks/{public-footer.agent-okt8ZRc5.js → public-footer.agent-CfXuW1x6.js} +2 -2
- package/dist/_chunks/{recaptcha-widget-CFYyLSEX.js → recaptcha-widget-BCNHsgqt.js} +2 -2
- package/dist/_chunks/{sidebar-h78cTNLh.js → sidebar-DPEHzxLZ.js} +397 -346
- package/dist/_chunks/{sign-document-CZkAf28g.js → sign-document-Bzld9jVM.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-CuYn_kKP.js → sign-in-with-alfadocs-button-BpAjVmsI.js} +2 -2
- package/dist/_chunks/{task-card-CPyQ5AXC.js → task-card-BwY9jaV1.js} +48 -42
- package/dist/_chunks/task-tray-Cb_hK4yb.js +234 -0
- package/dist/_chunks/{theme-toggle-ClATnY4Q.js → theme-toggle-DAW7uC0B.js} +3 -3
- package/dist/_chunks/use-edge-resize-ZnGG7gyO.js +139 -0
- package/dist/_chunks/use-theme-CAuo6EYT.js +159 -0
- package/dist/_chunks/{warning-stack-CXfoAT-_.js → warning-stack-Cv4fr5zo.js} +2 -2
- package/dist/_chunks/{workflow-map-DzX_LI4y.js → workflow-map-BJDUNYlX.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/brand/product-lockup/product-lockup.d.ts +47 -12
- package/dist/components/agenda-card/agenda-card.d.ts +19 -2
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/agenda-tray.d.ts +24 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +8 -0
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +2 -0
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +15 -15
- package/dist/components/key-value-pair/key-value-pair.d.ts +1 -1
- package/dist/components/logo/index.js +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-dating/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +8 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +15 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/task-tray/task-tray.d.ts +24 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow/workflow-map.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +12 -10
- package/dist/hooks/use-edge-resize.d.ts +78 -0
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +7 -3
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.js +7 -3
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +7 -3
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +7 -3
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.js +7 -3
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.js +7 -3
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +7 -3
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +7 -3
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +7 -3
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.js +7 -3
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +7 -3
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.js +7 -3
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +7 -3
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +7 -3
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +7 -3
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +7 -3
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +7 -3
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +7 -3
- package/dist/index.js +31 -31
- package/dist/locales/ar.json +7 -3
- package/dist/locales/de.json +7 -3
- package/dist/locales/el.json +7 -3
- package/dist/locales/en.json +7 -3
- package/dist/locales/es.json +7 -3
- package/dist/locales/fr.json +7 -3
- package/dist/locales/hi.json +7 -3
- package/dist/locales/it.json +7 -3
- package/dist/locales/ja.json +7 -3
- package/dist/locales/nl.json +7 -3
- package/dist/locales/pl.json +7 -3
- package/dist/locales/pt.json +7 -3
- package/dist/locales/ro.json +7 -3
- package/dist/locales/ru.json +7 -3
- package/dist/locales/sq.json +7 -3
- package/dist/locales/sv.json +7 -3
- package/dist/locales/tr.json +7 -3
- package/dist/locales/zh.json +7 -3
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +8 -6
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/agenda-tray-DQayYmQ0.js +0 -165
- package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +0 -280
- package/dist/_chunks/circle-arrow-up-CC_85SuH.js +0 -16
- package/dist/_chunks/dropdown-menu-CUEXqKis.js +0 -299
- package/dist/_chunks/marketplace-app-shell-UKSLx9K_.js +0 -428
- package/dist/_chunks/patient-shell-DUmhXnFq.js +0 -174
- package/dist/_chunks/task-tray-B8jFv5FV.js +0 -196
- package/dist/_chunks/use-theme-C2dHKUAN.js +0 -145
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as d, useContext as O, useRef as G, useEffect as P, useMemo as L, createContext as A } from "react";
|
|
3
|
-
import * as n from "@radix-ui/react-dropdown-menu";
|
|
4
|
-
import { c as h } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { S as E } from "./separator-CYU_bGFn.js";
|
|
6
|
-
import { K as g } from "./kbd-D855ZXIW.js";
|
|
7
|
-
import { u as K } from "./use-controllable-state-BiY4xTzM.js";
|
|
8
|
-
import { C as V } from "./chevron-right-BrpYejk0.js";
|
|
9
|
-
import { C as x } from "./check-DPdL_Sm7.js";
|
|
10
|
-
import { a as B } from "./use-direction-Dp8h70PP.js";
|
|
11
|
-
import { u as H } from "./registry-nPAVE19X.js";
|
|
12
|
-
const q = {
|
|
13
|
-
id: "dropdown-menu",
|
|
14
|
-
capabilities: ["open", "close", "pick"],
|
|
15
|
-
state: {
|
|
16
|
-
isOpen: {
|
|
17
|
-
type: "boolean",
|
|
18
|
-
description: "True when the menu is currently open.",
|
|
19
|
-
read: (s) => s.getIsOpen()
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
actions: {
|
|
23
|
-
open: {
|
|
24
|
-
safety: "read",
|
|
25
|
-
description: "Open the menu.",
|
|
26
|
-
invoke: (s) => {
|
|
27
|
-
s.open();
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
close: {
|
|
31
|
-
safety: "read",
|
|
32
|
-
description: "Close the menu.",
|
|
33
|
-
invoke: (s) => {
|
|
34
|
-
s.close();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
domHooks: {
|
|
39
|
-
root: { attr: "data-component", value: "dropdown-menu" },
|
|
40
|
-
instanceId: {
|
|
41
|
-
attr: "data-component-id",
|
|
42
|
-
sourceProp: "id",
|
|
43
|
-
description: "Sourced from the id prop on DropdownMenu.Root."
|
|
44
|
-
},
|
|
45
|
-
item: {
|
|
46
|
-
attr: "data-item-id",
|
|
47
|
-
description: "Each menu item emits its value as data-item-id."
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}, b = h(
|
|
51
|
-
[
|
|
52
|
-
"ds:z-[var(--z-dropdown)]",
|
|
53
|
-
"ds:min-w-[8rem]",
|
|
54
|
-
"ds:rounded-[var(--radius-md)]",
|
|
55
|
-
// Border kept (transparent) so the forced-colors override below can
|
|
56
|
-
// repaint a visible edge in HCM. In normal modes the soft drop-shadow
|
|
57
|
-
// carries the edge cue; the heavy `--border` (grey-800 since WCAG
|
|
58
|
-
// 1.4.11 bump in 67fef8c) made the menu read as a charcoal box.
|
|
59
|
-
"ds:border ds:border-transparent",
|
|
60
|
-
"ds:bg-[var(--popover)] ds:text-[color:var(--popover-foreground)]",
|
|
61
|
-
"ds:shadow-[var(--shadow-lg)]",
|
|
62
|
-
"ds:p-[var(--spacing-xs)]",
|
|
63
|
-
// Motion — gated on --animation-duration via Tailwind's animate-in
|
|
64
|
-
// preset. motion-reduce disables via the no-preference query.
|
|
65
|
-
"ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
|
|
66
|
-
"ds:data-[state=open]:fade-in ds:data-[state=closed]:fade-out",
|
|
67
|
-
"ds:data-[state=open]:zoom-in-95 ds:data-[state=closed]:zoom-out-95",
|
|
68
|
-
"ds:motion-reduce:animate-none",
|
|
69
|
-
"ds:forced-colors:border-[CanvasText]"
|
|
70
|
-
].join(" ")
|
|
71
|
-
), p = h(
|
|
72
|
-
[
|
|
73
|
-
"ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
74
|
-
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
75
|
-
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]",
|
|
76
|
-
"ds:rounded-[var(--radius-sm)]",
|
|
77
|
-
"ds:min-h-[var(--min-target-size)]",
|
|
78
|
-
"ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--foreground)]",
|
|
79
|
-
"ds:cursor-pointer ds:select-none ds:outline-none",
|
|
80
|
-
// Highlighted + hover state
|
|
81
|
-
"ds:data-[highlighted]:bg-[color:var(--muted)]/40",
|
|
82
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
83
|
-
"ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)]",
|
|
84
|
-
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
85
|
-
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
86
|
-
// Disabled
|
|
87
|
-
"ds:data-[disabled]:opacity-50 ds:data-[disabled]:cursor-not-allowed",
|
|
88
|
-
"ds:data-[disabled]:pointer-events-none"
|
|
89
|
-
].join(" ")
|
|
90
|
-
), F = h(
|
|
91
|
-
[
|
|
92
|
-
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
93
|
-
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]",
|
|
94
|
-
"type-eyebrow ds:text-[color:var(--muted-foreground)]",
|
|
95
|
-
"ds:select-none"
|
|
96
|
-
].join(" ")
|
|
97
|
-
), N = "ds:inline-flex ds:items-center ds:justify-center ds:size-4 ds:shrink-0", w = A(void 0), C = ({
|
|
98
|
-
dir: s,
|
|
99
|
-
id: a,
|
|
100
|
-
open: o,
|
|
101
|
-
defaultOpen: t,
|
|
102
|
-
onOpenChange: r,
|
|
103
|
-
...m
|
|
104
|
-
}) => {
|
|
105
|
-
const u = B(), [f, c] = K({
|
|
106
|
-
value: o,
|
|
107
|
-
defaultValue: t ?? !1,
|
|
108
|
-
onChange: r
|
|
109
|
-
}), l = f ?? !1, v = G(l);
|
|
110
|
-
P(() => {
|
|
111
|
-
v.current = l;
|
|
112
|
-
}, [l]);
|
|
113
|
-
const T = L(
|
|
114
|
-
() => ({
|
|
115
|
-
getIsOpen: () => v.current,
|
|
116
|
-
open: () => c(!0),
|
|
117
|
-
close: () => c(!1)
|
|
118
|
-
}),
|
|
119
|
-
[c]
|
|
120
|
-
);
|
|
121
|
-
return H(q, T, a), /* @__PURE__ */ e(w.Provider, { value: a, children: /* @__PURE__ */ e(
|
|
122
|
-
n.Root,
|
|
123
|
-
{
|
|
124
|
-
dir: s ?? u,
|
|
125
|
-
open: l,
|
|
126
|
-
onOpenChange: c,
|
|
127
|
-
...m
|
|
128
|
-
}
|
|
129
|
-
) });
|
|
130
|
-
};
|
|
131
|
-
C.displayName = "DropdownMenu.Root";
|
|
132
|
-
const J = n.Trigger, Q = n.Portal, U = n.Group, W = n.RadioGroup, y = d(({ className: s, sideOffset: a = 8, ...o }, t) => {
|
|
133
|
-
const r = O(w);
|
|
134
|
-
return /* @__PURE__ */ e(n.Portal, { children: /* @__PURE__ */ e(
|
|
135
|
-
n.Content,
|
|
136
|
-
{
|
|
137
|
-
ref: t,
|
|
138
|
-
sideOffset: a,
|
|
139
|
-
className: b({ className: s }),
|
|
140
|
-
"data-component": "dropdown-menu",
|
|
141
|
-
"data-component-id": r,
|
|
142
|
-
...o
|
|
143
|
-
}
|
|
144
|
-
) });
|
|
145
|
-
});
|
|
146
|
-
y.displayName = "DropdownMenu.Content";
|
|
147
|
-
const R = d(
|
|
148
|
-
({
|
|
149
|
-
className: s,
|
|
150
|
-
startIcon: a,
|
|
151
|
-
endIcon: o,
|
|
152
|
-
description: t,
|
|
153
|
-
shortcut: r,
|
|
154
|
-
children: m,
|
|
155
|
-
...u
|
|
156
|
-
}, f) => /* @__PURE__ */ i(
|
|
157
|
-
n.Item,
|
|
158
|
-
{
|
|
159
|
-
ref: f,
|
|
160
|
-
className: p({ className: s }),
|
|
161
|
-
...u,
|
|
162
|
-
children: [
|
|
163
|
-
a ? /* @__PURE__ */ e(
|
|
164
|
-
"span",
|
|
165
|
-
{
|
|
166
|
-
"aria-hidden": "true",
|
|
167
|
-
className: "ds:inline-flex ds:size-4 ds:shrink-0 ds:items-center ds:justify-center",
|
|
168
|
-
children: a
|
|
169
|
-
}
|
|
170
|
-
) : null,
|
|
171
|
-
/* @__PURE__ */ i("span", { className: "ds:flex-1 ds:flex ds:flex-col ds:min-w-0", children: [
|
|
172
|
-
/* @__PURE__ */ e("span", { className: "ds:truncate", children: m }),
|
|
173
|
-
t ? /* @__PURE__ */ e("span", { className: "type-meta ds:text-[color:var(--muted-foreground)] ds:truncate", children: t }) : null
|
|
174
|
-
] }),
|
|
175
|
-
r ? /* @__PURE__ */ e("span", { className: "ds:ms-auto", children: /* @__PURE__ */ e(g, { keys: r, size: "sm" }) }) : o ? /* @__PURE__ */ e(
|
|
176
|
-
"span",
|
|
177
|
-
{
|
|
178
|
-
"aria-hidden": "true",
|
|
179
|
-
className: "ds:ms-auto ds:inline-flex ds:size-4 ds:shrink-0 ds:items-center ds:justify-center",
|
|
180
|
-
children: o
|
|
181
|
-
}
|
|
182
|
-
) : null
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
)
|
|
186
|
-
);
|
|
187
|
-
R.displayName = "DropdownMenu.Item";
|
|
188
|
-
const S = d(({ className: s, children: a, ...o }, t) => /* @__PURE__ */ i(
|
|
189
|
-
n.CheckboxItem,
|
|
190
|
-
{
|
|
191
|
-
ref: t,
|
|
192
|
-
className: p({ className: s }),
|
|
193
|
-
...o,
|
|
194
|
-
children: [
|
|
195
|
-
/* @__PURE__ */ e("span", { className: N, children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(x, { "aria-hidden": !0, className: "ds:size-4" }) }) }),
|
|
196
|
-
/* @__PURE__ */ e("span", { className: "ds:flex-1 ds:truncate", children: a })
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
));
|
|
200
|
-
S.displayName = "DropdownMenu.CheckboxItem";
|
|
201
|
-
const X = W, D = d(({ className: s, children: a, ...o }, t) => /* @__PURE__ */ i(
|
|
202
|
-
n.RadioItem,
|
|
203
|
-
{
|
|
204
|
-
ref: t,
|
|
205
|
-
className: p({ className: s }),
|
|
206
|
-
...o,
|
|
207
|
-
children: [
|
|
208
|
-
/* @__PURE__ */ e("span", { className: N, children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(
|
|
209
|
-
x,
|
|
210
|
-
{
|
|
211
|
-
"aria-hidden": !0,
|
|
212
|
-
className: "ds:size-4 ds:text-[color:var(--accent)]"
|
|
213
|
-
}
|
|
214
|
-
) }) }),
|
|
215
|
-
/* @__PURE__ */ e("span", { className: "ds:flex-1 ds:truncate", children: a })
|
|
216
|
-
]
|
|
217
|
-
}
|
|
218
|
-
));
|
|
219
|
-
D.displayName = "DropdownMenu.RadioItem";
|
|
220
|
-
const M = d(({ className: s, ...a }, o) => /* @__PURE__ */ e(
|
|
221
|
-
n.Label,
|
|
222
|
-
{
|
|
223
|
-
ref: o,
|
|
224
|
-
className: F({ className: s }),
|
|
225
|
-
...a
|
|
226
|
-
}
|
|
227
|
-
));
|
|
228
|
-
M.displayName = "DropdownMenu.Label";
|
|
229
|
-
const z = d(({ className: s, ...a }, o) => /* @__PURE__ */ e(n.Separator, { ref: o, asChild: !0, ...a, children: /* @__PURE__ */ e(
|
|
230
|
-
E,
|
|
231
|
-
{
|
|
232
|
-
className: ["ds:my-[calc(var(--spacing-xs)/2)]", s ?? ""].filter(Boolean).join(" ")
|
|
233
|
-
}
|
|
234
|
-
) }));
|
|
235
|
-
z.displayName = "DropdownMenu.Separator";
|
|
236
|
-
const I = d(
|
|
237
|
-
({ keys: s, separator: a = "none" }, o) => /* @__PURE__ */ e("span", { ref: o, className: "ds:ms-auto ds:ps-[var(--spacing-sm)]", children: /* @__PURE__ */ e(g, { keys: s, separator: a, size: "sm" }) })
|
|
238
|
-
);
|
|
239
|
-
I.displayName = "DropdownMenu.Shortcut";
|
|
240
|
-
const Y = n.Sub, k = d(({ className: s, startIcon: a, children: o, ...t }, r) => /* @__PURE__ */ i(
|
|
241
|
-
n.SubTrigger,
|
|
242
|
-
{
|
|
243
|
-
ref: r,
|
|
244
|
-
className: p({ className: s }),
|
|
245
|
-
...t,
|
|
246
|
-
children: [
|
|
247
|
-
a ? /* @__PURE__ */ e(
|
|
248
|
-
"span",
|
|
249
|
-
{
|
|
250
|
-
"aria-hidden": "true",
|
|
251
|
-
className: "ds:inline-flex ds:size-4 ds:shrink-0 ds:items-center ds:justify-center",
|
|
252
|
-
children: a
|
|
253
|
-
}
|
|
254
|
-
) : null,
|
|
255
|
-
/* @__PURE__ */ e("span", { className: "ds:flex-1 ds:truncate", children: o }),
|
|
256
|
-
/* @__PURE__ */ e(
|
|
257
|
-
V,
|
|
258
|
-
{
|
|
259
|
-
"aria-hidden": !0,
|
|
260
|
-
className: "ds:ms-auto ds:size-4 ds:shrink-0 ds:rtl:-scale-x-100"
|
|
261
|
-
}
|
|
262
|
-
)
|
|
263
|
-
]
|
|
264
|
-
}
|
|
265
|
-
));
|
|
266
|
-
k.displayName = "DropdownMenu.SubTrigger";
|
|
267
|
-
const j = d(({ className: s, ...a }, o) => /* @__PURE__ */ e(n.Portal, { children: /* @__PURE__ */ e(
|
|
268
|
-
n.SubContent,
|
|
269
|
-
{
|
|
270
|
-
ref: o,
|
|
271
|
-
sideOffset: 8,
|
|
272
|
-
"data-component": "dropdown-menu-sub-content",
|
|
273
|
-
className: b({ className: s }),
|
|
274
|
-
...a
|
|
275
|
-
}
|
|
276
|
-
) }));
|
|
277
|
-
j.displayName = "DropdownMenu.SubContent";
|
|
278
|
-
const re = {
|
|
279
|
-
Root: C,
|
|
280
|
-
Trigger: J,
|
|
281
|
-
Portal: Q,
|
|
282
|
-
Content: y,
|
|
283
|
-
Group: U,
|
|
284
|
-
Item: R,
|
|
285
|
-
CheckboxItem: S,
|
|
286
|
-
RadioGroup: X,
|
|
287
|
-
RadioItem: D,
|
|
288
|
-
Label: M,
|
|
289
|
-
Separator: z,
|
|
290
|
-
Shortcut: I,
|
|
291
|
-
Sub: Y,
|
|
292
|
-
SubTrigger: k,
|
|
293
|
-
SubContent: j
|
|
294
|
-
};
|
|
295
|
-
export {
|
|
296
|
-
re as D,
|
|
297
|
-
q as d
|
|
298
|
-
};
|
|
299
|
-
//# sourceMappingURL=dropdown-menu-CUEXqKis.js.map
|