v-nuxt-ui 0.2.6 → 0.2.7

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
@@ -7,7 +7,7 @@
7
7
  "dependencies": [
8
8
  "@nuxt/ui"
9
9
  ],
10
- "version": "0.2.6",
10
+ "version": "0.2.7",
11
11
  "builder": {
12
12
  "@nuxt/module-builder": "1.0.2",
13
13
  "unbuild": "3.6.1"
@@ -56,6 +56,7 @@ const finalOption = ref({});
56
56
  const updateOption = () => {
57
57
  finalOption.value = echart.mergeOption(props.option);
58
58
  };
59
+ const devicePixelRatio = window.devicePixelRatio || 1;
59
60
  const chartRef = useTemplateRef("v-chart");
60
61
  watch(
61
62
  [
@@ -80,5 +81,10 @@ defineExpose({
80
81
  </script>
81
82
 
82
83
  <template>
83
- <v-chart ref="v-chart" :option="finalOption" autoresize />
84
+ <v-chart
85
+ ref="v-chart"
86
+ :option="finalOption"
87
+ :init-options="{ devicePixelRatio }"
88
+ autoresize
89
+ />
84
90
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "v-nuxt-ui",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Veken UI Component Library - Reusable Nuxt UI components, composables, and utilities for enterprise applications",
5
5
  "type": "module",
6
6
  "style": "./dist/runtime/index.css",