@vuer-ai/vuer-uikit 0.0.19 → 0.0.21
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/chunk-2JCULHBM.js +58 -0
- package/dist/chunk-2TRYGIGT.mjs +76 -0
- package/dist/chunk-2YCL2ET2.js +431 -0
- package/dist/chunk-3FR3WKI4.mjs +24 -0
- package/dist/chunk-44KW6PTD.mjs +111 -0
- package/dist/chunk-5OUTEHVX.js +48 -0
- package/dist/chunk-5SR53QBZ.js +143 -0
- package/dist/chunk-5TVG5JK5.js +93 -0
- package/dist/chunk-5ZZC23M7.mjs +60 -0
- package/dist/chunk-6N5422RT.js +110 -0
- package/dist/chunk-AOUGWGQR.js +609 -0
- package/dist/chunk-B2E7AY66.mjs +86 -0
- package/dist/chunk-BOPZFNFS.mjs +54 -0
- package/dist/chunk-CLTLT5XW.js +27 -0
- package/dist/chunk-DDOX4EEM.mjs +46 -0
- package/dist/chunk-DZ4J7I7I.mjs +114 -0
- package/dist/chunk-E33MW663.js +179 -0
- package/dist/chunk-EAZQH4IX.mjs +27 -0
- package/dist/chunk-EFIRD3FN.js +69 -0
- package/dist/chunk-EOFYA6CS.js +53 -0
- package/dist/chunk-EUY74AXP.mjs +341 -0
- package/dist/chunk-EYIFKSU2.mjs +259 -0
- package/dist/chunk-F56ZKT7B.mjs +1 -0
- package/dist/chunk-F776EMXP.mjs +82 -0
- package/dist/chunk-FORVP7XH.js +164 -0
- package/dist/chunk-FP26SRGL.js +377 -0
- package/dist/chunk-FRT225GK.mjs +34 -0
- package/dist/chunk-G5KMD72J.mjs +162 -0
- package/dist/chunk-G6PRZVSE.mjs +71 -0
- package/dist/chunk-H5P4IX7R.js +67 -0
- package/dist/chunk-HLJ7PQA7.mjs +15 -0
- package/dist/chunk-IGBWUFZL.js +79 -0
- package/dist/chunk-IXHMIR5P.js +131 -0
- package/dist/chunk-JAMJUXBY.mjs +45 -0
- package/dist/chunk-JMPVDU2C.mjs +110 -0
- package/dist/chunk-KJ42IGH6.js +2 -0
- package/dist/chunk-KTNZSZ5Y.mjs +23 -0
- package/dist/chunk-LEPXSM36.mjs +46 -0
- package/dist/chunk-LLXRJYQB.mjs +31 -0
- package/dist/chunk-M4IVLZIH.mjs +1 -0
- package/dist/chunk-MRVMXKZO.mjs +106 -0
- package/dist/chunk-MZ4POL3U.js +301 -0
- package/dist/chunk-N7CINZS2.js +2 -0
- package/dist/chunk-NODFVSVC.mjs +39 -0
- package/dist/chunk-OOI3SJDU.mjs +206 -0
- package/dist/chunk-OQ237S4Z.js +94 -0
- package/dist/chunk-OTPUWWEB.js +98 -0
- package/dist/chunk-PIR7EZC6.js +187 -0
- package/dist/chunk-PVRQNCSJ.js +49 -0
- package/dist/chunk-Q5KEB4UK.mjs +51 -0
- package/dist/chunk-QEY7BWIR.js +208 -0
- package/dist/chunk-QJR6MCTR.js +32 -0
- package/dist/chunk-QVUX6LLD.mjs +270 -0
- package/dist/chunk-QYRRQ65X.mjs +115 -0
- package/dist/chunk-SKO72K64.js +118 -0
- package/dist/chunk-T3VSSE2L.mjs +165 -0
- package/dist/chunk-TMBKCIVQ.mjs +148 -0
- package/dist/chunk-U2ZLDPOE.js +261 -0
- package/dist/chunk-U7SNLMJR.js +110 -0
- package/dist/chunk-UFHMEEGL.js +113 -0
- package/dist/chunk-UKFVRXAR.mjs +409 -0
- package/dist/chunk-UPTTGNMB.js +41 -0
- package/dist/chunk-V4KNORQN.js +21 -0
- package/dist/chunk-VAXIFFOT.js +83 -0
- package/dist/chunk-VGCVIHBR.mjs +1 -0
- package/dist/chunk-VXHM7V6F.mjs +92 -0
- package/dist/chunk-WDUTW7HS.mjs +87 -0
- package/dist/chunk-WJ7T7FAH.js +135 -0
- package/dist/chunk-WO3WHXDP.mjs +66 -0
- package/dist/chunk-X55EAYE2.js +94 -0
- package/dist/chunk-XMG3IVGZ.mjs +95 -0
- package/dist/chunk-XWS4SIB5.js +2 -0
- package/dist/chunk-XXWQ4RVP.js +25 -0
- package/dist/chunk-Y5I2GI4V.js +33 -0
- package/dist/chunk-YXDJPCAF.js +99 -0
- package/dist/chunk-ZVG2UKKC.mjs +603 -0
- package/dist/highlight-cursor/cursor-context.d.mts +7 -0
- package/dist/highlight-cursor/cursor-context.d.ts +7 -0
- package/dist/highlight-cursor/cursor-context.js +14 -0
- package/dist/highlight-cursor/cursor-context.mjs +1 -0
- package/dist/highlight-cursor/cursor-provider.d.mts +7 -0
- package/dist/highlight-cursor/cursor-provider.d.ts +7 -0
- package/dist/highlight-cursor/cursor-provider.js +12 -0
- package/dist/highlight-cursor/cursor-provider.mjs +3 -0
- package/dist/highlight-cursor/enhanced-components.d.mts +20 -0
- package/dist/highlight-cursor/enhanced-components.d.ts +20 -0
- package/dist/highlight-cursor/enhanced-components.js +37 -0
- package/dist/highlight-cursor/enhanced-components.mjs +12 -0
- package/dist/highlight-cursor/index.d.mts +16 -0
- package/dist/highlight-cursor/index.d.ts +16 -0
- package/dist/highlight-cursor/index.js +51 -0
- package/dist/highlight-cursor/index.mjs +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.d.mts +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.d.ts +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.js +14 -0
- package/dist/highlight-cursor/tabs-cursor-context.mjs +1 -0
- package/dist/highlight-cursor/types.d.mts +39 -0
- package/dist/highlight-cursor/types.d.ts +39 -0
- package/dist/highlight-cursor/types.js +2 -0
- package/dist/highlight-cursor/types.mjs +1 -0
- package/dist/highlight-cursor/with-cursor.d.mts +7 -0
- package/dist/highlight-cursor/with-cursor.d.ts +7 -0
- package/dist/highlight-cursor/with-cursor.js +11 -0
- package/dist/highlight-cursor/with-cursor.mjs +2 -0
- package/dist/index.css +318 -0
- package/dist/index.d.mts +55 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.js +131 -131
- package/dist/index.mjs +38 -0
- package/dist/styles/theme.css +192 -0
- package/dist/styles/theme.d.mts +2 -0
- package/dist/styles/theme.d.ts +2 -0
- package/dist/styles/toast.css +61 -0
- package/dist/styles/toast.d.mts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/styles/variables.css +188 -0
- package/dist/styles/variables.d.mts +2 -0
- package/dist/styles/variables.d.ts +2 -0
- package/dist/ui/avatar.d.mts +16 -0
- package/dist/ui/avatar.d.ts +16 -0
- package/dist/ui/avatar.js +25 -0
- package/dist/ui/avatar.mjs +4 -0
- package/dist/ui/badge.d.mts +14 -0
- package/dist/ui/badge.d.ts +14 -0
- package/dist/ui/badge.js +17 -0
- package/dist/ui/badge.mjs +4 -0
- package/dist/ui/button.d.mts +16 -0
- package/dist/ui/button.d.ts +16 -0
- package/dist/ui/button.js +13 -0
- package/dist/ui/button.mjs +4 -0
- package/dist/ui/card.d.mts +12 -0
- package/dist/ui/card.d.ts +12 -0
- package/dist/ui/card.js +37 -0
- package/dist/ui/card.mjs +4 -0
- package/dist/ui/checkbox.d.mts +11 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/checkbox.js +13 -0
- package/dist/ui/checkbox.mjs +4 -0
- package/dist/ui/collapsible.d.mts +9 -0
- package/dist/ui/collapsible.d.ts +9 -0
- package/dist/ui/collapsible.js +21 -0
- package/dist/ui/collapsible.mjs +4 -0
- package/dist/ui/dropdown.d.mts +28 -0
- package/dist/ui/dropdown.d.ts +28 -0
- package/dist/ui/dropdown.js +69 -0
- package/dist/ui/dropdown.mjs +4 -0
- package/dist/ui/index.d.mts +47 -0
- package/dist/ui/index.d.ts +47 -0
- package/dist/ui/index.js +414 -0
- package/dist/ui/index.mjs +33 -0
- package/dist/ui/input-numbers.d.mts +15 -0
- package/dist/ui/input-numbers.d.ts +15 -0
- package/dist/ui/input-numbers.js +14 -0
- package/dist/ui/input-numbers.mjs +5 -0
- package/dist/ui/input.d.mts +22 -0
- package/dist/ui/input.d.ts +22 -0
- package/dist/ui/input.js +17 -0
- package/dist/ui/input.mjs +4 -0
- package/dist/ui/layout.d.mts +12 -0
- package/dist/ui/layout.d.ts +12 -0
- package/dist/ui/layout.js +13 -0
- package/dist/ui/layout.mjs +4 -0
- package/dist/ui/modal.d.mts +28 -0
- package/dist/ui/modal.d.ts +28 -0
- package/dist/ui/modal.js +49 -0
- package/dist/ui/modal.mjs +4 -0
- package/dist/ui/popover.d.mts +10 -0
- package/dist/ui/popover.d.ts +10 -0
- package/dist/ui/popover.js +25 -0
- package/dist/ui/popover.mjs +4 -0
- package/dist/ui/radio-group.d.mts +8 -0
- package/dist/ui/radio-group.d.ts +8 -0
- package/dist/ui/radio-group.js +17 -0
- package/dist/ui/radio-group.mjs +4 -0
- package/dist/ui/select.d.mts +28 -0
- package/dist/ui/select.d.ts +28 -0
- package/dist/ui/select.js +49 -0
- package/dist/ui/select.mjs +4 -0
- package/dist/ui/sheet.d.mts +16 -0
- package/dist/ui/sheet.d.ts +16 -0
- package/dist/ui/sheet.js +39 -0
- package/dist/ui/sheet.mjs +2 -0
- package/dist/ui/slider.d.mts +10 -0
- package/dist/ui/slider.d.ts +10 -0
- package/dist/ui/slider.js +13 -0
- package/dist/ui/slider.mjs +4 -0
- package/dist/ui/switch.d.mts +7 -0
- package/dist/ui/switch.d.ts +7 -0
- package/dist/ui/switch.js +13 -0
- package/dist/ui/switch.mjs +4 -0
- package/dist/ui/tabs.d.mts +16 -0
- package/dist/ui/tabs.d.ts +16 -0
- package/dist/ui/tabs.js +26 -0
- package/dist/ui/tabs.mjs +5 -0
- package/dist/ui/textarea.d.mts +16 -0
- package/dist/ui/textarea.d.ts +16 -0
- package/dist/ui/textarea.js +13 -0
- package/dist/ui/textarea.mjs +4 -0
- package/dist/ui/theme-context.d.mts +17 -0
- package/dist/ui/theme-context.d.ts +17 -0
- package/dist/ui/theme-context.js +17 -0
- package/dist/ui/theme-context.mjs +4 -0
- package/dist/ui/timeline.d.mts +23 -0
- package/dist/ui/timeline.d.ts +23 -0
- package/dist/ui/timeline.js +15 -0
- package/dist/ui/timeline.mjs +6 -0
- package/dist/ui/toast.d.mts +7 -0
- package/dist/ui/toast.d.ts +7 -0
- package/dist/ui/toast.js +14 -0
- package/dist/ui/toast.mjs +1 -0
- package/dist/ui/toggle-group.d.mts +12 -0
- package/dist/ui/toggle-group.d.ts +12 -0
- package/dist/ui/toggle-group.js +18 -0
- package/dist/ui/toggle-group.mjs +5 -0
- package/dist/ui/toggle.d.mts +13 -0
- package/dist/ui/toggle.d.ts +13 -0
- package/dist/ui/toggle.js +17 -0
- package/dist/ui/toggle.mjs +4 -0
- package/dist/ui/tooltip.d.mts +10 -0
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.js +25 -0
- package/dist/ui/tooltip.mjs +4 -0
- package/dist/ui/tree-view-v2.d.mts +25 -0
- package/dist/ui/tree-view-v2.d.ts +25 -0
- package/dist/ui/tree-view-v2.js +14 -0
- package/dist/ui/tree-view-v2.mjs +5 -0
- package/dist/ui/tree-view.d.mts +28 -0
- package/dist/ui/tree-view.d.ts +28 -0
- package/dist/ui/tree-view.js +11 -0
- package/dist/ui/tree-view.mjs +2 -0
- package/dist/ui/version-badge.d.mts +26 -0
- package/dist/ui/version-badge.d.ts +26 -0
- package/dist/ui/version-badge.js +14 -0
- package/dist/ui/version-badge.mjs +5 -0
- package/dist/utils/cn.d.mts +5 -0
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/cn.js +10 -0
- package/dist/utils/cn.mjs +1 -0
- package/dist/utils/index.d.mts +3 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/index.mjs +3 -0
- package/dist/utils/use-local-storage.d.mts +3 -0
- package/dist/utils/use-local-storage.d.ts +3 -0
- package/dist/utils/use-local-storage.js +10 -0
- package/dist/utils/use-local-storage.mjs +1 -0
- package/package.json +3 -2
- package/src/ui/version-badge.tsx +5 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
|
|
5
|
+
interface TabsProps extends ComponentProps<typeof TabsPrimitive.Root> {
|
|
6
|
+
size?: "sm" | "base" | "lg";
|
|
7
|
+
}
|
|
8
|
+
declare function Tabs({ className, size, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
type TabsListProps = ComponentProps<typeof TabsPrimitive.List>;
|
|
10
|
+
declare function TabsList({ className, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
type TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>;
|
|
12
|
+
declare function TabsTrigger({ className, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
type TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>;
|
|
14
|
+
declare function TabsContent({ className, ...props }: TabsContentProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps };
|
package/dist/ui/tabs.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkIXHMIR5P_js = require('../chunk-IXHMIR5P.js');
|
|
4
|
+
require('../chunk-XWS4SIB5.js');
|
|
5
|
+
require('../chunk-EOFYA6CS.js');
|
|
6
|
+
require('../chunk-XXWQ4RVP.js');
|
|
7
|
+
require('../chunk-OTPUWWEB.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "Tabs", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkIXHMIR5P_js.Tabs; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "TabsContent", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkIXHMIR5P_js.TabsContent; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "TabsList", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkIXHMIR5P_js.TabsList; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "TabsTrigger", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkIXHMIR5P_js.TabsTrigger; }
|
|
26
|
+
});
|
package/dist/ui/tabs.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
|
+
|
|
6
|
+
declare const textareaVariants: (props?: ({
|
|
7
|
+
state?: "default" | "error" | null | undefined;
|
|
8
|
+
size?: "base" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
|
|
11
|
+
state?: "default" | "error";
|
|
12
|
+
size?: "sm" | "base" | "lg";
|
|
13
|
+
}
|
|
14
|
+
declare function Textarea({ className, state, size, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { Textarea };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
|
+
|
|
6
|
+
declare const textareaVariants: (props?: ({
|
|
7
|
+
state?: "default" | "error" | null | undefined;
|
|
8
|
+
size?: "base" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
|
|
11
|
+
state?: "default" | "error";
|
|
12
|
+
size?: "sm" | "base" | "lg";
|
|
13
|
+
}
|
|
14
|
+
declare function Textarea({ className, state, size, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { Textarea };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5OUTEHVX_js = require('../chunk-5OUTEHVX.js');
|
|
4
|
+
require('../chunk-XWS4SIB5.js');
|
|
5
|
+
require('../chunk-EOFYA6CS.js');
|
|
6
|
+
require('../chunk-XXWQ4RVP.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "Textarea", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk5OUTEHVX_js.Textarea; }
|
|
13
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type Theme = "dark" | "light" | "liquidlight" | "liquiddark" | "system";
|
|
5
|
+
type ThemeProviderProps = {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
defaultTheme?: Theme;
|
|
8
|
+
storageKey?: string;
|
|
9
|
+
};
|
|
10
|
+
type ThemeProviderState = {
|
|
11
|
+
theme: Theme;
|
|
12
|
+
setTheme: (theme: Theme) => void;
|
|
13
|
+
};
|
|
14
|
+
declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
declare const useTheme: () => ThemeProviderState;
|
|
16
|
+
|
|
17
|
+
export { type Theme, ThemeProvider, useTheme };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type Theme = "dark" | "light" | "liquidlight" | "liquiddark" | "system";
|
|
5
|
+
type ThemeProviderProps = {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
defaultTheme?: Theme;
|
|
8
|
+
storageKey?: string;
|
|
9
|
+
};
|
|
10
|
+
type ThemeProviderState = {
|
|
11
|
+
theme: Theme;
|
|
12
|
+
setTheme: (theme: Theme) => void;
|
|
13
|
+
};
|
|
14
|
+
declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
declare const useTheme: () => ThemeProviderState;
|
|
16
|
+
|
|
17
|
+
export { type Theme, ThemeProvider, useTheme };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkPVRQNCSJ_js = require('../chunk-PVRQNCSJ.js');
|
|
4
|
+
require('../chunk-XWS4SIB5.js');
|
|
5
|
+
require('../chunk-EOFYA6CS.js');
|
|
6
|
+
require('../chunk-XXWQ4RVP.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "ThemeProvider", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkPVRQNCSJ_js.ThemeProvider; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "useTheme", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkPVRQNCSJ_js.useTheme; }
|
|
17
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import react__default from 'react';
|
|
3
|
+
import { TreeDataItemV2 as TreeDataItem } from './tree-view-v2.mjs';
|
|
4
|
+
|
|
5
|
+
type LogItemData = TreeDataItem & {
|
|
6
|
+
type: "task" | "attempt" | "info" | "step";
|
|
7
|
+
icon?: "history" | "file-code" | "bot" | "check-circle" | "pause-circle";
|
|
8
|
+
createTime?: number;
|
|
9
|
+
startTime?: number;
|
|
10
|
+
duration?: number;
|
|
11
|
+
time?: number;
|
|
12
|
+
color?: "blue" | "green" | "orange" | "gray-light" | "gray-medium" | "purple";
|
|
13
|
+
hasStripes?: boolean;
|
|
14
|
+
isHalted?: boolean;
|
|
15
|
+
};
|
|
16
|
+
type TimelineProps = {
|
|
17
|
+
data: LogItemData[];
|
|
18
|
+
totalDuration: number;
|
|
19
|
+
getIcon: (item: LogItemData) => react__default.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
declare function Timeline({ data, totalDuration, getIcon }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
export { type LogItemData, Timeline };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import react__default from 'react';
|
|
3
|
+
import { TreeDataItemV2 as TreeDataItem } from './tree-view-v2.js';
|
|
4
|
+
|
|
5
|
+
type LogItemData = TreeDataItem & {
|
|
6
|
+
type: "task" | "attempt" | "info" | "step";
|
|
7
|
+
icon?: "history" | "file-code" | "bot" | "check-circle" | "pause-circle";
|
|
8
|
+
createTime?: number;
|
|
9
|
+
startTime?: number;
|
|
10
|
+
duration?: number;
|
|
11
|
+
time?: number;
|
|
12
|
+
color?: "blue" | "green" | "orange" | "gray-light" | "gray-medium" | "purple";
|
|
13
|
+
hasStripes?: boolean;
|
|
14
|
+
isHalted?: boolean;
|
|
15
|
+
};
|
|
16
|
+
type TimelineProps = {
|
|
17
|
+
data: LogItemData[];
|
|
18
|
+
totalDuration: number;
|
|
19
|
+
getIcon: (item: LogItemData) => react__default.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
declare function Timeline({ data, totalDuration, getIcon }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
22
|
+
|
|
23
|
+
export { type LogItemData, Timeline };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkAOUGWGQR_js = require('../chunk-AOUGWGQR.js');
|
|
4
|
+
require('../chunk-U2ZLDPOE.js');
|
|
5
|
+
require('../chunk-WJ7T7FAH.js');
|
|
6
|
+
require('../chunk-XWS4SIB5.js');
|
|
7
|
+
require('../chunk-EOFYA6CS.js');
|
|
8
|
+
require('../chunk-XXWQ4RVP.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "Timeline", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkAOUGWGQR_js.Timeline; }
|
|
15
|
+
});
|
package/dist/ui/toast.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkQJR6MCTR_js = require('../chunk-QJR6MCTR.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "Toaster", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkQJR6MCTR_js.Toaster; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "toast", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkQJR6MCTR_js.toast; }
|
|
14
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Toaster, toast } from '../chunk-EAZQH4IX.mjs';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
|
+
import { toggleVariants } from './toggle.mjs';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import '@radix-ui/react-toggle';
|
|
8
|
+
|
|
9
|
+
declare function ToggleGroup({ className, variant, size, children, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
10
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
5
|
+
import { toggleVariants } from './toggle.js';
|
|
6
|
+
import 'class-variance-authority/types';
|
|
7
|
+
import '@radix-ui/react-toggle';
|
|
8
|
+
|
|
9
|
+
declare function ToggleGroup({ className, variant, size, children, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
10
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYXDJPCAF_js = require('../chunk-YXDJPCAF.js');
|
|
4
|
+
require('../chunk-U7SNLMJR.js');
|
|
5
|
+
require('../chunk-XWS4SIB5.js');
|
|
6
|
+
require('../chunk-EOFYA6CS.js');
|
|
7
|
+
require('../chunk-XXWQ4RVP.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "ToggleGroup", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkYXDJPCAF_js.ToggleGroup; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkYXDJPCAF_js.ToggleGroupItem; }
|
|
18
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { ComponentProps } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const toggleVariants: (props?: ({
|
|
8
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9
|
+
size?: "base" | "sm" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { Toggle, toggleVariants };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { ComponentProps } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const toggleVariants: (props?: ({
|
|
8
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9
|
+
size?: "base" | "sm" | "lg" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
declare function Toggle({ className, variant, size, ...props }: ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { Toggle, toggleVariants };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkU7SNLMJR_js = require('../chunk-U7SNLMJR.js');
|
|
4
|
+
require('../chunk-XWS4SIB5.js');
|
|
5
|
+
require('../chunk-EOFYA6CS.js');
|
|
6
|
+
require('../chunk-XXWQ4RVP.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "Toggle", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkU7SNLMJR_js.Toggle; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "toggleVariants", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkU7SNLMJR_js.toggleVariants; }
|
|
17
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
|
|
5
|
+
declare function TooltipProvider({ delayDuration, children, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function Tooltip({ children, ...props }: ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element | null;
|
|
9
|
+
|
|
10
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
|
|
5
|
+
declare function TooltipProvider({ delayDuration, children, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function Tooltip({ children, ...props }: ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element | null;
|
|
9
|
+
|
|
10
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWJ7T7FAH_js = require('../chunk-WJ7T7FAH.js');
|
|
4
|
+
require('../chunk-XWS4SIB5.js');
|
|
5
|
+
require('../chunk-EOFYA6CS.js');
|
|
6
|
+
require('../chunk-XXWQ4RVP.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "Tooltip", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkWJ7T7FAH_js.Tooltip; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "TooltipContent", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkWJ7T7FAH_js.TooltipContent; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "TooltipProvider", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkWJ7T7FAH_js.TooltipProvider; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "TooltipTrigger", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkWJ7T7FAH_js.TooltipTrigger; }
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type TreeDataItem = {
|
|
5
|
+
id: string;
|
|
6
|
+
parentId: string | null;
|
|
7
|
+
label: string;
|
|
8
|
+
isCollapsible?: boolean;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
type TreeViewProps<T extends TreeDataItem> = {
|
|
12
|
+
data: T[];
|
|
13
|
+
getIcon: (item: T) => ReactNode;
|
|
14
|
+
onVisibleDataChange?: (data: (T & {
|
|
15
|
+
indent: number;
|
|
16
|
+
isLast: boolean;
|
|
17
|
+
ancestors: T[];
|
|
18
|
+
})[]) => void;
|
|
19
|
+
onItemHover?: (id: string | null) => void;
|
|
20
|
+
className?: string;
|
|
21
|
+
hoveredId?: string | null;
|
|
22
|
+
};
|
|
23
|
+
declare function TreeView<T extends TreeDataItem>({ data, getIcon, onVisibleDataChange, onItemHover, className, hoveredId, }: TreeViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
24
|
+
|
|
25
|
+
export { type TreeDataItem as TreeDataItemV2, TreeView as TreeViewV2 };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type TreeDataItem = {
|
|
5
|
+
id: string;
|
|
6
|
+
parentId: string | null;
|
|
7
|
+
label: string;
|
|
8
|
+
isCollapsible?: boolean;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
type TreeViewProps<T extends TreeDataItem> = {
|
|
12
|
+
data: T[];
|
|
13
|
+
getIcon: (item: T) => ReactNode;
|
|
14
|
+
onVisibleDataChange?: (data: (T & {
|
|
15
|
+
indent: number;
|
|
16
|
+
isLast: boolean;
|
|
17
|
+
ancestors: T[];
|
|
18
|
+
})[]) => void;
|
|
19
|
+
onItemHover?: (id: string | null) => void;
|
|
20
|
+
className?: string;
|
|
21
|
+
hoveredId?: string | null;
|
|
22
|
+
};
|
|
23
|
+
declare function TreeView<T extends TreeDataItem>({ data, getIcon, onVisibleDataChange, onItemHover, className, hoveredId, }: TreeViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
24
|
+
|
|
25
|
+
export { type TreeDataItem as TreeDataItemV2, TreeView as TreeViewV2 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkU2ZLDPOE_js = require('../chunk-U2ZLDPOE.js');
|
|
4
|
+
require('../chunk-WJ7T7FAH.js');
|
|
5
|
+
require('../chunk-XWS4SIB5.js');
|
|
6
|
+
require('../chunk-EOFYA6CS.js');
|
|
7
|
+
require('../chunk-XXWQ4RVP.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "TreeViewV2", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkU2ZLDPOE_js.TreeView; }
|
|
14
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ComponentType, SVGProps, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
|
|
5
|
+
interface TreeDataItem {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
icon?: IconComponent;
|
|
9
|
+
selectedIcon?: IconComponent;
|
|
10
|
+
openIcon?: IconComponent;
|
|
11
|
+
children?: TreeDataItem[];
|
|
12
|
+
actions?: ReactNode;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
draggable?: boolean;
|
|
15
|
+
droppable?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const TreeView: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
19
|
+
data: TreeDataItem[] | TreeDataItem;
|
|
20
|
+
initialSelectedItemId?: string;
|
|
21
|
+
onSelectChange?: (item: TreeDataItem | undefined) => void;
|
|
22
|
+
expandAll?: boolean;
|
|
23
|
+
defaultNodeIcon?: IconComponent;
|
|
24
|
+
defaultLeafIcon?: IconComponent;
|
|
25
|
+
onDocumentDrag?: (sourceItem: TreeDataItem, targetItem: TreeDataItem) => void;
|
|
26
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export { type TreeDataItem, TreeView };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ComponentType, SVGProps, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
|
|
5
|
+
interface TreeDataItem {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
icon?: IconComponent;
|
|
9
|
+
selectedIcon?: IconComponent;
|
|
10
|
+
openIcon?: IconComponent;
|
|
11
|
+
children?: TreeDataItem[];
|
|
12
|
+
actions?: ReactNode;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
draggable?: boolean;
|
|
15
|
+
droppable?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const TreeView: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
19
|
+
data: TreeDataItem[] | TreeDataItem;
|
|
20
|
+
initialSelectedItemId?: string;
|
|
21
|
+
onSelectChange?: (item: TreeDataItem | undefined) => void;
|
|
22
|
+
expandAll?: boolean;
|
|
23
|
+
defaultNodeIcon?: IconComponent;
|
|
24
|
+
defaultLeafIcon?: IconComponent;
|
|
25
|
+
onDocumentDrag?: (sourceItem: TreeDataItem, targetItem: TreeDataItem) => void;
|
|
26
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export { type TreeDataItem, TreeView };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface VersionBadgeProps {
|
|
4
|
+
/**
|
|
5
|
+
* Additional CSS classes to apply to the badge
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to show just the version or include "v" prefix
|
|
10
|
+
*/
|
|
11
|
+
showPrefix?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the badge should be clickable (links to npm)
|
|
14
|
+
*/
|
|
15
|
+
linkable?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Override the version display (useful for testing)
|
|
18
|
+
*/
|
|
19
|
+
version?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A badge component that displays the current package version and optionally links to npm
|
|
23
|
+
*/
|
|
24
|
+
declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { VersionBadge };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface VersionBadgeProps {
|
|
4
|
+
/**
|
|
5
|
+
* Additional CSS classes to apply to the badge
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether to show just the version or include "v" prefix
|
|
10
|
+
*/
|
|
11
|
+
showPrefix?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the badge should be clickable (links to npm)
|
|
14
|
+
*/
|
|
15
|
+
linkable?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Override the version display (useful for testing)
|
|
18
|
+
*/
|
|
19
|
+
version?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A badge component that displays the current package version and optionally links to npm
|
|
23
|
+
*/
|
|
24
|
+
declare function VersionBadge({ className, showPrefix, linkable, version: overrideVersion, }: VersionBadgeProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
export { VersionBadge };
|