From dbbef216ef48c4db159c8781436392f53c70cc1f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 19 Feb 2019 09:05:41 +0000 Subject: [PATCH] chore(release): 2.0.0 [skip ci] # [2.0.0](https://github.com/elastic/elastic-charts/compare/v1.1.1...v2.0.0) (2019-02-19) ### Features * add dark theme ([#44](https://github.com/elastic/elastic-charts/issues/44)) ([766f1ad](https://github.com/elastic/elastic-charts/commit/766f1ad)), closes [#35](https://github.com/elastic/elastic-charts/issues/35) ### BREAKING CHANGES * The `Theme.AxisConfig` type has a different signature. It now contains `axisTitleStyle`, `axisLineStyle`, `tickLabelStyle` and `tickLineStyle` defined as `TextStyle` or `StrokeStyle` elements. The `Theme` interface is changed in a more flat structure. `darkMode` prop from `Setting` is removed. `theme` prop in `Setting` is now a `Theme` type object, not a `PartialTheme`. You can use `mergeWithDefaultTheme` function to merge an existing theme with a partial one. --- CHANGELOG.md | 19 +++++++++++++++++++ package.json | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d8f8d6d4..3b118236f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# [2.0.0](https://github.com/elastic/elastic-charts/compare/v1.1.1...v2.0.0) (2019-02-19) + + +### Features + +* add dark theme ([#44](https://github.com/elastic/elastic-charts/issues/44)) ([766f1ad](https://github.com/elastic/elastic-charts/commit/766f1ad)), closes [#35](https://github.com/elastic/elastic-charts/issues/35) + + +### BREAKING CHANGES + +* The `Theme.AxisConfig` type has a different signature. +It now contains `axisTitleStyle`, `axisLineStyle`, `tickLabelStyle` and +`tickLineStyle` defined as `TextStyle` or `StrokeStyle` elements. +The `Theme` interface is changed in a more flat structure. +`darkMode` prop from `Setting` is removed. +`theme` prop in `Setting` is now a `Theme` type object, not a `PartialTheme`. +You can use `mergeWithDefaultTheme` function to merge an existing theme +with a partial one. + ## [1.1.1](https://github.com/elastic/elastic-charts/compare/v1.1.0...v1.1.1) (2019-02-15) diff --git a/package.json b/package.json index 8ee8f8555b..b548610452 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@elastic/charts", "description": "Elastic-Charts data visualization library", - "version": "1.1.1", + "version": "2.0.0", "author": "Marco Vettorello ", "license": "Apache-2.0", "main": "dist/index.js",