@finema/core 1.4.172 → 1.4.175
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 +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Form/InputToggle/index.vue +1 -1
- package/dist/runtime/composables/useNotification.d.ts +2 -2
- package/dist/runtime/utils/theme.d.ts +2 -0
- package/dist/runtime/utils/theme.mjs +25 -0
- package/package.json +7 -7
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -10,8 +10,8 @@ export interface INotification {
|
|
|
10
10
|
closeButton?: Button;
|
|
11
11
|
timeout: number;
|
|
12
12
|
actions?: NotificationAction[];
|
|
13
|
-
click?:
|
|
14
|
-
callback?:
|
|
13
|
+
click?: (...args: any[]) => void;
|
|
14
|
+
callback?: (...args: any[]) => void;
|
|
15
15
|
color?: NotificationColor;
|
|
16
16
|
ui?: any;
|
|
17
17
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const withCoreUITheme = (theme) => {
|
|
2
|
+
return {
|
|
3
|
+
...theme,
|
|
4
|
+
content: [
|
|
5
|
+
"app.vue",
|
|
6
|
+
"error.vue",
|
|
7
|
+
"./components/**/*.{js,vue,ts}",
|
|
8
|
+
"./features/**/*.{js,vue,ts}",
|
|
9
|
+
"./containers/**/*.{js,vue,ts}",
|
|
10
|
+
"./layouts/**/*.{js,vue,ts}",
|
|
11
|
+
"./pages/**/*.{js,vue,ts}",
|
|
12
|
+
"./error.{js,vue,ts}",
|
|
13
|
+
"./utils/**/*.{js,vue,ts}",
|
|
14
|
+
...Array.isArray(theme.content) ? theme.content : []
|
|
15
|
+
],
|
|
16
|
+
safelist: [
|
|
17
|
+
"bg-success-200",
|
|
18
|
+
"bg-danger-200",
|
|
19
|
+
"bg-info-200",
|
|
20
|
+
"bg-danger-200",
|
|
21
|
+
"bg-warning-200",
|
|
22
|
+
...theme.safelist || []
|
|
23
|
+
]
|
|
24
|
+
};
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.175",
|
|
4
4
|
"repository": "https://gitlab.finema.co/finema/ui-kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Finema Dev Core Team",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"prepack": "nuxt-module-build build",
|
|
25
|
-
"dev": "nuxi dev playground",
|
|
26
|
-
"docs": "nuxi dev docs",
|
|
25
|
+
"dev": "nuxi dev playground -o",
|
|
26
|
+
"docs": "nuxi dev docs -o",
|
|
27
27
|
"dev:build": "nuxi build playground",
|
|
28
28
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs",
|
|
29
29
|
"docs:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@nuxt/kit": "^3.12.4",
|
|
39
|
-
"@nuxt/ui": "2.18.
|
|
39
|
+
"@nuxt/ui": "2.18.4",
|
|
40
40
|
"@pinia/nuxt": "^0.5.2",
|
|
41
41
|
"@vee-validate/nuxt": "^4.13.2",
|
|
42
42
|
"@vee-validate/zod": "^4.13.2",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@finema/eslint-config": "^1.2.0",
|
|
61
61
|
"@nuxt/devtools": "^1.3.9",
|
|
62
|
-
"@nuxt/eslint-config": "^0.
|
|
62
|
+
"@nuxt/eslint-config": "^0.5.0",
|
|
63
63
|
"@nuxt/module-builder": "^0.5.5",
|
|
64
64
|
"@nuxt/schema": "^3.12.4",
|
|
65
65
|
"@nuxt/test-utils": "^3.13.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
82
82
|
"stylelint-config-standard-scss": "^13.0.0",
|
|
83
83
|
"vitest": "^2.0.4",
|
|
84
|
-
"vue": "^3.4.
|
|
84
|
+
"vue": "^3.4.36"
|
|
85
85
|
},
|
|
86
86
|
"lint-staged": {
|
|
87
87
|
"*.{ts,vue,tsx,js}": "eslint --fix --cache"
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"workspaces": [
|
|
90
90
|
"./*"
|
|
91
91
|
],
|
|
92
|
-
"packageManager": "yarn@4.
|
|
92
|
+
"packageManager": "yarn@4.4.0"
|
|
93
93
|
}
|