This commit is contained in:
Ely Lucas
2020-01-13 09:52:21 -07:00
parent 8a5aba2068
commit 023b835d16
8 changed files with 28 additions and 19 deletions

View File

@ -1,3 +1,14 @@
## [4.11.8](https://github.com/ionic-team/ionic/compare/v4.11.7...v4.11.8) (2020-01-13)
### Bug Fixes
* **react:** add missing react memory router ([8a5aba2](https://github.com/ionic-team/ionic/commit/8a5aba206865ce2af7f8bb85f4e7cd8dec37831d))
* **react:** fixing type of icon in ToastOptions, ActionSheetOptions, fixes [#20100](https://github.com/ionic-team/ionic/issues/20100) ([857bab6](https://github.com/ionic-team/ionic/commit/857bab66419a851c6d189cd1456cd67c1c2d934c))
* **react:** supporting ios and md props on icons ([#20170](https://github.com/ionic-team/ionic/issues/20170)) ([676cc19](https://github.com/ionic-team/ionic/commit/676cc19b89cd6374346aaac9cc3292872c7148fa))
## [4.11.7](https://github.com/ionic-team/ionic/compare/v4.11.6...v4.11.7) (2019-12-12) ## [4.11.7](https://github.com/ionic-team/ionic/compare/v4.11.6...v4.11.7) (2019-12-12)

View File

@ -1,6 +1,6 @@
{ {
"name": "@ionic/angular", "name": "@ionic/angular",
"version": "4.11.7", "version": "4.11.8",
"description": "Angular specific wrappers for @ionic/core", "description": "Angular specific wrappers for @ionic/core",
"keywords": [ "keywords": [
"ionic", "ionic",
@ -49,7 +49,7 @@
"css/" "css/"
], ],
"dependencies": { "dependencies": {
"@ionic/core": "4.11.7", "@ionic/core": "4.11.8",
"tslib": "^1.9.3" "tslib": "^1.9.3"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@ionic/core", "name": "@ionic/core",
"version": "4.11.7", "version": "4.11.8",
"description": "Base components for Ionic", "description": "Base components for Ionic",
"keywords": [ "keywords": [
"ionic", "ionic",

View File

@ -127,7 +127,6 @@ async function presentActionSheet() {
```typescript ```typescript
import React, { useState } from 'react' import React, { useState } from 'react'
import { IonActionSheet, IonContent, IonButton } from '@ionic/react'; import { IonActionSheet, IonContent, IonButton } from '@ionic/react';
import { trash, share, close, arrowDroprightCircle, heart } from 'ionicons/icons';
export const ActionSheetExample: React.FC = () => { export const ActionSheetExample: React.FC = () => {
@ -142,31 +141,31 @@ export const ActionSheetExample: React.FC = () => {
buttons={[{ buttons={[{
text: 'Delete', text: 'Delete',
role: 'destructive', role: 'destructive',
icon: trash, icon: 'trash',
handler: () => { handler: () => {
console.log('Delete clicked'); console.log('Delete clicked');
} }
}, { }, {
text: 'Share', text: 'Share',
icon: share, icon: 'share',
handler: () => { handler: () => {
console.log('Share clicked'); console.log('Share clicked');
} }
}, { }, {
text: 'Play (open modal)', text: 'Play (open modal)',
icon: arrowDroprightCircle, icon: 'arrow-dropright-circle',
handler: () => { handler: () => {
console.log('Play clicked'); console.log('Play clicked');
} }
}, { }, {
text: 'Favorite', text: 'Favorite',
icon: heart, icon: 'heart',
handler: () => { handler: () => {
console.log('Favorite clicked'); console.log('Favorite clicked');
} }
}, { }, {
text: 'Cancel', text: 'Cancel',
icon: close, icon: 'close',
role: 'cancel', role: 'cancel',
handler: () => { handler: () => {
console.log('Cancel clicked'); console.log('Cancel clicked');

View File

@ -117,7 +117,6 @@ async function presentToastWithOptions() {
```tsx ```tsx
import React, { useState } from 'react'; import React, { useState } from 'react';
import { IonToast, IonContent, IonButton } from '@ionic/react'; import { IonToast, IonContent, IonButton } from '@ionic/react';
import { star } from 'ionicons/icons';
export const ToastExample: React.FC = () => { export const ToastExample: React.FC = () => {
const [showToast1, setShowToast1] = useState(false); const [showToast1, setShowToast1] = useState(false);
@ -142,7 +141,7 @@ export const ToastExample: React.FC = () => {
buttons={[ buttons={[
{ {
side: 'start', side: 'start',
icon: star, icon: 'star',
text: 'Favorite', text: 'Favorite',
handler: () => { handler: () => {
console.log('Favorite clicked'); console.log('Favorite clicked');

View File

@ -1,6 +1,6 @@
{ {
"name": "@ionic/docs", "name": "@ionic/docs",
"version": "4.11.7", "version": "4.11.8",
"description": "Pre-packaged API documentation for the Ionic docs.", "description": "Pre-packaged API documentation for the Ionic docs.",
"main": "core.json", "main": "core.json",
"types": "core.d.ts", "types": "core.d.ts",

View File

@ -1,6 +1,6 @@
{ {
"name": "@ionic/react-router", "name": "@ionic/react-router",
"version": "4.11.7", "version": "4.11.8",
"description": "React Router wrapper for @ionic/react", "description": "React Router wrapper for @ionic/react",
"keywords": [ "keywords": [
"ionic", "ionic",
@ -39,16 +39,16 @@
"tslib": "*" "tslib": "*"
}, },
"peerDependencies": { "peerDependencies": {
"@ionic/core": "4.11.7", "@ionic/core": "4.11.8",
"@ionic/react": "4.11.7", "@ionic/react": "4.11.8",
"react": "^16.8.6", "react": "^16.8.6",
"react-dom": "^16.8.6", "react-dom": "^16.8.6",
"react-router": "^5.0.1", "react-router": "^5.0.1",
"react-router-dom": "^5.0.1" "react-router-dom": "^5.0.1"
}, },
"devDependencies": { "devDependencies": {
"@ionic/core": "4.11.7", "@ionic/core": "4.11.8",
"@ionic/react": "4.11.7", "@ionic/react": "4.11.8",
"@testing-library/jest-dom": "^4.2.4", "@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2", "@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2", "@testing-library/user-event": "^7.1.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@ionic/react", "name": "@ionic/react",
"version": "4.11.7", "version": "4.11.8",
"description": "React specific wrapper for @ionic/core", "description": "React specific wrapper for @ionic/core",
"keywords": [ "keywords": [
"ionic", "ionic",
@ -39,7 +39,7 @@
"css/" "css/"
], ],
"dependencies": { "dependencies": {
"@ionic/core": "4.11.7", "@ionic/core": "4.11.8",
"tslib": "*" "tslib": "*"
}, },
"peerDependencies": { "peerDependencies": {