chartist 1.2.1 → 1.3.1

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/svg/Svg.d.ts CHANGED
@@ -148,12 +148,12 @@ export declare class Svg {
148
148
  */
149
149
  removeAllClasses(): this;
150
150
  /**
151
- * Get element height using `getBoundingClientRect`
151
+ * Get element height using `clientHeight`
152
152
  * @return The elements height in pixels
153
153
  */
154
154
  height(): number;
155
155
  /**
156
- * Get element width using `getBoundingClientRect`
156
+ * Get element width using `clientWidth`
157
157
  * @return The elements width in pixels
158
158
  */
159
159
  width(): number;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "chartist",
3
3
  "type": "module",
4
- "version": "1.2.1",
4
+ "version": "1.3.1",
5
5
  "description": "Simple, responsive charts",
6
6
  "author": "Gion Kunz",
7
- "homepage": "https://chartist-js.github.io",
7
+ "homepage": "https://chartist.dev",
8
8
  "license": "MIT OR WTFPL",
9
9
  "licenses": [
10
10
  {
@@ -49,10 +49,12 @@
49
49
  "LICENSE-WTFPL",
50
50
  "LICENSE-MIT"
51
51
  ],
52
- "readme": "",
53
52
  "exports": {
54
- "require": "./dist/index.cjs",
55
- "import": "./dist/index.js"
53
+ ".": {
54
+ "require": "./dist/index.cjs",
55
+ "import": "./dist/index.js"
56
+ },
57
+ "./dist/*": "./dist/*"
56
58
  },
57
59
  "module": "./dist/index.js",
58
60
  "scripts": {}