@finema/core 1.4.119 → 1.4.121

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.119",
3
+ "version": "1.4.121",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineNuxtModule, createResolver, installModule, addPlugin, addComponentsDir, addImportsDir } from '@nuxt/kit';
2
2
 
3
3
  const name = "@finema/core";
4
- const version = "1.4.119";
4
+ const version = "1.4.121";
5
5
 
6
6
  const colors = {
7
7
  black: "#20243E",
@@ -1,7 +1,24 @@
1
+ import type { NotificationAction, NotificationColor } from '#ui/types/notification';
2
+ import type { Avatar } from '#ui/types/avatar';
3
+ import type { Button } from '#ui/types/button';
4
+ export interface INotification {
5
+ id: string;
6
+ title: string;
7
+ description?: string;
8
+ icon?: string;
9
+ avatar?: Avatar;
10
+ closeButton?: Button;
11
+ timeout: number;
12
+ actions?: NotificationAction[];
13
+ click?: Function;
14
+ callback?: Function;
15
+ color?: NotificationColor;
16
+ ui?: any;
17
+ }
1
18
  export declare const useNotification: () => {
2
- info: (notification: UNotification) => void;
3
- success: (notification: UNotification) => void;
4
- warning: (notification: UNotification) => void;
5
- error: (notification: UNotification) => void;
19
+ info: (notification: Partial<INotification>) => void;
20
+ success: (notification: Partial<INotification>) => void;
21
+ warning: (notification: Partial<INotification>) => void;
22
+ error: (notification: Partial<INotification>) => void;
6
23
  remove: any;
7
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.119",
3
+ "version": "1.4.121",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",