ikualo-ui-kit-mobile 2.0.5 → 2.0.6

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/app.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "ikualo-app-2.0",
4
4
  "slug": "ikualo-app-20",
5
5
  "owner": "ikualo",
6
- "version": "2.0.5",
6
+ "version": "2.0.6",
7
7
  "orientation": "portrait",
8
8
  "icon": "./assets/icon.png",
9
9
  "userInterfaceStyle": "automatic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikualo-ui-kit-mobile",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "main": "src/index.ts",
5
5
  "scripts": {
6
6
  "start": "expo start",
@@ -8,7 +8,7 @@ import { IDialogDown } from '../../models';
8
8
  // Sistema de cola de diálogos global
9
9
  interface DialogQueueItem extends IDialogDown {
10
10
  id: string;
11
- priority: number;
11
+ priority: 0 |1 | 2 | 3 | 4 | 5;
12
12
  }
13
13
 
14
14
  class DialogManager {
@@ -91,7 +91,7 @@ class DialogManager {
91
91
  }
92
92
  }
93
93
 
94
- export const DialogDown = (props: IDialogDown & { priority?: 1 | 2 | 3 | 4 | 5 }) => {
94
+ export const DialogDown = (props: IDialogDown) => {
95
95
  const theme = useStore().theme;
96
96
  const stylesDialog = getStylesDialog(theme);
97
97
  const { isVisible, title, children, onDismiss, image, showCloseButton = true, priority } = props;
@@ -126,6 +126,7 @@ export interface IDialogDown {
126
126
  onDismiss: () => void;
127
127
  style?: ViewStyle;
128
128
  image?: React.ReactNode;
129
+ priority?: 0 | 1 | 2 | 3 | 4 | 5;
129
130
  }
130
131
  export interface IFDropdown {
131
132
  items: IFMenuItem[];