Adam Bradley e50dc31d93 Merge branch 'master' into v4
# Conflicts:
#	README.md
#	package.json
#	src/components/action-sheet/action-sheet-component.ts
#	src/components/badge/badge.scss
#	src/components/card/card.ios.scss
#	src/components/card/card.md.scss
#	src/components/card/card.wp.scss
#	src/components/scroll/scroll.scss
#	src/components/scroll/scroll.ts
#	src/components/scroll/test/basic/main.html
#	src/components/slides/slides.scss
#	src/components/slides/swiper/swiper-effects.ts
#	src/components/slides/swiper/swiper-events.ts
#	src/components/slides/swiper/swiper-parallax.ts
#	src/components/slides/swiper/swiper.ts
#	src/components/toggle/test/toggle.spec.ts
#	src/components/toggle/toggle-gesture.ts
#	src/components/toggle/toggle.ios.scss
#	src/components/toggle/toggle.md.scss
#	src/components/toggle/toggle.ts
#	src/components/toggle/toggle.wp.scss
#	src/themes/ionic.mixins.scss
2017-05-17 23:03:49 +02:00
2017-05-17 16:25:08 -04:00
2017-05-17 23:03:49 +02:00
2017-05-17 23:03:49 +02:00
2015-11-13 21:11:21 -06:00
2016-01-20 09:00:32 -06:00
2016-09-13 15:09:39 -05:00
2017-05-17 23:03:49 +02:00
2017-05-17 23:03:49 +02:00

Ionic Angular v4

Ionic components will be working toward embracing web components with the following goals:

  • Users continue to use Angular to develop their apps and components
  • No changes to the development and build time experience
  • Minimal changes to the users markup
  • Reduce build times
  • Reduce startup times
  • Ionic components are loaded asynchronously by default and without added configuration

For the most part, ionic-angular will continue to work the same way, using the same API as previous versions. However, the implementation of some of the less complex components, such as ion-badge, will use the standardized web component v1 spec, which ships today in a majority of browsers. Additionally, for browsers that do not support web components, polyfills are added on-demand, which is already built into ionic-angular v4.

We will continue to develop and support ionic-angular v3 in the master branch. Ultimately the differences between v3 and v4 are internal, but on the surface it's the same ionic-angular as v3. 🍻

Changes

ion-label Required

Previously an ion-label would automatically get added to ion-item if one wasn't provided. Now an ion-label must always be added if the item is used to display text.

  <ion-item>
    <ion-label>Item's Text!</ion-label>
  </ion-item>

Testing

Update your package.json to match the following dependencies, remove the existing node_modules directory, and then run npm install:

  "@ionic/app-scripts": "nightly"
  "ionic-angular": "canary"

Future Goals

As Ionic components migrate to the web component standard, a goal of ours is to have Ionic components easily work within all of the popular frameworks.

Description
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Readme MIT 2.4 GiB
Languages
TypeScript 60.8%
HTML 24.8%
SCSS 10.9%
JavaScript 2%
Vue 1%
Other 0.5%