Commit Graph

2671 Commits

Author SHA1 Message Date
Adam Bradley
b8cb12e25e chore(): remove console.debugs 2016-03-31 08:58:08 -05:00
Trong Tran
05823f9e62 fix(ion-infinite-scroll): Fix error leaving page
This fix [5760](https://github.com/driftyco/ionic/issues/5760)
2016-03-24 18:32:22 +07:00
Adam Bradley
349c577cb9 fix(card): maintain card width when absolute positioned 2016-03-23 23:54:57 -05:00
Adam Bradley
7a827277a9 feat(img): create ion-img
ion-img is useful for virtual scrolling. It allows ionic to control
image HTTP requests, along with controlling when images should be
rendered within the DOM.
2016-03-23 23:51:20 -05:00
Brandy Carney
9a23a925a4 fix(toolbar): fix wp back button in toolbar
references #5923
2016-03-23 13:35:16 -04:00
Brandy Carney
0e91a69257 fix(searchbar): fix the border color and toolbar padding
references #5921
2016-03-23 13:11:13 -04:00
Brandy Carney
7dc58ef2dd fix(toolbar): fix back button for md mode
fixes #5923
2016-03-23 12:53:06 -04:00
Brandy Carney
5fc77b5081 chore(sass): fix linter errors 2016-03-23 12:33:56 -04:00
Brandy Carney
5ca6bf404a fix(searchbar): add padding around the floating searchbar wp
fixes #5921
2016-03-23 12:32:41 -04:00
Brandy Carney
30bb005ad8 fix(sass): change map-get to use color function in default themes
references #5445
2016-03-22 19:24:03 -04:00
Brandy Carney
487f5efe03 Merge branch '2.0' into sass-color-map 2016-03-22 18:10:13 -04:00
Brandy Carney
5f2e737904 feat(sass): add support for contrast in color map for wp mode
BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-wp: (

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

references #5445
2016-03-22 18:07:59 -04:00
Brandy Carney
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
Brandy Carney
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
Brandy Carney
210b4eda08 Merge pull request #5867 from manucorporat/fix-action-sheet-safari
fix(action-sheet): action sheet button no longer shortens when activated in Safari
2016-03-21 14:20:22 -04:00
Manu Mtz.-Almeida
17c38862cc fix(Nav): fixes swipeBackEnabled as attribute
closes #5653
2016-03-18 16:04:28 +01:00
Andrew Botz
a7e699e1fc Update action-sheet.ts
Fixed typo of 'shoule' to 'should'
2016-03-17 20:53:49 -05:00
Manu Mtz.-Almeida
6d55abcb83 fix(action-sheet): action sheet button shortens when activated in Safari
closes #5828
2016-03-17 21:14:05 +01:00
Brandy Carney
3e88fe9f31 fix(input): add event emitters for blur and focus to the ion-input component
fixes #5487
2016-03-16 12:46:27 -04:00
Brandy Carney
904775430b docs(refresher): update docs on enabled property 2016-03-16 10:52:28 -04:00
Brandy Carney
94707bfe8e fix(searchbar): call the input changed event on input not keyup
fixes #5584
2016-03-15 13:20:36 -04:00
Brandy Carney
4d4f1d429a fix(input): update width of inputs so they don't exceed the item
fixes #5835
2016-03-15 12:54:46 -04:00
Manu Mtz.-Almeida
d45ad29220 fixes regression in my: refactor(Storage) PR.
StorageSql engine's get() method must not return the item but the value of the item.
2016-03-15 17:03:04 +01:00
Adam Bradley
6dae784b2f fix(platform): windows UA should not trigger iOS 2016-03-15 10:36:57 -05:00
Manu Mtz.-Almeida
6e7cc974e6 feat(storage): clear() removes all entries in the storage engine 2016-03-15 14:57:23 +01:00
Manu Mtz.-Almeida
51dd628cd1 refactor(storage): reuse more code + cosmetic changes + more ts types 2016-03-15 14:55:56 +01:00
Brandy Carney
a0a91b2d11 test(input): changing tests to include some selects and mixed inputs 2016-03-14 18:38:59 -04:00
Brandy Carney
a4fc96de0d fix(select): fix select styling on windows mode
closes #5787
2016-03-14 18:25:24 -04:00
Brandy Carney
8fff76e299 fix(label): add color to label in a select
references #5669
2016-03-14 18:11:48 -04:00
Brandy Carney
e4b161dcf0 style(sass): fix remaining linter errors woo
closes #5797
2016-03-14 16:58:15 -04:00
Brandy Carney
253cfc182b style(sass): fixing lint errors
references #5797
2016-03-14 16:44:08 -04:00
Brandy Carney
d3d689ae11 style(sass): remove all PropertySortOrder errors from linter
references #5797
2016-03-14 15:56:19 -04:00
Brandy Carney
131c8c366a refactor(alert): add extra div to use as radio mark, fix Sass
Added spaces to separate groups of css, added variables, removed unused
css

BREAKING CHANGE: added Sass variables for alert

fixes #5577
2016-03-14 12:54:12 -04:00
Brandy Carney
96375b6e83 fix(toolbar): reduce min width on back button for wp mode
closes #5759
2016-03-14 12:54:12 -04:00
Adam Bradley
37beb0f4fe test(alert): fix snapshot tests 2016-03-13 13:15:04 -05:00
Adam Bradley
d44f8f6fcf fix(config): improve getBoolean() and getNumber() 2016-03-12 23:44:10 -06:00
Adam Bradley
085088ee77 perf(infinitescroll): display none svg until needed
By default the SVG spinner should be display none at all times. Only
display block the SVG when the infinite scroll is in the loading state.

Closes #5776
2016-03-12 22:34:13 -06:00
Adam Bradley
2000b1e940 fix(alert): prevent both click and enter keyup from firing 2016-03-12 22:09:34 -06:00
Adam Bradley
584470337a fix(alert): disable listeners until ready
Closes #5821
2016-03-12 21:34:08 -06:00
Adam Bradley
355f6ee145 test(alert): fix dismiss 2016-03-12 05:08:39 -06:00
Adam Bradley
1dd73aac7a fix(nav): correctly set zIndex when there's a previous view 2016-03-12 05:05:29 -06:00
Adam Bradley
24443c3b53 fix(ViewController): call onDismiss after transition ends
Closes #5818
2016-03-12 03:21:07 -06:00
Adam Bradley
fe04c51866 fix(infinitescroll): always check on scroll change
Previously infinite scroll would only do checks when it got to
scrollTop it’s never seen before. However, this then requires a reset()
function if the underlying data changes, which would become an API
gotcha that would be a common source of problems for developers. Always
checking on scroll change should have little performance impact since
it was always checking while scrolling down anyway, it just wasn’t
checking when scrolling up. Now it always checks.
2016-03-12 02:45:12 -06:00
Adam Bradley
f1348ad4da Merge pull request #5809 from sclausen/2.0
fix(infinitescroll): added method to reset _highestY
2016-03-12 02:24:06 -06:00
Adam Bradley
1decaa04e6 Merge pull request #5798 from dmackerman/patch-1
docs(): fix typo, chacked -> checked
2016-03-11 11:36:31 -06:00
sclausen
b864dc4bee added method to reset _highestY 2016-03-11 11:56:57 +01:00
Brandy Carney
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
Dave Ackerman
2bda365fcf little typo, chacked -> checked 2016-03-10 13:32:57 -07:00
Brandy Carney
fe256c785c refactor(sass): rename bg to background in all sass variables
BREAKING CHANGE:

`$item-ios-divider-bg` is now `$item-ios-divider-background`
`$item-ios-sliding-content-bg` is now
`$item-ios-sliding-content-background`

`$item-md-divider-bg` is now `$item-md-divider-background`
`$item-md-sliding-content-bg` is now
`$item-md-sliding-content-background`

`$item-wp-divider-bg` is now `$item-wp-divider-background`
`$item-wp-sliding-content-bg` is now
`$item-wp-sliding-content-background`

references #5651
2016-03-10 13:56:03 -05:00
Brandy Carney
b3bea838b2 fix(input): align item right to the bottom for windows mode
references #5731
2016-03-09 16:26:13 -05:00