@min98/ui 1.3.49 → 1.3.51
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/lib/index.cjs +1 -1
- package/lib/index.d.cts +8 -40
- package/lib/index.d.ts +8 -40
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/lib/index.d.cts
CHANGED
|
@@ -298,19 +298,14 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleP
|
|
|
298
298
|
|
|
299
299
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
300
300
|
children?: React$1.ReactNode;
|
|
301
|
-
} &
|
|
302
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
303
|
-
} & {
|
|
304
|
-
asChild?: boolean | undefined;
|
|
305
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
301
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
306
302
|
label?: string | undefined;
|
|
307
303
|
shouldFilter?: boolean | undefined;
|
|
308
|
-
filter?: ((value: string, search: string
|
|
304
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
309
305
|
defaultValue?: string | undefined;
|
|
310
306
|
value?: string | undefined;
|
|
311
307
|
onValueChange?: ((value: string) => void) | undefined;
|
|
312
308
|
loop?: boolean | undefined;
|
|
313
|
-
disablePointerSelection?: boolean | undefined;
|
|
314
309
|
vimBindings?: boolean | undefined;
|
|
315
310
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
316
311
|
interface CommandDialogProps extends DialogProps$2 {
|
|
@@ -319,59 +314,32 @@ declare const CommandDialog: {
|
|
|
319
314
|
({ children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
320
315
|
displayName: string;
|
|
321
316
|
};
|
|
322
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
323
|
-
ref?: React$1.Ref<HTMLInputElement> | undefined;
|
|
324
|
-
} & {
|
|
325
|
-
asChild?: boolean | undefined;
|
|
326
|
-
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
317
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type"> & {
|
|
327
318
|
value?: string | undefined;
|
|
328
319
|
onValueChange?: ((search: string) => void) | undefined;
|
|
329
320
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
330
321
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
331
322
|
children?: React$1.ReactNode;
|
|
332
|
-
} &
|
|
333
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
334
|
-
} & {
|
|
335
|
-
asChild?: boolean | undefined;
|
|
336
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
337
|
-
label?: string | undefined;
|
|
338
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
323
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
339
324
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
340
325
|
children?: React$1.ReactNode;
|
|
341
|
-
} &
|
|
342
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
343
|
-
} & {
|
|
344
|
-
asChild?: boolean | undefined;
|
|
345
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
346
327
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
347
328
|
children?: React$1.ReactNode;
|
|
348
|
-
} & Omit<
|
|
349
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
350
|
-
} & {
|
|
351
|
-
asChild?: boolean | undefined;
|
|
352
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
329
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
353
330
|
heading?: React$1.ReactNode;
|
|
354
331
|
value?: string | undefined;
|
|
355
332
|
forceMount?: boolean | undefined;
|
|
356
333
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
357
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<
|
|
358
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
359
|
-
} & {
|
|
360
|
-
asChild?: boolean | undefined;
|
|
361
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
334
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
362
335
|
alwaysRender?: boolean | undefined;
|
|
363
336
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
364
337
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
365
338
|
children?: React$1.ReactNode;
|
|
366
|
-
} & Omit<
|
|
367
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
368
|
-
} & {
|
|
369
|
-
asChild?: boolean | undefined;
|
|
370
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
339
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
371
340
|
disabled?: boolean | undefined;
|
|
372
341
|
onSelect?: ((value: string) => void) | undefined;
|
|
373
342
|
value?: string | undefined;
|
|
374
|
-
keywords?: string[] | undefined;
|
|
375
343
|
forceMount?: boolean | undefined;
|
|
376
344
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
345
|
declare const CommandShortcut: {
|
package/lib/index.d.ts
CHANGED
|
@@ -298,19 +298,14 @@ declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsibleP
|
|
|
298
298
|
|
|
299
299
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
300
300
|
children?: React$1.ReactNode;
|
|
301
|
-
} &
|
|
302
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
303
|
-
} & {
|
|
304
|
-
asChild?: boolean | undefined;
|
|
305
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
301
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
306
302
|
label?: string | undefined;
|
|
307
303
|
shouldFilter?: boolean | undefined;
|
|
308
|
-
filter?: ((value: string, search: string
|
|
304
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
309
305
|
defaultValue?: string | undefined;
|
|
310
306
|
value?: string | undefined;
|
|
311
307
|
onValueChange?: ((value: string) => void) | undefined;
|
|
312
308
|
loop?: boolean | undefined;
|
|
313
|
-
disablePointerSelection?: boolean | undefined;
|
|
314
309
|
vimBindings?: boolean | undefined;
|
|
315
310
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
316
311
|
interface CommandDialogProps extends DialogProps$2 {
|
|
@@ -319,59 +314,32 @@ declare const CommandDialog: {
|
|
|
319
314
|
({ children, ...props }: CommandDialogProps): react_jsx_runtime.JSX.Element;
|
|
320
315
|
displayName: string;
|
|
321
316
|
};
|
|
322
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
323
|
-
ref?: React$1.Ref<HTMLInputElement> | undefined;
|
|
324
|
-
} & {
|
|
325
|
-
asChild?: boolean | undefined;
|
|
326
|
-
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
317
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type"> & {
|
|
327
318
|
value?: string | undefined;
|
|
328
319
|
onValueChange?: ((search: string) => void) | undefined;
|
|
329
320
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
330
321
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
331
322
|
children?: React$1.ReactNode;
|
|
332
|
-
} &
|
|
333
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
334
|
-
} & {
|
|
335
|
-
asChild?: boolean | undefined;
|
|
336
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
337
|
-
label?: string | undefined;
|
|
338
|
-
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
323
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
339
324
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
340
325
|
children?: React$1.ReactNode;
|
|
341
|
-
} &
|
|
342
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
343
|
-
} & {
|
|
344
|
-
asChild?: boolean | undefined;
|
|
345
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
346
327
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
347
328
|
children?: React$1.ReactNode;
|
|
348
|
-
} & Omit<
|
|
349
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
350
|
-
} & {
|
|
351
|
-
asChild?: boolean | undefined;
|
|
352
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
329
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
353
330
|
heading?: React$1.ReactNode;
|
|
354
331
|
value?: string | undefined;
|
|
355
332
|
forceMount?: boolean | undefined;
|
|
356
333
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
357
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<
|
|
358
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
359
|
-
} & {
|
|
360
|
-
asChild?: boolean | undefined;
|
|
361
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
334
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
362
335
|
alwaysRender?: boolean | undefined;
|
|
363
336
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
364
337
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
365
338
|
children?: React$1.ReactNode;
|
|
366
|
-
} & Omit<
|
|
367
|
-
ref?: React$1.Ref<HTMLDivElement> | undefined;
|
|
368
|
-
} & {
|
|
369
|
-
asChild?: boolean | undefined;
|
|
370
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
339
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
371
340
|
disabled?: boolean | undefined;
|
|
372
341
|
onSelect?: ((value: string) => void) | undefined;
|
|
373
342
|
value?: string | undefined;
|
|
374
|
-
keywords?: string[] | undefined;
|
|
375
343
|
forceMount?: boolean | undefined;
|
|
376
344
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
345
|
declare const CommandShortcut: {
|