Skip to content

Releases: LatitudeFinancialOSS/basis

1.41.0

03 Sep 00:08
Compare
Choose a tag to compare
  • Button component:
    • Added a new color="black" that can be used with variant="secondary".
  • Link component:
    • Added a new variant="black-button" that can be used with appearance="secondary-button".
  • Message component:
    • callToAction cannot be <Button variant="primary"> or <Link appearance="primary-button"> anymore.
  • Removed the primary.blue.b40 color.

1.40.1

31 Aug 00:43
Compare
Choose a tag to compare
  • Message component:
    • When the callToAction is a Button, there is no need now to specify its color (it's set automatically based on the background, but you can override it if you need to).

1.40.0

28 Aug 00:43
Compare
Choose a tag to compare
  • Added a new Message component.
  • Link component:
    • Added a new appearance prop.
    • Removed the following variant options: "primary-blue-button", "primary-green-button", "secondary-blue-button", "icon".
      • variant="primary-blue-button" changed to appearance="primary-button" variant="blue-button"
      • variant="primary-green-button" changed to appearance="primary-button" variant="green-button"
      • variant="secondary-blue-button" changed to appearance="secondary-button" variant="blue-button"
      • variant="icon" changed to appearance="icon"
  • Icon component:
    • Added the following icons:
      • assistance
      • info-or-minor
      • warning-or-significant
      • blocking
      • stop
      • critical
      • success

1.39.0

24 Aug 01:29
Compare
Choose a tag to compare
  • Form component:
    • onSubmit receives a setErrors function now that can be used to programatically set errors on fields (useful when receiving server errors on form submission).

1.38.0

20 Aug 22:50
Compare
Choose a tag to compare
  • Link component:
    • Added a width prop (should be used only when variant is one of the following: "primary-blue-button", "primary-green-button", "secondary-blue-button").
    • Added a state prop (see here).
  • RadioGroup component:
    • Every item in the options array can have a description now.
    • Removed the showCircles prop. Circles are always shown now since it's more accessible.

1.37.0

21 Jul 05:50
Compare
Choose a tag to compare
  • Themes were refactored and are using a different structure now. If you are using a custom theme, you'll have to update it to the new structure. See Button's theme, for example.

1.36.1

10 Jul 04:50
Compare
Choose a tag to compare
  • Container component:
    • flex-grow: 0 is not added by default anymore.
  • Link component:
    • All links have line-height: normal now.
    • Links with variant="icon" are no longer occupy full width.
  • Stack component:
    • Children have display: inline-flex now.

1.36.0

05 Jul 12:01
Compare
Choose a tag to compare
  • Added a :focus-visible polyfill.

1.35.0

30 Jun 06:00
Compare
Choose a tag to compare
  • Link component:
    • Added an onClick prop.

1.34.0

30 Jun 04:25
Compare
Choose a tag to compare
  • Input component:
    • Added a new variant prop that can be "text" (default) or "numeric".
    • Added new numericPrefix and numericSuffix props.
    • Removed the type, min, max and step props.
  • Frequency component:
    • Added a new amountPrefix prop.