2091 Commits

Author SHA1 Message Date
ab61c0b9d1 chore(dgeni): setting inputs and outputs detection in dgeni 2016-02-09 19:02:11 -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
de76cefcf3 docs(navController): update docs 2016-02-09 15:33:51 -05:00
9cc28791db docs(navController): update docs 2016-02-09 10:17:09 -05:00
2621a87f5c docs(modal): update docs 2016-02-09 09:55:09 -05:00
5c21b933df Merge pull request #5310 from manucorporat/new-buttons-css
refactor(button): refactor button css to avoid using flex
2016-02-07 12:35:28 -06:00
0e3b25f3d5 Merge pull request #5360 from manucorporat/hairlines-variable
feat(hairlines): hairline width sass variable
2016-02-07 12:20:48 -06:00
06b3a5b3bd feat: hairlines width can be configured with a sass variable 2016-02-07 15:00:34 +01:00
64ae1000f4 refactor(button): refactors button's css to work in chrome/safari 2016-02-07 00:37:30 +01:00
273bef6591 segment-hover/active-fix 2016-02-06 15:54:29 -06:00
5ac1cf9048 docs(demos): fix item sliding demo and add the slides demo to the slide doc
references driftyco/ionic-site#397
2016-02-05 19:54:42 -05:00
5f21823d27 docs(demos): add item sliding & option API demo and fix docs for it
references driftyco/ionic-site#397
2016-02-05 19:40:09 -05:00
b69bd9420e docs(demos): add item demo which uses list demo but changes header
references driftyco/ionic-site#397
2016-02-05 18:56:22 -05:00
86f793dcee test(menu): fix snapshot test 2016-02-05 16:20:27 -05:00
2ca0068c56 docs(demos): add tabs demo with scenarios
references driftyco/ionic-site#397
2016-02-05 16:08:06 -05:00
c7a58f0dfc docs(menu): update docs 2016-02-05 15:06:54 -05:00
f2db74ba69 fix(tabs): show navbar on second page in tab 2016-02-05 13:55:10 -06:00
9a4b6bb9b0 docs(demos): add demo for select
references driftyco/ionic-site#397
2016-02-05 14:43:19 -05:00
78c2ecc84f docs(demos): add title demo which uses the toolbar demo but hides some
Hiding any toolbars that don’t use ion-title for the title demo only

references driftyco/ionic-site#397
2016-02-05 12:17:56 -05:00
5681406a99 docs(demos): update toolbar API demo and add navbar demo
references driftyco/ionic-site#397
2016-02-05 12:12:35 -05:00
80a889e3d7 Merge branch 'pr/5336' into 2.0 2016-02-05 10:46:24 -06:00
702daa5686 docs(modal): example of modals and NavParams 2016-02-05 10:45:02 -06:00
d23df4280c docs(demos): add input and textarea demos
references driftyco/ionic-site#397
2016-02-05 11:42:56 -05:00
768676794f feat(actionsheet): disable clicking backdrop to dismiss 2016-02-05 09:50:14 -06:00
2710e34851 fix(alert): ensure keyup listener has been removed 2016-02-05 09:38:16 -06:00
53e014fb0b feat(alert): disable clicking backdrop to dismiss 2016-02-05 07:50:14 -06:00
b08794e44d Merge branch 'add-disable-backdrop-click-dismiss-to-alert' of https://github.com/3dd13/ionic into 3dd13-add-disable-backdrop-click-dismiss-to-alert 2016-02-05 07:36:14 -06:00
16df0d8205 Documentation Update toolbar.ts
added missing quotes to documentation and changed property "placement" to "position"
2016-02-05 14:01:11 +05:30
70c57beafc add an option to create alert which cannot be dismissed by clicking backdrop 2016-02-05 15:47:46 +08:00
729fa9c773 Show how to access data passed into the modal
This addition shows how to access the data that is passed into the modal through the Modal.Create() method.
2016-02-04 23:16:16 -06:00
687a17bcd2 perf(tabs): render tab navbar at same time of tab content 2016-02-04 23:08:52 -06:00
fc49d1aa29 docs(menu): update menuToggle menuClose docs 2016-02-04 20:32:24 -06:00
9f906ae8ae docs(MenuController): update MenuController docs 2016-02-04 20:15:40 -06: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
a42836340a fix(menu): only close when open on enable change 2016-02-04 12:22:09 -06:00
f64bf4a81c docs(demos): add searchbar API demo
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
6ae164da59 docs(demos): prettify segment demo and fix API docs on it
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
633c11a742 chore(slides): remove slideChanged deprecated warning 2016-02-04 09:49:00 -06:00
60fdc5c2f3 perf(cards): remove translateZ from ion-card
Yes, oddly enough this makes a performance difference. The translateZ
was used as a trick to force ion-card’s rounded corners to take effect
on inner elements. However, on a page that has many ion-cards, it takes
relatively a lot of power on a low-end device to move them all during a
transition. It’s best to not put them on their own layer and let the
browser just move one thing.
2016-02-03 23:22:27 -06:00
155a43d770 chore(): fix typescript error 2016-02-03 19:41:23 -06:00
858855050d docs(demos): rename nav-push-pop to navigation and use it on the nav as well
references #5311
2016-02-03 18:04:13 -05:00
1e9a776944 docs(demos): add icon API demo
references #5311
2016-02-03 17:40:17 -05:00
59da895ea0 docs(demos): fix demos to have same class name and remove files that aren't needed anymore
references #5311
2016-02-03 14:26:25 -05:00
7e06e6c563 docs(slides,page): update docs 2016-02-03 11:46:46 -05:00
72699dbbb4 fix(menu): fix scrolling page w/ side menus
Improved which angles should allow the side menu to open, depending if
it’s a left or right menu. Also check if the distance of the drag is
longer than a side menu would get. For example, scrolling vertically
for a long ways would have a long distance, but triggering a side menu
to open would be a short distance.

Also ensure that a side menu can always be closed incase something goes
wrong.

Closes #5272
2016-02-02 16:41:35 -06:00
de952e3cbb chore(): change source code console.log to console.debug 2016-02-02 16:41:35 -06:00
53532c5280 docs(toolbar): update docs 2016-02-02 16:42:40 -05:00
cd0829fd51 docs(toggle): update docs 2016-02-02 16:29:40 -05:00