@finema/core 1.4.154 → 1.4.158

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.154",
3
+ "version": "1.4.158",
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.154";
4
+ const version = "1.4.158";
5
5
 
6
6
  const colors = {
7
7
  black: "#20243E",
@@ -18,9 +18,9 @@ const colors = {
18
18
  DEFAULT: "#9095A6",
19
19
  disabled: "#C1C4D0",
20
20
  border: "#E2E4EA",
21
- fill: "#F4F5FA"
22
- // 50: '#E0E0E0',
23
- // 600: '#616161',
21
+ fill: "#F4F5FA",
22
+ 50: "#E0E0E0",
23
+ 600: "#616161"
24
24
  },
25
25
  secondary: {
26
26
  DEFAULT: "#EE8B36",
@@ -227,6 +227,9 @@ const toggle = {
227
227
 
228
228
  const badge = {};
229
229
 
230
+ const colorModeOptions = {
231
+ preference: "light"
232
+ };
230
233
  const veeValidateNuxtOptions = {
231
234
  // disable or enable auto imports
232
235
  autoImports: true,
@@ -337,13 +340,6 @@ const module = defineNuxtModule({
337
340
  nuxt.options.build.transpile.push(runtimeDir);
338
341
  nuxt.options.alias["#core"] = runtimeDir;
339
342
  nuxt.options.css.push(resolve(runtimeDir, "ui.css"));
340
- await installModule("@nuxt/ui", {
341
- safelistColors: ["secondary", "success", "info", "danger", "warning"]
342
- });
343
- await installModule("nuxt-lodash", {
344
- prefix: "_",
345
- upperAfterPrefix: false
346
- });
347
343
  nuxt.hook("tailwindcss:config", (tailwindConfig) => {
348
344
  tailwindConfig.content = {
349
345
  ...tailwindConfig.content,
@@ -358,38 +354,38 @@ const module = defineNuxtModule({
358
354
  ...tailwindConfig.theme.extend.colors,
359
355
  ...colors
360
356
  };
361
- nuxt.options.appConfig.ui = _deepMerge(
362
- {
363
- table,
364
- pagination,
365
- alert,
366
- button,
367
- buttonGroup,
368
- formGroup,
369
- checkbox,
370
- input,
371
- select,
372
- selectMenu,
373
- textarea,
374
- toggle,
375
- badge,
376
- icons: {
377
- dynamic: true
378
- },
379
- colors: [
380
- ...nuxt.options.appConfig.ui.colors || [],
381
- "secondary",
382
- "success",
383
- "info",
384
- "danger",
385
- "warning"
386
- ]
387
- },
388
- nuxt.options.appConfig.ui
389
- );
390
- nuxt.options.appConfig.ui.strategy = "override";
391
357
  });
358
+ await installModule("@nuxt/ui", {
359
+ safelistColors: ["secondary", "success", "info", "danger", "warning"]
360
+ });
361
+ await installModule("nuxt-lodash", {
362
+ prefix: "_",
363
+ upperAfterPrefix: false
364
+ });
365
+ nuxt.options.appConfig.ui = _deepMerge(
366
+ {
367
+ table,
368
+ pagination,
369
+ alert,
370
+ button,
371
+ buttonGroup,
372
+ formGroup,
373
+ checkbox,
374
+ input,
375
+ select,
376
+ selectMenu,
377
+ textarea,
378
+ toggle,
379
+ badge,
380
+ icons: {
381
+ dynamic: true
382
+ }
383
+ },
384
+ nuxt.options.appConfig.ui
385
+ );
386
+ nuxt.options.appConfig.ui.strategy = "override";
392
387
  nuxt.options.app = _deepMerge({}, nuxtAppOptions, nuxt.options.app);
388
+ nuxt.options.colorMode = _deepMerge({}, colorModeOptions, nuxt.options.colorMode);
393
389
  nuxt.options.devtools = _deepMerge({}, { enabled: true }, nuxt.options.devtools);
394
390
  nuxt.options.runtimeConfig = _deepMerge(
395
391
  {},
@@ -1,7 +1,15 @@
1
1
  <template>
2
2
  <NuxtLoadingIndicator :color="color" />
3
3
  <Dialog />
4
- <UNotifications />
4
+ <UNotifications>
5
+ <template #title="{ title }">
6
+ <span v-html="title" />
7
+ </template>
8
+
9
+ <template #description="{ description }">
10
+ <span v-html="description" />
11
+ </template>
12
+ </UNotifications>
5
13
  <div v-if="isDevEnv" class="fixed bottom-4 right-4 z-50">
6
14
  <div class="flex flex-col items-end justify-end">
7
15
  <div
@@ -13,7 +13,7 @@ const props = defineProps({
13
13
  },
14
14
  dynamic: {
15
15
  type: Boolean,
16
- default: true,
16
+ default: false,
17
17
  },
18
18
  })
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.154",
3
+ "version": "1.4.158",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -35,11 +35,11 @@
35
35
  "prepare": "husky install"
36
36
  },
37
37
  "dependencies": {
38
- "@nuxt/kit": "^3.12.2",
39
- "@nuxt/ui": "2.17.0",
38
+ "@nuxt/kit": "^3.11.2",
39
+ "@nuxt/ui": "2.15.2",
40
40
  "@pinia/nuxt": "^0.5.1",
41
- "@vee-validate/nuxt": "^4.13.1",
42
- "@vee-validate/zod": "^4.13.1",
41
+ "@vee-validate/nuxt": "^4.13.0",
42
+ "@vee-validate/zod": "^4.13.0",
43
43
  "@vuepic/vue-datepicker": "^8.2.0",
44
44
  "@vueup/vue-quill": "^1.2.0",
45
45
  "@wdns/vue-code-block": "^2.3.2",
@@ -57,10 +57,10 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@finema/eslint-config": "^1.2.0",
60
- "@nuxt/devtools": "^1.3.6",
61
- "@nuxt/eslint-config": "^0.3.13",
60
+ "@nuxt/devtools": "^1.3.3",
61
+ "@nuxt/eslint-config": "^0.2.0",
62
62
  "@nuxt/module-builder": "^0.5.5",
63
- "@nuxt/schema": "^3.12.2",
63
+ "@nuxt/schema": "^3.11.2",
64
64
  "@nuxt/test-utils": "^3.13.1",
65
65
  "@release-it/conventional-changelog": "^8.0.1",
66
66
  "@types/node": "^20.10.17",
@@ -71,7 +71,7 @@
71
71
  "happy-dom": "^13.0.0",
72
72
  "husky": "^9.0.11",
73
73
  "lint-staged": "^15.2.0",
74
- "nuxt": "^3.12.2",
74
+ "nuxt": "^3.11.2",
75
75
  "playwright-core": "^1.42.1",
76
76
  "prettier": "^3.1.1",
77
77
  "release-it": "^17.0.1",
@@ -80,7 +80,10 @@
80
80
  "stylelint-config-prettier-scss": "^1.0.0",
81
81
  "stylelint-config-standard-scss": "^13.0.0",
82
82
  "vitest": "^1.3.1",
83
- "vue": "^3.4.30"
83
+ "vue": "^3.4.27"
84
+ },
85
+ "resolutions": {
86
+ "@nuxtjs/tailwindcss": "6.11.4"
84
87
  },
85
88
  "lint-staged": {
86
89
  "*.{ts,vue,tsx,js}": "eslint --fix --cache"
@@ -88,5 +91,5 @@
88
91
  "workspaces": [
89
92
  "./*"
90
93
  ],
91
- "packageManager": "yarn@4.3.1"
94
+ "packageManager": "yarn@4.2.2"
92
95
  }