laif-ds 0.1.25 → 0.1.26
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/index5.js +5 -2
- package/dist/_virtual/index6.js +2 -5
- package/dist/components/ui/app-select.js +29 -0
- package/dist/components/ui/gantt/components/Chart/Chart.js +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -12
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
3
|
+
import { __require as e } from "../node_modules/classnames/index.js";
|
|
4
|
+
var s = e();
|
|
5
|
+
const o = /* @__PURE__ */ r(s);
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
o as default
|
|
5
8
|
};
|
package/dist/_virtual/index6.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
import { __require as e } from "../node_modules/classnames/index.js";
|
|
4
|
-
var s = e();
|
|
5
|
-
const o = /* @__PURE__ */ r(s);
|
|
2
|
+
var e = {};
|
|
6
3
|
export {
|
|
7
|
-
|
|
4
|
+
e as __exports
|
|
8
5
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import { Select as n, SelectTrigger as s, SelectValue as u, SelectContent as i, SelectItem as A } from "./select.js";
|
|
4
|
+
import { SelectGroup as h, SelectLabel as x, SelectScrollDownButton as B, SelectScrollUpButton as v, SelectSeparator as j } from "./select.js";
|
|
5
|
+
function b({
|
|
6
|
+
options: t,
|
|
7
|
+
placeholder: c,
|
|
8
|
+
children: p,
|
|
9
|
+
label: r,
|
|
10
|
+
className: S,
|
|
11
|
+
...a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ o(n, { ...a, label: r, children: [
|
|
14
|
+
p || /* @__PURE__ */ l(s, { className: S, children: /* @__PURE__ */ l(u, { placeholder: c }) }),
|
|
15
|
+
/* @__PURE__ */ l(i, { children: t.map((e) => /* @__PURE__ */ l(A, { value: String(e.value), disabled: e.disabled, children: e.label }, e.value)) })
|
|
16
|
+
] });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
b as AppSelect,
|
|
20
|
+
i as AppSelectContent,
|
|
21
|
+
h as AppSelectGroup,
|
|
22
|
+
A as AppSelectItem,
|
|
23
|
+
x as AppSelectLabel,
|
|
24
|
+
B as AppSelectScrollDownButton,
|
|
25
|
+
v as AppSelectScrollUpButton,
|
|
26
|
+
j as AppSelectSeparator,
|
|
27
|
+
s as AppSelectTrigger,
|
|
28
|
+
u as AppSelectValue
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o, jsxs as M, Fragment as N } from "react/jsx-runtime";
|
|
3
3
|
import { useContext as R, useRef as a, useState as s, useCallback as k, useMemo as y, useEffect as u } from "react";
|
|
4
|
-
import A from "../../../../../_virtual/
|
|
4
|
+
import A from "../../../../../_virtual/index5.js";
|
|
5
5
|
import B from "../../../../../_virtual/debounce.js";
|
|
6
6
|
import { GanttContext as F } from "../Gantt/GanttContext.js";
|
|
7
7
|
import { transformData as O } from "../../utils/transformData.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -123,6 +123,20 @@ declare const alertVariants: (props?: ({
|
|
|
123
123
|
|
|
124
124
|
declare type Animation_2 = VariantProps<typeof chatBubbleVariants>["animation"];
|
|
125
125
|
|
|
126
|
+
export declare function AppSelect({ options, placeholder, children, label, className, ...props }: AppSelectProps): JSX.Element;
|
|
127
|
+
|
|
128
|
+
export declare interface AppSelectOption {
|
|
129
|
+
value: string | number;
|
|
130
|
+
label: string | React_2.ReactNode;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export declare interface AppSelectProps extends React_2.ComponentProps<typeof Select> {
|
|
135
|
+
options: AppSelectOption[];
|
|
136
|
+
placeholder?: string;
|
|
137
|
+
className?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
126
140
|
export declare function AppSidebar({ navigation, navigationFooter, versions, defaultVersion, headerContent, footerContent, showRail, linkComponent: LinkComponent, linkProps, ...props }: AppSidebarProps): JSX.Element;
|
|
127
141
|
|
|
128
142
|
declare interface AppSidebarProps extends React_2.ComponentProps<typeof Sidebar> {
|
package/dist/index.js
CHANGED
|
@@ -71,12 +71,13 @@ import { DragStepSizes as Oa } from "./components/ui/gantt/enums/DragStepSizes.j
|
|
|
71
71
|
import { DataRepeatTypes as qa } from "./components/ui/gantt/enums/DataRepeatTimes.js";
|
|
72
72
|
import { AppSidebar as Ka } from "./components/ui/app-sidebar.js";
|
|
73
73
|
import { Confirmer as Ua, confirm as Wa } from "./components/ui/confirmer.js";
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
74
|
+
import { AppSelect as Ya } from "./components/ui/app-select.js";
|
|
75
|
+
import { useAudioRecording as _a } from "./hooks/use-audio-recording.js";
|
|
76
|
+
import { useAutoScroll as en } from "./hooks/use-auto-scroll.js";
|
|
77
|
+
import { useAutosizeTextArea as on } from "./hooks/use-autosize-textarea.js";
|
|
78
|
+
import { useCopyToClipboard as an } from "./hooks/use-copy-to-clipboard.js";
|
|
79
|
+
import { useDebounce as pn } from "./hooks/use-debounce.js";
|
|
80
|
+
import { useIsMobile as ln } from "./hooks/use-mobile.js";
|
|
80
81
|
export {
|
|
81
82
|
ne as Accordion,
|
|
82
83
|
ie as AccordionContent,
|
|
@@ -94,6 +95,7 @@ export {
|
|
|
94
95
|
Te as AlertDialogTitle,
|
|
95
96
|
De as AlertDialogTrigger,
|
|
96
97
|
ge as AlertTitle,
|
|
98
|
+
Ya as AppSelect,
|
|
97
99
|
Ka as AppSidebar,
|
|
98
100
|
a as AspectRatio,
|
|
99
101
|
Ae as AsyncSelect,
|
|
@@ -321,12 +323,12 @@ export {
|
|
|
321
323
|
C as buttonVariants,
|
|
322
324
|
Wa as confirm,
|
|
323
325
|
W as toggleVariants,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
_a as useAudioRecording,
|
|
327
|
+
en as useAutoScroll,
|
|
328
|
+
on as useAutosizeTextArea,
|
|
329
|
+
an as useCopyToClipboard,
|
|
330
|
+
pn as useDebounce,
|
|
329
331
|
Nr as useFormField,
|
|
330
|
-
|
|
332
|
+
ln as useIsMobile,
|
|
331
333
|
wa as useSidebar
|
|
332
334
|
};
|