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)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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