Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest from dev #517

Merged
merged 166 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
4a47f61
chore: account for latest Flutter:master
GroovinChip Feb 6, 2023
411d00d
fix(example): incorrect variable usage
GroovinChip Feb 6, 2023
96ea16c
Merge branch 'dev' into customer_testing
GroovinChip Feb 13, 2023
2d5a7e0
Version 1.11.1 (#366)
GroovinChip Feb 21, 2023
7afb196
Merge pull request #378 from macosui/stable
GroovinChip Mar 2, 2023
079b51f
When toolbar item is clicked, first pop the route and then call its c…
whiplashoo Mar 3, 2023
3e78c92
Merge branch 'stable' into dev
GroovinChip Mar 3, 2023
fc6a26b
feat: add support for `routerConfig` to `MacosApp.router` (#390)
jtdLab Mar 20, 2023
fcf6ea1
DCM lint updates and related fixes (#393)
GroovinChip Mar 21, 2023
aa82a08
Fix the online gallery link
rxlabz Mar 26, 2023
a52b616
Fix for invalid dates (#402)
eliasyishak Mar 31, 2023
ebf1d06
Merge branch 'customer_testing' into dev
GroovinChip Apr 6, 2023
7de5419
Revert "Merge branch 'customer_testing' into dev"
GroovinChip Apr 6, 2023
5fc566c
Fix: use the `sidebar` and `endSidebar` key parameter (#400)
Maksimka101 Apr 6, 2023
a77d86f
Migrate to macos_window_utils (#377)
Adrian-Samoticha Apr 11, 2023
5269fcd
support flutter 3.10 minimum dart3 (#426)
the-best-is-best May 16, 2023
e99a19b
Update dart_code_metrics.yaml
GroovinChip May 16, 2023
f7e0333
Update dart_code_metrics.yaml
GroovinChip May 17, 2023
b64e2e4
Update dart_code_metrics.yaml
GroovinChip May 17, 2023
f1053fc
Fix EnumProperty test. (#419)
bernaferrari May 17, 2023
15fb991
update dependencies
GroovinChip Jul 3, 2023
3af34b1
update changelog
GroovinChip Jul 3, 2023
a56544a
fix dart version constraint
GroovinChip Jul 3, 2023
2988b94
Rewritten `MacosSwitch` (#409)
GroovinChip Jul 3, 2023
46eb9ca
fix: UX of the click on the calendar elements in `MacosDatePicker` (#…
rklos Jul 3, 2023
32fa64c
fix minor formatting fix
GroovinChip Jul 3, 2023
1df03cb
feat: Added support for `startWeekOnMonday` to `MacosDatePicker` (#414)
rklos Jul 4, 2023
37db0c3
feat: Added support for `dateFormat` to `MacosDatePicker` (#415)
rklos Jul 4, 2023
044af12
feat: Added support for `weekdayAbbreviations` and `monthAbbreviation…
rklos Jul 4, 2023
057b1b8
fix: `ToolBar` title not avoiding traffic lights when no sidebar is p…
GroovinChip Jul 5, 2023
2b9c084
feat: implement `ControlSize` for `PushButton` (#447)
GroovinChip Jul 5, 2023
d85ab84
fix: checkbox appearance (#448)
GroovinChip Jul 5, 2023
331895a
Reorganize gallery, add `MacosTypography.of(context)`, and update `Ma…
GroovinChip Jul 10, 2023
7343ee3
More gallery improvements (#457)
GroovinChip Jul 10, 2023
ebcd257
Typography improvments (#459)
GroovinChip Jul 11, 2023
de3e35c
Non-scrollable `ResizablePane` (#420)
stMerlHin Jul 12, 2023
64472fe
chore: add missing trailing commas & format
GroovinChip Jul 19, 2023
0e8231f
Fix broken web support, platform theming issues, and typography updat…
GroovinChip Jul 19, 2023
d7eaf5b
gallery: remove commented & deprecated code from `main.dart`
GroovinChip Jul 19, 2023
be20db0
2.0: Readme updates (#461)
GroovinChip Jul 19, 2023
34fad11
feat: version `2.0.0` (#462)
GroovinChip Jul 19, 2023
e4d3645
Update CHANGELOG.md
GroovinChip Jul 19, 2023
f7dc715
Update CONTRIBUTING.md
Piinks Jul 31, 2023
8c250ed
Alter copy of mock_canvas to unblock moving to flutter_test
Piinks Jul 31, 2023
a5e8532
Fix compilation errors from mock canvas copy (#468)
Piinks Aug 3, 2023
aae8eb9
automatic changes
Adrian-Samoticha Aug 4, 2023
968cd31
imitate macOS’ push button look
Adrian-Samoticha Aug 6, 2023
b93084c
make push button appear secondary when window resigns main state
Adrian-Samoticha Aug 6, 2023
b4d22f1
migrate to stream builder
Adrian-Samoticha Aug 6, 2023
afc3a9c
fix incorrect text color in push button when window resigns main state
Adrian-Samoticha Aug 6, 2023
ab3092e
add missing comma
Adrian-Samoticha Aug 7, 2023
cb70113
implement `AccentColorListener`
Adrian-Samoticha Aug 7, 2023
6e77ab9
make push button listen to accent color changes
Adrian-Samoticha Aug 7, 2023
ba42d75
add missing comma
Adrian-Samoticha Aug 7, 2023
a549bca
deprecate `PushButtonTheme`
Adrian-Samoticha Aug 7, 2023
ba3d7ce
mimic macOS’ push button click effect
Adrian-Samoticha Aug 7, 2023
07490f0
do not init `WindowMainStateListener` if platform isn’t macOS
Adrian-Samoticha Aug 7, 2023
aa8f90d
do not init `AccentColorListener` if platform isn’t macOS
Adrian-Samoticha Aug 7, 2023
9b95a43
remove unused imports
Adrian-Samoticha Aug 7, 2023
0f52aaa
remove reference to deprecated API in documentation
Adrian-Samoticha Aug 7, 2023
85fe22f
deprecate `pressedOpacity`
Adrian-Samoticha Aug 7, 2023
856bfb0
remove deprecated `pressedOpacity` from `debugFillProperties`
Adrian-Samoticha Aug 7, 2023
3ca7e81
document `AccentColor`
Adrian-Samoticha Aug 7, 2023
3c96252
document `AccentColor` values
Adrian-Samoticha Aug 7, 2023
3d06510
increment version number
Adrian-Samoticha Aug 7, 2023
80bcf9a
add changelog entry for version 2.0.1
Adrian-Samoticha Aug 7, 2023
1c405dc
run pub get
GroovinChip Aug 7, 2023
db6088b
upgrade to macos_window_utils 1.2.0
Adrian-Samoticha Aug 11, 2023
2423822
initialize `_isWindowMain` properly
Adrian-Samoticha Aug 11, 2023
1ef31a8
rename `isWindowMain` to `isMainWindow`
Adrian-Samoticha Aug 11, 2023
f064102
replace `print` with `debugPrint`
Adrian-Samoticha Aug 11, 2023
9040eb9
deprecate properties of `PushButtonThemeData` rather than `PushButton…
Adrian-Samoticha Aug 11, 2023
0df03af
fix typo in `AccentColor` documentation
Adrian-Samoticha Aug 11, 2023
bc32402
fix typo in `AccentColorListener` docs
Adrian-Samoticha Aug 11, 2023
ea6a7e5
automatic changes
Adrian-Samoticha Aug 4, 2023
f01d422
imitate macOS’ push button look
Adrian-Samoticha Aug 6, 2023
d0255e1
make push button appear secondary when window resigns main state
Adrian-Samoticha Aug 6, 2023
5e90519
migrate to stream builder
Adrian-Samoticha Aug 6, 2023
08727e0
fix incorrect text color in push button when window resigns main state
Adrian-Samoticha Aug 6, 2023
0c75ce2
add missing comma
Adrian-Samoticha Aug 7, 2023
7e9e602
implement `AccentColorListener`
Adrian-Samoticha Aug 7, 2023
6a31e1c
make push button listen to accent color changes
Adrian-Samoticha Aug 7, 2023
3eaab39
add missing comma
Adrian-Samoticha Aug 7, 2023
5d230a5
deprecate `PushButtonTheme`
Adrian-Samoticha Aug 7, 2023
c99b3f0
mimic macOS’ push button click effect
Adrian-Samoticha Aug 7, 2023
8196267
do not init `WindowMainStateListener` if platform isn’t macOS
Adrian-Samoticha Aug 7, 2023
555bae6
do not init `AccentColorListener` if platform isn’t macOS
Adrian-Samoticha Aug 7, 2023
b8b22d7
remove unused imports
Adrian-Samoticha Aug 7, 2023
04f2a11
remove reference to deprecated API in documentation
Adrian-Samoticha Aug 7, 2023
7e0f365
deprecate `pressedOpacity`
Adrian-Samoticha Aug 7, 2023
f27803d
remove deprecated `pressedOpacity` from `debugFillProperties`
Adrian-Samoticha Aug 7, 2023
cfacc99
document `AccentColor`
Adrian-Samoticha Aug 7, 2023
5cf616f
document `AccentColor` values
Adrian-Samoticha Aug 7, 2023
23ab438
increment version number
Adrian-Samoticha Aug 7, 2023
4aa2296
add changelog entry for version 2.0.1
Adrian-Samoticha Aug 7, 2023
c39ba50
upgrade to macos_window_utils 1.2.0
Adrian-Samoticha Aug 11, 2023
6a5dbe6
initialize `_isWindowMain` properly
Adrian-Samoticha Aug 11, 2023
6aa9d8a
rename `isWindowMain` to `isMainWindow`
Adrian-Samoticha Aug 11, 2023
db655a7
replace `print` with `debugPrint`
Adrian-Samoticha Aug 11, 2023
2058812
deprecate properties of `PushButtonThemeData` rather than `PushButton…
Adrian-Samoticha Aug 11, 2023
c017df4
fix typo in `AccentColor` documentation
Adrian-Samoticha Aug 11, 2023
5757632
fix typo in `AccentColorListener` docs
Adrian-Samoticha Aug 11, 2023
f767d4d
Merge branch 'macosui-dev' into dev
Adrian-Samoticha Aug 11, 2023
c97b901
remove push button theme test
Adrian-Samoticha Aug 11, 2023
ce55875
Update CHANGELOG.md
Adrian-Samoticha Aug 12, 2023
3c1d16f
change documentation of `WindowMainStateListener`
Adrian-Samoticha Aug 12, 2023
ad79ce5
update documentation
Adrian-Samoticha Aug 12, 2023
a90c980
update documentation
Adrian-Samoticha Aug 12, 2023
d229e15
update documentation
Adrian-Samoticha Aug 12, 2023
7d2ec54
change `var` to `final`
Adrian-Samoticha Aug 12, 2023
a3183b5
update deprecation message
Adrian-Samoticha Aug 12, 2023
92658d9
improve formatting
Adrian-Samoticha Aug 12, 2023
7b81123
improve formatting
Adrian-Samoticha Aug 12, 2023
fb22efa
fix grammatical error in debug print message
Adrian-Samoticha Aug 12, 2023
040b4a0
improve formatting
Adrian-Samoticha Aug 13, 2023
3a8aecb
rename `deinit` methods to `dispose`
Adrian-Samoticha Aug 15, 2023
48c2c26
move `utils.dart` into `utils` directory
Adrian-Samoticha Aug 15, 2023
ce94aa9
move `WindowMainStateListener` to separate file
Adrian-Samoticha Aug 15, 2023
ef8c156
move `AccentColorListener` to separate file
Adrian-Samoticha Aug 15, 2023
7fa0f23
move `MacOSBrightnessOverrideHandler` to separate file
Adrian-Samoticha Aug 15, 2023
3e50ae4
add example to `AccentColorListener`
Adrian-Samoticha Aug 15, 2023
47e6974
rename `isWindowMain` to `isMainWindow`
Adrian-Samoticha Aug 15, 2023
7b9b1b6
add example to `WindowMainStateListener`
Adrian-Samoticha Aug 15, 2023
a4b6c45
replace `child: ...` with `child: …` to avoid confusing the dots with…
Adrian-Samoticha Aug 19, 2023
4bd7d33
Update lib/src/utils/accent_color_listener.dart
Adrian-Samoticha Aug 19, 2023
21ebe83
Update lib/src/utils/accent_color_listener.dart
Adrian-Samoticha Aug 19, 2023
053befb
Update lib/src/utils/accent_color_listener.dart
Adrian-Samoticha Aug 19, 2023
9394422
rename `onChangedStream` to `onChanged`
Adrian-Samoticha Aug 19, 2023
76caa07
move `AccentColorListener` constructor to top of class
Adrian-Samoticha Aug 19, 2023
e8190d6
move `WindowMainStateListener` to top of class
Adrian-Samoticha Aug 19, 2023
673c720
add “Updated” heading to changelog entry for version 2.0.1
Adrian-Samoticha Aug 19, 2023
e78cd55
migrate to `ExcludeSemantics` in popup button
Adrian-Samoticha Aug 19, 2023
9f006f2
Resolve #445 (#471)
Adrian-Samoticha Aug 19, 2023
a74b207
Merge branch 'macosui:dev' into dev
Adrian-Samoticha Sep 30, 2023
523cb67
update `LastUpgradeVersion` and `LastUpgradeCheck` in example
Adrian-Samoticha Sep 30, 2023
4d4519c
fix typo
Adrian-Samoticha Sep 30, 2023
02d504e
format `window.dart`
Adrian-Samoticha Sep 30, 2023
6557d05
improve formatting for `window.dart`
Adrian-Samoticha Sep 30, 2023
97751dc
fix sidebar appearing too dark
Adrian-Samoticha Oct 3, 2023
873807a
make sidebar items adapt their color based on the user’s selected sys…
Adrian-Samoticha Oct 7, 2023
2b1dba1
update changelog entry for version 2.0.1
Adrian-Samoticha Oct 7, 2023
c6d37d8
Remove usages of '@image' directive (#483)
srawlins Oct 12, 2023
328f9cb
Run `pub get`
GroovinChip Oct 12, 2023
b3a8e53
Merge branch 'stable' into dev
GroovinChip Oct 12, 2023
5ec00bc
Added initialTime parameter to MacosTimePicker
Abbas1Hussein Oct 19, 2023
908bb8b
Added a void return type to OnDateChanged
Abbas1Hussein Oct 19, 2023
5e49ad6
automatic changes
Adrian-Samoticha Oct 30, 2023
a2b0656
Merge branch 'dev' of https://github.com/macosui/macos_ui into macosu…
Adrian-Samoticha Oct 30, 2023
73a56fb
Merge branch 'macosui-dev' into dev
Adrian-Samoticha Oct 30, 2023
1f563c0
bump version to 2.0.3
Adrian-Samoticha Oct 30, 2023
ec4a63b
Fix incorrect sidebar and sidebar item color (#484)
Adrian-Samoticha Jan 17, 2024
e0899a6
Merge branch 'macosui:dev' into dev
Adrian-Samoticha Jan 21, 2024
7be94be
Merge branch 'dev' into time_picker
Adrian-Samoticha Jan 21, 2024
cb35862
Merge branch 'time_picker' of https://github.com/Abbas1Hussein/macos_…
Adrian-Samoticha Jan 21, 2024
77f9246
increment version to 2.0.4
Adrian-Samoticha Jan 21, 2024
051bfff
Merge pull request #490 from Abbas1Hussein/time_picker
Adrian-Samoticha Jan 21, 2024
6d24751
Merge pull request #503 from Adrian-Samoticha/Abbas1Hussein-time_picker
Adrian-Samoticha Jan 21, 2024
e2ae2c4
increment version to 2.0.5
Adrian-Samoticha Jan 21, 2024
e9da375
Fix radio button issue (#497)
Abbas1Hussein Jan 21, 2024
37c95be
Issue #505 (#509)
Adrian-Samoticha May 3, 2024
de31bfe
Version 2.0.7 (#511)
Adrian-Samoticha May 5, 2024
e35fdab
fixed text overflow on sidebar item (#513)
faisalansari0367 Aug 13, 2024
7f13dfd
Allow initial expansion of SidebarItem disclosure items (#514)
nu11ptr Aug 31, 2024
715bb24
chore: Update dependencies (#515)
GroovinChip Sep 19, 2024
8b03ef8
Merge branch 'stable' into dev
GroovinChip Sep 19, 2024
6313ee5
chore: remove straggling import
GroovinChip Sep 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix radio button issue (#497)
* Update radio_button.dart

* Update CHANGELOG.md

---------

Co-authored-by: Adrian Samoticha <[email protected]>
  • Loading branch information
Abbas1Hussein and Adrian-Samoticha authored Jan 21, 2024
commit e9da375ec75cf6d484026fe527d0c5ee82a336be
164 changes: 84 additions & 80 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.0.5]
### 🛠️ Fixed 🛠️
* Fixed `MacosRadioButton` check null value issue.

## [2.0.4]
### 🔄 Updated 🔄
* Added `initialTime` parameter to `MacosTimePicker`, allowing to set an initial time for the picker.This provides more customization options for selecting time.
Expand All @@ -16,21 +20,21 @@
## [2.0.1]
### 🔄 Updated 🔄
* `PushButton` has received a facelift. It now mimics the look and feel of native macOS buttons more closely.
* **Note:** As a result, its `pressedOpacity` property and the `PushButtonTheme` class have been deprecated.
* **Note:** As a result, its `pressedOpacity` property and the `PushButtonTheme` class have been deprecated.

## [2.0.0]
### 🚨 Breaking Changes 🚨
* `macos_ui` has been migrated to utilize [macos_window_utils](https://pub.dev/packages/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.
* 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.
* 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
Expand All @@ -41,22 +45,22 @@
* `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`.
* 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`.
* 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`
* 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 `controlSize`s of `ControlSize.large`.
* Docs now suggest that `appIcon` should be of size 64x64.
* `primaryButton` and `secondaryButton` are now required to have `controlSize`s 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
Expand Down Expand Up @@ -96,9 +100,9 @@
## [1.11.0]
* 🚨 Breaking Changes 🚨
* `ResizablePane` can now be vertically resized
* `ResizablePane.startWidth` has been changed to `ResizablePane.startSize`
* `ResizablePane.minWidth` has been changed to `ResizablePane.minSize`
* `ResizablePane.maxWidth` has been changed to `ResizablePane.maxSize`
* `ResizablePane.startWidth` has been changed to `ResizablePane.startSize`
* `ResizablePane.minWidth` has been changed to `ResizablePane.minSize`
* `ResizablePane.maxWidth` has been changed to `ResizablePane.maxSize`

## [1.10.0]
🚨 Breaking Changes 🚨
Expand All @@ -121,8 +125,8 @@ Other changes:
## [1.8.0]
🚨 Breaking Changes 🚨
* `ContentArea.builder` has been changed from a `ScrollableWidgetBuilder` to a `WidgetBuilder` due to
changes in Flutter 3.7. The `MacosScrollbar` widget needs to undergo radical changes in order to achieve the
native macOS scrollbar look and feel in the future, so this will be revisited at that time.
changes in Flutter 3.7. The `MacosScrollbar` widget needs to undergo radical changes in order to achieve the
native macOS scrollbar look and feel in the future, so this will be revisited at that time.

Other changes:
* Per Flutter 3.7.0: Replace deprecated `MacosTextField.toolbarOptions` with `MacosTextField.contextMenuBuilder`
Expand Down Expand Up @@ -151,21 +155,21 @@ Other changes:

## [1.7.0]
* ✨ New
* `MacosImageIcon` widget. Identical to the `ImageIcon` from `flutter/widgets.dart` except it will obey a
`MacosIconThemeData` instead of an `IconThemeData`
* `SidebarItemSize` enum, which determines the height of sidebar items and the maximum size their `leading` widgets.
* `SidebarItem` now accepts an optional `trailing` widget.
* `MacosImageIcon` widget. Identical to the `ImageIcon` from `flutter/widgets.dart` except it will obey a
`MacosIconThemeData` instead of an `IconThemeData`
* `SidebarItemSize` enum, which determines the height of sidebar items and the maximum size their `leading` widgets.
* `SidebarItem` now accepts an optional `trailing` widget.
* 🔄 Updated
* `SidebarItems` now supports `SidebarItemSize` via the `itemSize` property, which defaults to
`SidebarItemSize.medium`. The widget has been updated to manage the item's height, the maximum size of the item's
leading widget, and the font size of the item's label widget according to the given `SidebarItemSize`.
* The example app has been tweaked to use some icons from the SF Symbols 4 Beta via the new `MacosImageIcon` widget.
* `SidebarItems` now supports `SidebarItemSize` via the `itemSize` property, which defaults to
`SidebarItemSize.medium`. The widget has been updated to manage the item's height, the maximum size of the item's
leading widget, and the font size of the item's label widget according to the given `SidebarItemSize`.
* The example app has been tweaked to use some icons from the SF Symbols 4 Beta via the new `MacosImageIcon` widget.

## [1.6.0]
* New widgets: `MacosTabView` and `MacosTabView`
* BREAKING CHANGE: `Label.yAxis` has been renamed to `Label.crossAxisAlignment`
* BREAKING CHANGE: `TooltipTheme` and `TooltipThemeData` have been renamed to `MacosTooltipTheme` and
`MacosTooltipThemeData`
`MacosTooltipThemeData`

## [1.5.1]
* Correct the placement of the leading widget in disclosure sidebar items [#268](https://github.com/GroovinChip/macos_ui/issues/268)
Expand All @@ -185,15 +189,15 @@ leading widget, and the font size of the item's label widget according to the gi

## [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
* 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
* Adds `MacosColor.fromARGB` constructor
* Adds `MacosColor.fromRGBO` constructor
* Adds `alphaBlend` function
* Adds `getAlphaFromOpacity` function

## [1.3.0]
* Add a `top` property to `Sidebar`
Expand All @@ -207,8 +211,8 @@ leading widget, and the font size of the item's label widget according to the gi

## [1.2.0]
* Improved styling for `MacosTooltip`:
* Better color and shadows.
* Displays left-aligned, below the mouse cursor.
* Better color and shadows.
* Displays left-aligned, below the mouse cursor.
* New widget: `ToolBarDivider` that can be used as a divider (vertical/horizontal line) in the `ToolBar` [#231](https://github.com/GroovinChip/macos_ui/issues/231).
* All toolbar widgets can now receive a `tooltipMessage` property to display a `MacosTooltip` when user hovers over them [#232](https://github.com/GroovinChip/macos_ui/issues/232).

Expand All @@ -217,17 +221,17 @@ leading widget, and the font size of the item's label widget according to the gi

## [1.1.0]
* New functionality for `MacosSearchField`
* Shows a list of search results in an overlay below the field
* A result can be selected and customized.
* Shows a list of search results in an overlay below the field
* A result can be selected and customized.
* A `MacosOverlayFilter` widget can now be used to apply the blurry "frosted glass" effect on surfaces.
* New widget: `CustomToolbarItem` that enables any widget to be used in the `Toolbar`.

## [1.0.1]
* Improvements to the graphical `MacosTimePicker`
* Better color gradient on the border
* Better inner shadow
* Minor size adjustments
* API improvements
* Better color gradient on the border
* Better inner shadow
* Minor size adjustments
* API improvements
* Throw an exception if `MacosColorWell` is clicked on a non-macOS platform

## [1.0.0+1]
Expand Down Expand Up @@ -299,9 +303,9 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.10.2]
* Updates to `MacosIconButton` and `MacosBackButton`:
* Added a hover effect when mouse moves over the buttons ([#168](https://github.com/GroovinChip/macos_ui/issues/168))
* Added `hoverColor` property.
* Default shape is now `BoxShape.rectangle` with border radius, as it seems to be the most used in macOS design.
* Added a hover effect when mouse moves over the buttons ([#168](https://github.com/GroovinChip/macos_ui/issues/168))
* Added `hoverColor` property.
* Default shape is now `BoxShape.rectangle` with border radius, as it seems to be the most used in macOS design.

## [0.10.1]
* Added support for transparent sidebar. Please note that changes to `MainFlutterWindow.swift` are required for this to work. [(#175)](https://github.com/GroovinChip/macos_ui/pull/175)
Expand All @@ -315,15 +319,15 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.9.3]
* Update to `PushButton`:
* Added `isSecondary` property
* Added `isSecondary` property

## [0.9.2]
* Nearly all `MouseRegion`s have been updated to use `SystemMouseCursors.basic` in order to more closely adhere to Apple norms
* `mouseCursor` properties have been added to most buttons

## [0.9.1]
* Added top-level theming for `MacosIconButton`
* Introduces the `MacosIconButtonTheme` InheritedTheme and the `MacosIconButtonThemeData` theme class
* Introduces the `MacosIconButtonTheme` InheritedTheme and the `MacosIconButtonThemeData` theme class
* Updates `MacosThemeData` and `MacosIconButton` to use the new `MacosIconButtonThemeData`
* Removes an unnecessary setting of VisualDensity from `MacosThemeData.dark()`

Expand All @@ -332,10 +336,10 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.8.2]
* Updates to `MacosListTile`:
* Added `leadingWhitespace` property
* Added `onClick` callback
* Added `onLongPress` callback
* Added `mouseCursor` property
* Added `leadingWhitespace` property
* Added `onClick` callback
* Added `onLongPress` callback
* Added `mouseCursor` property

## [0.8.1]
* Fix the outer border of `MacosSheet` not having a border radius
Expand Down Expand Up @@ -397,16 +401,16 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.3.0]
* Add `MacosPrefix` to widgets/classes with names that overlap with the material/cupertino libraries:
* `TextField` -> `MacosTextField`
* `Scaffold` -> `MacosTextField`
* `IconButton` -> `MacosIconButton`
* `BackButton` -> `MacosBackButton`
* `Scrollbar` -> `MacosScrollbar`
* `Checkbox` -> `MacosCheckbox`
* `RadioButton` -> `MacosRadioButton`
* `Tooltip` -> `MacosTooltip`
* `Typography` -> `MacosTypography`
* `Switch` -> `MacosSwitch`
* `TextField` -> `MacosTextField`
* `Scaffold` -> `MacosTextField`
* `IconButton` -> `MacosIconButton`
* `BackButton` -> `MacosBackButton`
* `Scrollbar` -> `MacosScrollbar`
* `Checkbox` -> `MacosCheckbox`
* `RadioButton` -> `MacosRadioButton`
* `Tooltip` -> `MacosTooltip`
* `Typography` -> `MacosTypography`
* `Switch` -> `MacosSwitch`

## [0.2.4]
* Fix text field prefix icon alignment
Expand All @@ -420,9 +424,9 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.2.1]
* `IconButton` updates:
- The `color` property is now `backgroundColor`
- The widget now takes a `Widget icon` rather than `IconData iconData` for better control over widget properties
- Deprecate and remove internal `foregroundColor` value
- The `color` property is now `backgroundColor`
- The widget now takes a `Widget icon` rather than `IconData iconData` for better control over widget properties
- Deprecate and remove internal `foregroundColor` value

## [0.2.0]
* New widget: `BackButton`, `IconButton`
Expand All @@ -439,9 +443,9 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.1.2]
* Updated the theme api
* Properties in `MacosThemeData` and in `Typography` can't be null
* Renamed `DynamicColorX` to `MacosDynamicColor`
* Added the method `lerp` on all theme data classes.
* Properties in `MacosThemeData` and in `Typography` can't be null
* Renamed `DynamicColorX` to `MacosDynamicColor`
* Added the method `lerp` on all theme data classes.

## [0.1.1]
* Implemented `Label` ([#61](https://github.com/GroovinChip/macos_ui/issues/61))
Expand Down Expand Up @@ -488,12 +492,12 @@ leading widget, and the font size of the item's label widget according to the gi

## [0.0.4]
* Major theme refactor that more closely resembles flutter/material and flutter/cupertino
* The `Style` class is now `MacosThemeData`
* `MacosTheme` is now a `StatelessWidget` that returns a private `_InheritedMacosTheme`.
The static `MacosTheme.of(context)` is now defined here.
* `MacosApp` now takes a `theme` and `darkTheme` rather than `style` and `darkStyle`.
Additionally, there are minor changes to the way `MacosApp` is built that more closely
resemble how `MaterialApp` is built.
* The `Style` class is now `MacosThemeData`
* `MacosTheme` is now a `StatelessWidget` that returns a private `_InheritedMacosTheme`.
The static `MacosTheme.of(context)` is now defined here.
* `MacosApp` now takes a `theme` and `darkTheme` rather than `style` and `darkStyle`.
Additionally, there are minor changes to the way `MacosApp` is built that more closely
resemble how `MaterialApp` is built.

## [0.0.3]

Expand All @@ -509,6 +513,6 @@ leading widget, and the font size of the item's label widget according to the gi
## [0.0.1]

* Project creation
* `MacosApp` widget
* Basic `Typography`
* Basic theming via `MacosTheme` and `Style`
* `MacosApp` widget
* Basic `Typography`
* Basic theming via `MacosTheme` and `Style`
2 changes: 1 addition & 1 deletion lib/src/buttons/radio_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class MacosRadioButton<T> extends StatelessWidget {
final MacosThemeData theme = MacosTheme.of(context);
final isLight = !theme.brightness.isDark;
return GestureDetector(
onTap: () => onChanged!(value),
onTap: isDisabled ? null : () => onChanged!(value),
child: Semantics(
checked: selected,
label: semanticLabel,
Expand Down