Skip to content

Releases: LatitudeFinancialOSS/basis

1.13.0

20 Feb 06:23
Compare
Choose a tag to compare
  • All form input components:
    • Must be inside a Form component now.
    • Require a name prop that match a key inside Form's initialValues.
    • data and onChange props were removed.
  • Frequency component:
    • quarterly is true now by default.
    • The value of the input is now referred as "amount" rather than "input".
    • Renamed inputPlaceholder to amountPlaceholder.
  • List component:
    • Updated styles.

1.12.0

11 Feb 12:11
Compare
Choose a tag to compare
  • All form fields:
    • Changed isOptional to optional.
    • Changed isDisabled to disabled.
  • Button component:
    • Changed isFullWidth to fullWidth.
  • Input component:
    • Changed isPasteAllowed to pasteAllowed.
  • Stepper component:
    • Changed isCompleted to completed.
    • Changed isMinor to minor in Stepper.Item.
    • Changed isCurrent to current in Stepper.Item.
  • Updated List styles.

1.11.0

11 Feb 01:25
Compare
Choose a tag to compare
  • Removed the sizes scale from theme.
  • Updated Header and Footer styles.
  • Updated the xs breakpoint from 380px to 375px.
  • Removed width and height props in Flex, and added a fullHeight prop.
  • Added type="steps" to List.
  • Replaced DemoBlock with Placeholder.

1.10.1

06 Feb 10:20
Compare
Choose a tag to compare
  • Frequency component:
    • Renamed the placeholder prop to inputPlaceholder.
    • Added a selectPlaceholder prop.
  • Select component:
    • If the component is not optional, the placeholder is not visible now once user makes a selection.
  • Footer component:
    • Added a social YouTube icon.
  • designTokens are not exported from basis anymore. Use useTheme() instead.

1.10.0

04 Feb 02:10
Compare
Choose a tag to compare
  • Added a textStyle prop to Container.
  • Added margin, width, and wrap props to Flex.
  • Added variant and title props to Link.
  • Added social links to the Footer.
  • Nested List type is inherited now from the parent's List.

1.9.0

01 Feb 11:38
Compare
Choose a tag to compare
  • Added a new List component.
  • Text component:
    • The new textStyle and as props replace the old intent and size props.
    • When textStyle is not specified, it inherits the textStyle set by the closest parent (e.g. List) before reaching to the default "body1".
    • The weight prop was removed. Just wrap the text with <strong> (or <b>) instead.
  • Flex component:
    • Children are wrapped in a <div> now. This helps to set the gutter between flex items (especially for those items that reset the margin to 0, like Text and List).

1.8.2

24 Jan 03:02
Compare
Choose a tag to compare
  • Added isPasteAllowed prop to Input.

1.8.1

23 Jan 01:47
Compare
Choose a tag to compare
  • Flex doesn't wrap its children with a <div> anymore when gutter isn't provided.
  • Reverted Select's isFullWidth to be true by default.

1.8.0

22 Jan 12:18
Compare
Choose a tag to compare
  • Added a Flex component.
  • Changed Button's and Select's isFullWidth to be false by default.

1.7.0

20 Jan 04:03
Compare
Choose a tag to compare
  • Added a responsive textAlign prop to Container.
  • Text has a default align="inherit" now (so it inherits the text alignment from its Container).