@npm-questionpro/wick-ui-lib 0.22.4 → 0.23.1
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/src/components/combobox/WuCombobox.d.ts +3 -3
- package/dist/src/components/combobox/ui/_trigger.d.ts +3 -3
- package/dist/src/components/select/WuSelect.d.ts +1 -1
- package/dist/src/components/select/ui/_trigger.d.ts +3 -3
- package/dist/wick-ui-lib/es/index.js +1670 -1664
- package/dist/wick-ui-lib/es/index.js.map +1 -1
- package/dist/wick-ui-lib/umd/index.js +6 -6
- package/dist/wick-ui-lib/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type IWuComboboxProps<T> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onSelect'> & {
|
|
3
3
|
data: T[];
|
|
4
4
|
accessorKey: {
|
|
5
5
|
value: string;
|
|
@@ -28,5 +28,5 @@ export interface IWuComboboxProps<T> {
|
|
|
28
28
|
disabled?: boolean;
|
|
29
29
|
labelPosition?: 'left' | 'top' | 'right';
|
|
30
30
|
className?: string;
|
|
31
|
-
}
|
|
32
|
-
export declare const WuCombobox: <T>({ data, accessorKey, value, defaultValue, Header, virtualizedThreshold, isEllipse, placeholder, variant, dir, onSelect, label, maxHeight, multiple, hasGroup, selectAll, id, disabled, labelPosition, className, }: IWuComboboxProps<T>) => React.JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export declare const WuCombobox: <T>({ data, accessorKey, value, defaultValue, Header, virtualizedThreshold, isEllipse, placeholder, variant, dir, onSelect, label, maxHeight, multiple, hasGroup, selectAll, id, disabled, labelPosition, className, ...rest }: IWuComboboxProps<T>) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IWuComboboxItem } from '../types/IWuComboboxOptions';
|
|
3
3
|
import { IWuComboboxProps } from '../WuCombobox';
|
|
4
|
-
export
|
|
4
|
+
export type IWuComboboxTriggerProps<T> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onSelect'> & {
|
|
5
5
|
accessorKey: {
|
|
6
6
|
label: string;
|
|
7
7
|
value: string;
|
|
@@ -17,5 +17,5 @@ export interface IWuComboboxTriggerProps<T> {
|
|
|
17
17
|
selectAll?: IWuComboboxProps<T>['selectAll'];
|
|
18
18
|
isCheckedAll?: boolean;
|
|
19
19
|
className?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const WuComboboxTrigger: <T>({ placeholder, isEllipse, selectedOptions, variant, dir, accessorKey, multiple, id, disabled, selectAll, isCheckedAll, className, }: IWuComboboxTriggerProps<T>) => React.JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
export declare const WuComboboxTrigger: <T>({ placeholder, isEllipse, selectedOptions, variant, dir, accessorKey, multiple, id, disabled, selectAll, isCheckedAll, className, ...rest }: IWuComboboxTriggerProps<T>) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface IWuSelectProps<T> extends Omit<React.
|
|
2
|
+
export interface IWuSelectProps<T> extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onSelect'> {
|
|
3
3
|
defaultValue?: T | T[] | null;
|
|
4
4
|
label?: string;
|
|
5
5
|
value?: T | T[] | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IWuSelectProps } from '../WuSelect';
|
|
3
|
-
export
|
|
3
|
+
export type IWuSelectTriggerProps<T> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue'> & {
|
|
4
4
|
placeholder: string;
|
|
5
5
|
value: T | T[];
|
|
6
6
|
multiple?: boolean;
|
|
@@ -16,5 +16,5 @@ export interface IWuSelectTriggerProps<T> {
|
|
|
16
16
|
selectAll?: IWuSelectProps<T>['selectAll'];
|
|
17
17
|
isCheckedAll?: boolean;
|
|
18
18
|
width?: number;
|
|
19
|
-
}
|
|
20
|
-
export declare const WuSelectTrigger: <T>({ placeholder, value, multiple, accessorKey, variant, dir, customTriggerChildren, id, disabled, selectAll, isCheckedAll, width, }: IWuSelectTriggerProps<T>) => React.JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
export declare const WuSelectTrigger: <T>({ placeholder, value, multiple, accessorKey, variant, dir, customTriggerChildren, id, disabled, selectAll, isCheckedAll, width, ...rest }: IWuSelectTriggerProps<T>) => React.JSX.Element;
|