4.0.1 (2019-02-06)
- build: modify rollup.config.js to work with Windows (#17231) (d26d43d)
- grid: add flex to ion-grid to allow it to properly render in an ion-item (#17258) (40c6955), closes #17075
- menu: fix content shadow when revealed in iOS (#17383) (fc43faa)
- platform: add additional check for safari PWA (a584f6e)
- platform: add mobileweb platform back (cf2b2b3)
- popover: apply fixed position to keep backdrop in viewport (#17352) (ee3b04a), closes #17337
- popover: originate animation from right in RTL/MD (#17381) (bc3aa21)
- range: chrome bug with will-change (74ce34f)
- react: duplicate events being fired in ionic/react (#17321) (a415001)
- reorder: capture click event (#17244) (986e67b), closes #17241
- searchbar: hide search icon when focused with cancel button (#17260) (c87867c), closes #17252
4.0.0 Neutronium (2019-01-23)
Enjoy! 🎈
4.0.0-rc.3 (2019-01-22)
- alert: update styles for rtl (#17129) (ceae5d2), closes #16295 #17012
- angular: apply validation classes properly (2b4d7b7), closes #17171 #16052 #15572 #16452 #17063
- angular: navigateRoot + animated (#17164) (a6559a4), closes #17144
- angular: race condition when fast navigation (#17197) (a945b03), closes #17194 #16449 #15413
- button: avoid using attribute selectors for disabled (#17198) (3defbf3)
- content: tap-click deadlock (#17170) (5cb7f68), closes #17138 #16863 #16191 #16911
- fab: remove layout contain from content (#17048) (0cf1894), closes #16780
- gesture: destroy gesture handler when it's done (#17184) (59bd823), closes #16433 #16974
- icon: update ionicons to flip for rtl (#17196) (d3b6e60), closes #17012
- item: fix margins on slotted content (avatar, thumbnail) (#17065) (3612651), closes #16997
- searchbar: keep search icon shown when searchbar has focus (#17154) (c917bb4)
- select: pass click event to popover interface (#17146) (3ff9faf), closes #17142
- textarea: new-line in firefox (#17176) (e7538f3), closes #17155
- angular: add global pop() (#17182) (766c79d), closes #16340
- datetime: add readonly prop (#17139) (d513e8a)
- input: add getInputElement() (#17183) (a90084c), closes #17174
- react: complete controller integrations and navigation (#16849) (f46cd50)
- slides: expose updateAutoHeight (#17208) (835aea9), closes #15079
NavController.goBack()
renamed toNavController.back()
4.0.0-rc.2 (2019-01-16)
- action-sheet: remove the height shift on press and update iOS design (#16862) (82457d8), closes #16715 #16790
- angular: fix slides (#17085) (8357e5c)
- angular: hide some internal methods (#17121) (4d5dcd4)
- angular: NavController methods return a promise (#17106) (3aaf87a), closes #17103
- angular: ViewChild() fix (#17037) (27a4709), closes #17034
- datetime: do no change order of formatted dates w/ rtl (#17024) (169da37)
- fab-button: add default padding for fab-button (#17050) (418052f)
- icon: fix rtl detail icon for ios (#17016) (b4f3405), closes #14958
- input: disable shadow-dom for text inputs (#17043) (63e0501), closes #17020
- input: fix display of ion-input in narrow ion-item in Firefox (#16978) (1099dc3)
- inputs: fix styles in firefox (#17066) (0120eee)
- inputs: keyboard focus improvements (#16838) (6364e4e), closes #16815 #16872 #13978 #16610
- item: no lines on item should take precedence over list lines (#17049) (d2fa946), closes #16900
- picker: do not change datetime/picker column order in RTL (#17018) (1338d71), closes #16294
- rtl: fix rtl back button default (#17109) (a9a23af), closes #15357
- utils: remove console log (#17116) (b0f51d4)
- angular: add tabs events (#17125) (6929bb8)
- angular: expose getSelected() (#17079) (3c801db), closes #17068
- test: update avatar index.html (9e80b73)
(ionChange)
becomes(ionTabsDidChange)
Previously the getSelected()
method of ion-tabs
returned a reference to the selected
ion-tab
, now it returns the name of tab as string.
4.0.0-rc.1 (2019-01-09)
- angular: update @angular/router dependency (#16998) (76e9e02)
- col: handle RTL offset-, pull-, and push-* (#16702) (6d6472b)
- fab: fab size when href provided (b3316d4), closes #16833
- menu: swipe-back has higher priority (f05c599), closes #16864
- overlays: make them hidden until presented (#16903) (302be53), closes #16685
- popover: position properly in RTL / MD modes (#16745) (7846019)
- ripple-effect: never capture click (#16955) (7ee8aa6), closes #16939
- segment: update indicator and border based on theme (#16821) (74587db), closes #16820
- select: interfaceOptions can customize mode (#16826) (1227d57), closes #16825
- tab-button: allow standalone tab-button (#16905) (6ca7645), closes #16845
- tabs: fix goto root (#16926) (8ee9205), closes #16917
- radio-group: add missing implementation for property allowEmptySelection (#16880) (09726b0), closes #16841
- react: add missing simple components to react. (#16836) (696f62c)
- react: create initial portal implementation for overlay ctrls (#16830) (99bdd1f)
- react: Initial implementations of controller required elements. (#16817) (e30c5f1)
- angular: bundle size improvements for angular (#16966) (44fb45e)
- angular: flat ng modules (#17007) (0b84e27), closes #17001
- angular: proxy fast properties (#16888) (ca9ec3e)
In order to speed up the build and reduce the main bundle size, we have moved the ionicons outside the webpack build pipeline.
Instead, a new copy task needs to be added to the angular.json
, specifically to the
the "assets"
option of the "build"
.
{
"projects": {
"app": {
"architect": {
"build": {
"options": {
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
+ {
+ "glob": "**/*.svg",
+ "input": "node_modules/ionicons/dist/ionicons/svg",
+ "output": "./svg"
+ }
4.0.0-rc.0 (2018-12-19)
- action-sheet: set 100% height to fix scrollable options (#16789) (e3d7282)
- all: ts 3.2 issues (f393a82)
- angular: Fix cordova browser error when resumed (#16810) (e735d2c)
- angular: fix sibling router-outlets (#16774) (35e3848), closes #16411
- angular: router-outlet memory leak (2c41823), closes #16285
- body: body background matches ion-content (0699884)
- core: export ionic lifecycle names (77640c9), closes #16760
- core: ts lint issue (#16814) (fb38002)
- list: adjust label margin to align with spec for md (#16751) (60ef98d), closes #16643
- modal: --box-shadow (e2ee0b6), closes #16798
- progress-bar: looking nice inside toolbar (b5efede)
- pwa: use 100% of the viewport (4c4bdf2)
- tab-bar: adds selected color if tab bar is using a color (#16766) (54e5a24), closes #16761
- virtual-scroll: fixes dynamic changes (d1cecf1)
- angular: expose animationDirection (#16802) (320eb03)
- angular: tabs.select() (56dd8ae), closes #16753
- angular: detach from change detection (f613b3b)
4.0.0-beta.19 (2018-12-14)
- angular: tab-bar slot=top (#16727) (d4e4b52), closes #16722
- angular: virtual-scroll (#16729) (f05c7d6), closes #16725 #16432 #16023 #14591 #16050 #15587
- datetime: picker inherits mode (#16731) (f93e4fd), closes #16717
- fab-button: adding size prop instead of [mini] (#16692) (e8cec60), closes #16680
- fab-button: get translucent working including with color (#16750) (c2ada84), closes #16450
Removes the --width
and --height
variables from the following components, in favor of CSS:
- Button
- FAB Button
- Checkbox
- Removes the
--width
/--height
and adds a--size
variable that is set on the width and height, allowing width and height to still be set and border-radius to still use it as a variable - Radio
- Removes the
--width
/--height
and--inner-width
/--inner-height
variables. Calculates inner values based on parent element size.
The following components have all been converted to shadow (or scoped) and have CSS variables for width/height:
- Action Sheet (scoped)
- Alert (scoped)
- Loading (scoped)
- Menu (shadow)
- Modal (scoped)
- Picker (scoped)
- Popover (scoped)
- Toast (shadow)
The above components will now have the following CSS variables for consistency among overlays:
Name |
---|
--height |
--max-height |
--max-width |
--min-height |
--min-width |
--width |
If the component does not set the value, it will default to auto
.
The following CSS properties have been removed:
Component | Property | Reason |
---|---|---|
Button | --height |
Use CSS instead |
Button | --margin-bottom |
Use CSS instead |
Button | --margin-end |
Use CSS instead |
Button | --margin-start |
Use CSS instead |
Button | --margin-top |
Use CSS instead |
Button | --width |
Use CSS instead |
Checkbox | --height |
Use CSS or --size |
Checkbox | --width |
Use CSS or --size |
FAB Button | --width |
Use CSS instead |
FAB Button | --height |
Use CSS instead |
FAB Button | --margin-bottom |
Use CSS instead |
FAB Button | --margin-end |
Use CSS instead |
FAB Button | --margin-start |
Use CSS instead |
FAB Button | --margin-top |
Use CSS instead |
Menu | --width-small |
Use a media query and --width |
Radio | --width |
Use CSS instead |
Radio | --height |
Use CSS instead |
Radio | --inner-height |
Calculated based on parent |
Radio | --inner-width |
Calculated based on parent |
Renamed [mini]
attribute to [size=small]
in ion-fab-button
.
- <ion-fab-button mini></ion-fab-button>
+ <ion-fab-button size="small"></ion-fab-button>
4.0.0-beta.18 (2018-12-13)
- all: type issues with TS 3.2 (aa9d0d4)
- angular: disable change detection detach (68e2619)
- angular: lint issue (a961dca)
- angular: only routerLink works with angular router (63cbc92)
- angular: remove rogue console debug message (#16530) (9a47fc4), closes #16529
- angular: routerLink updates href (c8d9685)
- angular: swipe to go backs in tabs (#16710) (2553820)
- angular: swipeBackEnabled global config (#16668) (d69427e), closes #16624
- angular: wait for core defined in angular initializer (#16693) (060794e)
- button: reduce iOS border radius (#16575) (b1e56bb)
- button: relax css containment to "content" (#16553) (802a3d1)
- button/chip: move hover styles into media query (#16664) (a2c7b95), closes #16108
- content: do not scroll on pan-x (#16721) (b6aea08)
- img: fire didLoad in safari (#16571) (2ce986f), closes #16557
- item-divider: use prop for sticky (#16691) (a6a1723)
- loading: add backdropDismiss closes #16527 (#16570) (a251b50)
- react: add class based APIs (#16665) (2933f61), closes #16583
- refresher: close animation and hidden on pull down (#16700) (6b0fc49), closes #16254
- segment: set colors in the parent segment and remove the unused color property (#16590) (8029df3), closes #14853
- segment-button: make layout default to icon-top (#16573) (841375e)
- select: selection-option is hidden in edge (#16607) (6776e65), closes #16580
- select-option: using external style (8050247)
- tab-bar: hide on keyboard events (#16688) (1473805), closes #16419
- tab-bar: update tab-bar to set the color/background of tab-button (#16641) (2f63049), closes #14853
- theming: update ios design for button and card (#16586) (9c8c650)
- toolbar: style all slotted content in order not only buttons (#16617) (86fc9a5)
- all: vscode HTML autocompletion support (#16687) (9b83bef)
- fab-button: add css border properties (#16656) (64557a7), closes #16652
- modal: add css vars (#16605) (235c685)
- progress-bar: add progress bar component (#16559) (9167fb4), closes #16558
- range: add support for range bar border radius (#16519) (c036cb0)
- theme: default colors based in step colors (95c0b1b)
- toast: add CSS variables for box-shadow and border (#16679) (1a299b0)
Tabs got the last bit of changes needed in order to support lazy loading of components. To support this, some changes are required for the router config. Using the tabs starter as an example, here's a diff of the changes:
import { RouterModule, Routes } from '@angular/router';
import { TabsPage } from './tabs.page';
-import { Tab1Page } from '../tab1/tab1.page';
-import { Tab2Page } from '../tab2/tab2.page';
-import { Tab3Page } from '../tab3/tab3.page';
const routes: Routes = [
{
path: 'tabs',
component: TabsPage,
children: [
- {
- path: '',
- redirectTo: '/tabs/(tab1:tab1)',
- pathMatch: 'full',
- },
{
path: 'tab1',
- outlet: 'tab1',
- component: Tab1Page
+ children: [
+ {
+ path: '',
+ loadChildren: '../tab1/tab1.module#Tab1PageModule'
+ }
+ ]
},
{
path: 'tab2',
- outlet: 'tab2',
- component: Tab2Page
+ children: [
+ {
+ path: '',
+ loadChildren: '../tab2/tab2.module#Tab2PageModule'
+ }
+ ]
},
{
path: 'tab3',
- outlet: 'tab3',
- component: Tab3Page
+ children: [
+ {
+ path: '',
+ loadChildren: '../tab3/tab3.module#Tab3PageModule'
+ }
+ ]
+ },
+ {
+ path: '',
+ redirectTo: '/tabs/tab1',
+ pathMatch: 'full'
}
]
},
{
path: '',
- redirectTo: '/tabs/(tab1:tab1)',
+ redirectTo: '/tabs/tab1',
pathMatch: 'full'
}
];
And for the tabs markup, we have something close to pre-beta 16 tabs, but still provides a custom tab-bar.
<ion-tabs>
- <ion-tab tab="tab1">
- <ion-router-outlet name="tab1"></ion-router-outlet>
- </ion-tab>
- <ion-tab tab="tab2">
- <ion-router-outlet name="tab2"></ion-router-outlet>
- </ion-tab>
- <ion-tab tab="tab3">
- <ion-router-outlet name="tab3"></ion-router-outlet>
- </ion-tab>
-
<ion-tab-bar slot="bottom">
-
- <ion-tab-button tab="tab1" href="/tabs/(tab1:tab1)">
+ <ion-tab-button tab="tab1">
<ion-icon name="flash"></ion-icon>
<ion-label>Tab One</ion-label>
</ion-tab-button>
- <ion-tab-button tab="tab2" href="/tabs/(tab2:tab2)">
+ <ion-tab-button tab="tab2">
<ion-icon name="apps"></ion-icon>
<ion-label>Tab Two</ion-label>
</ion-tab-button>
- <ion-tab-button tab="tab3" href="/tabs/(tab3:tab3)">
+ <ion-tab-button tab="tab3">
<ion-icon name="send"></ion-icon>
<ion-label>Tab Three</ion-label>
</ion-tab-button>
-
</ion-tab-bar>
</ion-tabs>
For consistency sake, the href
attribute of ion-button
, ion-item
and ion-anchor
no longer
trigger navigation using the Angular’s Router,instead use angular’s [routerLink]
:
- <ion-button href="/path/to/page">
+ <ion-button routerLink="/path/to/page">
This change will not affect SEO since ionic will still use href
under the hood.
For consistency with other frameworks and the rest of APIs and tooling, the exported
ionic components are prefixed with Ion
.
- import { Input } from '@ionic/angular';
+ import { IonInput } from '@ionic/angular';
This change might also help to improve autocompletion, and prevent collisions with other libraries.
4.0.0-beta.17 (2018-11-29)
- alert: accepts any value (#16476) (50b0c6f), closes #16170
- angular: accept other url schemas (e8e7183)
- angular: avoid forEach in classList (359bdcf)
- angular: cleanup ion-invalid class (34cd1d1), closes #16353
- angular: default value of BooleanValueAccessor should be false (#16420) (429e083)
- angular: es6 classes break in ie11 (#16417) (ce1fcea), closes #15979
- angular: fix controlValueAccessor for boolean (b645bfd), closes #16371
- angular: fix tabs with useHash (#16392) (f831186), closes #16390
- angular: no animate in browser nav (276c883)
- angular: tune routerLink default behaviour (#16405) (72bc025)
- item-sliding: use a white item background instead of transparent (#16507) (2d33c63), closes #16474
- label: move default flex and margin to item (#16461) (723d17b), closes #15393
- list: do not style last child items by default (#16456) (09d69b9), closes #15185
- menu-controller: _getInstance() is internal (723296e)
- mode: lazy load same component, two different modes (#16401) (4dd4ccc)
- radio: removd hard coded inner-width and inner-height for iOS (5096503)
- range: add slot margins (#16464) (69f63b3)
- segment: height fits content (#16511) (aa61e81)
- tab-bar: update to match MD design and remove transforms (#16348) (bc3e192), closes #16231 #16231 ionic-team/ionic-docs#175 ionic-team/ionic-docs#163
- themes: update default toolbar and tab background to #fff (#16454) (12bcb41), closes #16384
- toast: make longer toasts available with pre-wrap (#16361) (52cea5a), closes #16360
- toolbar: match MD button spec (#16378) (7d7b995)
- support ng add (#15323) (75dd853)
- ripple-effect: adds unbounded ripple-effect (#16399) (2884076)
- ripple-effect: add option to disable ripple-effect (#16393) (838f40d), closes #16379
4.0.0-beta.16 (2018-11-16)
Segment Button now requires the text to be wrapped in an ion-label
element for improved styling.
Old usage:
<ion-segment-button>
Item One
</ion-segment-button>
New usage:
<ion-segment-button>
<ion-label>Item One</ion-label>
</ion-segment-button>
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:
<ion-chip>
<ion-chip-icon name="checkmark"><ion-chip-icon>
</ion-chip>
New usage:
<ion-chip>
<ion-icon name="checkmark"></ion-icon>
</ion-chip>
- alert: use tint for md button active background (#16278) (0fec722)
- all: update types to be required (#16218) (091625d)
- angular: add swipe-to-go-back gesture (108691d)
- angular: adds tabs stack (adae8d4)
- angular: disable transition heuristics by default (d9172b7)
- angular: es6 build (#16207) (a981116), closes #15979
- angular: fix handler outside zone (b8dae5e), closes #16338
- backdrop: update opacity to match MD spec (#16188) (3c9ed31)
- checkbox: align vertically (#16331) (bd3ca42)
- checkbox: match MD spec (#16186) (240171a)
- gesture: release gesture when it's disabled (c9b4e66), closes #16335
- input: remove clear icon in edge (59bee23)
- input: remove red shadow for firefox (767d299), closes #16318
- input: scroll assist works in with shadow-dom (#16206) (d817cc3), closes #15888 #15294 #15895
- inputs: fix aria with shadow-dom (#16329) (fd79b57)
- inputs: inherit in edge causes problems (0abf992)
- item: update to match Material Design spec (#16182) (e416c23), closes #14799
- label: placeholder + floating label (#16111) (a8be529)
- list-header: match MD bottom margin, match MD text color (#16274) (6794447)
- menu: update box-shadow for MD to match spec (#16183) (335acf9)
- range: increase MD horizontal padding (#16312) (5d00501)
- range: use fully opaque base in color active bar (#16224) (0757126)
- ripple-effect: follow MD spec (#16330) (6d59446)
- searchbar: align cancel button to center with search icon position (#16259) (5957867)
- segment-button: make layout optional (e9e33ad)
- tab-button: layout is mutable (#16332) (02a266c)
- tabs: works with no href (8e0f1ba)
- toast: update toast design to match MD spec (#16323) (188a635), closes #16271
- toggle: match MD toggle track background for off state (#16277) (8e2a6dd)
- segment: adds global variable for targeting segment in toolbar (#16344) (10971cc)
- segment: adds scrollable and layout props and updates to follow the spec (#16273) (256745c), closes #16232 #16081 #14853
- angular: remove duplicated code in value-accessor (bfbbeca)
If you are using @ionic/angular, please update the version number of any @angular packages in your package.json file to 7.0.3
.
"dependencies": {
"@angular/common": "~7.0.3",
"@angular/core": "~7.0.3",
"@angular/forms": "~7.0.3",
"@angular/http": "~7.0.3",
"@angular/platform-browser": "~7.0.3",
"@angular/platform-browser-dynamic": "~7.0.3",
"@angular/router": "~7.0.3",
"rxjs": "6.3.3",
"devDependencies": {
"@angular-devkit/architect": "~0.10.5",
"@angular-devkit/build-angular": "~0.10.5",
"@angular-devkit/core": "~7.0.5",
"@angular-devkit/schematics": "~7.0.5",
"@angular/cli": "~7.0.3",
"@angular/compiler": "~7.0.3",
"@angular/compiler-cli": "~7.0.3",
"@angular/language-service": "~7.0.3",
4.0.0-beta.15 (2018-11-01)
The following global CSS variables have been removed for the reasons listed.
Variable Name | Reason |
---|---|
--ion-toolbar-color-inactive |
Unused |
--ion-ripple-background-color |
Unused / Ripple color is based on component |
--ion-header-size |
Removed in favor of using CSS for h1-h6 |
--ion-header-step |
Removed in favor of using CSS for h1-h6 |
The following global CSS variables have been renamed for the reasons listed.
Old Variable Name | New Variable Name | Reason |
---|---|---|
--ion-toolbar-text-color |
--ion-toolbar-color |
Variable is not limited to text color |
--ion-toolbar-color-active |
--ion-toolbar-color-activated |
Consistency with our component variables |
--ion-tabbar-text-color |
--ion-tab-bar-color |
Variable is not limited to text color |
--ion-tabbar-text-color-active |
--ion-tab-bar-color-activated |
Consistency with our component variables |
--ion-tabbar-background-color |
--ion-tab-bar-background |
Applies to the background property |
--ion-tabbar-background-color-focused |
--ion-tab-bar-background-focused |
Applies to the background property |
--ion-item-background-color |
--ion-item-background |
Applies to the background property |
--ion-item-background-color-active |
--ion-item-background-activated |
Applies to the background property / Consistency with our component variables |
--ion-item-text-color |
--ion-item-color |
Variable is not limited to text color |
--ion-placeholder-text-color |
--ion-placeholder-color |
Consistency with other variables |
One of the most valuable and complex components in Ionic's toolkit is Tabs. Tabs started off as a simple component that would create a tabbed interface to allow users to switch between different views in a way that was consistent with native UX paradigms.
Over time, we started hearing people ask for more features to be added: "Can we have one tab button that is just a button?" "Can I customize how the tab buttons are displayed?" "Can I use a custom icon in the tab?"
Traditionally, these features, and many others, were difficult to accomplish because Tabs was doing a lot of magic behind the scenes to generate the Tab bar and buttons. With this in mind, we thought it was time for a refresh to offer as much flexibility as possible within Tabs.
In order to do this, we had to change how Tabs were written in an app. Prior to Beta 14, Tabs would look like this:
<ion-tabs>
<ion-tab label="Home" icon="home" href="/tabs/(home:home)">
<ion-router-outlet name="home"></ion-router-outlet>
</ion-tab>
<ion-tab label="About" icon="information-circle" href="/tabs/(about:about)">
<ion-router-outlet name="about"></ion-router-outlet>
</ion-tab>
<ion-tab label="Contact" icon="contacts" href="/tabs/(contact:contact)">
<ion-router-outlet name="contact"></ion-router-outlet>
</ion-tab>
</ion-tabs>
Here, we have an ion-tab
element that accepts an icon, a label, and a link to navigate to as properties. This is pretty much how Tabs have worked all the way back to Ionic 1. In Beta 14, we've removed some of the magic from Tabs which allows for more customization:
<ion-tabs>
<ion-tab-bar>
<!-- No ion-tab, just a link that looks like a tab -->
<ion-tab-button href="https://beta.ionicframework.com">
<!-- <a href="https://beta.ionicframework.com"> -->
<ion-icon name="globe"></ion-icon>
<ion-label>Schedule</ion-label>
</ion-tab-button>
<!-- No ion-tab, just a button that looks like a tab -->
<ion-tab-button (click)="openCamera()">
<ion-icon name="camera"></ion-icon>
<ion-label>Photo</ion-label>
</ion-tab-button>
<!-- Connected to ion-tab, on click will show the ion-tab with id home-view -->
<ion-tab-button tab="home-view">
<ion-icon name="home"></ion-icon>
<ion-label>Home</ion-label>
</ion-tab-button>
</ion-tab-bar>
<ion-tab tab="home-view">
<ion-content></ion-content>
<!-- or -->
<ion-nav></ion-nav>
<!-- or -->
<ion-router-outlet></ion-router-outlet>
</ion-tab>
</ion-tabs>
There's a lot going on here, so let's break it down:
- A single parent
ion-tabs
wraps the entire layout. Same as before. - A new element,
ion-tab-bar
, creates the Tab Bar which will contain buttons. - A new element,
ion-tab-button
, is used to create each button in the Tab Bar. These could be static links to different routes, buttons with click handlers on them, or link to whole tab views. - The
ion-tab
component becomes a separate container that has inline content (ion-content
), a navigation component (ion-nav
) or a router outlet (ion-router-outlet
).
To connect the ion-tab-button
to the ion-tab
, the tab
property must be added to both of these components. For example:
<ion-tabs>
<ion-tab-bar>
<ion-tab-button tab="home-view"></ion-tab-button>
</ion-tab-bar>
<ion-tab tab="home-view"></ion-tab>
</ion-tabs>
Since the tab
property is the same on the ion-tab-button
and ion-tab
, when the Tab Button is tapped, the home-view
Tab will become active. This takes the magic out of Tabs while making the behavior between the tab buttons and the views much more explicit.
Some other benefits of this refactor include:
- Can now be written as a standalone Tab Bar (with no attached Tab)
- Works with a navigation component or a plain content element
- Works with shadow DOM and allows easy customization of the Tab Bar
- Gives full control over the elements inside of the Tab Bar
- Integrates nicely with other frameworks that have different ways of rendering element nodes
Lastly, this change also fixes some outstanding issues with Tabs, so we're excited to get this out to you all!
- action-sheet: update Action Sheet design to match MD spec (#16135) (068303d)
- alert: match MD spec (#16145) (287aec8)
- alert: update alert min/max interface (#15987) (a0c60ff), closes #15986
- angular: generate proxies for ion-tabbar (#15954) (45b46b4)
- angular: make sure angular form control onChange is fired when needed (#16126) (d5f2e6f)
- badge: match MD padding (#16134) (615c518)
- button: match MD spec timing, outline, hover (#16160) (0faa355)
- button: match updated MD specs (#16144) (e9579d5)
- card: adjust styles to match MD (#16093) (44b0eab)
- checkbox: end position by default (9da51b3)
- cordova: fix resume event in cordova browser (#15945) (4318520), closes #15944
- datetime: can participate in native (#16106) (aad7711), closes #16075
- datetime: pickerOptions are all optional (#16101) (f014181), closes #16095
- fab-button: use correct background in list and update the md icon color (#16092) (9dfc863), closes #16091
- header: update box shadow to match MD spec (#16149) (00544e9)
- infinite-scroll: disabled resets loading/busy state (#16107) (33448c6), closes #15994
- inputs: add z-index for all inputs (92ee4ef), closes #16157
- inputs: disabled handling (#16071) (ef6895a)
- label: do not animate float labels on initial load (#16036) (e644fc9)
- note: update note font size for MD (#16088) (6f2b9b0)
- picker: delay option animate until after options initialized (#16037) (a74e565)
- picker: fix iOS picker options that shouldn't be showing (#16055) (02ef52b)
- popover: update border radius to match MD (#16086) (9c733e9)
- popover: update the box shadow to match MD spec (#16089) (fdb7da9)
- radio: match MD sizing (#16087) (6723248)
- range: match MD spec (#16150) (b2f493f)
- reorder-group: event bubbles up (#16030) (ce80b24), closes #16010
- screenshot: update screenshot ci (#15969) (80b5c8c)
- searchbar: do not animate during initial load (#16147) (e94b522)
- tab-bar: align tab text to the center (#16130) (67eb7cf), closes #15273
- tabs: name prop is not longer used (6d11cc1)
- theming: update global css variable naming and default values (#16003) (b2021fd), closes #15989 #15559
- toggle: fix box-shadow overflow in toggle (#15955) (8a4dc74), closes #14626
- angular: fix ngModel accessor (fab8b60)
- color: edge currentColor bug (#16177) (fce30eb), closes #16168
- searchbar: fix crash on cancel event (#16181) (9c79d98), closes #16143
- tab-bar: safe-bottom area is applied correctly (#16179) (1532bd2), closes #16175
- tabs: use slot instead of placement (72f0a76)
4.0.0-beta.13 (2018-10-14)
- all: avoid using focus() since it conflicts with HTMLElement (5560dcd), closes #15810
- all: disable animations in e2e tests (9d109d6)
- all: docs for all missing props (a72fced)
- angular: add "main" to package.json as workaround for webstorm (c57a7cc)
- angular: backButton event uses ionBackButton (0337c7f)
- angular: only bypass zone in high-rate events (f63c0f5), closes #15765
- button: use class instead of reflect (e189cc6), closes #15623
- card: include card-header in current color (b5e39c8)
- card: update currentColor to use contrast color (a9a29f7)
- card-header: get color property working (92514b3), closes #14723 #14853
- col: fix CSS is undefined error on IE11 (#15882) (06a3028)
- content: iOS should not have scroll in desktop (8cb1886), closes #15858
- css: avoid cleancss bug (f87d4bf), closes #15807
- css: remove selection color (6b0d812)
- docs: Fix commit link on CONTRIBUTING.md (#15834) (fe0c3b4)
- fab-button: add and document css properties (098bd82), closes #14808
- fab-button: ripple-effect in safari (844c33a), closes #15768
- hide/show: fix show-when/hide-when (fd01308), closes #15813
- infinite-scroll: implements position="top" (b4a73ad), closes #15481
- input: add and document custom properties (23df042), closes #14850
- input: tabindex or tab in ion-input do not work with clearInput fix (e916500)
- ion-datetime: keep the model value consistently an ISO string (#15907) (b46052b)
- item: add input highlight using an absolute div (#15856) (f885f7d), closes #14036 #9639 #14952 #15690
- item: detail context based in text color (e51f1f3)
- label: add color variable, examples to test and document (b485eba), closes #14853 #14850
- list: don't show inset lines for full line list (6eae95a)
- menu: menu registers itself before it's ready (08beee3)
- menu: overlays can block menu closing (11aa241), closes #15880
- menu: wait until all menus are ready (a5c2cc1), closes #15727
- menu-button: color (386cf82), closes #15546 #15545
- menu-button: Not visible if toolbar has primary color (#15847) (e2ea08b)
- modal/popover: lifecycle events (19c449e), closes #15806
- picker: stop animation when it's closed (e81af2d), closes #15854
- popover: showBackdrop hides backdrop (f00be0d), closes #15878
- reorder-group: delegate dom reordering (5f65942), closes #15836
- slides: disable autoplay by default (db6ddb0), closes #15766
- tabbar: css variables assigned to the host (545db2e)
- tabs: badgeColor works again (3d98587), closes #15559 #14840
- tabs: fix async deadlock (905c7db)
- title: allow color to be set for title without attribute (a9b3064), closes #14853 #14850
- toggle: improve animation motion (5330574)
- angular: observer based api to override hardware back button (6a5aec8), closes #15820
- menu: add new lifeycle events (64b52b5)
- nav: animation is customizable (24f3373), closes #15851
- overlays: expose animation customization (dc976cc)
- initial vue support (73cff0c)
- prevent unnecesary event listener changes (a999c1f)
4.0.0-beta.12 (2018-09-26)
- action-sheet: allow async button handler returned value (3d3e6a4)
- alert: check if value is null instead of truthy (799f0d7), closes #15420
- all: gesture controller can block scrolling (633360f), closes #15725
- all: lint errors (f8eafa7)
- all: safe margins for fab, item-header, tabbar (62eff0a)
- angular: add event listener on window (#15628) (7bd33a7)
- angular: import icons using webpack apis (b71b36c)
- angular: ionic/core is only a dep (236d8a4)
- angular: value is updates based in ionChange (e18f8bf), closes #15722
- app: statusTap and hardwareGB can be activated with config (c048f9f), closes #15617
- back-button: add and document custom properties (b3aebb8), closes #14808 #14850 #14853
- back-button: default md color is inhered (d0867b5)
- button: default button width to auto to avoid inheriting (bac49ca), closes #15522
- button: disable :hover on non supported devices (#15705) (67eb661)
- button: disable pointer events in toolbar buttons (d145cae), closes #15623
- buttons: fix activated, position, animation (9d6169a)
- color: do not accept empty color (ede5525), closes #15732
- content: apply background to the inner scroll element (f68c457), closes #15635
- content: nested content (5f5ba66), closes #15680
- datetime: check for null instead of undefined (407b147), closes #15605
- datetime: convert to shadow and fix broken styles (fa77017), closes #15547 #14850
- fab: do not reset fab activated if it's false (d619d8d)
- gestures: change itemSliding gesture priority (48927e6), closes #15608
- input: fix text type for select change event (694b6a8)
- item: add the multiple inputs class to fix select/datetime in item (1cd792e), closes #15401
- item-divider: add and document custom properties (06cb138), closes #14850 #14808
- item-option: add and document custom properties (2a040e0), closes #14850 #14808 #14943
- menu: crash when menu if forcedClosed (22e15b4)
- menu: opening a menu autocloses any opened ones (8796f9f)
- menu-controller: expose registerAnimation (29d00da), closes #15701
- overlay: register backbutton handler only when needed (#15615) (b2b5d93), closes #15601
- platform: using desktop instead of window (c8de84d)
- add safe area cutouts (#15750) (a3c85ae)
- radio: add css variables to make it customizable (9ec8e74), closes #15729
- select: add position styles to work as standalone (224b4f8)
- select: placeholder can be reset if value = null (602f668)
- select: show placeholder when multiple is empty (29862e8)
- select-popover: add scoped to apply proper styles to list (fd1b636)
- slides: add back zoom plugin for swiper (6890ecc), closes #15676
- slides: fix mutable options (681981f)
- tap-click: prevent activated while scrolling (7f38d37), closes #15752
- toast: button color is contrast (f65ec10), closes #15737
- animation: ability to disable animations w/ querystring (734b222)
- app: adds _forceStatusbarPadding for ionic lab (0379977)
- ripple: ability to disable ripple effect w/ querystring (efca0ae)
- screenshot: update to use stencil e2e screenshot testing (43b9045)
- content: block scrolling in ion-content (9badb08)
4.0.0-beta.11 (2018-09-14)
- slides: swiper must be a vendor (3435473)
4.0.0-beta.10 (2018-09-14)
- animation: always call onFinish() (c23c5a4)
- button: vanilla color is usable (b8b9b83)
- segment: unselected color (b9e42eb)
- slides: swiper is not required as dependency (29f324b)
4.0.0-beta.9 (2018-09-14)
- anchor: make it activatable (6c62e6c)
- angular: only append the component when the parent element is not the container element (6d6f70c), closes #14737
- back-button: subscribe to body (37c9be7)
- button: add custom properties and remove --ion-color overrides (#15463) (3af4361), closes #14808 #14853 #14850
- core: matchBreakpoint will return true if breakPoint is empty string (#15498) (b362b0a), closes #15495
- esm: reorganiza exports (bb19243)
- fab-button: add routerDirection (2398634), closes #15551
- input: value might be null/undefined (83543b7)
- item: update hostContext to use ion-item element (21d1f2e)
- item-option: add activated and ripple to button (78e2a0a), closes #14943
- item-option: enable ripple-effect (428a5da)
- item-sliding: make sure options are ready (7f59f91)
- list-header: add and document custom properties (5ccc1fd), closes #14850 #14853 #14808
- menu: ios styles (281f9a3)
- nav: matches() function (9420b88)
- overlay: animation can be interrupted (ca58664), closes #15506
- overlay: only register backButton listener once (75c2d74)
- popover: content sizing, scoped css (51d4e08), closes #15237 #15589 #15331
- popover: remove unneeded code (b26c017)
- radio: add and document custom properties (0f9a7b4), closes #14850
- range: update range ratio when new min/max are passed (#15512) (f62601f), closes #15511
- searchbar: add and document custom properties (7f57e02), closes #14850
- searchbar: inherit color from color toolbar (3042f57)
- searchbar: ionCancel event (20a7599), closes #15476
- segment: fix css var + host-context() (49ab065)
- slides: correct order of parameters (6442dfc), closes #15407
- slides: Methods wait for execution until swiper is initialized (#15576) (ea01900)
- slides: Update swiperOptions default to match version 4 of Swiper (#15578) (db35af2)
- slides: Updated lockSwipes methods to match the new swiper.js API (#15469) (efb99cb)
- sliding-item: swipe event (127da1a)
- test: treeshake check runs last (b56f136)
- test: workaround for nav tests (a4b1179)
- toast: adds role timeout and cancel (2f2a255), closes #15477
- toast: render on top (ac42180)
- toggle: empty hidden input value when not checked (1f19862)
- handle failure in hardware back button (6da765b)
- remove argument-less catch() (ff919de)
- angular: integrate back-button with ng router (1bcca01)
- app: hardware back button support (dfac9dc)
- overlays: close overlay with back-button (4ccbefa)
- router: add support for relative paths (b28aeab), closes #15499
- virtual-scroller: add support (d40d0a7)
4.0.0-beta.8 (2018-09-06)
- button: add custom properties and remove --ion-color overrides (#15463) (3af4361), closes #14808 #14853 #14850
- menu: ios styles (281f9a3)
- radio: add and document custom properties (0f9a7b4), closes #14850
- searchbar: inherit color from color toolbar (3042f57)
- slides: correct order of parameters (6442dfc), closes #15407
- test: treeshake check runs last (b56f136)
- test: workaround for nav tests (a4b1179)
- toggle: empty hidden input value when not checked (1f19862)
- angular: integrate back-button with ng router (1bcca01)
- app: hardware back button support (dfac9dc)
- overlays: close overlay with back-button (4ccbefa)
- virtual-scroller: add support (d40d0a7)
4.0.0-beta.7 (2018-08-30)
- list: add closeSlidingItems() (81fbbb8), closes #15378
- menu: await animation check (f00db59), closes #15377
- range: add and document custom properties (cf35445), closes #14850 #14808
- slides: isEnd() returns a boolean (771c517), closes #15376
4.0.0-beta.6 (2018-08-29)
- All methods of all ionic components return a promise.
colors.css
has been renamed tocore.css
, the global stylesheet needs to be updated:
+ @import "~@ionic/core/css/core.css"; @import "~@ionic/core/css/normalize.css"; @import "~@ionic/core/css/structure.css"; @import "~@ionic/core/css/typography.css"; - @import "~@ionic/core/css/colors.css"; @import "~@ionic/core/css/padding.css"; @import "~@ionic/core/css/float-elements.css"; @import "~@ionic/core/css/text-alignment.css"; @import "~@ionic/core/css/text-transformation.css"; @import "~@ionic/core/css/flex-utils.css";
+ @import "~@ionic/angular/css/core.css"; @import "~@ionic/angular/css/normalize.css"; @import "~@ionic/angular/css/structure.css"; @import "~@ionic/angular/css/typography.css"; - @import "~@ionic/angular/css/colors.css"; @import "~@ionic/angular/css/padding.css"; @import "~@ionic/angular/css/float-elements.css"; @import "~@ionic/angular/css/text-alignment.css"; @import "~@ionic/angular/css/text-transformation.css"; @import "~@ionic/angular/css/flex-utils.css";
- alert: header is not mandatory (1f71f76)
- alert: name is non-null (2268346)
- alert: type and name props are optional (#14815) (99a2925)
- angular: NavController signatures (6fdeb31), closes #15353
- angular: overlay not found (8dfc52f), closes #15349
- angular: platform does not crash (82f9fd4), closes #15348
- angular: virtual-scroll (f9bf5c0), closes #15355
- css: add core.css (#15220) (096d9a7), closes #15170
- datetime: fix year to allow current and max year (f30ae88), closes #14895
- grid: working check for CSS custom variables in Safari (#15228) (baefda3)
- ion-reorder-group: adds ionItemReorder event (7fc170c), closes #14640
- overlay: overlay is not hidden (89ba55d)
- overlay: overlays are hidden until presented (ba428cd), closes #15345
- overlays: expose mode, id, keyboardClose (cc960c3), closes #15366
- radio-group: accept any value (16452b2), closes #15334
- segment: set --color-checked in md color toolbar (5d32115), closes #14850
- toast: add position middle (25479e4)
4.0.0-beta.5 (2018-08-27)
- Ionic/angular compiler error
Changes are required to accommodate some new useful routing APIs and match the ng router ones closely:
goForward() -> navigateForward() goBack() -> navigateBack() goRoot() -> navigateRoot()
The following dependencies need to be updated to resolve build errors
- Update Angular to 6.1 or higher
- Update Typescript to 2.9.2
"typescript": "~2.9.2"
4.0.0-beta.4 (2018-08-27)
- alert: remove unneeded warning (8447f28)
- all: add customization of font-style (c957ea6)
- angular: back navigation and back-button play better (#15293) (9ddfb1b), closes #15290
- angular: expose router.navigate() (7aa4f13), closes #15332
- app: --ion-safe-area-right typo (77ca2bd)
- app: listen statusTap event (dc82675)
- app: statusbarPadding config is a boolean (b387de4)
- build: do not export in component modules (da2dc7b)
- buttons: margin between buttons (359c47f)
- card: remove calculated width to work with dynamic margin (059d365), closes #15223
- chip: add and document custom properties (07e99a1), closes #14850 #14853 #14808
- config: scrollAssist boolean definition (#15203) (2af72fa)
- config: using sessionStorage is not safe (091b433)
- content: document and add custom properties (0372aec), closes #14850 #14808 #14853
- content: fix scroll events (962578e), closes #15244
- content: scrollToPoint reliability (e0f1259), closes #15257
- datetime: allow values to be zero (#14480) (e0b8e24)
- docs: add missed menu title in the list (#15300) (5f3c7cd)
- docs: use shape property to get round buttons (#15321) (d4c812f)
- docs: use shape property to get round buttons (#15322) (5c6fe45)
- hide-when: mode is a reserved property (c446d1b)
- img: add object-fit to the host to avoid skewing the inner img (2e94227)
- infinite-scroll: remove unused method (926758e)
- input: clearInput works in device (ac96705), closes #15319
- menu: do not override --ion-color-base (a890828)
- modal: make sure content is ready (2c8bc04), closes #14969
- nav: remove nav-decor once transition finished (b8a87fb), closes #15121
- note: do not overide --ion-color-base (5f90dbf)
- overlay: expose "animated" API (8b768fb), closes #14775
- overlays: dismiss last overlay (c1c5102)
- overlays: esc button works closed top overlays (c567a82), closes #14662
- picker: tune scrolling speed (bd75bf4)
- platform: better detect platforms + css API (3ffa3cd), closes #15165 #15116
- popover: make sure content is ready (8bf60e7)
- popover: they should not below other overlays (d83e7f8), closes #14662
- refresher: tune threshold (d129f62), closes #15233
- ripple-effect: add and document custom properties (37a149c), closes #14850
- segment: add and document custom properties (08c6c97), closes #14850 #14808 #14854
- select: add and document custom properties (88613ff), closes #14850
- select: random type in generated.d.ts (11edc49)
- select: support any kind of value (151c58e), closes #15200
- skeleton-text: add and document custom properties (b213500), closes #14850
- slides: document custom properties (ecf1eb8), closes #14850
- split-pane: add and document custom properties (9104850), closes #14850
- textarea: remove autocomplete prop (5989f15)
- title: mode is inherited (94ea0a6), closes #15187
- toggle: cursor: pointer in desktop (86acb8c)
- toolbar: add position relative to host for toolbar background (ac2db9f), closes #15193
- transition: cleanup transition (70a38ac), closes #15317
- virtual-scroll: update VS when items change (3adfb98)
- all: strong typed ComponentProps (57d2375)
- inputs: add focus() method (c66a34a), closes #15266 #15268
- platform: add capacitor (7356ba5)
4.0.0-beta.3 (2018-08-16)
- all: improve text customization (6e3e07b)
- all: safe-area using css variables (aa23d08)
- all: user-select for desktop (2d70ee4)
- anchor: add custom properties and make sure color works properly (8fef263), closes #14850
- angular: add ion-backdrop (89e8256), closes #14971
- angular: save internal data (f84bb76), closes #14888 #14885 #15054 #15050
- avatar: document and add custom properties (6738ab7), closes #14850
- badge: add custom properties and make sure color works properly (9beca98), closes #14850
- card: add custom CSS properties and remove css overrides on item (5ed2201), closes #14850 #14808 #9198 #12646
- card-subtitle: add and document custom CSS properties (7050039), closes #14850 #14808
- card-title: add and document custom CSS properties (1ad9818), closes #14850 #14808
- checkbox: document and add custom CSS properties (3e3cc6c), closes #14850 #14808
- config: add persistance mode (db0049f), closes #15102
- config: persistConfig (1e1964d)
- content: overflow-behavior: contain (6173479)
- content: scrolling Y (01323ac)
- content: scrollToTop (695abcf)
- css: --ion-item-background > --ion-item-background-color (#15101) (e3010e1)
- datetime: add open() method (f032769), closes #14923
- docs: replace ion-navbar with ion-toolbar (#15126) (0219309)
- fab-button: sets pointer-events none when disabled (04d33e5), closes #15129 #15120
- input: event interfaces (2e7d355)
- menu: dismiss when clicking outside (288eeb5), closes #15096
- picker: allow 0 as the selectedIndex (d19061c), closes #14563
- range: adds css var (3ab835c), closes #15064
- router: transition race condition (50ad1e7), closes #14873 #15090
- segment: center align text (154b70e)
- segment-button: add and document custom properties (85ffe01), closes #14850
- select: apply proper styles for stacked/floating selects (42ca99d), closes #15140 #14850
- spinner: add and document custom properties (da6df2a), closes #14850
- split-pane: disabled prop is dynamic (149039b), closes #14959
- tabbar: fix highlight bar (39104cb)
- tabs: get the tabbar layout working with shadow DOM (#15113) (575c5eb), closes #14611
- tap-click: nested buttons get activated first (03da98e)
- tap-click: works inside shadow-dom (0dc70f7), closes #15128
- textarea: add and document custom properties (5dfcd47)
- textarea: add ion color classes (5627811)
- thumbnail: add and document custom properties (c88e1ad), closes #14850
- toast: add and document custom properties (5f6f6a1), closes #14850
- toast: statusbarPadding (3da1bf4)
- toggle: add and document custom properties (773c2c2), closes #14850
- toolbar: add and document custom properties (dd114ff)
- virtual-scroll: fix viewportOffset calculation (b7e741a), closes #14963
- virtual-scroll: use FunctionalComponent for JSX integration (b53ce4b)
- config: strongly typed config (0169045), closes #15097
- select: add open method (4047812), closes #14881
4.0.0-beta.2 (2018-08-08)
- all: buttons are type="button" (2b7007f)
- app: fix statusbarPadding (2c925b7), closes #15073
- chip: conforms to ion-icon (f49fa4a), closes #15053
- content: remove scroll-inner (efd77c9), closes #14985
- datetime: fix gesture (e9fd184)
- datetime: ionChange event (8b35e37)
- header: safe margin when statubarPadding=0 (b69d01d)
- input: hide clear button (141b86c), closes #15002
- menu: add width and small-width css variables (#14997) (69f5cc8)
- menu: content's box-shadow (48e2a4e)
- nav: animation backdrop (948d083)
- popover: ion-scroll sizing (b85d4a0), closes #14911
- range: value changes when using keyboard (27fdc9a), closes #15065
- searchbar: color (14d6270), closes #14998
- sliding: fix core gesture logic + priority configuration (a77ee2a), closes #14763
- split-pane: side=end works properly (dc50003), closes #15013
- tab: edge prop (2a4327f), closes #15003
- tap-click: desktop also needs tap-click (9f4d873)
- core: add check for standalone mode (#15001) (0b4b9fe)
- item-sliding: adds disabled prop (9773e2a), closes #14831
- app: move app css to global css (a71f382)
- menu: flickering (8253b04)
- scroll: filter velocity using exponential moving window (419ef7b)
4.0.0-beta.1 (2018-08-01)
- accesibility: boolean aria-* properties (4f9cbfe)
- all: strong type text fields (1d001a3)
- all: updated tslint rules to latest (92e21a8)
- angular: events (7a0545d), closes #14866
- angular: ion-router-outlet exposes animated (266336e), closes #14913
- angular: pass proper animated value (7813acc)
- app: statusbarPadding (fd8f875)
- app: user-select on desktop (8a1ad1d)
- button: do not change border radius if round button in toolbar (#14941) (ad006dd), closes #7661
- button: improve text style inherency (25423a0), closes #14927
- button: submit forms using fake button (c05d672), closes #14890 #14786
- color: make desktop selection beautiful (0cdb500)
- config: avoid using startWith for IE support (73a9f14), closes #14922
- content: bottom padding (be4eda5)
- fab: add styles for disabled (520da8d), closes #14867
- flex-utils: add missing flex attributes (7c12e1b)
- input: add color support for ion-input (f676f98), closes #14864
- inputs: better customization for placeholder color (517104f)
- item: only use pointer cursor for and (f19553f)
- pointer-events: listening to document (afb0906)
- refresher: default to disabled false, add to breaking changes (f1826a6), closes #14879
- router-outlet: fix stack attribute detection (#14921) (16e992a)
- searchbar: fix input bluring (d65174b), closes #14916
- slides: update events to match swipers (fc0d4c0), closes #14865
- title: can be used nested (d1969bd), closes #14905
- title: support color (7da0ac4)
- app: tap-click is a ES (b0ac5ba)
- css: always emit compressed css (143f0f0)
- gesture: lazy loaded dynamic ES module (49cac8b)
- icon: disable icon lazy loading when it's not needed (7292fc7)
4.0.0-beta.0 (2018-07-25)
- angular: always dispatch lifecycle events (5677daa)
4.0.0-alpha.14 (2018-07-25)
- angular: hide pages properly (a44b844)
- angular: make pages invisible before they are rendered (a589816)
- transition: make sure hidden is removed (f52dece)
4.0.0-alpha.13 (2018-07-24)
- css: revert hidden css (7d3d98d)
- tab: prevent infinite loop (05b258c)
- toolbar: remove transparent border on translucent toolbar (55cb354)
4.0.0-alpha.12 (2018-07-24)
- all: accesibility and global styles for hidden nodes (4b844ef)
- checkbox: get css variable customization working better (3e7aa4b)
- content: set height to make it accessible for children elements (#14772) (857b42d)
- grid: set the flex and width to auto when size is auto (ba30671), closes #14807
- inputs: inputs work inside (8324bd1)
- label: style color (5c0e9e6)
- list: hide the last item border when there are no lines (#14770) (26f7379), closes #14769
- margin: adds css variables (f6c8f3f), closes #14798 #14826
- menu-button: fix sass linting (d22f04b)
- menu-button: get proper styles when used inside ion-buttons (811eee7)
- modal: use flex to position modal to make it easier to size (9488a98), closes #14392
- overlay: remove global css vars in overlays for local ones (38b1e47)
- refresher: find parent ion-content properly (4eab209), closes #14833
- slides: swiper container should take up 100% height (1d201ec), closes #14771
- spinner: color can be customized in non-shadow-dom (65008e7)
- spinner: get paused attribute working and update tests (3ab1e2d), closes #14811
- button: overflow is configurable (ddb1e49), closes #14839
- menu: add getWidth() (cb4acab), closes #14794
4.0.0-alpha.11 (2018-07-16)
- anchor: add proper styling, support for colors, and basic test (1dbf5bb), closes #14777
- anchor: inner inherits text styles (9aedfc6)
- button: add box-sizing so anchor buttons won't exceed max-width (9c9f081), closes #14760
- button: set display type on host (89d1526)
- button: submit form w/ ion-button within shadow dom (4ed8541), closes #14776
- item: add cursor pointer back to native item (43f1fec), closes #14743
- searchbar: use tag in toolbar context selector (124b87c)
- segment: add styles for in a color toolbar (d9e4ca7)
- spinner: style CSS props (2798bb0)
- tab: props are reactive (00c4c77)
- tab-button: add a class to hide the tab when show is false (eb9ed17)
- tabs: add the colors to the tabbar as well (5348e7c), closes #14758
- tabs: fix the tabs so the color property works on tab button (8aed3bf), closes #14758
- virtual-scroll: read viewport size for every scroll event (1d3eb3f)
4.0.0-alpha.10 (2018-07-11)
- angular: publish css to npm (748c209)
- item: pass the correct type property to the button tag (5f8b02e), closes #14740
- tabs: correct alignment for label/icon only tabs (b46c3e2)
- tabs: update the tabbar placement value to match the property it applies to (45583bc)
- toolbar: get translucency working with header, footer and toolbar (f6ab5b6)
4.0.0-alpha.9 (2018-07-10)
- angular: esm (0e68f17)
4.0.0-alpha.8 (2018-07-09)
- angular: avoid TS 2.8 features (c736bac)
- angular: correct subscription to cordova ready event (#14577) (5967352)
- bundling: fix EventEmitter import (8e47101)
- linting (e629e29)
- icon: target element for style and add to breaking (949d93e)
- overlay: make type an any (15dc651)
- router: fix reuse strategy (bd53bba)
- scripts: update github release notes (fc078af)
- tabs: align tab title and icons to flex-start (c11d74b), closes #14606
- all: custom icons (e6638e7)
- dir: default to ltr css, rtl overrides w/ [dir=rtl] selectors (fb4353c)
- slides: update swiper to latest (8e164d6)
4.0.0-alpha.7 (2018-05-17)
- all: strong typing for color (618f708)
- angular: platform logic belongs to core (af5db2f)
- angular: build script (a88e1e8)
- angular: params are assigned to props (7fa6e43)
- angular: populated the platforms array (#14466) (d177087)
- angular: Required<> is not available (8aa6965)
- angular: routerLink integration (ed8ff4f)
- content: scrol-inner takes all height (3da0c98)
- nav: Remove console.log (#14467) (d93b1d5)
- refresher: adds threshold (34ae904)
- router: accepts root direction (ae9d0c7)
- router: fix push() public interface (875b9d0)
- img: adds lazy load image (b06c65f)
4.0.0-alpha.6 (2018-05-10)
- angular: aot (714f4a6)
4.0.0-alpha.5 (2018-05-10)
- alert: onDidDismiss() is called (7b33039)
- all: snapshot tests (cc7ab4e)
- angular: exports (50021cd)
- angular: routerLink uses (526c9a8)
- angular: setup config provider correctly (82fbe31)
- angular: unexport some es2017 js (f7bcb68)
- app: fix the statusbar-padding to match new structure (6c2d539)
- back-button: fix position (e00da6d)
- capacitor: detect capacitor native (23d86eb)
- hover: remove ion-app .enable-hover css (a939fa2)
- inputs: interactive css to rule all them (1bd5467)
- refresher: move gesture target to content (df2faa4)
- router: change events when URL changes (ece86ee)
- router: dynamic redirects (ba551fd)
- router: route information is stateless (0f8477d)
- snapshot: using md mode (e352d1b)
- theming: update contrast colors (ae1028d)
- virtual-scroll: JSX can render headers and footers (012127d)
- virtual-scroll: linting (df8a4f7)
- all: dynamic import (bb809b6)
4.0.0-alpha.4 (2018-04-30)
- angular: compare router params length (b3a9c7f)
- angular: Config provider (329a348)
- angular: platform.ready() returns type (c0ec02e)
- angular: update proxies (da0bfc7)
- config: add object.entries polyfil (c917a3c)
- config: add setupConfig util (0c1476e)
- lint: import order (8b1452c)
- nav: rename animate to animated (98a3519)
- prerender: router compatible with prerender (9c7b0ca)
- router: error when it can't initialize property (e56b2ee)
- router: initial load waits until outlet attaches (c905ba4)
- router: root prop (89d5a35)
- router: writeURL() for non root base (af4bcb8)
- scripts: github release (545d3c2)
- segment: checked can be changed dynamically (78454b4)
- select: cssClass + strong typed (826e02b)
- toast: only use constant and env if supported (#14399) (9bee0f0)
- validate: fix type errors (3328314)
- router: add willChange event (d613411)
4.0.0-alpha.3 (2018-04-23)
- all: strong typed events (d5129df)
- angular: adds missing events (c929dad)
- angular: Config provider (c87f0c5)
- angular: platform ready() (2b3c14b)
- overlay: cssClasses applied to overlay (43d7538)
- prerender: local references to window/document (78bd146)
- virtual-scroll: queue.write (c1cbbc5)
- angular: animation is explicit (099b3ed)
- platform: remove from critical path (86a6cde)
4.0.0-alpha.2 (2018-04-13)
- angular: add NavParams (22ebbce)
- angular: change detection in deep ViewContainers (850d7fc)
- angular: emit es5 code (02c1e83)
- angular: icon proxy (db5313e)
- angular: router-outlet uses stack by default (5c91101)
- angular: using es2017 types (12a27bc)
- angular: viewContainer in overlays (8ad3df9)
- back-button: get the back button color working (5f4250b)
- fab: fix fab activation (a203534)
- label: inline position by default (fde878b)
- label: using prop for position (b1ee4b8), closes #14288
- mode: set mode css class on ion-app (fcb08e1)
- props: update stencil (ea24ad6)
- react: FrameworkDelegate matches API (e40a6b0)
- toast: account for safe-area on ios (d984214)
- angular: adds DomController (6a31f39), closes #14286
- angular: push/setRoot/pop (4d23cba)
- DomController: add DomController provider using stencil queue (bceece7)
- queue: use stencil's queue controller for dom read/writes (d623b3b)
- router: dont reuse the component if the params are different (5899b03)
- routerDirection: refactors goBack (54d7a12)
4.0.0-alpha.1 (2018-04-06)
- angular: change detection (79ba639)
- angular: proxy methods (5153da4)
- angular: proxy outputs (64a9497)
- menu: prerender (a3cd5db)
- split-pane: prerender (c6e962c)
0.2.2 (2018-04-05)
- back-button: fix menu and back button alignment (#14268) (57fbf6c)
- ripple-effect: animation (25c852c)
- sass: add missing alert css properties (#14269) (3471dd6), closes #14258
- script: release script pushes tags (d23108a)
- scripts: improve script (2215c6a)
- select: pass header and subHeader to interfaces (2195895)
- select: wrap the text for the message in a popover (0a0959b)
0.2.1 (2018-04-04)
- angular: back button prevents default (4db687e)
- angular: back-button (1f78390)
- angular: back-button does not push view (bb46b5f)
- angular: tabs flickering (7e97006)
- app: hide elements (11cb42f)
- scripts: update dep version (974b949)
- angular: href integration (09e6b7e)
0.2.0 (2018-04-02)
- angular: URL based tabs (14fedb9)
0.1.6 (2018-04-02)
- angular: lifecycles (062641d)
- angular: modal and popover (acd411d)
- angular: module exports (cece447)
- angular: proxies (2308239)
- angular: tabs angular tests (ff1ed88)
- router-outlet: enteringEl !== leavingEl (0d44253)
- router-outlet: mutable prop (ff06dab)
0.1.5 (2018-03-29)
- all: absolute positioning (4fcddad)
- angular: goback navigation (7b9a00e)
- angular: ion-back-button (9c789ce)
- angular: stack based navigation (726938f)
- avatar: adjust wide images to fill instead of squish (b0f8ca5)
- back-button: empty text is a valid value (eb0ff2f)
- back-button: ios style (2b8e489)
- button: dynamic bar-button (d0c5f53)
- checkbox: update ios checkbox to be closer to native (b29fce1)
- components: add font-smoothing to mixing components (9caeec7)
- covers: absolute positioning (ce09978)
- item-option: remove outline on active/focus (eae6869), closes #14191
- label: add missing text-wrap styles for ios (a9bd76a), closes #13157
- menu: default menu mode (c31bcde)
- nav: animated opts (57a5d49)
- nav: no animation (4fdfddb)
- nav: transition name (011a374)
- picker: do not scroll (1c06bfe)
- ripple-effect: tapclick is required in ionic (d57122c)
- router: change detection for componentProps (a718f7e)
- router: explicit goback should not push (7a26162)
- router: fixes navChanged() (dddaee1)
- router: ion-nav (113af9e)
- router: loging (ffaec16)
- router: route change detection (9e9f2a2)
- router: wait RAF (b26a563)
- slides: unload slides correctly (59c6891)
- thumbnail: adjust wide images to fill instead of squish (54558c9)
- toast: dismiss timeout (44f343d)
- toolbar: unused private (c9d2a0d)
- transition: nav ios transition (095f9c8)
- button: goback attribute (00fc460)
- config: add set to config (69a6f8d)
- content: scrollEnabled (5c2678f)
- menu-controller: expose registerAnimation (153f8ca)
- nav: goBack directive (862e571)
- nav-controller: goback best guess (46bbd0f)
- ripple: css variable color (77fc792)
- tab: framework support (48d1bd4)
- app: platform is not needed (e681836)
0.1.4 (2018-03-21)
- action-sheet: update padding on title to match native (f0a40fa)
- alert: update colors for alert text and input borders (605ec93), closes #14196
- alert: update md alert to closer match spec (7d53e49)
- all: ts strict (part 4) (4693229)
- angular: router-outlet animation (943e2f7)
- chip: use lighter background color (08553f1), closes #14196
- picker: does not scroll (b49a45d)
- router: reusing checks params (371fc19)
- router-outlet: css and change logic (6e683c5)
- fab: add box shadow and transition for ios (d26074a)
- ion-router-outlet: adds router-outlet (c03afab)
0.1.4-9 (2018-03-20)
- all: ts strict (part 3) (06ad60e)
- angular: ion-nav no routing (9094c66)
- angular: removeViewFromDom (41f54f8)
- back-button: use correct color for ios back button (b82c382), closes #14177
- overlays: page is removed properly (9988c75)
- theming: update spinner classes to new names (f578122)
- angular: ion-nav (f39d3ad)
0.1.4-8 (2018-03-19)
- nav: support for rootParams (50abcf5)
0.1.4-7 (2018-03-16)
- router: wildcard redirects (2bdf4ad)
0.1.4-6 (2018-03-15)
- alert: backdrop calls cancel handler (de22eca)
- alert: set input value (6e2a9c9)
- angular: create angular delegate (3b5f758)
- angular: fix overlays (cc4fecc)
- angular: modal and popover support (9a0755a)
- demos: fixes angular (f398b3a)
- overlay: using hostData for zIndex (64f0866)
- overlay: wrong stencil import (22f6a34)
- overlays: OverlayController interface (6e2ca85)
- popover: lifecycles (b56c2a8)
- router: ambiguous routes (b4f46ee)
- router: fix selection (207f416)
- router: rename API to match stencil-router (e729610)
- router: retuning string path (f48d817)
- toggle: ios shadow (7df023a)
- ion-router: dynamic routes (7c3cba0)
- overlay: adds lifecycle events (0b099ce)
- overlays: adds onDidDismiss and onWillDismiss (7dcf8a5)
0.1.4-5 (2018-03-09)
- item: button outline (f671008)
- router: fix flickering (f2ac6e3)
- router: flickering 2 (88f2981)
- router: tslint (1ace045)
- router: adds redirectTo (f5c6333)
0.1.4-4 (2018-03-08)
0.1.4-3 (2018-03-08)
- router: passing params to ion-nav (d1263a8)
- back-button: adds defaultHref (5271f68)
- nav: params (878d7e6)
- route: adds route-link (4a3030f)
- router: reverse lookup with params (3ce8a67)
0.1.4-2 (2018-03-07)
- fab: add side as a property for fab list (7387d34)
- ion-router: fixes routing algorithm (c8a27b7)
- item: href (540c33b)
- overlays: bundling of overlays (9650bec)
- router: invalid url (c7fe694)
- routing: flickering (part 1) (7b264f9)
- tabs: do not select when using router (174d9b5)
0.1.4-1 (2018-03-07)
- ion-router: fixes routing algorithm (c8a27b7)
- overlays: bundling of overlays (9650bec)
- routing: flickering (part 1) (7b264f9)
- tabs: do not select when using router (174d9b5)
- virtual-scroll: adds JSX support (dc8b363)
0.1.4-0 (2018-03-06)
- Refactored navigation system
- testing: do not throw error for missing Ionic global (aa91d11)
- zone: forgot to remove console.logs (4ec3e48)
0.1.3 (2018-03-03)
- Updates to latest stencil, that includes the zone bypassing abilities.
- ts: ts strict fixes (8ff02c7)
0.1.2 (2018-03-03)
- scroll: clearInterval just to be safe (6da9882)
0.1.1 (2018-03-01)
- button: pass the property type instead of hardcoding button (10e481a)
0.1.0 (2018-03-01)