flicker-alerts 1.0.50 → 1.0.52
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/index.d.ts +6 -4
- package/index.js +3 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
@@ -17,12 +17,14 @@ declare module 'flicker-alerts' {
|
|
17
17
|
onCancel?: () => void; // Função executada no botão de cancelamento
|
18
18
|
}
|
19
19
|
|
20
|
-
//
|
20
|
+
// Definição da classe para os alertas
|
21
21
|
export default class FlickerAlerts {
|
22
22
|
// Método estático para mostrar um alerta
|
23
23
|
static showAlert(options: AlertOptions): void;
|
24
|
-
|
25
|
-
// Método estático para mostrar um modal
|
26
|
-
static showModal(options: ModalOptions): void;
|
27
24
|
}
|
25
|
+
|
26
|
+
// Definição da classe para os modais
|
27
|
+
export const FlickerModals: {
|
28
|
+
showModal(options: ModalOptions): void;
|
29
|
+
};
|
28
30
|
}
|
package/index.js
CHANGED
@@ -95,7 +95,7 @@ if (typeof document !== 'undefined') {
|
|
95
95
|
}
|
96
96
|
|
97
97
|
// Exportação
|
98
|
-
|
98
|
+
|
99
99
|
|
100
100
|
|
101
101
|
const FlickerModals = {
|
@@ -226,5 +226,6 @@ if (typeof document !== 'undefined') {
|
|
226
226
|
});
|
227
227
|
});
|
228
228
|
}
|
229
|
+
export { FlickerModals };
|
229
230
|
|
230
|
-
|
231
|
+
export default FlickerAlerts;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "flicker-alerts",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.52",
|
4
4
|
"description": "Biblioteca para alertas animados",
|
5
5
|
"main": "index.js",
|
6
6
|
"types": "index.d.ts",
|
@@ -13,9 +13,9 @@
|
|
13
13
|
"javascript",
|
14
14
|
"notificações"
|
15
15
|
],
|
16
|
-
"author": "https://www.linkedin.com/in/bruno-carneiro-
|
16
|
+
"author": "https://www.linkedin.com/in/bruno-carneiro-9a52aa190/",
|
17
17
|
"license": "MIT",
|
18
18
|
"dependencies": {
|
19
|
-
"flicker-alerts": "^1.0.
|
19
|
+
"flicker-alerts": "^1.0.52"
|
20
20
|
}
|
21
21
|
}
|