@idux/charts 1.7.0 → 1.8.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @idux/charts
2
2
 
3
+ ## 1.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c722ad6: Add IxAreaChart as a lightweight Line chart wrapper with area fill enabled by default, Area type aliases, and an @idux/charts/area entry.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [c722ad6]
12
+ - @idux/charts-plots@1.8.0
13
+ - @idux/charts-core@1.8.0
14
+
3
15
  ## 1.7.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -30,6 +30,7 @@ Vue.use(VueCompositionAPI)
30
30
  | ------------------- | ---------------------------- |
31
31
  | `IxBarChart` | Bar |
32
32
  | `IxLineChart` | Line and area |
33
+ | `IxAreaChart` | Area |
33
34
  | `IxPieChart` | Pie and doughnut |
34
35
  | `IxRadarChart` | Radar |
35
36
  | `IxGaugeChart` | Gauge |
@@ -65,7 +66,7 @@ const option: LineChartProps = {
65
66
 
66
67
  Chart components register their required ECharts modules. Global registration is also supported: use `app.use(IxLineChart)` in Vue 3 or `Vue.use(IxLineChart)` in Vue 2.
67
68
 
68
- Use an ESM subpath such as `@idux/charts/line` to import one chart family and its types. The available subpaths are `bar`, `line` (including area), `pie`, `radar`, `gauge`, `liquid-fill`, `bullet`, `word-cloud`, and `map`. Import the base component, ECharts theme token, and shared tooltip helpers from `@idux/charts/core`. Each chart subpath also exports the plot theme token. The aggregate entry registers the full set of charts.
69
+ Use an ESM subpath such as `@idux/charts/line` to import one chart family and its types. The available subpaths are `bar`, `line`, `area`, `pie`, `radar`, `gauge`, `liquid-fill`, `bullet`, `word-cloud`, and `map`. Import the base component, ECharts theme token, and shared tooltip helpers from `@idux/charts/core`. Each chart subpath also exports the plot theme token. The aggregate entry registers the full set of charts.
69
70
 
70
71
  ## Configuration and themes
71
72
 
package/README.zh.md CHANGED
@@ -30,6 +30,7 @@ Vue.use(VueCompositionAPI)
30
30
  | ------------------- | ------------------------ |
31
31
  | `IxBarChart` | 柱状图 |
32
32
  | `IxLineChart` | 折线图、面积图 |
33
+ | `IxAreaChart` | 面积图 |
33
34
  | `IxPieChart` | 饼图、环形图 |
34
35
  | `IxRadarChart` | 雷达图 |
35
36
  | `IxGaugeChart` | 仪表盘 |
@@ -65,7 +66,7 @@ const option: LineChartProps = {
65
66
 
66
67
  图表组件会注册自身所需的 ECharts 模块。组件也支持全局注册:Vue 3 使用 `app.use(IxLineChart)`,Vue 2 使用 `Vue.use(IxLineChart)`。
67
68
 
68
- ESM 项目可通过 `@idux/charts/line` 等子入口导入单个图表系列及类型。支持 `bar`、`line`(含面积图)、`pie`、`radar`、`gauge`、`liquid-fill`、`bullet`、`word-cloud` 和 `map`。基础组件、ECharts 主题 token 和共享 Tooltip 工具可从 `@idux/charts/core` 导入,图形主题 token 从各图表子入口导入。总入口会注册全套图表模块。
69
+ ESM 项目可通过 `@idux/charts/line` 等子入口导入单个图表系列及类型。支持 `bar`、`line`、`area`、`pie`、`radar`、`gauge`、`liquid-fill`、`bullet`、`word-cloud` 和 `map`。基础组件、ECharts 主题 token 和共享 Tooltip 工具可从 `@idux/charts/core` 导入,图形主题 token 从各图表子入口导入。总入口会注册全套图表模块。
69
70
 
70
71
  ## 配置与主题
71
72
 
package/dist/area.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@idux/charts-plots/dist/area/index.js';
package/dist/area.js ADDED
@@ -0,0 +1 @@
1
+ export * from "@idux/charts-plots/dist/area/index.js";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "@idux/charts-core";
2
2
  export * from "@idux/charts-plots";
3
3
  // index.ts
4
- var e = "1.7.0";
4
+ var e = "1.8.0";
5
5
  export { e as version };
@@ -1 +1 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.IduxCharts={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.version=`1.7.0`;var t=require("@idux/charts-core");Object.keys(t).forEach(function(n){n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=require("@idux/charts-plots");Object.keys(n).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})});
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.IduxCharts={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.version=`1.8.0`;var t=require("@idux/charts-core");Object.keys(t).forEach(function(n){n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=require("@idux/charts-plots");Object.keys(n).forEach(function(t){t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idux/charts",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "A chart component library for Vue 2 & 3",
5
5
  "keywords": [
6
6
  "vue",
@@ -36,8 +36,8 @@
36
36
  "**/*.less"
37
37
  ],
38
38
  "dependencies": {
39
- "@idux/charts-core": "1.7.0",
40
- "@idux/charts-plots": "1.7.0"
39
+ "@idux/charts-core": "1.8.0",
40
+ "@idux/charts-plots": "1.8.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@vue/composition-api": ">=1.6.2",
@@ -104,6 +104,10 @@
104
104
  "./word-cloud": {
105
105
  "types": "./dist/word-cloud.d.ts",
106
106
  "import": "./dist/word-cloud.js"
107
+ },
108
+ "./area": {
109
+ "types": "./dist/area.d.ts",
110
+ "import": "./dist/area.js"
107
111
  }
108
112
  },
109
113
  "typesVersions": {
@@ -137,6 +141,9 @@
137
141
  ],
138
142
  "word-cloud": [
139
143
  "dist/word-cloud.d.ts"
144
+ ],
145
+ "area": [
146
+ "dist/area.d.ts"
140
147
  ]
141
148
  }
142
149
  },
package/types.d.ts CHANGED
@@ -2,6 +2,7 @@ declare module 'vue' {
2
2
  export interface GlobalComponents {
3
3
  IxChart: (typeof import('@idux/charts-core'))['IxChart']
4
4
  IxBarChart: (typeof import('@idux/charts-plots'))['IxBarChart']
5
+ IxAreaChart: (typeof import('@idux/charts-plots'))['IxAreaChart']
5
6
  IxLineChart: (typeof import('@idux/charts-plots'))['IxLineChart']
6
7
  IxRadarChart: (typeof import('@idux/charts-plots'))['IxRadarChart']
7
8
  IxWordCloudChart: (typeof import('@idux/charts-plots'))['IxWordCloudChart']