UNPKG

storybook-addon-themes

Version:

A storybook addon to switch between different themes for your preview

96 lines (75 loc) 3.98 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [6.1.0] - 2021-04-05 ### Added - Default as string parameter in config. ([@norin89](https://github.com/https://github.com/norin89) in [#43](https://github.com/tonai/storybook-addon-themes/pull/43)) - Add HTML support for decorators. ([@tonai](https://github.com/https://github.com/tonai) in [#44](https://github.com/tonai/storybook-addon-themes/pull/44)) - Allow to set target element to apply classes to. ([@pixtron](https://github.com/https://github.com/pixtron) in [#45](https://github.com/tonai/storybook-addon-themes/pull/45)) - Update Storybook addon metadata. ([@coderkevin](https://github.com/https://github.com/coderkevin) in [#46](https://github.com/tonai/storybook-addon-themes/pull/46)) ## [6.0.1] - 2020-12-08 ### Added - Remove peer dependencies. ([@rcline](https://github.com/https://github.com/rcline) in [#40](https://github.com/tonai/storybook-addon-themes/pull/40)) - Remove @types/vue + security fix. ## [6.0.0] - 2020-08-25 ### Added - Storybook 6.x compatibility. - Add PUBLISHING file. ## [5.5.0] - 2020-08-24 ### Added - Show theme selector in doc tabs. ([@jpzwarte](https://github.com/jpzwarte) in [#29](https://github.com/tonai/storybook-addon-themes/pull/29)) - Security update. ([@tonai](https://github.com/tonai) in [#31](https://github.com/tonai/storybook-addon-themes/pull/31) and [#35](https://github.com/tonai/storybook-addon-themes/pull/35)) - Launch change event even if no decorator is set. ([@tonai](https://github.com/tonai) in [#32](https://github.com/tonai/storybook-addon-themes/pull/32)) - Add onChange parameter. ([@tonai](https://github.com/tonai) in [#33](https://github.com/tonai/storybook-addon-themes/pull/33)) - Add clearable parameter. ([@tonai](https://github.com/tonai) in [#34](https://github.com/tonai/storybook-addon-themes/pull/34)) ## [6.0.0-alpha2] - 2020-03-23 ### Added - Add option for customizing the decorator. ([@tonai](https://github.com/tonai) in [#23](https://github.com/tonai/storybook-addon-themes/pull/23)) - Support custom decorator for svelte. - Fix error when a theme without the class property is selected. ## [5.4.1] - 2020-03-23 ### Added - Security update. - Fix error when a theme without the class property is selected. ## [5.4.0] - 2020-03-05 ### Added - Add option for customizing the decorator. ([@tonai](https://github.com/tonai) in [#23](https://github.com/tonai/storybook-addon-themes/pull/23)) ## [6.0.0-alpha1] - 2020-02-13 ### Added - Add demo gif in README. ([@tonai](https://github.com/tonai) in [#19](https://github.com/tonai/storybook-addon-themes/pull/19)) - Add Svelte support for decorator. ## [5.3.0] - 2020-01-30 ### Added - Security update. - Add vue support for decorator. ([@tonai](https://github.com/tonai) in [#16](https://github.com/tonai/storybook-addon-themes/pull/16)) ## [5.2.0] - 2019-07-09 ### Added - Add CHANGELOG file. - Add decorator usage. ([@tonai](https://github.com/tonai) in [#8](https://github.com/tonai/storybook-addon-themes/pull/8)) ## [5.1.0] - 2019-06-04 ### Added - Active theme styles. ([@Yankovsky](https://github.com/Yankovsky) in [#3](https://github.com/tonai/storybook-addon-themes/pull/3)) - Multiple classes theme. ([@Yankovsky](https://github.com/Yankovsky) in [#4](https://github.com/tonai/storybook-addon-themes/pull/4)) ## [5.0.0] - 2019-03-15 ### Added - Storybook 5.x compatibility. ## [4.0.0] - 2019-03-15 ### Added - Storybook 4.x compatibility. ## [3.0.0] - 2019-03-15 ### Added - Storybook 3.x compatibility. ## [0.0.4] - 2018-01-22 ### Added - Add LICENCE and .npmignore files. ## [0.0.3] - 2018-01-22 ### Changed - Publication test. ## [0.0.2] - 2018-01-22 ### Added - Add prepublish script. ## [0.0.1] - 2018-01-22 ### Added - Initial commit.