macos_ui

Flutter widgets and themes implementing the current macOS design language.

MIT License

Stars
1.8K
Committers
35

Bot releases are visible (Hide)

macos_ui - Version 2.0.2 Latest Release

Published by github-actions[bot] about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/macosui/macos_ui/compare/2.0.0...2.0.2

macos_ui - Version 2.0.0

Published by github-actions[bot] over 1 year ago

What's Changed

🚨 Breaking Changes 🚨

  • macos_ui has been migrated to utilize macos_window_utils under the hood, which provides the following benefits:

    • Window animation smoothness is drastically improved, particularly when miniaturizing and deminiaturizing the application window.
    • Some visual artifacts that occurred while the window was being (de)miniaturized (such as the application's shadow going missing) no longer occur.
    • The sidebar remains transparent when the app's brightness setting mismatches the OS setting.
    • Wallpaper tinting is now supported.
    • To migrate an existing application, please refer to the “Modern window look” section in the README.
  • Support for Flutter 3.10 and Dart 3

  • PushButton has been updated to support the ControlSize enum.

    • The buttonSize property has been changed to controlSize.
    • Buttons can now be any of the following sizes: mini, small, regular, or large.
  • PushButton.isSecondary is now PushButton.secondary.

  • MacosAlertDialog: primaryButton and secondaryButton are now declared to be of type PushButton.

  • RelevanceIndicator has been deprecated

  • MacosTypography white and black are now factory constructors called darkOpaque() and lightOpaque() to reflect
    Apple's naming conventions.

✨ New ✨

  • MacosSwitch has been completely rewritten and now matches the native macOS switch in appearance and behavior.
  • A ControlSize enum has been introduced, which will allow widgets to more closely match their native counterparts.
  • MacosTypography
    • You can now call MacosTypography.of(context) as a shorthand for retrieving the typography used in your MacosTheme.
    • MacosFontWeight allows using Apple-specific font weights like w510, w590, and w860.
  • Localization
    • Added support for weekdayAbbreviations and monthAbbreviations to MacosDatePicker.
    • Added support for dateFormat to MacosDatePicker.
    • Added support for startWeekOnMonday to MacosDatePicker.

🔄 Updated 🔄

  • MacosColor has been updated with some previously missing elements.
  • PushButton
    • Now uses the correct body text style instead of the incorrect headline
  • PushButton's secondary and disabled colors more closely match their native counterparts.
  • MacosCheckbox appearance more closely matches its native counterpart.
  • MacosAlertDialog
    • primaryButton and secondaryButton are now required to have controlSizes of ControlSize.large.
    • Docs now suggest that appIcon should be of size 64x64.
  • Toolbar now uses the correct title3 text style instead of the incorrect headline
  • MacosTheme sets the global typography more efficiently
  • HelpButton now sizes itself according to specification
  • ResizablePane can now disallow the usage of its internal scrollbar via the ReziablePane.noScrollBar constructor.

🛠️ Fixed 🛠️

  • Clicking on the calendar elements in MacosDatePicker has better UX
  • ToolBars in use where a SideBar is not present will now have their title's avoid the traffic lights (native window controls).
  • MacosTypography.darkOpaque() and MacosTypography.lightOpaque() now conform to specification by using MacosColors.labelColor
  • Ensure builds targeting web do not utilize any macos_window_utils code
  • Ensure builds targeting web are themed correctly

New Contributors

Full Changelog: https://github.com/macosui/macos_ui/compare/1.12.2...2.0.0

macos_ui - Version 1.12.2

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/macosui/macos_ui/compare/1.12.1...1.12.2

macos_ui - Version 1.12.1+1

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/macosui/macos_ui/compare/1.12.1...1.12.1+1

macos_ui - Version 1.12.1

Published by github-actions[bot] over 1 year ago

What's Changed

Full Changelog: https://github.com/macosui/macos_ui/compare/1.12.0...1.12.1

macos_ui - Version 1.12.0

Published by github-actions[bot] over 1 year ago

What's Changed

Full Changelog: https://github.com/macosui/macos_ui/compare/1.11.1...1.12.0

macos_ui - Version 1.11.1

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/macosui/macos_ui/compare/1.10.0...1.11.1

macos_ui - Version 1.10.0

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.9.1...1.10.0

macos_ui - Version 1.9.1

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.9.0...1.9.1

macos_ui - Version 1.9.0

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.7.6...1.9.0

macos_ui - Version 1.7.6

Published by github-actions[bot] almost 2 years ago

What's Changed

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.7.5...1.7.6

macos_ui - Version 1.7.5

Published by github-actions[bot] about 2 years ago

macos_ui - Version 1.7.4

Published by github-actions[bot] about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.7.1...1.7.4

macos_ui - Version 1.7.3

Published by github-actions[bot] about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.7.1...1.7.3

macos_ui - Version 1.7.1

Published by github-actions[bot] about 2 years ago

  • Fixed an issue where end sidebar window breakpoints were not respected
macos_ui - Version 1.7.0

Published by GroovinChip over 2 years ago

What's Changed

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.4.1...1.7.0

macos_ui - Version 1.6.0

Published by GroovinChip over 2 years ago

macos_ui - 1.5.1

Published by GroovinChip over 2 years ago

What's Changed

Full Changelog: https://github.com/GroovinChip/macos_ui/compare/1.4.1...1.5.1

macos_ui - 1.4.1

Published by GroovinChip over 2 years ago

#252

macos_ui - 1.4.0

Published by GroovinChip over 2 years ago

[1.4.0]

  • Migration to Flutter 3.0
    • Minimum dart sdk version is now 2.17.0
    • Use new super parameters feature
    • Update to flutter_lints: ^2.0.1 with subsequent fixes
    • MacosScrollbar API more closely matches its material counterpart
  • Update MacosColor to more closely match the Color class
    • Adds MacosColor.fromARGB constructor
    • Adds MacosColor.fromRGBO constructor
    • Adds alphaBlend function
    • Adds getAlphaFromOpacity function