@finema/core 2.40.3 → 2.40.4

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": "2.40.3",
3
+ "version": "2.40.4",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "2.40.3";
7
+ const version = "2.40.4";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -38,7 +38,7 @@
38
38
  </Button>
39
39
  <Button
40
40
  type="button"
41
- :color="propsSafe.isConfirm ? staticTheme.confirmColor : propsSafe.type"
41
+ :color="propsSafe.type"
42
42
  :class="theme.confirmButton()"
43
43
  @click="emits('close', true)"
44
44
  >
@@ -61,7 +61,7 @@ import {
61
61
  AlertDialogTitle
62
62
  } from "reka-ui";
63
63
  import { computed, useAttrs } from "vue";
64
- import { useUiIconConfig, useUiConfig, useUiStaticConfig } from "../../composables/useConfig";
64
+ import { useUiIconConfig, useUiConfig } from "../../composables/useConfig";
65
65
  import { dialogTheme } from "#core/theme/dialog";
66
66
  import { DialogType } from "#core/composables/useDialog";
67
67
  const emits = defineEmits();
@@ -71,7 +71,6 @@ const props = withDefaults(defineProps(), {
71
71
  });
72
72
  const attrs = useAttrs();
73
73
  const icons = useUiIconConfig("dialog");
74
- const staticTheme = useUiStaticConfig("dialog");
75
74
  const propsSafe = computed(() => {
76
75
  if (props.title) {
77
76
  return props;
@@ -41,9 +41,7 @@ export declare const dialogTheme: {
41
41
  };
42
42
  };
43
43
  confirm: {
44
- true: {
45
- icon: string;
46
- };
44
+ true: {};
47
45
  false: {};
48
46
  };
49
47
  };
@@ -41,9 +41,7 @@ export const dialogTheme = {
41
41
  }
42
42
  },
43
43
  confirm: {
44
- true: {
45
- icon: "text-info"
46
- },
44
+ true: {},
47
45
  false: {}
48
46
  }
49
47
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.40.3",
3
+ "version": "2.40.4",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",