Commit Graph

463 Commits

Author SHA1 Message Date
Brandy Carney
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
Adam Bradley
564d4fc5e0 test(gestures): init gesture test 2016-03-06 21:12:24 -06:00
Adam Bradley
a0b5ca15dc chore(touchaction): use autoprefixer to add -ms- 2016-03-05 21:59:26 -06:00
Adam Bradley
01294107ed fix(touchaction): apply to child touch elements 2016-03-05 21:30:43 -06:00
Adam Bradley
e1c77a3c6d feat(touchaction): remove 300ms delay via touch-action 2016-03-04 13:23:16 -06:00
Brandy Carney
948da71e79 docs: add missing brackets to API docs for id
closes #5713
2016-03-04 10:55:57 -05:00
Tim Lancina
4a21fb02f8 docs(IonicApp): IonicApp is not private 2016-03-04 08:55:58 -06:00
Brandy Carney
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
Brandy Carney
2b77d52061 docs(API): clean up API docs 2016-03-01 19:24:33 -05:00
Brandy Carney
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
Adam Bradley
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
Brandy Carney
870dda5507 Merge branch '2.0' into windows-mode 2016-02-22 20:38:50 -05:00
Brandy Carney
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
Tim Lancina
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
Arunas Cesonis
cc1dff2ceb Update id.ts 2016-02-22 10:34:13 +00:00
Adam Bradley
b62725c8ce chore(animation): pass instance to onFinish callbacks 2016-02-21 13:52:25 -06:00
Adam Bradley
3c8daa0781 feat(prodMode): set isProd() when prodMode set in @App config 2016-02-21 13:01:31 -06:00
Adam Bradley
5302d63b54 chore(animation): fix ele querySelectorAll 2016-02-21 12:26:47 -06:00
Adam Bradley
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
mhartington
019009a3e2 chore(): fix bad types for docs 2016-02-12 16:36:27 -05:00
Tim Lancina
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
Drew Rygh
7d8e567c65 docs(id): fix broken link 2016-02-09 18:37:01 -06:00
Adam Bradley
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
Manu Mtz.-Almeida
06b3a5b3bd feat: hairlines width can be configured with a sass variable 2016-02-07 15:00:34 +01:00
Adam Bradley
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
Brandy Carney
856002ef0c docs(demos): add id API demo
references driftyco/ionic-site#397
2016-02-04 14:25:51 -05:00
Adam Bradley
f3fb182137 fix(scrollbars): do not apply css scrollbars 2016-02-01 19:08:01 -06:00
mhartington
9500f817d0 docs(id): make Input private 2016-02-01 14:42:49 -05:00
Adam Bradley
c7f22681fd feat(scrollbars): webkit scrollbar styling for desktop 2016-01-28 20:05:11 -06:00
Brandy Carney
047a9396da docs(demos): remove attr from docs 2016-01-27 13:43:16 -05:00
Adam Bradley
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
Eddie Lau 3dd13
07953672f5 add more types to function parameters and return type 2016-01-19 16:44:46 +08:00
Adam Bradley
b5d8a1de70 chore(): remove use of host: {inputs: []} 2016-01-14 21:14:23 -06:00
Tim Lancina
6e9ac500c2 chore(): fix IonicApp types 2016-01-13 23:06:13 -06:00
Adam Bradley
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
Adam Bradley
e5aeff828d fix(icon): set ion-icon colors per mode 2016-01-06 22:09:30 -06:00
Brandy Carney
a59378c9b0 Merge branch 'master' into item-buttons 2016-01-05 16:57:29 -05:00
Brandy Carney
f2bb7fe8d5 feat(typography): added text align and transformation attributes
references #279
2016-01-05 16:30:42 -05:00
Adam Bradley
95501a1e86 fix(tap): do not fire tap click while scrolling
Fixes #681
2016-01-04 22:28:49 -06:00
Adam Bradley
6bfdfddf73 test(): typography tests 2016-01-04 13:33:22 -06:00
mhartington
0f64bccc43 chore(): prefix private methods 2015-12-18 15:39:22 -05:00
Brandy Carney
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
Brandy Carney
dd6773a5fa fix(typography): remove negative margin top for first header unless in padding
fixes #769
2015-12-17 14:14:05 -05:00
Brandy Carney
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
Drew Rygh
068f3ceb29 Merge remote-tracking branch 'origin/master' into WIP-api-demos 2015-12-16 11:13:03 -06:00
mhartington
f97e9eaa19 docs() id, content, bootstrap, item, item-sliding 2015-12-15 16:57:54 -05:00
mhartington
b0d685ea85 docs()
References #740
2015-12-14 18:13:29 -05:00
Adam Bradley
e387e0763a feat(button): disabled attr on button css styling 2015-12-14 14:15:33 -06:00
Brandy Carney
41fac64256 fix(button): add button-disabled class when disabled attribute is on button
closes #741
2015-12-14 14:00:20 -05:00
Drew Rygh
30543fd6c7 docs(attr): link to api demo
Related: #739
2015-12-14 11:04:46 -06:00