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

Version 2.0.0 #463

Merged
merged 43 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 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
6e7b25e
Merge branch 'stable' into v2_conflicts
GroovinChip Jul 19, 2023
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
16 changes: 10 additions & 6 deletions .github/workflows/dart_code_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run Dart Code Metrics
uses: dart-code-checker/dart-code-metrics-action@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Set Up DCM
run: flutter pub get
- uses: CQLabs/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_comment: true
fatal_warnings: true
fatal_performance: true
fatal_style: true

- run: dcm analyze --ci-key="${{ secrets.DCM_CI_KEY }}" --email="${{ secrets.DCM_EMAIL }}" lib
4 changes: 0 additions & 4 deletions .github/workflows/flutter_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@ jobs:

- name: Analyze code
run: flutter analyze --fatal-infos .

- name: Test code
run: flutter test

19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Flutter Analysis
on: [pull_request, workflow_dispatch]

jobs:
package-analysis:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Install dependencies
run: flutter pub get

- name: Test code
run: flutter test
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
## [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.

* 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 `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
* `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
* `ToolBar`s 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

## [1.12.5]
* Fixed a bug where the `Sidebar.key` parameter wasn't used, which caused certain layouts to be unachievable.

## [1.12.4]
* Default the `_selectedDay` state variable to be 1 when selecting the previous/next month from widget to ensure new date is valid for `_formatAsDateTime()` method (https://github.com/flutter/flutter/issues/123669 & https://github.com/macosui/macos_ui/pull/402)

## [1.12.3]
* Added support for `routerConfig` to `MacosApp.router`. ([#388](https://github.com/macosui/macos_ui/issues/388))

## [1.12.2]
* Fixed a bug where clicking on a overflowed toolbar item with a navigation callback wouldn't work ([#346](https://github.com/GroovinChip/macos_ui/issues/346)).

Expand Down
Loading