Releases: LatitudeFinancialOSS/basis
Releases · LatitudeFinancialOSS/basis
1.13.0
- All form input components:
- Must be inside a
Form
component now. - Require a
name
prop that match a key insideForm
'sinitialValues
. data
andonChange
props were removed.
- Must be inside a
Frequency
component:quarterly
istrue
now by default.- The value of the input is now referred as "amount" rather than "input".
- Renamed
inputPlaceholder
toamountPlaceholder
.
List
component:- Updated styles.
1.12.0
- All form fields:
- Changed
isOptional
tooptional
. - Changed
isDisabled
todisabled
.
- Changed
Button
component:- Changed
isFullWidth
tofullWidth
.
- Changed
Input
component:- Changed
isPasteAllowed
topasteAllowed
.
- Changed
Stepper
component:- Changed
isCompleted
tocompleted
. - Changed
isMinor
tominor
inStepper.Item
. - Changed
isCurrent
tocurrent
inStepper.Item
.
- Changed
- Updated
List
styles.
1.11.0
1.10.1
Frequency
component:- Renamed the
placeholder
prop toinputPlaceholder
. - Added a
selectPlaceholder
prop.
- Renamed the
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 frombasis
anymore. UseuseTheme()
instead.
1.10.0
1.9.0
- Added a new
List
component. Text
component:- The new
textStyle
andas
props replace the oldintent
andsize
props. - When
textStyle
is not specified, it inherits thetextStyle
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.
- The new
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 to0
, likeText
andList
).
- Children are wrapped in a