mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
22
CHANGELOG.md
22
CHANGELOG.md
@@ -20,6 +20,28 @@ Segment Button now requires the text to be wrapped in an `ion-label` element for
|
||||
<ion-label>Item One</ion-label>
|
||||
</ion-segment-button>
|
||||
```
|
||||
|
||||
#### Simplifying Chip
|
||||
|
||||
Because of updates to the Material Design spec, `ion-chip` no longer requires a chip-specific version of `ion-icon` or `ion-button`. Chips themselves should be interactive and don't require a nested button.
|
||||
|
||||
*Old usage:*
|
||||
|
||||
```html
|
||||
<ion-chip>
|
||||
<ion-chip-icon name="checkmark"><ion-chip-button>
|
||||
</ion-chip>
|
||||
```
|
||||
|
||||
*New usage:*
|
||||
|
||||
```html
|
||||
<ion-chip>
|
||||
<ion-icon name="checkmark"></ion-icon>
|
||||
</ion-chip>
|
||||
```
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **alert:** use tint for md button active background ([#16278](https://github.com/ionic-team/ionic/issues/16278)) ([0fec722](https://github.com/ionic-team/ionic/commit/0fec722))
|
||||
|
||||
Reference in New Issue
Block a user