diff --git a/.github/workflows/release-please.yml b/.github/workflows/on-main.yml similarity index 96% rename from .github/workflows/release-please.yml rename to .github/workflows/on-main.yml index a3888c2..59cece5 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/on-main.yml @@ -15,6 +15,7 @@ jobs: - uses: google-github-actions/release-please-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} + config-file: release-please-config.json code-quality: runs-on: ubuntu-latest timeout-minutes: 20 diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 648cb0e..fd52dba 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -15,26 +15,22 @@ jobs: - uses: dart-lang/setup-dart@v1 - name: Install Flutter uses: subosito/flutter-action@v2 - with: - flutter-version: "3.19.x" - channel: "stable" - name: Install dependencies run: flutter pub get - name: Format code - run: dart format --fix . + run: | + dart format --fix . + dart fix --apply - name: Check Publish Warnings run: dart pub publish --dry-run - name: Publish run: dart pub publish --force - deploy-preview: - name: Deploy preview version of the example app on firebase + deploy: + name: Deploy the example app on firebase runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 - with: - flutter-version: "3.19.x" - channel: "stable" - name: Setup flutter run: flutter pub get - name: Build example app diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 30796d5..f2df891 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -60,9 +60,6 @@ jobs: id: branch-name uses: tj-actions/branch-names@v7.0.7 - uses: subosito/flutter-action@v2 - with: - flutter-version: "3.19.x" - channel: "stable" - name: Setup flutter run: flutter pub get - name: Lint and format @@ -88,9 +85,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 - with: - flutter-version: "3.19.x" - channel: "stable" - name: Setup flutter run: flutter pub get - name: Build example app diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a8f7122..2601677 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.0.1" + ".": "1.1.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c5acb..345f7a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ - [`21a2bb9`](https://github.com/ZebraDevs/zds_flutter/commit/21a2bb9905cbedf381cb04cf37b31fc4c12275d8) - fix dependency violation. \_(commit by @thelukewalton) +## [1.1.0](https://github.com/ZebraDevs/zds_flutter/compare/1.0.1...v1.1.0) (2024-03-08) + + +### Features + +* Audio player feat: Camera view feat: Video player feat: Star rating feat: Interactive viewer feat: Speed scroll list fix: Add semantics to SplitTabNavigator chore: enable GitHub actions for code quality, preview, release fix: html viewer bugs chore: update dependencies chore: Update icons chore: Update flutter_quill chore: Update translations ([8c86b9c](https://github.com/ZebraDevs/zds_flutter/commit/8c86b9ce527ea64124c4f675bb7752ee0f6144b2)) +* Update to match internal repo ([#6](https://github.com/ZebraDevs/zds_flutter/issues/6)) ([8e04f23](https://github.com/ZebraDevs/zds_flutter/commit/8e04f238c831884750c1dafd08bef9ea060bf0d4)) + + +### Bug Fixes + +* remove voice note option on web ([#7](https://github.com/ZebraDevs/zds_flutter/issues/7)) ([f30410e](https://github.com/ZebraDevs/zds_flutter/commit/f30410e2fb6ad84de85c72c13fdef5efaf7c3937)) + ## [1.0.0] - 2024-01-02 ### :sparkles: New features diff --git a/lib/src/components/organisms/file_preview.dart b/lib/src/components/organisms/file_preview.dart index daa4be1..565d018 100644 --- a/lib/src/components/organisms/file_preview.dart +++ b/lib/src/components/organisms/file_preview.dart @@ -103,8 +103,11 @@ class ZdsFilePreview extends StatelessWidget { Widget _getPreview(double size) { return file.content is GiphyGif - // ignore: avoid_dynamic_calls - ? _getImage(Uri.parse(file.content.images!.previewGif.url as String), size) + ? _getImage( + // ignore: avoid_dynamic_calls + Uri.parse(file.content.images!.previewGif.url as String), + size, + ) : file.isImage() ? _getImage(file.content, size) : _getFile(file); diff --git a/pubspec.yaml b/pubspec.yaml index ab9ce86..e5528d0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: zds_flutter description: Zebra Design System components for Flutter. A selection of UI components from Zebra Technologies. -version: 1.0.1 +version: 1.1.0 homepage: https://github.com/zebradevs/zds_flutter repository: https://github.com/zebradevs/zds_flutter issue_tracker: https://github.com/zebradevs/zds_flutter/issues