@idux/charts 0.0.4 → 0.3.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 ADDED
@@ -0,0 +1,13 @@
1
+ # @idux/charts
2
+
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0d08aec: update vite config
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0d08aec]
12
+ - @idux/charts-plots@0.3.0
13
+ - @idux/charts-core@0.3.0
@@ -1,6 +1,6 @@
1
1
  export * from "@idux/charts-core";
2
2
  export * from "@idux/charts-plots";
3
- const o = "0.0.4";
3
+ const o = "0.2.0";
4
4
  export {
5
5
  o as version
6
6
  };
@@ -1 +1 @@
1
- (function(e,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("@idux/charts-core"),require("@idux/charts-plots")):typeof define=="function"&&define.amd?define(["exports","@idux/charts-core","@idux/charts-plots"],r):(e=typeof globalThis<"u"?globalThis:e||self,r(e.IduxCharts={},e.IduxChartsCore,e.IduxChartsPlots))})(this,function(e,r,i){"use strict";const n="0.0.4";e.version=n,Object.keys(r).forEach(t=>{t!=="default"&&!e.hasOwnProperty(t)&&Object.defineProperty(e,t,{enumerable:!0,get:()=>r[t]})}),Object.keys(i).forEach(t=>{t!=="default"&&!e.hasOwnProperty(t)&&Object.defineProperty(e,t,{enumerable:!0,get:()=>i[t]})}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(e,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("@idux/charts-core"),require("@idux/charts-plots")):typeof define=="function"&&define.amd?define(["exports","@idux/charts-core","@idux/charts-plots"],r):(e=typeof globalThis<"u"?globalThis:e||self,r(e.IduxCharts={},e.IduxChartsCore,e.IduxChartsPlots))})(this,function(e,r,i){"use strict";const n="0.2.0";e.version=n,Object.keys(r).forEach(t=>{t!=="default"&&!e.hasOwnProperty(t)&&Object.defineProperty(e,t,{enumerable:!0,get:()=>r[t]})}),Object.keys(i).forEach(t=>{t!=="default"&&!e.hasOwnProperty(t)&&Object.defineProperty(e,t,{enumerable:!0,get:()=>i[t]})}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idux/charts",
3
- "version": "0.0.4",
3
+ "version": "0.3.0",
4
4
  "description": "A UI Component Development Kit for Vue 3.x",
5
5
  "keywords": [
6
6
  "vue",
@@ -20,22 +20,21 @@
20
20
  },
21
21
  "license": "MIT",
22
22
  "author": "IDuxFE<idux.feteam@gmail.com>",
23
- "main": "./dist/index.mjs",
24
- "module": "./dist/index.mjs",
23
+ "type": "module",
24
+ "main": "./dist/index.umd.cjs",
25
+ "module": "./dist/index.js",
25
26
  "typings": "./dist/index.d.ts",
26
- "unpkg": "./dist/index.umd.js",
27
- "jsdelivr": "./dist/index.umd.js",
28
- "sideEffects": false,
27
+ "unpkg": "./dist/index.umd.cjs",
28
+ "jsdelivr": "./dist/index.umd.cjs",
29
29
  "files": [
30
- "/dist"
30
+ "dist",
31
+ "*.md",
32
+ "*.d.ts"
31
33
  ],
32
- "scripts": {
33
- "clean": "rimraf dist node_modules",
34
- "build": "rimraf dist && vite build"
35
- },
34
+ "sideEffects": false,
36
35
  "dependencies": {
37
- "@idux/charts-core": "^0.0.4",
38
- "@idux/charts-plots": "^0.0.4"
36
+ "@idux/charts-core": "0.3.0",
37
+ "@idux/charts-plots": "0.3.0"
39
38
  },
40
39
  "peerDependencies": {
41
40
  "@vue/composition-api": "^1.7.0",
@@ -47,5 +46,9 @@
47
46
  "@vue/composition-api": {
48
47
  "optional": true
49
48
  }
49
+ },
50
+ "scripts": {
51
+ "clean": "rimraf dist node_modules",
52
+ "build": "rimraf dist && vite build"
50
53
  }
51
- }
54
+ }
package/types.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ declare module 'vue' {
2
+ export interface GlobalComponents {
3
+ IxChart: typeof import('@idux/charts-core')['IxChart']
4
+ IxBarChart: typeof import('@idux/charts-plots')['IxBarChart']
5
+ IxLineChart: typeof import('@idux/charts-plots')['IxLineChart']
6
+ IxPieChart: typeof import('@idux/charts-plots')['IxPieChart']
7
+ }
8
+ }
9
+
10
+ export {}