465 Commits

Author SHA1 Message Date
253cfc182b style(sass): fixing lint errors
references #5797
2016-03-14 16:44:08 -04:00
d3d689ae11 style(sass): remove all PropertySortOrder errors from linter
references #5797
2016-03-14 15:56:19 -04:00
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
564d4fc5e0 test(gestures): init gesture test 2016-03-06 21:12:24 -06:00
a0b5ca15dc chore(touchaction): use autoprefixer to add -ms- 2016-03-05 21:59:26 -06:00
01294107ed fix(touchaction): apply to child touch elements 2016-03-05 21:30:43 -06:00
e1c77a3c6d feat(touchaction): remove 300ms delay via touch-action 2016-03-04 13:23:16 -06:00
948da71e79 docs: add missing brackets to API docs for id
closes #5713
2016-03-04 10:55:57 -05:00
4a21fb02f8 docs(IonicApp): IonicApp is not private 2016-03-04 08:55:58 -06:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
2b77d52061 docs(API): clean up API docs 2016-03-01 19:24:33 -05:00
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
91df5f97ee refactor(refresher): allow refresher content customization
Breaking Change:

## Refresher:

- `<ion-refresher>` now takes a child `<ion-refresher-content>`
component.
- Custom refresh content components can now be replaced for Ionic's
default refresher content.
- Properties `pullingIcon`, `pullingText` and `refreshingText` have
been moved to the `<ion-refresher-content>` component.
- `spinner` property has been renamed to `refreshingSpinner` and now
goes on the `<ion-refresher-content>` component.
- `refreshingIcon` property is no longer an input, but instead
`refreshingSpinner` should be used.

Was:

```
<ion-refresher (refresh)="doRefresh($event)"
pullingIcon="arrow-dropdown">
</ion-refresher>
```

Now:

```
<ion-refresher (refresh)="doRefresh($event)">
  <ion-refresher-content
pullingIcon="arrow-dropdown"></ion-refresher-content>
</ion-refresher>
```
2016-02-27 17:33:59 -06:00
870dda5507 Merge branch '2.0' into windows-mode 2016-02-22 20:38:50 -05:00
a9c995d07d feat(windows): initial add of windows mode
basically a copy of md for now

references #5565
2016-02-22 20:36:02 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
cc1dff2ceb Update id.ts 2016-02-22 10:34:13 +00:00
b62725c8ce chore(animation): pass instance to onFinish callbacks 2016-02-21 13:52:25 -06:00
3c8daa0781 feat(prodMode): set isProd() when prodMode set in @App config 2016-02-21 13:01:31 -06:00
5302d63b54 chore(animation): fix ele querySelectorAll 2016-02-21 12:26:47 -06:00
22c32f3ab5 fix(animations): remove inline styles when finished
Allows for one animation to control multiple elements. Optionally
removes inline styles when the animation finishes. Fixes checking for
the will-change property. Does not always apply translateZ on ion-page.

Closes #5130
2016-02-17 23:02:31 -06:00
019009a3e2 chore(): fix bad types for docs 2016-02-12 16:36:27 -05:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
7d8e567c65 docs(id): fix broken link 2016-02-09 18:37:01 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
06b3a5b3bd feat: hairlines width can be configured with a sass variable 2016-02-07 15:00:34 +01:00
acf12cdd15 refactor(menu): inject MenuController to control app menus
Menu has been improved to make it easier to open, close, toggle and
enable menus.
Instead of injecting `IonicApp` to find the menu component, you now
inject
`MenuController`.

Was:

```
constructor(app: IonicApp) {
  this.app = app;
}
openMenu() {
  this.app.getComponent('leftMenu').close();
}
```

Now:

To programmatically interact with any menu, you can inject the
`MenuController`
provider into any component or directive. This makes it easy get ahold
of and
control the correct menu instance. By default Ionic will find the app's
menu
without requiring a menu ID. An id attribute on an `<ion-menu>` is only
required
if there are multiple menus on the same side. If there are multiple
menus, but
on different sides, you can use the name of the side to get the correct
menu

If there's only one menu:

```
constructor(menu: MenuController) {
  this.menu = menu;
}
openMenu() {
  this.menu.close();
}
```

If there is a menu on the left and right side:

```
toggleMenu() {
  this.menu.toggle('left');
}
```

If there are multiple menus on the same side:

```
<ion-menu id="myMenuId" side="left">...</ion-menu>
<ion-menu id="otherMenuId" side="left">...</ion-menu>

closeMenu() {
  this.menu.close('myMenuId');
}
```
2016-02-04 16:47:05 -06:00
856002ef0c docs(demos): add id API demo
references driftyco/ionic-site#397
2016-02-04 14:25:51 -05:00
f3fb182137 fix(scrollbars): do not apply css scrollbars 2016-02-01 19:08:01 -06:00
9500f817d0 docs(id): make Input private 2016-02-01 14:42:49 -05:00
c7f22681fd feat(scrollbars): webkit scrollbar styling for desktop 2016-01-28 20:05:11 -06:00
047a9396da docs(demos): remove attr from docs 2016-01-27 13:43:16 -05:00
ee106377fc chore(angular): upgrade to angular 2.0.0-beta.1
Biggest change was that renderer takes  and not just .
2016-01-20 11:15:01 -06:00
07953672f5 add more types to function parameters and return type 2016-01-19 16:44:46 +08:00
b5d8a1de70 chore(): remove use of host: {inputs: []} 2016-01-14 21:14:23 -06:00
6e9ac500c2 chore(): fix IonicApp types 2016-01-13 23:06:13 -06:00
387f883be3 refactor(input): split TextInput and ItemInput components
Make it easier to start adding other inputs, like select
2016-01-07 12:29:04 -06:00
e5aeff828d fix(icon): set ion-icon colors per mode 2016-01-06 22:09:30 -06:00
a59378c9b0 Merge branch 'master' into item-buttons 2016-01-05 16:57:29 -05:00
f2bb7fe8d5 feat(typography): added text align and transformation attributes
references #279
2016-01-05 16:30:42 -05:00
95501a1e86 fix(tap): do not fire tap click while scrolling
Fixes #681
2016-01-04 22:28:49 -06:00
6bfdfddf73 test(): typography tests 2016-01-04 13:33:22 -06:00
0f64bccc43 chore(): prefix private methods 2015-12-18 15:39:22 -05:00
196bdfd431 fix(typography): changing body to ion-content for text-color to be more specific
references #762
2015-12-17 14:35:12 -05:00
dd6773a5fa fix(typography): remove negative margin top for first header unless in padding
fixes #769
2015-12-17 14:14:05 -05:00
b005bd1601 fix(text): added text color for the entire body and added a paragraph variable
renamed some variables in item and added a variable for item paragraph
color. Fixes #762
2015-12-17 14:14:05 -05:00
068f3ceb29 Merge remote-tracking branch 'origin/master' into WIP-api-demos 2015-12-16 11:13:03 -06:00
f97e9eaa19 docs() id, content, bootstrap, item, item-sliding 2015-12-15 16:57:54 -05:00
b0d685ea85 docs()
References #740
2015-12-14 18:13:29 -05:00
e387e0763a feat(button): disabled attr on button css styling 2015-12-14 14:15:33 -06:00