@companix/uikit 0.0.61 → 0.0.63
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/SelectTags/index.d.ts +3 -2
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OptionsSource, SelectAddOption } from '../Select/OptionsPopover';
|
|
2
|
-
export
|
|
2
|
+
export interface SelectParams<T> {
|
|
3
3
|
closeAfterSelect?: boolean;
|
|
4
4
|
onInputChange?: (text: string) => void;
|
|
5
5
|
onChange: (event: T[]) => void;
|
|
@@ -14,5 +14,6 @@ export type SelectTagsProps<T> = OptionsSource<T> & {
|
|
|
14
14
|
minimalOptions?: boolean;
|
|
15
15
|
addOption?: SelectAddOption;
|
|
16
16
|
emptyText?: string;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
|
+
export type SelectTagsProps<T> = OptionsSource<T> & SelectParams<T>;
|
|
18
19
|
export declare const SelectTags: <T extends string | number>(props: SelectTagsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export { createToaster } from './Toaster';
|
|
|
74
74
|
export { Toast } from './Toaster/Toast';
|
|
75
75
|
export * from './types';
|
|
76
76
|
export type { CalendarProps } from './Calendar/Calendar';
|
|
77
|
+
export type { OptionsSource, UseOptionsResponse } from './Select/OptionsPopover';
|
|
77
78
|
export { createDialogsRegistry, DialogShell } from './__helpers/createDialogRegistry';
|
|
78
79
|
export { createPopoversRegistry } from './__helpers/createPopoversRegistry';
|
|
79
80
|
export type { PopupProps } from './__helpers/createDialogRegistry';
|