444 Commits

Author SHA1 Message Date
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
41fac64256 fix(button): add button-disabled class when disabled attribute is on button
closes #741
2015-12-14 14:00:20 -05:00
30543fd6c7 docs(attr): link to api demo
Related: #739
2015-12-14 11:04:46 -06:00
451f909043 fix import 2015-12-10 16:41:57 -06:00
d464d5cb1c remove angular2/angular2 imports 2015-12-10 16:41:57 -06:00
59c7aab15f refactor(headings): update heading sizes 2015-12-10 14:54:53 -05:00
025176d67c refactor(headings): update heading sizes 2015-12-10 13:49:20 -06:00
ecb35c7c6c feat(img): default to max-width: 100% 2015-12-10 13:26:19 -06:00
854d90f4c1 refactor(sass): moved all mode files to the top level component directory and renamed to include the directory name
references #689
2015-12-09 17:20:11 -05:00
243f03e545 Merge branch 'alpha50' into css-refactor 2015-12-09 07:47:30 -06:00
30b88d746b chore(): add ng prefix to lifecycle interfaces 2015-12-08 21:38:26 -06:00
66e13b890f update md segment 2015-12-07 20:36:17 -06:00
ba9b9bcdf4 Merge branch 'master' into css-refactor 2015-12-07 11:18:09 -06:00
d7aacc7f19 Update id.ts
Fix menu section to point to the correct url
2015-12-06 09:06:44 +07:00
98e81641a7 fix toolbars 2015-12-05 16:02:25 -06:00
a22e2cfdd7 update mode link colors 2015-12-05 11:25:48 -06:00
5ae94e6559 mode font styling 2015-12-05 11:19:09 -06:00
cc91591b2d update button 2015-12-05 10:16:28 -06:00
831ec87308 import mode globals in all mode components 2015-12-04 21:34:27 -06:00
8148927c88 updates 2015-12-04 14:34:24 -06:00
322d68f886 Storage tesT 2015-12-04 12:52:01 -06:00
fe061a142a docs(attr) 2015-12-03 17:38:53 -06:00