Skip to content

Forui 0.6.0

Compare
Choose a tag to compare
@Pante Pante released this 16 Oct 10:13
· 93 commits to main since this release
5151eb4

Additions

  • Add FAccordion.

  • Add FSlider.

  • Add FButtonStyles.ghost.

  • Add FButtonCustomStyle.enabledHoverBoxDecoration.

  • Add FTextField.contentInsertionConfiguration.

  • Add FTextField.mouseCursor.

  • Add FTextField.forceErrorText.

  • Add FIcon.

  • Add FColorScheme.disable(...).

  • Add FColorScheme.disableOpacity.

  • Add FColorScheme.hover(...).

  • Add FColorScheme.enabledHoveredOpacity.

  • Add FChangeNotifier.

  • Add FValueNotifier.

Changes

  • Change button to change color when hovering over it.

  • Change FCalendar year picker to update the header whenever a year is selected.

  • Increase FCalendar's default text size from FTypography.sm to FTypography.base.

  • Breaking Change FBottomNavigationBarItem.label from String to Widget.

  • Breaking Split FCalendarHeaderStyle.iconColor into FCalendarHeaderStyle.enabledIconColor and
    FCalendarHeaderStyle.disabledIconColor.

  • Breaking Change FTextField to use FLabel.

  • Breaking Remove FTextFieldErrorStyle.animatioDuration.

  • Breaking Rename FLabelStateStyle to FLabelStateStyles.

  • Breaking Rename FTextField.onSave to FTextField.onSaved.

  • Breaking Remove FAlertIcon & FAlertIconStyle - use FIcon instead.

  • Breaking Remove FButtonIcon & FAlertIconStyle - use FIcon instead.

  • Breaking Change FButtonCustomStyle to better represent the style's layout - this will only affect users that
    create a custom FButtonCustomStyle.

  • Breaking Change FBottomNavigationBarItem.icon from SvgAsset to Widget - wrap the asset in FIcon instead.

  • Breaking Change FHeaderAction.icon from SvgAsset to Widget - wrap the asset in FIcon instead.

  • Breaking Change FSelectGroup.builder parameters.

  • Breaking Change FBadgeCustomStyle.content to FBadgeCustomStyle.contentStyle.

  • Breaking Change FAvatarStyle.text to FAvatarStyle.textStyle.

  • Breaking Change FDialogStyle.horizontal to FDialogStyle.horizontalStyle.

  • Breaking Change FDialogStyle.selectedLabel to FDialogStyle.selectedLabelTextStyle.

  • Breaking Change FDialogStyle.unselectedLabel to FDialogStyle.unselectedLabelTextStyle.

  • Breaking Change FDividerStyle.horizontal to FDividerStyle.horizontalStyle.

  • Breaking Change FDividerStyle.vertical to FDividerStyle.verticalStyle.

  • Breaking Change FDialogStyle.indicator to FDialogStyle.indicatorDecoration.

  • Breaking Change FHeader.leftActions to FHeader.prefixActions.

  • Breaking Change FHeader.rightActions to FHeader.suffixActions.

  • Breaking Change FLabelStyle.horizontal to FLabelStyle.horizontalStyle.

  • Breaking Change FLabelStyle.vertical to FLabelStyle.verticalStyle.

  • Breaking Change FButtonStyles.outline's background to transparent.

Fixes

  • Fix FBottomNavigationBar items hit region being smaller than intended.

  • Fix FCalendar showing focused outline when pressing and long pressing a date.

  • Fix FCalendar year and month picker applying incorrect initial top padding.

  • Fix FCalendar year and month picker incorrectly calculating start and end dates.

  • Fix FTextfield being vertically larger than intended.

  • Fix FTextfield description text's odd transition animation whenever an error occurs.

  • Fix FSwitch not using correct label style.

  • Fix FCheckbox, FRadio, FSelectGroup, FSwitch and FTextField styles causing the widget inspector to crash.

  • Fix FSelectGroup not applying correct style if a custom widget-specific style is given.