@majoo-ui/react 1.55.41 → 1.56.0
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/components/index.d.ts +1 -0
- package/components/pageDialog/PageDialog.d.ts +1 -0
- package/components/table/Table.d.ts +1 -0
- package/components/tagList/TagList.d.ts +17 -0
- package/components/tagList/index.d.ts +1 -0
- package/index.esm.js +2999 -2821
- package/index.umd.js +3055 -2840
- package/package.json +3 -2
package/components/index.d.ts
CHANGED
|
@@ -402,6 +402,7 @@ interface PageDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
402
402
|
* If true, the close button is disabled
|
|
403
403
|
*/
|
|
404
404
|
disabledCloseButton?: boolean;
|
|
405
|
+
withPortal?: boolean;
|
|
405
406
|
}
|
|
406
407
|
export declare const PageDialog: {
|
|
407
408
|
(props: PageDialogProps): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface SelectedItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
interface TagListProps {
|
|
7
|
+
selectedItems: SelectedItem[];
|
|
8
|
+
onRemoveItem?: (SelectedItem: any) => void;
|
|
9
|
+
counterLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function TagList({ selectedItems, onRemoveItem, counterLabel }: TagListProps): JSX.Element;
|
|
12
|
+
declare namespace TagList {
|
|
13
|
+
var defaultProps: {
|
|
14
|
+
counterLabel: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export default TagList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TagList } from './TagList';
|