Skip to content

Commit

Permalink
Remove usages of '@image' directive (#483)
Browse files Browse the repository at this point in the history
* Remove usages of '@image' directive

* changelog
  • Loading branch information
srawlins committed Oct 12, 2023
1 parent 9f006f2 commit c6d37d8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.0.2]
### 🛠️ Fixed 🛠️
* Fixed images in generated documentation.

## [2.0.1]
### 🔄 Updated 🔄
* `PushButton` has received a facelift. It now mimics the look and feel of native macOS buttons more closely.
Expand Down
1 change: 0 additions & 1 deletion lib/src/indicators/slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const double _kDiscreteThumbBorderRadius = 8;
/// The slider doesn't maintain any state itself, instead the user is expected to
/// update this widget with a new [value] whenever the slider changes.
///
/// {@image <image src="https://developer.apple.com/design/human-interface-guidelines/images/intro/components/slider-intro-dark_2x.png" height="150"/>}
/// {@endtemplate}
class MacosSlider extends StatelessWidget {
/// {@macro macosSlider}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/layout/sidebar/sidebar_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SidebarItem with Diagnosticable {
///
/// Typically a text indicator of a count of items, like in this
/// screenshots from the Apple Notes app:
/// {@image <img src="https://imgur.com/REpW9f9.png" height="88" width="219" />}
/// <img src="https://imgur.com/REpW9f9.png" height="88" width="219" />
final Widget? trailing;

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/layout/tab_view/tab_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ enum MacosTabPosition {
/// {@template macosTabView}
/// A multipage interface that displays one page at a time.
///
/// {@image <image alt='' src='https://docs-assets.developer.apple.com/published/db00e4fdc8/tabview_2x_bf87676c-ac06-41f4-a430-0b95b43cd278.png' width='400' height='400'>}
/// <image alt='' src='https://docs-assets.developer.apple.com/published/db00e4fdc8/tabview_2x_bf87676c-ac06-41f4-a430-0b95b43cd278.png' width='400' height='400' />
///
/// A tab view contains a row of navigational items, [tabs], that move the
/// user through the provided views ([children]). The user selects the desired
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: 2.0.1
version: 2.0.2
homepage: "https://macosui.dev"
repository: "https://github.com/GroovinChip/macos_ui"

Expand Down

0 comments on commit c6d37d8

Please sign in to comment.