Skip to content

Releases: forus-labs/forui

Forui Hooks 0.8.0

19 Dec 10:20
Compare
Choose a tag to compare

Add support for Forui 0.8.0.

Forui Assets 0.8.0

19 Dec 10:20
Compare
Choose a tag to compare

Bumps minimum Flutter SDK version to 3.27.0.

  • Update icons to Lucide 0.458.0.

Forui 0.8.0

19 Dec 10:21
Compare
Choose a tag to compare

Bump minimum Flutter version to 3.27.0.

Additions

  • Add showFSheet(...).

  • Add showFPersistentSheet(...).

  • Add FModalSheetRoute.

  • Add FSheets.

  • Add FSheets internally to FScaffold.

  • Add truncateAndStripTimezone to FCalendarController.date(...).

  • Add truncateAndStripTimezone to FCalendarController.dates(...).

  • Add truncateAndStripTimezone to FCalendarController.range(...).

  • Add FCalendar.dayBuilder.

  • Add FLineCalendar.

  • Add FTileGroup.builder.

  • Add FSelectTileGroup.builder.

  • Add FSelectMenuTile.builder.

  • Add FScaffold.resizeToAvoidBottomInset.

  • Add FThemeData.debugLabel.

Changes

  • Change FCalendarController.date(...) to automatically strip and truncate all DateTimes to dates in UTC timezone.

  • Change FCalendarController.dates(...) to automatically strip and truncate all DateTimes to dates in UTC timezone.

  • Change FCalendarController.ranges(...) to automatically strip and truncate all DateTimes to dates in UTC timezone.

  • Change FCalendar.start to be optional and default to 1st January 1900.

  • Change FCalendar.end to be optional and default to 1st January 2100.

  • Change FTheme to internally extend InheritedTheme.

  • Change FTileGroup to be scrollable.

  • Change FPopoverMenu to be scrollable.

  • Change FSelectTileGroup to be scrollable.

  • Change FSelectMenuTile to be scrollable.

  • Change ThemeBuildContext to FThemeBuildContext.

  • Breaking Change Layout to FLayout.

  • Breaking Change FLocalizations.of(...) to return FLocalizations? instead of FLocalizations - do FLocalizations.of(...) ?? FDefaultLocalizations().
    This change is sadly needed as Flutter now forcefully regenerates FLocalizations each time flutter pub get is called.

  • Breaking Change FTileData.index to FTileData.last.

  • Breaking Change FPopoverMenu.controller to FPopoverMenu.popoverController.

  • Breaking Change FSelectTileGroup.controller to FSelectTileGroup.groupController.

  • Breaking Change FPopoverController.duration to FPopoverController.animationDuration.

  • Breaking Change FTooltipController.duration to FTooltipController.animationDuration.

  • Breaking Change FTabController.ignoreDirectionalPadding to FTabController.directionPadding.

  • Breaking Change FPopover.ignoreDirectionalPadding to FPopover.directionPadding - the value should be inverted.*

  • Breaking Change FPopoverMenu.ignoreDirectionalPadding to FPopoverMenu.directionPadding - the value should be inverted.

  • Breaking Change FSelectMenuTile.ignoreDirectionalPadding to FSelectMenuTile.directionPadding - the value should be inverted.

Fixes

  • Resolved an issue where FLabel exhibited incorrect padding when used with Axis.horizontal and RTL layouts.

Forui Hooks 0.7.0+1

04 Dec 11:25
Compare
Choose a tag to compare

Update README.md

Forui Assets 0.7.0

15 Nov 05:07
Compare
Choose a tag to compare

0.7.0

This update syncs the version with the forui package.

  • Update icons to Lucide 0.456.0.

Forui 0.7.0

15 Nov 05:09
Compare
Choose a tag to compare

0.7.0

This update adds responsive breakpoints, focused outlines & localization! It also introduces several new tile widgets.

Additions

  • Add FButtonSpinner.

  • Add FBreakpoints.

  • Add FIcon.empty().

  • Add FTappable.

  • Add FTile.

  • Add FTileGroup.

  • Add FSelectMenuTile.

  • Add FSelectTile.

  • Add FSelectTileGroup.

  • Add FCalendarDayPickerStyle.tileSize.

  • Add FPopover.ignoreDirectionalPadding.

  • Add FPopover.tappable(...).

  • Add FPopoverMenu.

  • Add FPortal.offset.

  • Add FLocalizations.

  • Add FFocusedOutline.

  • Add FDialog.adaptive(...).

  • Breaking Add focusedOutlineStyle to FAccordionStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FBottomNavigationBar - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FButtonStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FHeaderActionStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FResizableDividerStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FCheckboxStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FRadioStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedBorder to FTileStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedDividerStyle to FTileStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FTabsStyle - this only affect users which use the primary constructor.

  • Breaking Add focusedOutlineStyle to FSliderThumbStyle - this only affect users which use the primary constructor.

Changes

  • Breaking Change FPopover() to not automatically wrap a target in a GestureDetector - use FPopover.tappable(...)
    instead.

  • Breaking Change FSlider to default to the current text direction instead of Layout.ltr.

  • Change FCalendar to support localization.

Fixes

  • Change FButton's animation to only start on mouse down and up.

  • Fix FLabel not showing error message if label and description are null.

  • Fix FSelectGroup not properly disposing callbacks.

Forui 0.6.1

17 Oct 16:24
Compare
Choose a tag to compare
  • Fix range slider not displaying tooltip for minimum thumb.

Forui Assets 0.3.0

16 Oct 07:33
279296c
Compare
Choose a tag to compare
  • Update icons to Lucide 0.453.0.

Forui 0.6.0

16 Oct 10:13
5151eb4
Compare
Choose a tag to compare

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.

Forui 0.5.1

24 Sep 15:38
Compare
Choose a tag to compare

0.5.1

  • Fix FTabs not showing correct tab entry when switching tabs.
    Issue #203.