@chaibuilder/sdk 2.0.0-beta.44 → 2.0.0-beta.45
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/ui.d.ts +8 -44
- package/package.json +2 -2
package/dist/ui.d.ts
CHANGED
|
@@ -118,20 +118,13 @@ export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAt
|
|
|
118
118
|
|
|
119
119
|
export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
120
120
|
children?: React_2.ReactNode;
|
|
121
|
-
} &
|
|
122
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
123
|
-
} & {
|
|
124
|
-
asChild?: boolean;
|
|
125
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
121
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
126
122
|
label?: string;
|
|
127
123
|
shouldFilter?: boolean;
|
|
128
|
-
filter?: (value: string, search: string
|
|
129
|
-
defaultValue?: string;
|
|
124
|
+
filter?: (value: string, search: string) => number;
|
|
130
125
|
value?: string;
|
|
131
126
|
onValueChange?: (value: string) => void;
|
|
132
127
|
loop?: boolean;
|
|
133
|
-
disablePointerSelection?: boolean;
|
|
134
|
-
vimBindings?: boolean;
|
|
135
128
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
136
129
|
|
|
137
130
|
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
@@ -141,62 +134,33 @@ declare interface CommandDialogProps extends DialogProps {
|
|
|
141
134
|
|
|
142
135
|
export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
143
136
|
children?: React_2.ReactNode;
|
|
144
|
-
} &
|
|
145
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
146
|
-
} & {
|
|
147
|
-
asChild?: boolean;
|
|
148
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
149
138
|
|
|
150
139
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
151
140
|
children?: React_2.ReactNode;
|
|
152
|
-
} & Omit<
|
|
153
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
154
|
-
} & {
|
|
155
|
-
asChild?: boolean;
|
|
156
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
141
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
157
142
|
heading?: React_2.ReactNode;
|
|
158
143
|
value?: string;
|
|
159
|
-
forceMount?: boolean;
|
|
160
144
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
161
145
|
|
|
162
|
-
export declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<
|
|
163
|
-
ref?: React_2.Ref<HTMLInputElement>;
|
|
164
|
-
} & {
|
|
165
|
-
asChild?: boolean;
|
|
166
|
-
}, "key" | "asChild" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
146
|
+
export declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
167
147
|
value?: string;
|
|
168
148
|
onValueChange?: (search: string) => void;
|
|
169
149
|
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
170
150
|
|
|
171
151
|
export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
172
152
|
children?: React_2.ReactNode;
|
|
173
|
-
} & Omit<
|
|
174
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
175
|
-
} & {
|
|
176
|
-
asChild?: boolean;
|
|
177
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
153
|
+
} & Omit<React_2.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
|
|
178
154
|
disabled?: boolean;
|
|
179
155
|
onSelect?: (value: string) => void;
|
|
180
156
|
value?: string;
|
|
181
|
-
keywords?: string[];
|
|
182
|
-
forceMount?: boolean;
|
|
183
157
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
184
158
|
|
|
185
159
|
export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
186
160
|
children?: React_2.ReactNode;
|
|
187
|
-
} &
|
|
188
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
189
|
-
} & {
|
|
190
|
-
asChild?: boolean;
|
|
191
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
192
|
-
label?: string;
|
|
193
|
-
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
161
|
+
} & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
194
162
|
|
|
195
|
-
export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<
|
|
196
|
-
ref?: React_2.Ref<HTMLDivElement>;
|
|
197
|
-
} & {
|
|
198
|
-
asChild?: boolean;
|
|
199
|
-
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
163
|
+
export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & {
|
|
200
164
|
alwaysRender?: boolean;
|
|
201
165
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
202
166
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "Suraj Air",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"homepage": "https://chaibuilder.com",
|
|
8
|
-
"version": "2.0.0-beta.
|
|
8
|
+
"version": "2.0.0-beta.45",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@tailwindcss/typography": "^0.5.16",
|
|
103
103
|
"class-variance-authority": "0.6.1",
|
|
104
104
|
"clsx": "2.1.1",
|
|
105
|
-
"cmdk": "
|
|
105
|
+
"cmdk": "0.2.0",
|
|
106
106
|
"flagged": "3.0.0",
|
|
107
107
|
"framer-motion": "^12.0.3",
|
|
108
108
|
"fuse.js": "7.0.0",
|