@automattic/charts 0.11.0 → 0.11.4
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 +30 -0
- package/dist/index.d.ts +1 -1
- package/package.json +5 -4
- package/src/components/grid-control/grid-control.module.scss +1 -0
- package/src/components/legend/legend.module.scss +1 -0
- package/src/components/line-chart/line-chart.module.scss +1 -1
- package/src/components/tooltip/base-tooltip.module.scss +1 -1
- package/src/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.11.4] - 2025-04-10
|
|
9
|
+
### Changed
|
|
10
|
+
- Internal updates.
|
|
11
|
+
|
|
12
|
+
## [0.11.3] - 2025-04-10
|
|
13
|
+
### Changed
|
|
14
|
+
- Internal updates.
|
|
15
|
+
|
|
16
|
+
## [0.11.2] - 2025-04-10
|
|
17
|
+
### Changed
|
|
18
|
+
- Internal updates.
|
|
19
|
+
|
|
20
|
+
## [0.11.1] - 2025-04-10
|
|
21
|
+
### Added
|
|
22
|
+
- Export DataPoint, DataPointDate and SeriesData types [#42981]
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- Code: First pass of style coding standards. [#42734]
|
|
26
|
+
- Update package dependencies. [#42762]
|
|
27
|
+
- Update package dependencies. [#42809]
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- Code: Update stylesheets to use hex instead of named colors. [#42920]
|
|
31
|
+
- Code: Update stylesheets to use WordPress font styles. [#42928]
|
|
32
|
+
- Fixed TS type checking in the monorepo [#42817]
|
|
33
|
+
|
|
8
34
|
## [0.11.0] - 2025-03-26
|
|
9
35
|
### Added
|
|
10
36
|
- Chart library: adds new curve smoothing option to linechart [#42281]
|
|
@@ -153,6 +179,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
153
179
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
154
180
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
155
181
|
|
|
182
|
+
[0.11.4]: https://github.com/Automattic/charts/compare/v0.11.3...v0.11.4
|
|
183
|
+
[0.11.3]: https://github.com/Automattic/charts/compare/v0.11.2...v0.11.3
|
|
184
|
+
[0.11.2]: https://github.com/Automattic/charts/compare/v0.11.1...v0.11.2
|
|
185
|
+
[0.11.1]: https://github.com/Automattic/charts/compare/v0.11.0...v0.11.1
|
|
156
186
|
[0.11.0]: https://github.com/Automattic/charts/compare/v0.10.1...v0.11.0
|
|
157
187
|
[0.10.1]: https://github.com/Automattic/charts/compare/v0.10.0...v0.10.1
|
|
158
188
|
[0.10.0]: https://github.com/Automattic/charts/compare/v0.9.0...v0.10.0
|
package/dist/index.d.ts
CHANGED
|
@@ -356,4 +356,4 @@ type UseChartMouseHandlerReturn = {
|
|
|
356
356
|
*/
|
|
357
357
|
declare const useChartMouseHandler: ({ withTooltips, }: UseChartMouseHandlerProps) => UseChartMouseHandlerReturn;
|
|
358
358
|
|
|
359
|
-
export { _default$3 as BarChart, BaseTooltip, BaseLegend as Legend, _default$2 as LineChart, _default$1 as PieChart, _default as PieSemiCircleChart, ThemeProvider, defaultTheme, jetpackTheme, useChartMouseHandler, wooTheme };
|
|
359
|
+
export { _default$3 as BarChart, BaseTooltip, type DataPoint, type DataPointDate, BaseLegend as Legend, _default$2 as LineChart, _default$1 as PieChart, _default as PieSemiCircleChart, type SeriesData, ThemeProvider, defaultTheme, jetpackTheme, useChartMouseHandler, wooTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/charts",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "Display charts within Automattic products.",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/charts/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"storybook": "cd ../storybook && pnpm run storybook:dev",
|
|
21
21
|
"compile-ts": "tsc --pretty",
|
|
22
22
|
"clean-build": "rm -rf dist/",
|
|
23
|
+
"typecheck": "tsc --noEmit",
|
|
23
24
|
"build": "pnpm run build:prod",
|
|
24
25
|
"build:prod": "pnpm run clean && rollup -c --environment NODE_ENV:production",
|
|
25
26
|
"build:dev": "rollup -c --environment NODE_ENV:development",
|
|
@@ -87,8 +88,8 @@
|
|
|
87
88
|
"@types/jest": "^29.0.0",
|
|
88
89
|
"@types/react": "18.3.18",
|
|
89
90
|
"@types/react-dom": "18.3.5",
|
|
90
|
-
"@wordpress/babel-plugin-import-jsx-pragma": "5.
|
|
91
|
-
"@wordpress/element": "6.
|
|
91
|
+
"@wordpress/babel-plugin-import-jsx-pragma": "5.21.0",
|
|
92
|
+
"@wordpress/element": "6.21.0",
|
|
92
93
|
"babel-jest": "^29.7.0",
|
|
93
94
|
"babel-loader": "9.1.2",
|
|
94
95
|
"css-loader": "^6.7.0",
|
|
@@ -111,7 +112,7 @@
|
|
|
111
112
|
"sass-loader": "^13.0.0",
|
|
112
113
|
"storybook": "8.6.7",
|
|
113
114
|
"tsconfig-paths-webpack-plugin": "4.2.0",
|
|
114
|
-
"typescript": "5.
|
|
115
|
+
"typescript": "5.8.2",
|
|
115
116
|
"webpack": "^5.88.0",
|
|
116
117
|
"webpack-cli": "^6.0.0"
|
|
117
118
|
},
|
package/src/index.ts
CHANGED
|
@@ -14,3 +14,6 @@ export { defaultTheme, jetpackTheme, wooTheme } from './providers/theme/themes';
|
|
|
14
14
|
|
|
15
15
|
// Hooks
|
|
16
16
|
export { default as useChartMouseHandler } from './hooks/use-chart-mouse-handler';
|
|
17
|
+
|
|
18
|
+
// Types
|
|
19
|
+
export type { DataPoint, DataPointDate, SeriesData } from './types';
|