185 Commits

Author SHA1 Message Date
066ab712c0 chore(nativeRaf): use native raf over zone wrapped 2016-04-26 15:33:31 -05:00
bef4a67025 feat(content): add scrollToBottom 2016-04-18 21:22:39 -05:00
2f342d647e chore(scrollView): calculate max scrollTo attempts 2016-04-15 20:01:02 -05:00
e27452b789 fix(focus): improve input focus control
Closes #5536
2016-04-14 09:31:16 -05:00
e21c4d5927 fix(keyboard): remove content padding after input blur
Closes #5800
2016-04-11 22:57:29 -05:00
def69ff9b2 Typo in docs
The class name should be 'Events' instead of 'Event'
2016-04-08 20:47:19 -04:00
025b176c18 chore(sass): fix Sass linter errors 2016-04-07 14:17:27 -04:00
62f19d140a Merge pull request #6058 from michaelmafort/patch-1
docs(): update events.ts
2016-04-06 23:36:01 -05:00
d8e670ca7c style(tslint): add tslint
Closes #5756
2016-04-06 20:48:09 -05:00
35a3357df8 fix(scroll): correctly resolve when scrolling finishes 2016-04-06 10:10:34 -05:00
0a5f351699 chore(nativeTimeout): use nativeTimeout on keyboard/animations 2016-04-06 09:39:04 -05:00
ddfce16ebd Update events.ts
Improve documentation with the import and constructor initialization.
2016-04-06 11:36:39 -03:00
8b990889e0 chore(clickblock): use native setTimeout 2016-04-06 09:30:25 -05:00
f3d92b8eb8 refactor(scroll): js scrolling ability
Required for Virtual Scrolling on iOS UIWebView
2016-04-05 14:50:05 -05:00
200f2e5e10 chore(): use native raf/setTimeout 2016-04-05 14:50:05 -05:00
3df1ad5192 chore(): move nested functions out of if blocks 2016-03-31 16:00:43 -05:00
9efa3ea3e6 feat(sass): add support for contrast color in MD mode colors map
BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-md: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 17:53:08 -04:00
ff1a8ac6c7 feat(sass): add the ability to pass a contrast color in the colors map to iOS
this adds the functions necessary for the other modes as well

BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-ios: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 17:14:39 -04:00
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
fd49a880d9 Typo
Typo that break color highlight on the website
2016-03-09 13:48:12 +01:00
172a425353 test(util): add more getQuerystring() tests 2016-03-07 09:29:23 -06:00
9dc3840906 fix(util): array length check 2016-03-07 14:56:36 +02:00
c4bd2633c3 chore(): fix merge conflict 2016-03-06 22:41:13 -06:00
5d9b169fa9 fix(radio): improve group/button value comparisons 2016-03-06 20:30:57 -06:00
897501650a fix(nav): create opts object when undefined/null
Closes #5737
2016-03-06 14:07:26 -06:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
a237c16bc0 chore(): use relative imports in tests 2016-03-02 15:43:51 -06: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
fe11eccb46 feat(windows): add content padding/margin components for wp
also split all of the modes up so they can have different amounts of
padding/margin on their content

references #5565
2016-02-23 17:16:43 -05:00
f8e38efacb fix(util): getQueryString tests 2016-02-23 17:03:19 +01:00
fcaad952c7 Merge remote-tracking branch 'upstream/2.0' into 2.0 2016-02-23 15:02:13 +01:00
0cb080c924 chore(karma): update Ionic imports
Closes https://github.com/driftyco/ionic/issues/5566.
2016-02-23 07:35:02 -06:00
908ea8cd84 fix(util): ignore empty query param in getQueryString 2016-02-23 00:26:06 +01:00
b53d70710e feat(input): default autocomplete/autocorrect=off, fix autofocus
Related: #5480
2016-02-22 15:00:54 -06:00
1324362cc6 chore(util): do not global window/document variables 2016-02-21 21:25:46 -06:00
892b0071cb fix(sass): rename brightness/inverse sass functions
Prefix custom sass color functions with color-
Closes #5542
2016-02-20 20:34:59 -06:00
04c1c7c3bd chore(typings): add es6 and jasmine typings
As of beta.6, angular2 no longer ships es6-shim or jasmine typings, so
we provide them ourselves.
2016-02-15 15:36:01 -06:00
ff24152524 fix(menu): add/remove gesture listeners per enabled menu 2016-02-15 13:23:01 -06:00
55ef5a874b fix(colors): update sass inverse color function 2016-02-14 14:43:37 -06:00
5941042a98 chore() normalize types in docs 2016-02-12 15:51:28 -05:00
8b724a3bcb chore(tests): make typescript and unit tests friends 2016-02-12 13:59:38 -06:00
7c10c4dd42 chore(): update modal tests 2016-02-10 01:56:51 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
8212dee9ff Fixed a bug caused by requestAnimationFrame did not run on the correct content 2016-02-08 13:55:10 +02:00
cf759261ac docs(demos): add events API demo
references driftyco/ionic-site#397
2016-02-04 14:08:05 -05:00
4cfe210a5a fix(input): copy custom attrs from ion-input to native input 2016-02-01 21:57:29 -06:00