@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.
@@ -47,3 +47,4 @@ export * from './checkboxTable';
47
47
  export * from './contentEditor';
48
48
  export * from './contextMenu';
49
49
  export * from './skeleton';
50
+ export * from './tagList';
@@ -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;
@@ -1107,6 +1107,7 @@ export interface EmptyDataProps {
1107
1107
  description?: string | React.ReactNode;
1108
1108
  }
1109
1109
  export interface Decoration {
1110
+ css?: CSS;
1110
1111
  headerRender?: () => React.ReactNode;
1111
1112
  footerRender?: () => React.ReactNode;
1112
1113
  }
@@ -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';