From 5816cf52a779acc4613c2d2da28b97c511360cc2 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 26 Mar 2020 11:19:23 -0400 Subject: [PATCH 1/2] fix(modal): properly target card modal for iPadOS styles (#20884) --- core/src/components/modal/modal.ios.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/modal/modal.ios.scss b/core/src/components/modal/modal.ios.scss index 4fa1a57c64..dc83c5cfbe 100644 --- a/core/src/components/modal/modal.ios.scss +++ b/core/src/components/modal/modal.ios.scss @@ -53,7 +53,7 @@ } @media screen and (min-width: 768px) { - :host { + :host(.modal-card) { --width: calc(100% - 120px); --height: calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom))); --max-width: 720px; From af1a6d6d6d2c310ce7a6e17f27ff15f8b7fe11aa Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 26 Mar 2020 11:30:32 -0400 Subject: [PATCH 2/2] 5.0.7 --- CHANGELOG.md | 9 +++++++++ angular/package.json | 4 ++-- core/package.json | 2 +- docs/package.json | 2 +- packages/angular-server/package.json | 4 ++-- packages/react-router/package.json | 10 +++++----- packages/react/package.json | 4 ++-- 7 files changed, 22 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9614c8e6e5..e1e0be10de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [5.0.7](https://github.com/ionic-team/ionic/compare/v5.0.6...v5.0.7) (2020-03-26) + + +### Bug Fixes + +* **modal:** properly target card modal for iPadOS styles ([#20884](https://github.com/ionic-team/ionic/issues/20884)) ([5816cf5](https://github.com/ionic-team/ionic/commit/5816cf52a779acc4613c2d2da28b97c511360cc2)) + + + ## [5.0.6](https://github.com/ionic-team/ionic/compare/v5.0.5...v5.0.6) (2020-03-25) diff --git a/angular/package.json b/angular/package.json index a50b4ea911..8e846147e1 100644 --- a/angular/package.json +++ b/angular/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/angular", - "version": "5.0.6", + "version": "5.0.7", "description": "Angular specific wrappers for @ionic/core", "keywords": [ "ionic", @@ -42,7 +42,7 @@ "validate": "npm i && npm run lint && npm run test && npm run build" }, "dependencies": { - "@ionic/core": "5.0.6", + "@ionic/core": "5.0.7", "tslib": "^1.9.3" }, "peerDependencies": { diff --git a/core/package.json b/core/package.json index dc8ba7612d..1a391f6937 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/core", - "version": "5.0.6", + "version": "5.0.7", "description": "Base components for Ionic", "keywords": [ "ionic", diff --git a/docs/package.json b/docs/package.json index 906c81e3f6..a7a2dae8e3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/docs", - "version": "5.0.6", + "version": "5.0.7", "description": "Pre-packaged API documentation for the Ionic docs.", "main": "core.json", "types": "core.d.ts", diff --git a/packages/angular-server/package.json b/packages/angular-server/package.json index 29ddffd852..2327fb209a 100644 --- a/packages/angular-server/package.json +++ b/packages/angular-server/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/angular-server", - "version": "5.0.6", + "version": "5.0.7", "description": "Angular SSR Module for Ionic", "keywords": [ "ionic", @@ -49,7 +49,7 @@ "@angular/core": "8.2.13", "@angular/platform-browser": "8.2.13", "@angular/platform-server": "8.2.13", - "@ionic/core": "5.0.6", + "@ionic/core": "5.0.7", "ng-packagr": "5.7.1", "tslint": "^5.12.1", "tslint-ionic-rules": "0.0.21", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 5fcaeb2462..57f624dd62 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/react-router", - "version": "5.0.6", + "version": "5.0.7", "description": "React Router wrapper for @ionic/react", "keywords": [ "ionic", @@ -39,16 +39,16 @@ "tslib": "*" }, "peerDependencies": { - "@ionic/core": "5.0.6", - "@ionic/react": "5.0.6", + "@ionic/core": "5.0.7", + "@ionic/react": "5.0.7", "react": "^16.8.6", "react-dom": "^16.8.6", "react-router": "^5.0.1", "react-router-dom": "^5.0.1" }, "devDependencies": { - "@ionic/core": "5.0.6", - "@ionic/react": "5.0.6", + "@ionic/core": "5.0.7", + "@ionic/react": "5.0.7", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", diff --git a/packages/react/package.json b/packages/react/package.json index 2e01187432..23bdf1f14c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/react", - "version": "5.0.6", + "version": "5.0.7", "description": "React specific wrapper for @ionic/core", "keywords": [ "ionic", @@ -39,7 +39,7 @@ "css/" ], "dependencies": { - "@ionic/core": "5.0.6", + "@ionic/core": "5.0.7", "ionicons": "^5.0.1", "tslib": "*" },