naive-ui 2.25.7 → 2.25.8

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.
@@ -21,7 +21,30 @@ declare const _default: import("vue").DefineComponent<{
21
21
  mergedClsPrefix: import("vue").Ref<string>;
22
22
  messageProviderProps: import("./MessageProvider").MessageProviderSetupProps;
23
23
  handleClose(): void;
24
- cssVars: false | undefined;
24
+ cssVars: import("vue").ComputedRef<{
25
+ '--n-bezier': string;
26
+ '--n-margin': string;
27
+ '--n-padding': string;
28
+ '--n-max-width': string;
29
+ '--n-font-size': string;
30
+ '--n-icon-margin': string;
31
+ '--n-icon-size': string;
32
+ '--n-close-size': string;
33
+ '--n-close-margin': string;
34
+ '--n-text-color': string;
35
+ '--n-color': string;
36
+ '--n-box-shadow': string;
37
+ '--n-icon-color-info': string;
38
+ '--n-icon-color-success': string;
39
+ '--n-icon-color-warning': string;
40
+ '--n-icon-color-error': string;
41
+ '--n-icon-color-loading': string;
42
+ '--n-close-color': string;
43
+ '--n-close-color-pressed': string;
44
+ '--n-close-color-hover': string;
45
+ '--n-line-height': string;
46
+ '--n-border-radius': string;
47
+ }> | undefined;
25
48
  themeClass: import("vue").Ref<string> | undefined;
26
49
  onRender: (() => void) | undefined;
27
50
  placement: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
@@ -61,7 +61,7 @@ export default defineComponent({
61
61
  var _a;
62
62
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
63
63
  },
64
- cssVars: inlineThemeDisabled ? undefined : inlineThemeDisabled,
64
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
65
65
  themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
66
66
  onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender,
67
67
  placement: messageProviderProps.placement
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.25.7";
1
+ declare const _default: "2.25.8";
2
2
  export default _default;
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export default '2.25.7';
1
+ export default '2.25.8';
@@ -21,7 +21,30 @@ declare const _default: import("vue").DefineComponent<{
21
21
  mergedClsPrefix: import("vue").Ref<string>;
22
22
  messageProviderProps: import("./MessageProvider").MessageProviderSetupProps;
23
23
  handleClose(): void;
24
- cssVars: false | undefined;
24
+ cssVars: import("vue").ComputedRef<{
25
+ '--n-bezier': string;
26
+ '--n-margin': string;
27
+ '--n-padding': string;
28
+ '--n-max-width': string;
29
+ '--n-font-size': string;
30
+ '--n-icon-margin': string;
31
+ '--n-icon-size': string;
32
+ '--n-close-size': string;
33
+ '--n-close-margin': string;
34
+ '--n-text-color': string;
35
+ '--n-color': string;
36
+ '--n-box-shadow': string;
37
+ '--n-icon-color-info': string;
38
+ '--n-icon-color-success': string;
39
+ '--n-icon-color-warning': string;
40
+ '--n-icon-color-error': string;
41
+ '--n-icon-color-loading': string;
42
+ '--n-close-color': string;
43
+ '--n-close-color-pressed': string;
44
+ '--n-close-color-hover': string;
45
+ '--n-line-height': string;
46
+ '--n-border-radius': string;
47
+ }> | undefined;
25
48
  themeClass: import("vue").Ref<string> | undefined;
26
49
  onRender: (() => void) | undefined;
27
50
  placement: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
@@ -66,7 +66,7 @@ exports.default = (0, vue_1.defineComponent)({
66
66
  var _a;
67
67
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
68
68
  },
69
- cssVars: inlineThemeDisabled ? undefined : inlineThemeDisabled,
69
+ cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
70
70
  themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
71
71
  onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender,
72
72
  placement: messageProviderProps.placement
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.25.7";
1
+ declare const _default: "2.25.8";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '2.25.7';
3
+ exports.default = '2.25.8';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naive-ui",
3
- "version": "2.25.7",
3
+ "version": "2.25.8",
4
4
  "description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "naive-ui",
5
- "version": "2.25.7",
5
+ "version": "2.25.8",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [