@carbon/charts 0.50.4 → 0.50.8
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 +38 -0
- package/build/demo/create-codesandbox.d.ts +6 -17
- package/build/{stories → demo}/utils.d.ts +7 -2
- package/build/src/services/essentials/dom-utils.d.ts +8 -1
- package/bundle.js +1 -1
- package/components/axes/ruler-binned.js +1 -1
- package/components/axes/ruler-binned.js.map +1 -1
- package/components/essentials/title-meter.js +1 -1
- package/components/essentials/title-meter.js.map +1 -1
- package/components/essentials/title.js +1 -1
- package/components/essentials/title.js.map +1 -1
- package/components/graphs/gauge.js +1 -1
- package/components/graphs/gauge.js.map +1 -1
- package/components/graphs/pie.js +1 -1
- package/components/graphs/pie.js.map +1 -1
- package/components/graphs/radar.js +3 -1
- package/components/graphs/radar.js.map +1 -1
- package/demo/create-codesandbox.d.ts +6 -17
- package/demo/create-codesandbox.js +11 -22
- package/demo/create-codesandbox.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/styles.css +1477 -88
- package/demo/styles.css.map +1 -1
- package/demo/styles.min.css +1 -1
- package/demo/styles.min.css.map +1 -1
- package/demo/tsconfig.tsbuildinfo +14 -2
- package/demo/utils.d.ts +24 -0
- package/demo/utils.js +169 -0
- package/demo/utils.js.map +1 -0
- package/package.json +1 -1
- package/services/essentials/dom-utils.d.ts +8 -1
- package/services/essentials/dom-utils.js +6 -0
- package/services/essentials/dom-utils.js.map +1 -1
- package/styles/components/_layout.scss +2 -0
- package/styles-g10.css +2 -0
- package/styles-g10.css.map +1 -1
- package/styles-g10.min.css +1 -1
- package/styles-g10.min.css.map +1 -1
- package/styles-g100.css +2 -0
- package/styles-g100.css.map +1 -1
- package/styles-g100.min.css +1 -1
- package/styles-g100.min.css.map +1 -1
- package/styles-g90.css +2 -0
- package/styles-g90.css.map +1 -1
- package/styles-g90.min.css +1 -1
- package/styles-g90.min.css.map +1 -1
- package/styles.css +2 -0
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
- package/tsconfig.tsbuildinfo +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.50.8](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.7...v0.50.8) (2021-10-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** fix group names in binned ruler tooltips ([#1190](https://github.com/carbon-design-system/carbon-charts/issues/1190)) ([312f8be](https://github.com/carbon-design-system/carbon-charts/commit/312f8bea2d885539370ca81ddbc89ee63689ab2b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.50.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.6...v0.50.7) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @carbon/charts
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.50.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.5...v0.50.6) (2021-10-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @carbon/charts
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.50.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.4...v0.50.5) (2021-10-08)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **core:** fix safari bug causing incorrect chart heights ([#1179](https://github.com/carbon-design-system/carbon-charts/issues/1179)) ([55dd880](https://github.com/carbon-design-system/carbon-charts/commit/55dd880e48cb07c8f392ce2b9774e49ea4220051)), closes [#1177](https://github.com/carbon-design-system/carbon-charts/issues/1177)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
## [0.50.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.3...v0.50.4) (2021-10-05)
|
|
7
45
|
|
|
8
46
|
|
|
@@ -93,33 +93,22 @@ export declare const createVueChartApp: {
|
|
|
93
93
|
export declare const createSvelteChartApp: {
|
|
94
94
|
(demo: any): {
|
|
95
95
|
'App.svelte': string;
|
|
96
|
-
'index.
|
|
96
|
+
'index.html': string;
|
|
97
97
|
'package.json': {
|
|
98
98
|
scripts: {
|
|
99
|
-
build: string;
|
|
100
|
-
autobuild: string;
|
|
101
99
|
dev: string;
|
|
102
|
-
|
|
103
|
-
'start:dev': string;
|
|
100
|
+
build: string;
|
|
104
101
|
};
|
|
105
102
|
devDependencies: {
|
|
106
|
-
'npm-run-all': string;
|
|
107
|
-
rollup: string;
|
|
108
|
-
'rollup-plugin-commonjs': string;
|
|
109
|
-
'rollup-plugin-node-resolve': string;
|
|
110
|
-
'rollup-plugin-svelte': string;
|
|
111
|
-
'rollup-plugin-terser': string;
|
|
112
|
-
'sirv-cli': string;
|
|
113
|
-
};
|
|
114
|
-
dependencies: {
|
|
115
|
-
'@carbon/charts': any;
|
|
116
103
|
'@carbon/charts-svelte': any;
|
|
117
|
-
'
|
|
104
|
+
'@sveltejs/vite-plugin-svelte': string;
|
|
118
105
|
d3: string;
|
|
119
106
|
svelte: string;
|
|
107
|
+
'svelte-hmr': string;
|
|
108
|
+
vite: string;
|
|
120
109
|
};
|
|
121
110
|
};
|
|
122
|
-
'
|
|
111
|
+
'vite.config.js': string;
|
|
123
112
|
};
|
|
124
113
|
displayName: string;
|
|
125
114
|
__docgenInfo: {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
export declare const addControls: (container: any, demoGroup: any, chart: any
|
|
2
|
-
|
|
1
|
+
export declare const addControls: (container: any, demoGroup: any, chart: any, configs?: {
|
|
2
|
+
colorPairingOptions: any;
|
|
3
|
+
}) => void;
|
|
4
|
+
export declare const addRadioButtonEventListeners: (container: any, chart: any, configs: any) => void;
|
|
5
|
+
export declare const addOtherVersions: (container: any, demoGroup: any, demo: any, configs?: {
|
|
6
|
+
currentVersion: string;
|
|
7
|
+
}) => void;
|
|
3
8
|
/**
|
|
4
9
|
* Generates random data going backwards from now once a minute
|
|
5
10
|
* @param {number} quantity number of data points to create
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { Service } from '../service';
|
|
2
2
|
import { Selection } from 'd3-selection';
|
|
3
|
+
interface getSVGElementSizeOptions {
|
|
4
|
+
useAttrs?: boolean;
|
|
5
|
+
useClientDimensions?: boolean;
|
|
6
|
+
useBBox?: boolean;
|
|
7
|
+
useBoundingRect?: boolean;
|
|
8
|
+
}
|
|
3
9
|
export declare class DOMUtils extends Service {
|
|
4
10
|
constructor(model: any, services: any);
|
|
5
11
|
static getHTMLElementSize(element: HTMLElement): {
|
|
6
12
|
width: number;
|
|
7
13
|
height: number;
|
|
8
14
|
};
|
|
9
|
-
static getSVGElementSize(svgSelector: Selection<any, any, any, any>, options?:
|
|
15
|
+
static getSVGElementSize(svgSelector: Selection<any, any, any, any>, options?: getSVGElementSizeOptions): any;
|
|
10
16
|
static appendOrSelect(parent: any, query: any): any;
|
|
11
17
|
protected mainContainer: HTMLElement;
|
|
12
18
|
protected width: string;
|
|
@@ -26,3 +32,4 @@ export declare class DOMUtils extends Service {
|
|
|
26
32
|
addHolderListeners(): void;
|
|
27
33
|
addResizeListener(): void;
|
|
28
34
|
}
|
|
35
|
+
export {};
|