laif-ds 0.2.36 → 0.2.38
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/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -5
- package/dist/_virtual/index5.js +4 -4
- package/dist/components/ui/accordion.js +5 -5
- package/dist/components/ui/alert-dialog.js +6 -6
- package/dist/components/ui/breadcrumb.js +4 -4
- package/dist/components/ui/calendar.js +44 -44
- package/dist/components/ui/context-menu.js +13 -13
- package/dist/components/ui/date-picker.js +62 -54
- package/dist/components/ui/dialog.js +4 -4
- package/dist/components/ui/hover-card.js +4 -4
- package/dist/components/ui/input.js +138 -110
- package/dist/components/ui/menubar.js +14 -14
- package/dist/components/ui/popover.js +4 -4
- package/dist/components/ui/select.js +13 -13
- package/dist/components/ui/sheet.js +5 -5
- package/dist/components/ui/tabs.js +4 -4
- package/dist/index.d.ts +28 -6
- package/dist/index.js +144 -144
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +5 -5
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +12 -12
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +14 -14
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/vaul/dist/index.js +3 -3
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { composeEventHandlers as h } from "../../primitive/dist/index.js";
|
|
|
6
6
|
import { useComposedRefs as oe } from "../../react-compose-refs/dist/index.js";
|
|
7
7
|
import { createContextScope as ne } from "../../react-context/dist/index.js";
|
|
8
8
|
import { useId as S } from "../../react-id/dist/index.js";
|
|
9
|
-
import { createMenuScope as te,
|
|
9
|
+
import { createMenuScope as te, CheckboxItem as ue, ItemIndicator as se, Content as ie, Group as ce, Item as pe, Label as le, Root as de, Portal as be, RadioGroup as me, RadioItem as fe, Separator as ve, Sub as Me, SubContent as ge, SubTrigger as he, Anchor as Re, Arrow as _e } from "../../react-menu/dist/index.js";
|
|
10
10
|
import { createRovingFocusGroupScope as O, Root as Ie, Item as Se } from "../../react-roving-focus/dist/index.js";
|
|
11
11
|
import { Primitive as T } from "../../react-primitive/dist/index.js";
|
|
12
12
|
import { useControllableState as G } from "../../react-use-controllable-state/dist/index.js";
|
|
@@ -82,7 +82,7 @@ var N = "MenubarMenu", [Ae, F] = D(N), L = (e) => {
|
|
|
82
82
|
contentId: S(),
|
|
83
83
|
wasKeyboardTriggerOpenRef: b,
|
|
84
84
|
children: /* @__PURE__ */ t(
|
|
85
|
-
|
|
85
|
+
de,
|
|
86
86
|
{
|
|
87
87
|
...c,
|
|
88
88
|
open: i,
|
|
@@ -108,7 +108,7 @@ var x = "MenubarTrigger", B = u.forwardRef(
|
|
|
108
108
|
...M,
|
|
109
109
|
focusable: !a,
|
|
110
110
|
tabStopId: s.value,
|
|
111
|
-
children: /* @__PURE__ */ t(
|
|
111
|
+
children: /* @__PURE__ */ t(Re, { asChild: !0, ...l, children: /* @__PURE__ */ t(
|
|
112
112
|
T.button,
|
|
113
113
|
{
|
|
114
114
|
type: "button",
|
|
@@ -143,7 +143,7 @@ var x = "MenubarTrigger", B = u.forwardRef(
|
|
|
143
143
|
B.displayName = x;
|
|
144
144
|
var Ne = "MenubarPortal", U = (e) => {
|
|
145
145
|
const { __scopeMenubar: o, ...r } = e, a = p(o);
|
|
146
|
-
return /* @__PURE__ */ t(
|
|
146
|
+
return /* @__PURE__ */ t(be, { ...a, ...r });
|
|
147
147
|
};
|
|
148
148
|
U.displayName = Ne;
|
|
149
149
|
var w = "MenubarContent", V = u.forwardRef(
|
|
@@ -204,7 +204,7 @@ V.displayName = w;
|
|
|
204
204
|
var ye = "MenubarGroup", H = u.forwardRef(
|
|
205
205
|
(e, o) => {
|
|
206
206
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
207
|
-
return /* @__PURE__ */ t(
|
|
207
|
+
return /* @__PURE__ */ t(ce, { ...n, ...a, ref: o });
|
|
208
208
|
}
|
|
209
209
|
);
|
|
210
210
|
H.displayName = ye;
|
|
@@ -218,40 +218,40 @@ $.displayName = Pe;
|
|
|
218
218
|
var Ee = "MenubarItem", j = u.forwardRef(
|
|
219
219
|
(e, o) => {
|
|
220
220
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
221
|
-
return /* @__PURE__ */ t(
|
|
221
|
+
return /* @__PURE__ */ t(pe, { ...n, ...a, ref: o });
|
|
222
222
|
}
|
|
223
223
|
);
|
|
224
224
|
j.displayName = Ee;
|
|
225
225
|
var Oe = "MenubarCheckboxItem", z = u.forwardRef(
|
|
226
226
|
(e, o) => {
|
|
227
227
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
228
|
-
return /* @__PURE__ */ t(
|
|
228
|
+
return /* @__PURE__ */ t(ue, { ...n, ...a, ref: o });
|
|
229
229
|
}
|
|
230
230
|
);
|
|
231
231
|
z.displayName = Oe;
|
|
232
232
|
var Te = "MenubarRadioGroup", W = u.forwardRef(
|
|
233
233
|
(e, o) => {
|
|
234
234
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
235
|
-
return /* @__PURE__ */ t(
|
|
235
|
+
return /* @__PURE__ */ t(me, { ...n, ...a, ref: o });
|
|
236
236
|
}
|
|
237
237
|
);
|
|
238
238
|
W.displayName = Te;
|
|
239
239
|
var Ge = "MenubarRadioItem", X = u.forwardRef(
|
|
240
240
|
(e, o) => {
|
|
241
241
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
242
|
-
return /* @__PURE__ */ t(
|
|
242
|
+
return /* @__PURE__ */ t(fe, { ...n, ...a, ref: o });
|
|
243
243
|
}
|
|
244
244
|
);
|
|
245
245
|
X.displayName = Ge;
|
|
246
246
|
var De = "MenubarItemIndicator", Y = u.forwardRef((e, o) => {
|
|
247
247
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
248
|
-
return /* @__PURE__ */ t(
|
|
248
|
+
return /* @__PURE__ */ t(se, { ...n, ...a, ref: o });
|
|
249
249
|
});
|
|
250
250
|
Y.displayName = De;
|
|
251
251
|
var ke = "MenubarSeparator", q = u.forwardRef(
|
|
252
252
|
(e, o) => {
|
|
253
253
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
254
|
-
return /* @__PURE__ */ t(
|
|
254
|
+
return /* @__PURE__ */ t(ve, { ...n, ...a, ref: o });
|
|
255
255
|
}
|
|
256
256
|
);
|
|
257
257
|
q.displayName = ke;
|
|
@@ -269,14 +269,14 @@ var J = "MenubarSub", Q = (e) => {
|
|
|
269
269
|
onChange: n,
|
|
270
270
|
caller: J
|
|
271
271
|
});
|
|
272
|
-
return /* @__PURE__ */ t(
|
|
272
|
+
return /* @__PURE__ */ t(Me, { ...l, open: c, onOpenChange: s, children: r });
|
|
273
273
|
};
|
|
274
274
|
Q.displayName = J;
|
|
275
275
|
var Le = "MenubarSubTrigger", Z = u.forwardRef(
|
|
276
276
|
(e, o) => {
|
|
277
277
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
278
278
|
return /* @__PURE__ */ t(
|
|
279
|
-
|
|
279
|
+
he,
|
|
280
280
|
{
|
|
281
281
|
"data-radix-menubar-subtrigger": "",
|
|
282
282
|
...n,
|
|
@@ -291,7 +291,7 @@ var Be = "MenubarSubContent", ee = u.forwardRef(
|
|
|
291
291
|
(e, o) => {
|
|
292
292
|
const { __scopeMenubar: r, ...a } = e, n = p(r);
|
|
293
293
|
return /* @__PURE__ */ t(
|
|
294
|
-
|
|
294
|
+
ge,
|
|
295
295
|
{
|
|
296
296
|
...n,
|
|
297
297
|
"data-radix-menubar-content": "",
|
|
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
|
|
|
3
3
|
import { ok as u } from "../../devlop/lib/default.js";
|
|
4
4
|
import { svg as m, html as C } from "../../property-information/index.js";
|
|
5
5
|
import { stringify as N } from "../../space-separated-tokens/index.js";
|
|
6
|
-
import S from "../../../_virtual/
|
|
6
|
+
import S from "../../../_virtual/index3.js";
|
|
7
7
|
import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
|
|
8
8
|
import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
|
|
9
9
|
import { VFileMessage as h } from "../../vfile-message/lib/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { bail as P } from "../../bail/index.js";
|
|
3
|
-
import y from "../../../_virtual/
|
|
3
|
+
import y from "../../../_virtual/index4.js";
|
|
4
4
|
import z from "../../is-plain-obj/index.js";
|
|
5
5
|
import { CallableInstance as C } from "./callable-instance.js";
|
|
6
6
|
import { trough as A } from "../../trough/lib/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Description as me, Title as pe, Trigger as we, Root as he, Content as ge, Portal as ve, Overlay as ye } from "../../@radix-ui/react-dialog/dist/index.js";
|
|
3
3
|
import * as be from "react";
|
|
4
4
|
import r, { useLayoutEffect as Se, useEffect as Te, useMemo as Re } from "react";
|
|
5
5
|
function Ee(t) {
|
|
@@ -1027,10 +1027,10 @@ const tn = {
|
|
|
1027
1027
|
Root: qe,
|
|
1028
1028
|
Content: Qt,
|
|
1029
1029
|
Overlay: Jt,
|
|
1030
|
-
Trigger:
|
|
1030
|
+
Trigger: we,
|
|
1031
1031
|
Portal: Je,
|
|
1032
1032
|
Title: pe,
|
|
1033
|
-
Description:
|
|
1033
|
+
Description: me
|
|
1034
1034
|
};
|
|
1035
1035
|
export {
|
|
1036
1036
|
Qt as Content,
|