Skip to content

Releases: rbardini/storybook-addon-paddings

v4.0.0

28 Dec 00:04
Compare
Choose a tag to compare

4.0.0 (2020-12-28)

⚠ BREAKING CHANGES

  • config: use object parameter instead of array (#10) (e5a8405)

    The addon now receives an object instead of an array as parameter, with a property to define the default padding. This allows proper merging of global, component and story parameters.

    Old API

    export const parameters = {
      paddings: [
        { name: 'Small', value: '16px' },
        { name: 'Medium', value: '32px', default: true },
        { name: 'Large', value: '64px' },
      ],
    };

    New API

    export const parameters = {
      paddings: {
        values: [
          { name: 'Small', value: '16px' },
          { name: 'Medium', value: '32px' },
          { name: 'Large', value: '64px' },
        ],
        default: 'Medium',
      },
    };

v3.2.0

20 Dec 12:47
16816af
Compare
Choose a tag to compare

3.2.0 (2020-12-20)

Features

  • selector: highlight selected padding option (#21) (16816af)

v3.1.0

16 Dec 16:56
f31361f
Compare
Choose a tag to compare

3.1.0 (2020-12-16)

Features

  • reset: set preview margins and paddings to 0 by default (#19) (f31361f)

v3.0.0

15 Sep 23:14
0e5a125
Compare
Choose a tag to compare

3.0.0 (2020-09-15)

chore

  • deps: update dependencies and configuration options (#16) (0e5a125)

BREAKING CHANGES

  • deps: require Storybook v6 (v5 compatibility possible, but not guaranteed)

v2.0.2

29 Mar 16:27
02b125f
Compare
Choose a tag to compare

2.0.2 (2020-03-29)

Bug Fixes

  • support other Storybook frameworks besides React (#7) (02b125f)

v2.0.1

15 Mar 14:26
Compare
Choose a tag to compare

2.0.1 (2020-03-15)

Bug Fixes

v2.0.0

01 Mar 15:37
428c70a
Compare
Choose a tag to compare

2.0.0 (2020-03-01)

Features

  • pad preview document body instead of iframe element (#2) (428c70a)

BREAKING CHANGES

  • require withPaddings decorator

v1.0.1

15 Feb 10:47
Compare
Choose a tag to compare

1.0.1 (2020-02-15)

Bug Fixes

  • define paramKey on register (70d22de)

v1.0.0

25 Jan 13:29
Compare
Choose a tag to compare

1.0.0 (2020-01-25)

Features

  • release the Kraken! 🐙 (9ea85b7)