Commit Graph

98 Commits

Author SHA1 Message Date
perry
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
Brandy Carney
36b7d338f6 docs(navigation): move deep linker docs to ionic page 2017-03-27 13:33:47 -04:00
Brandy Carney
042f698555 Merge branch 'master' into 3.0
# Conflicts:
#	src/components/action-sheet/test/basic/pages/page-one/page-one.ts
#	src/components/alert/alert.ts
#	src/components/content/content.ts
#	src/components/datetime/datetime.ts
#	src/components/datetime/test/datetime.spec.ts
#	src/components/loading/loading.ts
#	src/components/modal/test/basic/app.module.ts
#	src/components/picker/picker-component.ts
#	src/components/toast/toast.ts
#	src/components/toolbar/toolbar.ios.scss
#	src/components/toolbar/toolbar.md.scss
#	src/components/toolbar/toolbar.wp.scss
#	src/components/virtual-scroll/test/basic/app.module.ts
#	src/util/util.ts
2017-03-20 18:07:38 -04:00
Quentin
05f1e24cb6 docs(config): update page-transition
Closes #10789
Updated page transition animation sample and description.
2017-03-15 12:05:58 -04:00
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
Théo Mathieu
a78178ae23 docs(config): add locationStrategy to config table (#9445) 2017-01-20 13:39:26 -05:00
Adam Bradley
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
Mike Hartington
97ec20e422 fix(ripple): disable ripple on android 4.4 with chrome 2016-12-14 14:38:26 -06:00
Adam Bradley
dc7a638ae4 refactor(overlay): remove default pageTransitionDelay on dismiss 2016-11-21 13:40:21 -06:00
Manu Mtz.-Almeida
fc2ee6472f perf(picker): improves performance of picker and datepicker 2016-11-14 21:14:13 +01:00
Manu Mtz.-Almeida
90f9b5c42f fix(config): Cannot read property 'canDisableScroll' of undefined in unit tests 2016-10-20 22:16:25 +02:00
Gianfranco Palumbo
48c7823d2f docs(config): add missing closed curly bracket 2016-10-12 15:22:25 -04:00
Kevin Ceballos
6df2ec08b5 docs(config): add mode config property to readme (#8017) 2016-10-12 14:42:42 -04:00
mhartington
c65f936952 doc(config): update docs for NgModule 2016-10-07 14:09:33 -04:00
mhartington
600056cf17 docs(): remove prodMode config
Closes #8551
2016-10-07 09:41:16 -04:00
Manu Mtz.-Almeida
e75d9be822 fix(reorder): several reorder lists in the same view 2016-09-30 19:39:53 +02:00
mhartington
4baa5b1e0c docs(): update docs 2016-09-26 14:28:11 -04:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Adam Bradley
c1777c6d18 test(config): fix unit tests 2016-09-16 01:23:04 -05:00
Adam Bradley
7c05d0c0ba fix(di): update dependency injection and default configs 2016-09-16 00:49:09 -05:00
Adam Bradley
6784f5e744 fix(exports): update module exports 2016-09-14 15:54:24 -05:00
Adam Bradley
88b6524155 refactor(config): provide config setup factory 2016-09-13 15:19:40 -05:00
Lee Nathan
421f637f96 feat(chips): added Chip component 2016-08-24 17:24:32 -04:00
Brandy Carney
55a0257dbc refactor(colors): color should be added as an input instead of directly adding the color to the component
BREAKING CHANGES:

Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.

For example:

```
<ion-tabs primary>
```

Becomes

```
<ion-tabs color=”primary”>
```

Or to bind an expression to color:

```
<ion-navbar [color]="barColor">
   ...
</ion-navbar>
```

```ts
@Component({
  templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
  barColor: string;

  constructor(private nav: NavController, platform: Platform) {
    this.barColor = platform.is('android') ? 'primary' : 'light';
  }
}
```

Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.

references #7467
closes #7087 closes #7401 closes #7523
2016-08-23 17:16:55 -04:00
Alex Muramoto
97b57f1b53 Update docs and fix typos (#7776)
* docs(input): fix typo

* docs(scroll): add note about required CSS for scrollY

* docs(config): add swipeBackEnabled to config properties list

* docs(component generator): fix broken link in template comment

* docs(directive generator): fix broken link in template comment
2016-08-18 15:20:25 -04:00
Dan Bucholtz
174efc196d fix(gestures): fixes scroll issue with hammer config
Fixes scroll issue with hammer config where pinch/rotate gestures are preventing the screen from scrolling.

Closes #6897
2016-08-10 14:16:08 -05:00
Brandy Carney
bab90b5a3e test(tabs): update karma tests to latest default config 2016-07-29 09:28:52 -05:00
Brandy Carney
4dc53a2d9d refactor(tabs): change the material design tabs to act as bottom navigation
Update tabs to reflect the material design bottom navigation spec:
https://material.google.com/components/bottom-navigation.html#bottom-nav
igation-usage

BREAKING CHANGES:

Material design mode defaults have changed to the following:

```
tabsHighlight: false,
tabsPlacement: 'bottom',
tabsHideOnSubPages: false
```

`tabsHighlight` can now be passed as an attribute on the `ion-tabs`
element, this allows for tabs to be added in multiple places inside of
an app and enable the highlight on some of them.

references #7455
2016-07-28 21:57:35 -05:00
Brandy Carney
087e2f2480 revert(tabs): undo commit that removes tab sub pages
Fix advanced tabs test

This reverts
https://github.com/driftyco/ionic/commit/743de19ae898e83375b51ef9c376225
c8e63f0ef
2016-07-28 15:28:55 -05:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
perry
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8.
2016-07-18 19:40:03 -05:00
perry
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d, reversing
changes made to f4fac225fa.
2016-07-18 19:24:56 -05:00
Manu Mtz.-Almeida
72c24bc927 feat(gesture-controller): disable/enable scrolling 2016-07-14 00:52:43 +02:00
Adam Bradley
1ae6619367 Merge pull request #7212 from manucorporat/gesture-controller
New Gesture controller
2016-07-13 15:24:12 -05:00
Manu Mtz.-Almeida
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
Adam Bradley
b43689704b test(config): fix config tests 2016-07-12 20:33:39 -05:00
Adam Bradley
743de19ae8 refactor(tabs): remove tabSubPages UI
The Material Design spec has added “Bottom Navigation”, which is what
Ionic calls “Tabs”. Ionic’s MD mode now follows the updated Material
Design spec with the tabbar placed on the bottom. Additionally, any tab
sub pages do not automatically cover up the tabbar. Covering up the
tabbar is still possible by using a modal, however, it is no longer a
default feature for MD mode.
2016-07-12 20:28:40 -05:00
Adam Bradley
91f66d8972 chore(): cleanup unused modules 2016-07-11 23:00:45 -05:00
Brandy Carney
41064bf2be refactor(tabs): rename tab input/config options to be more clear/consistent
BREAKING CHANGES:

Tab input/config options have been renamed. The following options were
renamed:

- `tabbarHighlight` -> `tabsHighlight`
- `tabbarLayout` -> `tabsLayout`
- `tabSubPages` -> `tabsHideOnSubPages`
- `tabbarPlacement` -> `tabsPlacement`

The previous names have been deprecated. They will still work in the
current release but will be removed in the future so please update to
the new names.

references #7143
2016-07-07 13:09:00 -04:00
Adam Bradley
aebdf2f6e0 fix(bootstrap): return promise and resolve ionicBootstrap
Closes #7145
2016-07-01 20:39:09 -05:00
Adam Bradley
4d56219a4c refactor(forms): upgrade to @angular/forms 2016-06-30 21:54:48 -05:00
Manu Mtz.-Almeida
73580727ac fix(bootstrap): tapclick is injected, probably (#7128) 2016-06-29 15:27:22 -04:00
Manu Mtz.-Almeida
08f22fb82b docs(reorder): adds docs and demo for reorder directive 2016-06-29 17:35:33 +02:00
Adam Bradley
215c6d846c refactor(overlays): inject overlay providers
BREAKING CHANGES:

- Overlay components, such as Alert or Modals, should now be created
using its injected provider.
- Overlays now have the `present()` method on the overlay’s instance,
rather than using `nav.present(overlayInstance)`.
- All overlays now present on top of all app content, to include menus.
- Below is an example of the change to `Alert`, but the pattern is the
same for all overlays: ActionSheet, Loading, Modal, Picker, Popover,
Toast

WAS:

```
import { NavController, Alert } from ‘ionic-angular’;

constructor(private nav: NavController) {
}

doAlert() {
  let alert = Alert.create({
    title: 'Alert',
  });
  this.nav.present(alert);
}
```

NOW:

```
import { AlertController } from ‘ionic-angular’;

constructor(private alertCtrl: AlertController) {
}

doAlert() {
  let alert = this.alertCtrl.create({
    title: 'Alert'
  });
  alert.present();
}
```
2016-06-28 15:18:09 -05:00
Adam Bradley
2fe42ed63e chore(): clean up unused references 2016-06-28 11:28:25 -05:00
Manu Mtz.-Almeida
bfdc898945 feat(item): sliding items work with list reorder 2016-06-24 17:57:21 +02:00
Adam Bradley
0e9e85c448 fix(bootstrap): only add customProviders when present 2016-06-22 14:38:12 -05:00
Adam Bradley
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
Brandy Carney
712ff81fb5 feat(list): add list headers and item dividers as items
- `ion-list-header` and `ion-item-divider` now take advantage of the
same content projection as the `ion-item`
- they are still styled as list headers and item dividers
- added docs and demos on this addition

closes #5561
2016-06-22 13:01:55 -04:00
Adam Bradley
d13fa4e2cf refactor(structure): allow content to scroll under headers/footers 2016-06-16 11:28:02 -05:00