2379 Commits

Author SHA1 Message Date
c25164943f Merge branch '2.0' into loading 2016-03-29 10:44:00 -04:00
a485cd00ed feat(loading): add loading indicator component and styles
this is the initial commit - still needs work

references #5426
2016-03-28 17:35:49 -04:00
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
349c577cb9 fix(card): maintain card width when absolute positioned 2016-03-23 23:54:57 -05:00
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
9a23a925a4 fix(toolbar): fix wp back button in toolbar
references #5923
2016-03-23 13:35:16 -04:00
0e91a69257 fix(searchbar): fix the border color and toolbar padding
references #5921
2016-03-23 13:11:13 -04:00
7dc58ef2dd fix(toolbar): fix back button for md mode
fixes #5923
2016-03-23 12:53:06 -04:00
5fc77b5081 chore(sass): fix linter errors 2016-03-23 12:33:56 -04:00
5ca6bf404a fix(searchbar): add padding around the floating searchbar wp
fixes #5921
2016-03-23 12:32:41 -04:00
487f5efe03 Merge branch '2.0' into sass-color-map 2016-03-22 18:10:13 -04:00
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
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
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
17c38862cc fix(Nav): fixes swipeBackEnabled as attribute
closes #5653
2016-03-18 16:04:28 +01:00
a7e699e1fc Update action-sheet.ts
Fixed typo of 'shoule' to 'should'
2016-03-17 20:53:49 -05:00
6d55abcb83 fix(action-sheet): action sheet button shortens when activated in Safari
closes #5828
2016-03-17 21:14:05 +01:00
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
904775430b docs(refresher): update docs on enabled property 2016-03-16 10:52:28 -04:00
94707bfe8e fix(searchbar): call the input changed event on input not keyup
fixes #5584
2016-03-15 13:20:36 -04:00
4d4f1d429a fix(input): update width of inputs so they don't exceed the item
fixes #5835
2016-03-15 12:54:46 -04:00
a0a91b2d11 test(input): changing tests to include some selects and mixed inputs 2016-03-14 18:38:59 -04:00
a4fc96de0d fix(select): fix select styling on windows mode
closes #5787
2016-03-14 18:25:24 -04:00
8fff76e299 fix(label): add color to label in a select
references #5669
2016-03-14 18:11:48 -04:00
e4b161dcf0 style(sass): fix remaining linter errors woo
closes #5797
2016-03-14 16:58:15 -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
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
96375b6e83 fix(toolbar): reduce min width on back button for wp mode
closes #5759
2016-03-14 12:54:12 -04:00
37beb0f4fe test(alert): fix snapshot tests 2016-03-13 13:15:04 -05:00
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
2000b1e940 fix(alert): prevent both click and enter keyup from firing 2016-03-12 22:09:34 -06:00
584470337a fix(alert): disable listeners until ready
Closes #5821
2016-03-12 21:34:08 -06:00
355f6ee145 test(alert): fix dismiss 2016-03-12 05:08:39 -06:00
1dd73aac7a fix(nav): correctly set zIndex when there's a previous view 2016-03-12 05:05:29 -06:00
24443c3b53 fix(ViewController): call onDismiss after transition ends
Closes #5818
2016-03-12 03:21:07 -06:00
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
f1348ad4da Merge pull request #5809 from sclausen/2.0
fix(infinitescroll): added method to reset _highestY
2016-03-12 02:24:06 -06:00
1decaa04e6 Merge pull request #5798 from dmackerman/patch-1
docs(): fix typo, chacked -> checked
2016-03-11 11:36:31 -06:00
b864dc4bee added method to reset _highestY 2016-03-11 11:56:57 +01:00
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
2bda365fcf little typo, chacked -> checked 2016-03-10 13:32:57 -07:00
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
b3bea838b2 fix(input): align item right to the bottom for windows mode
references #5731
2016-03-09 16:26:13 -05:00
6063932455 fix(select): change windows border colors for selects to match input
references #5787
2016-03-09 16:21:35 -05:00
4e375242c6 fix(select): make select full width when with a stacked/floating label
if it is with a floating label, the label will stay stacked instead of
floating

closes #5715
2016-03-09 16:21:35 -05:00
f9aa9c27c0 refactor(label): fix margin for item right in stacked/floating labels
references #5731
2016-03-09 15:14:41 -05:00
98f0f3b58e Merge branch '2.0' into labels-refactor 2016-03-09 15:00:52 -05:00
4505730ca2 refactor(item): add a wrapper for inputs in order to work with item right vertically
closes #5731
2016-03-09 14:33:42 -05:00