@camox/ui 0.42.0 → 0.44.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/components/badge.d.ts +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/command.d.ts +2 -2
- package/dist/components/command.js +2 -2
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/tabs.d.ts +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
9
|
-
size?: "
|
|
8
|
+
variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | null | undefined;
|
|
10
10
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Badge({
|
|
12
12
|
className,
|
|
@@ -5,8 +5,8 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/button.d.ts
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
9
|
-
size?: "
|
|
8
|
+
variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
9
|
+
size?: "default" | "sm" | "xs" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
10
10
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Button({
|
|
12
12
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dialog } from "./dialog.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { Command as Command$1 } from "cmdk";
|
|
4
|
+
import { Command as Command$1, defaultFilter as commandFilter } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region src/components/command.d.ts
|
|
7
7
|
declare function Command({
|
|
@@ -58,4 +58,4 @@ declare function CommandShortcut({
|
|
|
58
58
|
...props
|
|
59
59
|
}: React.ComponentProps<"span">): _$react_jsx_runtime0.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
61
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, commandFilter };
|
|
@@ -3,7 +3,7 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } f
|
|
|
3
3
|
import { InputGroup, InputGroupAddon } from "./input-group.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { Command as Command$1 } from "cmdk";
|
|
6
|
+
import { Command as Command$1, defaultFilter as commandFilter } from "cmdk";
|
|
7
7
|
import { CheckIcon, SearchIcon } from "lucide-react";
|
|
8
8
|
|
|
9
9
|
//#region src/components/command.tsx
|
|
@@ -86,4 +86,4 @@ function CommandShortcut({ className, ...props }) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
89
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, commandFilter };
|
|
@@ -18,7 +18,7 @@ declare function InputGroupAddon({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
declare const inputGroupButtonVariants: (props?: ({
|
|
21
|
-
size?: "
|
|
21
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
22
22
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
23
23
|
declare function InputGroupButton({
|
|
24
24
|
className,
|
|
@@ -10,7 +10,7 @@ declare function Tabs({
|
|
|
10
10
|
...props
|
|
11
11
|
}: Tabs$1.Root.Props): _$react_jsx_runtime0.JSX.Element;
|
|
12
12
|
declare const tabsListVariants: (props?: ({
|
|
13
|
-
variant?: "
|
|
13
|
+
variant?: "default" | "line" | null | undefined;
|
|
14
14
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
15
15
|
declare function TabsList({
|
|
16
16
|
className,
|
|
@@ -6,7 +6,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
6
6
|
//#region src/components/toggle.d.ts
|
|
7
7
|
declare const toggleVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
10
10
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
declare function Toggle({
|
|
12
12
|
className,
|