Skip to content

Releases: mozilla/lilypad

Improve Buttons and Switch state

02 Apr 23:42
Compare
Choose a tag to compare
  • Adding ability to use nextjs Link components passed as props to buttons.
  • fixed switch on change bug
  • removed hard-coded bottom padding to inputs
  • gave smart defaults to the toast library
  • added a regex mask option to inputs
  • removed functionality that swaps error messages for additional info on inputs. Both stay persistent now.
  • input icons now align correctly when the label is turned off
  • added optional label to textarea

Remove Enums

01 Aug 21:14
Compare
Choose a tag to compare
  • Modal fade animation
  • Remove the use of enums for component params such as ButtonsSizeE and opted into using string unions types ie; "small" | "large".
  • Dependabot package updates

Modal

17 Jul 15:18
8133f4d
Compare
Choose a tag to compare

Switch

  • updated Switch component new styles ( shout out to @nikk15 )
  • the ability to programmatically switch components off and on

Badge => Pill

  • deprecated Badge component and Pill component are now taking their place.
  • Pill component has a new brand background gradient colors "rainbow" | "cool" | "warm"

Input

  • input component updated with an optional top label (aria-label is applied so html label will be ok to remove)
  • "readonly" option

Button

  • Bug fix: button was wrapping when "squished" when having more than one word in the Button

Radio

  • new react node option to the radio so you can place a custom image/icon after the radio circle and before its label.
  • optional label

Modal component

  • the modal component was used in multiple projects and has now been added to Lilypad, TODO - add fade animation.