@kala-ui/react 0.0.1-beta.5 → 0.0.1-beta.6
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from "../../primitives/command";
|
|
3
2
|
export interface ComboboxOption {
|
|
4
3
|
value: string;
|
|
5
4
|
label: string;
|
|
@@ -53,4 +52,4 @@ export interface ComboboxProps {
|
|
|
53
52
|
matchTriggerWidth?: boolean;
|
|
54
53
|
}
|
|
55
54
|
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
56
|
-
export { Combobox,
|
|
55
|
+
export { Combobox, };
|
|
@@ -22,4 +22,4 @@ const Combobox = React.forwardRef(({ options, value, onValueChange, placeholder
|
|
|
22
22
|
}, children: [_jsx(Check, { className: cn("mr-2 size-4", value === option.value ? "opacity-100" : "opacity-0"), "aria-hidden": "true" }), _jsx("span", { className: cn(!matchTriggerWidth && "truncate", "text-foreground"), children: option.label })] }, option.value))) })] })] }) }) })] }));
|
|
23
23
|
});
|
|
24
24
|
Combobox.displayName = "Combobox";
|
|
25
|
-
export { Combobox,
|
|
25
|
+
export { Combobox, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Combobox, type ComboboxOption, type ComboboxProps,
|
|
1
|
+
export { Combobox, type ComboboxOption, type ComboboxProps, } from "./combobox";
|
|
2
2
|
export type { ComboboxSkeletonConfig, ComboboxSkeletonProps, } from "./combobox-skeleton";
|
|
3
3
|
export { ComboboxSkeleton } from "./combobox-skeleton";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Combobox,
|
|
1
|
+
export { Combobox, } from "./combobox";
|
|
2
2
|
export { ComboboxSkeleton } from "./combobox-skeleton";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export * from "./components/accordion";
|
|
2
|
+
export * from "./components/alert";
|
|
3
|
+
export * from "./components/alert-dialog";
|
|
4
|
+
export * from "./components/aspect-ratio";
|
|
5
|
+
export * from "./components/avatar";
|
|
6
|
+
export * from "./components/badge";
|
|
7
|
+
export * from "./components/banner";
|
|
8
|
+
export * from "./components/breadcrumbs";
|
|
9
|
+
export * from "./components/button";
|
|
10
|
+
export * from "./components/button-group";
|
|
11
|
+
export * from "./components/calendar";
|
|
12
|
+
export * from "./components/card";
|
|
13
|
+
export * from "./components/charts";
|
|
14
|
+
export * from "./components/checkbox";
|
|
15
|
+
export * from "./components/combobox";
|
|
16
|
+
export * from "./components/command";
|
|
17
|
+
export * from "./components/data-table";
|
|
18
|
+
export * from "./components/date-picker";
|
|
19
|
+
export * from "./components/dialog";
|
|
20
|
+
export * from "./components/dnd";
|
|
21
|
+
export * from "./components/drawer";
|
|
22
|
+
export * from "./components/dropdown-menu";
|
|
23
|
+
export * from "./components/empty-state";
|
|
24
|
+
export * from "./components/error-boundary";
|
|
25
|
+
export * from "./components/field";
|
|
26
|
+
export * from "./components/file-upload";
|
|
27
|
+
export * from "./components/footer";
|
|
28
|
+
export * from "./components/header";
|
|
29
|
+
export * from "./components/input";
|
|
30
|
+
export * from "./components/input-group";
|
|
31
|
+
export * from "./components/input-otp";
|
|
32
|
+
export * from "./components/label";
|
|
33
|
+
export * from "./components/list";
|
|
34
|
+
export * from "./components/loading";
|
|
35
|
+
export * from "./components/menubar";
|
|
36
|
+
export * from "./components/metric-card";
|
|
37
|
+
export * from "./components/multi-select";
|
|
38
|
+
export * from "./components/navigation";
|
|
39
|
+
export * from "./components/navigation-menu";
|
|
40
|
+
export * from "./components/page-transition";
|
|
41
|
+
export * from "./components/pagination";
|
|
42
|
+
export * from "./components/password-strength-indicator";
|
|
43
|
+
export * from "./components/popover";
|
|
44
|
+
export * from "./components/progress";
|
|
45
|
+
export * from "./components/radio-group";
|
|
46
|
+
export * from "./components/resizable";
|
|
47
|
+
export * from "./components/scroll-area";
|
|
48
|
+
export * from "./components/select";
|
|
49
|
+
export * from "./components/separator";
|
|
50
|
+
export * from "./components/session-card";
|
|
51
|
+
export * from "./components/sidebar";
|
|
52
|
+
export * from "./components/slider";
|
|
53
|
+
export * from "./components/social-login-button";
|
|
54
|
+
export * from "./components/sparkline-chart";
|
|
55
|
+
export * from "./components/switch";
|
|
56
|
+
export * from "./components/table";
|
|
57
|
+
export * from "./components/tabs";
|
|
58
|
+
export * from "./components/tag-input";
|
|
59
|
+
export * from "./components/textarea";
|
|
60
|
+
export * from "./components/toast";
|
|
61
|
+
export * from "./components/tooltip";
|
|
62
|
+
export * from "./components/user-menu-dropdown";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Main entry point for @kala-ui/react
|
|
2
|
+
// Export all components
|
|
3
|
+
export * from "./components/accordion";
|
|
4
|
+
export * from "./components/alert";
|
|
5
|
+
export * from "./components/alert-dialog";
|
|
6
|
+
export * from "./components/aspect-ratio";
|
|
7
|
+
export * from "./components/avatar";
|
|
8
|
+
export * from "./components/badge";
|
|
9
|
+
export * from "./components/banner";
|
|
10
|
+
export * from "./components/breadcrumbs";
|
|
11
|
+
export * from "./components/button";
|
|
12
|
+
export * from "./components/button-group";
|
|
13
|
+
export * from "./components/calendar";
|
|
14
|
+
export * from "./components/card";
|
|
15
|
+
export * from "./components/charts";
|
|
16
|
+
export * from "./components/checkbox";
|
|
17
|
+
export * from "./components/combobox";
|
|
18
|
+
export * from "./components/command";
|
|
19
|
+
export * from "./components/data-table";
|
|
20
|
+
export * from "./components/date-picker";
|
|
21
|
+
// export * from "./components/design-system"; // No index
|
|
22
|
+
export * from "./components/dialog";
|
|
23
|
+
export * from "./components/dnd";
|
|
24
|
+
export * from "./components/drawer";
|
|
25
|
+
export * from "./components/dropdown-menu";
|
|
26
|
+
export * from "./components/empty-state";
|
|
27
|
+
export * from "./components/error-boundary";
|
|
28
|
+
export * from "./components/field";
|
|
29
|
+
export * from "./components/file-upload";
|
|
30
|
+
export * from "./components/footer";
|
|
31
|
+
export * from "./components/header";
|
|
32
|
+
export * from "./components/input";
|
|
33
|
+
export * from "./components/input-group";
|
|
34
|
+
export * from "./components/input-otp";
|
|
35
|
+
export * from "./components/label";
|
|
36
|
+
export * from "./components/list";
|
|
37
|
+
export * from "./components/loading";
|
|
38
|
+
export * from "./components/menubar";
|
|
39
|
+
export * from "./components/metric-card";
|
|
40
|
+
export * from "./components/multi-select";
|
|
41
|
+
export * from "./components/navigation";
|
|
42
|
+
export * from "./components/navigation-menu";
|
|
43
|
+
export * from "./components/page-transition";
|
|
44
|
+
export * from "./components/pagination";
|
|
45
|
+
export * from "./components/password-strength-indicator";
|
|
46
|
+
export * from "./components/popover";
|
|
47
|
+
export * from "./components/progress";
|
|
48
|
+
export * from "./components/radio-group";
|
|
49
|
+
export * from "./components/resizable";
|
|
50
|
+
export * from "./components/scroll-area";
|
|
51
|
+
export * from "./components/select";
|
|
52
|
+
export * from "./components/separator";
|
|
53
|
+
export * from "./components/session-card";
|
|
54
|
+
export * from "./components/sidebar";
|
|
55
|
+
// export * from "./components/skeleton"; // Conflicts with others
|
|
56
|
+
export * from "./components/slider";
|
|
57
|
+
export * from "./components/social-login-button";
|
|
58
|
+
export * from "./components/sparkline-chart";
|
|
59
|
+
export * from "./components/switch";
|
|
60
|
+
export * from "./components/table";
|
|
61
|
+
export * from "./components/tabs";
|
|
62
|
+
export * from "./components/tag-input";
|
|
63
|
+
export * from "./components/textarea";
|
|
64
|
+
export * from "./components/toast";
|
|
65
|
+
export * from "./components/tooltip";
|
|
66
|
+
export * from "./components/user-menu-dropdown";
|
|
67
|
+
// Export styles - but styles is a css file, not ts
|
|
68
|
+
// export * from "./styles";
|
|
69
|
+
// Export config - no index
|
|
70
|
+
// export * from "./config";
|
|
71
|
+
// Export lib - no index
|
|
72
|
+
// export * from "./lib";
|
|
73
|
+
// Export primitives - no index
|
|
74
|
+
// export * from "./primitives";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kala-ui/react",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "65+ accessible React components built with Radix UI and Tailwind CSS. Includes DataTable with server-side support, charts, drag-and-drop, and comprehensive form controls.",
|
|
6
6
|
"keywords": [
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"url": "https://github.com/krr2020/kala-ui/issues"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"default": "./dist/index.js"
|
|
33
|
+
},
|
|
30
34
|
"./styles": {
|
|
31
35
|
"default": "./dist/styles/globals.css"
|
|
32
36
|
},
|