Skip to content

Latest commit

History

History
311 lines (192 loc) 路 20 KB

CHANGELOG.md

File metadata and controls

311 lines (192 loc) 路 20 KB

0.6.0 (2021-05-17)

This is the last version before 1.0. It already introduces some breaking changes from 0.5.x, but if you just want some base components on top of Tailwind 2.0, this is what you're looking for.

If you need pre Tailwind v2 support, go for 0.5.1.

BREAKING CHANGES

  • Upgrade Tailwind CSS to v2
  • Remove tailwindcss-multi-theme plugin
    • This would only be a problem for you if you're using your own solution for theme handling (not using usePreferences or dark), as we move from theme-dark and theme-light to Tailwind's own solution: darkMode: 'class',, which just adds dark to body as a class.
  • Upgrade forms plugin

0.6.0-beta.0 (2021-05-15)

Bug Fixes

  • dark theme: add dark variants to tailwind (6e0bcd3)
  • dark theme: fix focus ring for dark theme (8095735)
  • dark theme: use tailwind default dark class to apply theme (4c42027)
  • package.json: add tailwind build before run storybook (#37) (6536826)

Features

  • dependencies: upgrade dependencie (0305963)

BREAKING CHANGES

  • dependencies: upgrade Tailwind to v2; remove multi-theme plugin; upgrade forms plugin;

0.5.1 (2021-02-06)

  • forms: fix prop extension to allow usage of element attributes eg. name, on input, select and textarea.

0.5.0 (2020-12-02)

Bug Fixes

  • components: add documentation for every property, for every component (adb7bb8)
  • events: update event listeners to capture events (997f8f8), closes #20

0.4.1 (2020-11-08)

Bug Fixes

  • alert: actually export the Alert (ccade2c)
  • pagination: fix pagination update when totalResults or resultsPerPage change (fbedd18)

0.4.0 (2020-11-08)

Features

  • alert: add alert component (b0855c7)
  • TypeScript rewrite

0.4.0-beta.0 (2020-10-26)

Bug Fixes

  • button: fix gradient style applied to anchor buttons due to type (131bd69), closes #7
  • component: add event handlers to button props (90a3d69)
  • packages: update dependencies (330a535)

0.3.2 (2020-08-08)

Bug Fixes

  • button: fix gradient style applied to anchor buttons due to type being incorrectly inherited from button defaults (131bd69), closes #7

0.3.1 (2020-07-21)

Bug Fixes

  • config: fix purge content and add lib to npm published files (abf8c24)

0.3.0 (2020-07-21)

Build System

  • scope: use @windmill as scope (e6862da)

BREAKING CHANGES

  • scope: Use @windmill/react-ui to install the package as windmill-react-ui is deprecated.

0.2.0 (2020-07-20)

Bug Fixes

  • form: fix 1px off input and select (4a3bc13)

BREAKING CHANGES

  • form: Regular Inputs and Selects had a height of 39px, which looked terrible when used side-by-side with a regular button (38px height). Reducing the line-height to leading-5 solved it, and now regular inputs and selects have a 38px height.

0.1.2 (2020-07-19)

Bug Fixes

  • avatar: add forwarRef to avatar (3e3c8a6)
  • backdrop: add forwardRef to backdrop (6657d52)
  • components: add forwardRef to all components that were missing (fb240a2)
  • variants: add default variants (217a1d8)

BREAKING CHANGES

  • components: All components now support ref forwarding.

0.1.2-beta.0 (2020-07-17)

Features

  • config: add a global config wrapper (6a6de16)

BREAKING CHANGES

  • config: Instead of adding Windmill files to purge or to plugins, now you only need to encapsulate your Tailwind config using this wrapper. It will automatically add what Windmill needs to work properly and you can use your tailwind.config.js file as before, as it will be merged.

0.1.1 (2020-07-14)

Bug Fixes

  • defaulttheme: export an object instead of string (9a720e5)

0.1.0 (2020-07-13)

Bug Fixes

  • backdrop: use z index 40 (48c4348)
  • card: hide card overflow (7cfa036)
  • dropdown: fix dropdown event handlers dependencies (8490872)
  • pagination: add base text styles to pagination (9258df1)

Features

  • defaulttheme: add defaultTheme export for purge (22ac723)
  • dropdown: add align prop to dropdown (7297426)
  • windmill: add usePreferences to windmill (a619a28)

BREAKING CHANGES

  • pagination: Pagination now has its own text colors, instead of depending on parent styles or own classes. It makes it useful outside elements like TableFooter, which would add text styles before. The breaking change is that it doesn't inherit TableFooter (or any parent) colors anymore.
  • windmill: Now you need to use the prop usePreferences in the root Windmill component if you want access to theme utilities like the current theme or theme toggler, user preferences and user theme storage. These features were enabled by default before. You get the old behavior just adding usePreferences to the root Windmill component.
  • dropdown: Dropdown now accepts an align prop that can be 'right' or 'left'. It now defaults to 'left' if align is not used, which is the natural align of the DOM, instead of the old right alignment. Change your dropdowns to align="right" if you were using the old default style.

0.1.0-alpha.14 (2020-07-10)

Bug Fixes

  • button: fix link button active state (cb0877e)

Features

  • button: add icon prop to button (62453c1)
  • dropdown: add outside click handler (c316cd4)
  • table: remove styles from TableRow and apply to TableBody (f5051c2)

BREAKING CHANGES

  • dropdown: You don't need to provide an outside click handler to close the dropdown anymore as it's now done internally calling the passed onClose prop
  • table: TableRow could only be used inside TableBody because it would apply styles that would overwirte TableHead, like text colors. Now these styles live only inside TableBody, leaving TableRow without styles, even though it's entry is still in defaultTheme for further theme customization.

0.1.0-alpha.13 (2020-07-09)

Bug Fixes

  • form: fix dark validation styles for input and textarea (39af5d1)

Features

  • select: add disabled attribute (d429e7a)
  • select: add validation styles (71d4dfe)
  • textarea: add validation and disabled styles (6108c06)

0.1.0-alpha.12 (2020-07-08)

Bug Fixes

  • modal: do not render modal if it is not on client (2cbe55a)
  • plugin: use opacity from theme for backgroundOpacity (1c2931f)

0.1.0-alpha.11 (2020-07-08)

Bug Fixes

  • badge: add flex styles to badge (bf7c412)
  • plugin: fix backgroundOpacity variant overwrite (d843446)

BREAKING CHANGES

  • badge: it now behaves as inline-flex instead of default inline span. py-1 was also removed in favor of leading increase, so it better aligns in the center of the pill.

0.1.0-alpha.10 (2020-07-06)

Bug Fixes

  • plugin: fix call stack on backgroundOpacity (a9b9038)

0.1.0-alpha.9 (2020-07-06)

Bug Fixes

  • avatar: add inline-block to avatar (c1d4dc1)
  • backdrop: increase backdrop z-index (951c489)
  • button: fix link style for dark buttons (1002423), closes #4
  • dark mode: fix window not being available on SSR (af2d464)

Code Refactoring

  • avatar: use src instead of img (e988424)

BREAKING CHANGES

  • avatar: Avatar now uses src instead of img to pass the image src
  • avatar: add inline-block
  • button: different colors for dark mode
  • backdrop: z-index increased from 10 to 50

0.1.0-alpha.8 (2020-06-30)

Bug Fixes

  • defaulttheme: export defaultTheme as Common JS and remove deprecated theme toggler (d60e5c2)
  • table pagination: remove layout styles from table footer that were interfering with pagination (f9e7b9d)

0.1.0-alpha.7 (2020-06-30)

Bug Fixes

  • windmill: improve theme handling when user have stored theme (d71b6df)

0.1.0-alpha.6 (2020-06-29)

Features

  • windmill: add theme storage and user system preferences getter as default (04c06ef)

0.1.0-alpha.5 (2020-06-29)

Bug Fixes

  • backdrop: reduce backdrop z-index (732c546)

Features

  • windmill: expose current selected theme and a theme toggler (73505bf)

0.1.0-alpha.4 (2020-06-28)

Bug Fixes

  • dropdown: export dropdown item (c177442)

0.1.0-alpha.3 (2020-06-27)

Bug Fixes

  • library: export TableFooter (04ac997)

0.1.0-alpha.2 (2020-06-27)

Bug Fixes

  • webpack: fix externals namingfix Module not found: Can't resolve 'reactDOM' (380843b)

0.1.0-alpha.1 (2020-06-27)

Bug Fixes

  • proptypes: fix children proptypes (43cdf46)
  • windmill: export windmill (9983010)
  • windmill: fix dark theme prop (7155eae)

Features

  • avatar: add avatar (ea7827b)
  • backdrop: add backdrop (b367072)
  • badge: add badge (7638177)
  • card: add card and cardbody (3c64e85)
  • dropdown: add dropdown (e4eeba9)
  • helpertext: add helpertext (12539d2)
  • input: add form inputs (8b4f69e)
  • label: add form label (a74f8a9)
  • modal: add all modal components (fc987d5)
  • pagination: add pagination (a410ca4)
  • plugin: add pluginexport a plugin that packs multi-theme, custom-forms and the custom shadow outline plugin, alongwith custom modifications to width, height and colors. (15c772a)
  • select: add select (da44e48)
  • table: add table (6705f3d)
  • table: add table footer (19f59a8)
  • textarea: add textarea (6a7a333)
  • theme: add default theme (b99470c)
  • theme: add theme context (d3f13e7)
  • themes: add dark mode and toggle (371578e)
  • themes: expose themes configs (f388a54)
  • transition: add transition (46a7d6b)