@agent-native/dispatch 0.13.6 → 0.13.7
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.
|
@@ -4,11 +4,11 @@ declare function Drawer({ shouldScaleBackground, ...props }: React.ComponentProp
|
|
|
4
4
|
declare namespace Drawer {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
7
|
-
declare const DrawerTrigger:
|
|
8
|
-
declare const DrawerPortal: typeof
|
|
9
|
-
declare const DrawerClose:
|
|
10
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<
|
|
11
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<
|
|
7
|
+
declare const DrawerTrigger: typeof DrawerPrimitive.Trigger;
|
|
8
|
+
declare const DrawerPortal: typeof DrawerPrimitive.Portal;
|
|
9
|
+
declare const DrawerClose: typeof DrawerPrimitive.Close;
|
|
10
|
+
declare const DrawerOverlay: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay> & React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Overlay>>>;
|
|
11
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content> & React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Content>>>;
|
|
12
12
|
declare function DrawerHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
13
13
|
declare namespace DrawerHeader {
|
|
14
14
|
var displayName: string;
|
|
@@ -17,7 +17,7 @@ declare function DrawerFooter({ className, ...props }: React.HTMLAttributes<HTML
|
|
|
17
17
|
declare namespace DrawerFooter {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
|
20
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<
|
|
21
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<
|
|
20
|
+
declare const DrawerTitle: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title> & React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Title>>>;
|
|
21
|
+
declare const DrawerDescription: React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Description> & React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Description>>>;
|
|
22
22
|
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
23
23
|
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;wBAIjC,EACd,qBAA4B,EAC5B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;;;;AAQpD,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;wBAIjC,EACd,qBAA4B,EAC5B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;;;;AAQpD,QAAA,MAAM,aAAa,EAAE,OAAO,eAAe,CAAC,OAAiC,CAAC;AAE9E,QAAA,MAAM,YAAY,EAAE,OAAO,eAAe,CAAC,MAA+B,CAAC;AAE3E,QAAA,MAAM,WAAW,EAAE,OAAO,eAAe,CAAC,KAA6B,CAAC;AAExE,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,yBAAyB,CAClD,KAAK,CAAC,wB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AAC,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC;AAE5D,MAAM,iBAAiB,GAGnB,KAAK,CAAC,UAAU,CAGlB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,KAAC,eAAe,CAAC,WAAW,IAC1B,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,KACrD,KAAK,GACT,CACH,CAAC,CAAC;AACH,iBAAiB,CAAC,WAAW,GAAG,eAAe,CAAC,WAAW,CAAC,WAAW,CAAC;AAExE,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC","sourcesContent":["import * as React from \"react\";\nimport { Drawer as DrawerPrimitive } from \"vaul\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Drawer = ({\n shouldScaleBackground = true,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Root>) => (\n <DrawerPrimitive.Root\n shouldScaleBackground={shouldScaleBackground}\n {...props}\n />\n);\nDrawer.displayName = \"Drawer\";\n\nconst DrawerTrigger: typeof DrawerPrimitive.Trigger = DrawerPrimitive.Trigger;\n\nconst DrawerPortal: typeof DrawerPrimitive.Portal = DrawerPrimitive.Portal;\n\nconst DrawerClose: typeof DrawerPrimitive.Close = DrawerPrimitive.Close;\n\nconst DrawerOverlay: React.ForwardRefExoticComponent<\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay> &\n React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Overlay>>\n> = React.forwardRef<\n React.ElementRef<typeof DrawerPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DrawerPrimitive.Overlay\n ref={ref}\n className={cn(\"fixed inset-0 z-50 bg-black/80\", className)}\n {...props}\n />\n));\nDrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;\n\nconst DrawerContent: React.ForwardRefExoticComponent<\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content> &\n React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Content>>\n> = React.forwardRef<\n React.ElementRef<typeof DrawerPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DrawerPortal>\n <DrawerOverlay />\n <DrawerPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background\",\n className,\n )}\n {...props}\n >\n <div className=\"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n));\nDrawerContent.displayName = \"DrawerContent\";\n\nconst DrawerHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"grid gap-1.5 p-4 text-center sm:text-left\", className)}\n {...props}\n />\n);\nDrawerHeader.displayName = \"DrawerHeader\";\n\nconst DrawerFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"mt-auto flex flex-col gap-2 p-4\", className)}\n {...props}\n />\n);\nDrawerFooter.displayName = \"DrawerFooter\";\n\nconst DrawerTitle: React.ForwardRefExoticComponent<\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title> &\n React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Title>>\n> = React.forwardRef<\n React.ElementRef<typeof DrawerPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DrawerPrimitive.Title\n ref={ref}\n className={cn(\n \"text-lg font-semibold leading-none tracking-tight\",\n className,\n )}\n {...props}\n />\n));\nDrawerTitle.displayName = DrawerPrimitive.Title.displayName;\n\nconst DrawerDescription: React.ForwardRefExoticComponent<\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Description> &\n React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Description>>\n> = React.forwardRef<\n React.ElementRef<typeof DrawerPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DrawerPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nDrawerDescription.displayName = DrawerPrimitive.Description.displayName;\n\nexport {\n Drawer,\n DrawerPortal,\n DrawerOverlay,\n DrawerTrigger,\n DrawerClose,\n DrawerContent,\n DrawerHeader,\n DrawerFooter,\n DrawerTitle,\n DrawerDescription,\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/dispatch",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
4
4
|
"description": "Dispatch — workspace control plane for agent-native apps. Vault, integrations, destinations, scheduled jobs, and cross-app delegation, shipped as a single drop-in package.",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"typescript": "^6.0.3",
|
|
95
95
|
"vite": "8.1.0",
|
|
96
96
|
"vitest": "^4.1.5",
|
|
97
|
-
"@agent-native/core": "0.
|
|
97
|
+
"@agent-native/core": "0.87.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"@agent-native/core": ">=0.8.0",
|
|
@@ -14,13 +14,16 @@ const Drawer = ({
|
|
|
14
14
|
);
|
|
15
15
|
Drawer.displayName = "Drawer";
|
|
16
16
|
|
|
17
|
-
const DrawerTrigger = DrawerPrimitive.Trigger;
|
|
17
|
+
const DrawerTrigger: typeof DrawerPrimitive.Trigger = DrawerPrimitive.Trigger;
|
|
18
18
|
|
|
19
|
-
const DrawerPortal = DrawerPrimitive.Portal;
|
|
19
|
+
const DrawerPortal: typeof DrawerPrimitive.Portal = DrawerPrimitive.Portal;
|
|
20
20
|
|
|
21
|
-
const DrawerClose = DrawerPrimitive.Close;
|
|
21
|
+
const DrawerClose: typeof DrawerPrimitive.Close = DrawerPrimitive.Close;
|
|
22
22
|
|
|
23
|
-
const DrawerOverlay
|
|
23
|
+
const DrawerOverlay: React.ForwardRefExoticComponent<
|
|
24
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay> &
|
|
25
|
+
React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Overlay>>
|
|
26
|
+
> = React.forwardRef<
|
|
24
27
|
React.ElementRef<typeof DrawerPrimitive.Overlay>,
|
|
25
28
|
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay>
|
|
26
29
|
>(({ className, ...props }, ref) => (
|
|
@@ -32,7 +35,10 @@ const DrawerOverlay = React.forwardRef<
|
|
|
32
35
|
));
|
|
33
36
|
DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
|
|
34
37
|
|
|
35
|
-
const DrawerContent
|
|
38
|
+
const DrawerContent: React.ForwardRefExoticComponent<
|
|
39
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content> &
|
|
40
|
+
React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Content>>
|
|
41
|
+
> = React.forwardRef<
|
|
36
42
|
React.ElementRef<typeof DrawerPrimitive.Content>,
|
|
37
43
|
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
|
|
38
44
|
>(({ className, children, ...props }, ref) => (
|
|
@@ -75,7 +81,10 @@ const DrawerFooter = ({
|
|
|
75
81
|
);
|
|
76
82
|
DrawerFooter.displayName = "DrawerFooter";
|
|
77
83
|
|
|
78
|
-
const DrawerTitle
|
|
84
|
+
const DrawerTitle: React.ForwardRefExoticComponent<
|
|
85
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title> &
|
|
86
|
+
React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Title>>
|
|
87
|
+
> = React.forwardRef<
|
|
79
88
|
React.ElementRef<typeof DrawerPrimitive.Title>,
|
|
80
89
|
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>
|
|
81
90
|
>(({ className, ...props }, ref) => (
|
|
@@ -90,7 +99,10 @@ const DrawerTitle = React.forwardRef<
|
|
|
90
99
|
));
|
|
91
100
|
DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
|
|
92
101
|
|
|
93
|
-
const DrawerDescription
|
|
102
|
+
const DrawerDescription: React.ForwardRefExoticComponent<
|
|
103
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Description> &
|
|
104
|
+
React.RefAttributes<React.ElementRef<typeof DrawerPrimitive.Description>>
|
|
105
|
+
> = React.forwardRef<
|
|
94
106
|
React.ElementRef<typeof DrawerPrimitive.Description>,
|
|
95
107
|
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Description>
|
|
96
108
|
>(({ className, ...props }, ref) => (
|