Skip to content

Releases: vtex/styleguide

v9.0.0

18 Jan 13:00
Compare
Choose a tag to compare

Changed

  • Breaking Change Make vtex.styleguide work with apps that are build with the new react builder 3.x.

v8.13.0

17 Jan 21:08
Compare
Choose a tag to compare

Added

  • Toast Add horizontalPosition to showToast options.

v8.11.3

17 Jan 13:34
Compare
Choose a tag to compare

Fixed

  • Button when using block prop and small size, button height was smaller than it was supposed to be.
  • Table Align toolbar buttons and use ButtonWithIcon instead of Button.

v8.11.2

16 Jan 20:03
Compare
Choose a tag to compare

Added

  • Conditions Add the subjectPlaceholder prop to control the placeholder
    of the subject atom dropdown.

Changed

  • Conditions Remove flex-auto from the subject and verb atoms.
  • Conditions Automatically select first verb when changing a subject.

v8.11.1

16 Jan 12:36
Compare
Choose a tag to compare

Changed

  • Conditions Modify object atom prop to allow developers to pass extra
    parameters to the render function. Now instead of passing a function to the
    object prop you need to pass an object with the following structure:

    const options = {
      ...
      verbs: [
        {
          ...
          object: {
            renderFn: foo,
            extraParams: {
              a: 1,
              b: 2,
              ...
            }
          }
        },
      ]
    }

    The extraParams property will be available in your render function as a
    parameter like the example below:

    foo = ({ statements, values, statementIndex, error, extraParams }) => {
      // here goes the render logic of you object component
    }

v8.10.5

10 Jan 21:13
Compare
Choose a tag to compare

Fixed

  • Fixed Dropdown label adding a stray margin at the top of the component.
  • Fixed Radio getting squished on small sizes.

Changed

  • react & react-dom version to 16.7.0

v8.10.4

09 Jan 16:40
Compare
Choose a tag to compare

Fixed

  • Toast Pass event parameter to onClick

v8.10.3

08 Jan 15:48
Compare
Choose a tag to compare

Fix

  • Fix #458 by adding postinstall script to run the install dependencies for the
    react/ folder after installing dependencies for the root folder.

v8.10.2

08 Jan 13:42
Compare
Choose a tag to compare

Added

  • Table loading prop, holding the table size.

v8.10.1

07 Jan 19:11
Compare
Choose a tag to compare

Changed

  • Toast Allow single line toast on small screens if the message is short enough.