8000 Version 1.7.3 by GroovinChip · Pull Request #293 · macosui/macos_ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Version 1.7.3 #293

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

Merged
merged 41 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6e3aa4c
Sidebar top (#244)
GroovinChip May 11, 2022
41c56a2
chore: update issue templates
GroovinChip May 11, 2022
de258e5
chore: update pr_prelaunch script
GroovinChip May 11, 2022
4bb29a8
Merge branch 'stable' into dev
GroovinChip May 11, 2022
e4c37d6
Flutter 3 upgrade & MacosColor update (#248)
GroovinChip May 13, 2022
ac6870c
Merge branch 'stable' into dev
GroovinChip May 13, 2022
ab47743
Starter app (#251)
GroovinChip May 13, 2022
880c308
Full screen opaque toolbar issue (closes #249) (#252)
whiplashoo May 16, 2022
eb06cc4
Merge branch 'stable' into dev
GroovinChip May 16, 2022
77778ed
Version 1.4.1 (#255)
GroovinChip May 16, 2022
ee2297f
Merge branch 'stable' into dev
GroovinChip May 16, 2022
ba99684
Merge branch 'stable' into dev
GroovinChip May 16, 2022
3f0d09e
chore: repository, homepage fields
GroovinChip May 16, 2022
3f6d9ac
Merge branch 'stable' into dev
GroovinChip May 16, 2022
1857b58
chore: update readme
GroovinChip May 16, 2022
1dbab59
feat(starter_app): Version 1.1.0 8000
GroovinChip May 16, 2022
99cce50
feat(starter_app): multi-window support
GroovinChip May 17, 2022
a7b34dd
feat: starter_app 1.2.1
GroovinChip May 21, 2022
f6cb9cd
chore: move brick to its own repo & go back to old pana action
GroovinChip May 23, 2022
a4e85c3
Expand remaining part of row in MacosListTile (#265)
jonsaw Jun 24, 2022
6d89861
End sidebar (#267)
GroovinChip Jun 26, 2022
9b8f75d
Merge branch 'stable' into dev
GroovinChip Jun 30, 2022
098c22f
fix: Correct the placement of the leading widget in disclosure sideba…
GroovinChip Jul 1, 2022
c7719c2
chore: Update changelog
GroovinChip Jul 2, 2022
5687498
test: fix issues with date_picker_test
GroovinChip Jul 7, 2022
f09843c
Update Actions (#279)
GroovinChip Jul 7, 2022
d534f79
Version 1.6.0 - `MacosTabView` & `MacosSegmentedControl` (#273)
GroovinChip Jul 9, 2022
4f13234
Version 1.7.0: `MacosImageIcon` & sidebar updates (#274)
GroovinChip Jul 10, 2022
fa1deed
Merge branch 'stable' into dev
GroovinChip Jul 10, 2022
1d33004
chore: fix typo in pr template
GroovinChip Jul 10, 2022
7487f97
feat: gh action to auto-generate releases on push to stable
GroovinChip Jul 10, 2022
91de6b7
Merge branch 'stable' into dev
GroovinChip Jul 10, 2022
85eaed4
chore: update release action with latest from stable
GroovinChip Jul 10, 2022
285c398
feat: add action to publish to pub
GroovinChip Jul 10, 2022
6c90a36
docs: update readme
GroovinChip Jul 9, 2022
eae4c3d
fix: 1.7.1
GroovinChip Jul 27, 2022
085c44c
Merge branch 'stable' into dev
GroovinChip Jul 27, 2022
92f0b00
Tab view padding (#285)
stMerlHin Aug 14, 2022
4f538ef
fix: use prepared title wrapped with a DefaultTextStyle instead of th…
jtdLab Aug 15, 2022
53c1d24
chore: fix typo
GroovinChip Aug 17, 2022
22f3fb9
Merge branch 'stable' into v1.7.3
GroovinChip Aug 17, 2022
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.7.3]
* Fixed an issue where the `title` property of `TitleBar` did not apply a fitting `DefaultTextStyle`

## [1.7.2]
* Add padding as parameter to MacosTabView constructor.

## [1.7.1]
* Fixed an issue where end sidebar window breakpoints were not respected

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.7.1"
version: "1.7.3"
matcher:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions lib/src/indicators/relevance_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RelevanceIndicator extends StatelessWidget {
this.barHeight = 20,
this.barWidth = 0.8,
this.selectedColor = CupertinoColors.label,
this.unselectedolor = CupertinoColors.secondaryLabel,
this.unselectedColor = CupertinoColors.secondaryLabel,
this.semanticLabel,
}) : assert(value >= 0 && value <= amount),
assert(amount > 0),
Expand All @@ -46,7 +46,7 @@ class RelevanceIndicator extends StatelessWidget {

/// The color of each bar when it's not selected. [CupertinoColors.secondaryLabel]
/// is used by default
final Color unselectedolor;
final Color unselectedColor;

/// The semantic label used by screen readers.
final String? semanticLabel;
Expand All @@ -59,7 +59,7 @@ class RelevanceIndicator extends StatelessWidget {
properties.add(DoubleProperty('barHeight', barHeight));
properties.add(DoubleProperty('barWidth', barWidth));
properties.add(ColorProperty('selectedColor', selectedColor));
properties.add(ColorProperty('unselectedColor', unselectedolor));
properties.add(ColorProperty('unselectedColor', unselectedColor));
properties.add(StringProperty('semanticLabel', semanticLabel));
}

Expand All @@ -79,7 +79,7 @@ class RelevanceIndicator extends StatelessWidget {
width: barWidth,
margin: EdgeInsets.only(right: index + 1 == amount ? 0 : 2.5),
color: MacosDynamicColor.resolve(
selected ? selectedColor : unselectedolor,
selected ? selectedColor : unselectedColor,
context,
),
);
Expand Down
8 changes: 7 additions & 1 deletion lib/src/layout/tab_view/tab_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class MacosTabView extends StatefulWidget {
required this.tabs,
required this.children,
this.position = MacosTabPosition.top,
this.padding = const EdgeInsets.all(12.0),
}) : assert(controller.length == children.length &&
controller.length == tabs.length);

Expand All @@ -60,6 +61,11 @@ class MacosTabView extends StatefulWidget {
/// The placement of the [tabs], typically [MacosTabPosition.top].
final MacosTabPosition position;

/// The padding of the tab view widget.
///
/// Defaults to `EdgeInsets.all(12.0)`.
final EdgeInsetsGeometry padding;

@override
State<MacosTabView> createState() => _MacosTabViewState();
}
Expand Down Expand Up @@ -153,7 +159,7 @@ class _MacosTabViewState extends State<MacosTabView> {
alignment: Alignment.center,
children: [
Padding(
padding: const EdgeInsets.all(12.0),
padding: widget.padding,
child: DecoratedBox(
decoration: BoxDecoration(
color: brightness.resolve(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/layout/title_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class TitleBar extends StatelessWidget {
gradient: decoration?.gradient,
),
child: NavigationToolbar(
middle: title,
middle: _title,
centerMiddle: centerTitle,
middleSpacing: 8,
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: macos_ui
description: Flutter widgets and themes implementing the current macOS design language.
version: 1.7.1
version: 1.7.3
homepage: "https://macosui.dev"
repository: "https://github.com/GroovinChip/macos_ui"

Expand Down
0