@mantine-vue/charts 1.1.1 → 1.1.3

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.
Files changed (2) hide show
  1. package/README.md +52 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # @mantine-vue/charts
2
+
3
+ Charts components built with [Apache ECharts](https://echarts.apache.org/) and Mantine Vue, equivalent to `@mantine/charts`.
4
+
5
+ > Mantine Vue is an independent community port of [Mantine](https://mantine.dev/) for Vue 3. It is not affiliated with or endorsed by the Mantine team.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ yarn add @mantine-vue/charts @mantine-vue/core echarts vue-echarts
11
+
12
+ # or with npm
13
+ npm i @mantine-vue/charts @mantine-vue/core echarts vue-echarts
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```vue
19
+ <script setup>
20
+ import { LineChart } from '@mantine-vue/charts'
21
+ import '@mantine-vue/charts/styles.css'
22
+
23
+ const data = [
24
+ { date: 'Mar 22', value: 2890 },
25
+ { date: 'Mar 23', value: 2338 },
26
+ ]
27
+ </script>
28
+
29
+ <template>
30
+ <LineChart
31
+ :h="300"
32
+ :data="data"
33
+ data-key="date"
34
+ :series="[{ name: 'value', color: 'indigo.6' }]"
35
+ />
36
+ </template>
37
+ ```
38
+
39
+ ## Documentation
40
+
41
+ Full component API and examples: [mantine-vue.dev/charts/getting-started](https://mantine-vue.dev/charts/getting-started/)
42
+
43
+ ## Peer dependencies
44
+
45
+ - `vue` ^3.5.0
46
+ - `@mantine-vue/core`
47
+ - `echarts` >=6.0.0
48
+ - `vue-echarts` >=8.0.0
49
+
50
+ ## License
51
+
52
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/charts",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Charts components built with Apache ECharts and Mantine Vue",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "vue-echarts": "^8.0.1"
39
39
  },
40
40
  "peerDependencies": {
41
- "@mantine-vue/core": "1.1.1",
41
+ "@mantine-vue/core": "1.1.3",
42
42
  "echarts": ">=6.0.0",
43
43
  "vue": "^3.5.0",
44
44
  "vue-echarts": ">=8.0.0"