120 Commits

Author SHA1 Message Date
acc6321d0d chore: add ViewEncapsulation.None to components
Closes #5884
2016-04-10 20:38:04 -05:00
4e8ecae83c chore: add ChangeDetectionStrategy.OnPush strategy
Close #5885
2016-04-10 00:28:50 -05: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
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
37beb0f4fe test(alert): fix snapshot tests 2016-03-13 13:15:04 -05: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
1decaa04e6 Merge pull request #5798 from dmackerman/patch-1
docs(): fix typo, chacked -> checked
2016-03-11 11:36:31 -06: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
7331e3a910 docs(alert): add table for alert options
References https://github.com/driftyco/ionic-site/issues/405
2016-03-07 12:35:00 -05:00
74a48f3b64 docs(alert): do not allow mixing alert input types 2016-03-06 22:30:08 -06:00
897501650a fix(nav): create opts object when undefined/null
Closes #5737
2016-03-06 14:07:26 -06:00
b24dc27e0b fix(alert): update radio/checkbox items to buttons elements 2016-03-05 21:51:15 -06:00
e639457654 fix(overlays): update keyboard focus management 2016-03-05 20:32:21 -06:00
70efe7d67e chore(alert): add keyup to body via HostListener 2016-03-05 12:53:10 -06:00
c96af06f13 fix(alert): increase padding on windows alert
fixes #5722
2016-03-04 14:30:42 -05:00
62c880ff40 chore(transition): tweak wp page transition animation 2016-03-04 13:02:55 -06:00
a0235a5b49 chore(alert): tweak wp alert animation 2016-03-04 12:45:48 -06:00
29ff7f1159 feat(windows): UI fixes
references #5565
2016-03-03 17:39:53 -05:00
3d12e69d66 refactor(sass): fix incorrect sass value, add max width to alert
references #5565
2016-03-03 16:12:14 -05:00
1e73a3457e refactor(sass): update windows alert sass to use variables
renamed some properties, deleted unused ones

references #5651
2016-03-03 16:04:22 -05:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
a2a9e3846f test(alert): add test for alerts 2016-03-03 12:48:08 -05:00
374efde03f refactor(sass): add Sass variables for alert, remove unused selectors
renames some sass variables to work towards a standard convention

references #5651
2016-03-03 12:48:08 -05: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
d5ebf3ff5e refactor(alert): remove duplicated styles from imports
closes #5624
2016-02-26 16:57:55 -05:00
a5945317d5 feat(windows): more UI cleanup
references #5565
2016-02-25 18:12:18 -05:00
e05f147945 feat(windows): windows UI cleanup
references #5565
2016-02-25 16:17:26 -05:00
69c0da27e0 feat(windows): fix card and alert UI
references #5565
2016-02-24 17:37:35 -05:00
13f3e83605 feat(windows): clean up button and alert UI
references #5565
2016-02-24 15:44:18 -05:00
0d4971f190 feat(windows): add input border color variable to theme
replaced hardcoded values to use this

references #5565
2016-02-24 11:53:41 -05:00
dd7def68e3 feat(windows): add card components
references #5565
2016-02-23 19:19:09 -05:00
dd206ad7d6 feat(windows): add radio component for wp mode
fixed radio and checkbox in alert, updated toolbar

references #5565
2016-02-23 15:56:59 -05:00
1ecfa6f054 feat(windows): add checkbox styling and update alert checkbox
references #5565
2016-02-23 15:13:45 -05:00
1fc0a23c11 feat(windows): initial add for windows badges
also hide ion-button-effect and change alert buttons to full width

references #5565
2016-02-23 13:53:11 -05:00
6af9b7780b feat(windows): initial add of alert with windows dialog styles
references #5565
2016-02-23 13:42:56 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
4cae151d47 fix(overlay): do not dom cache views before overlays
Closes #5483
2016-02-21 00:03:58 -06:00
6b9e59d0d0 feat(NavController): prevent other lifecycle events from firing
For Alert and ActionSheet, the currently active page’s leaving
lifecycle event should not fire. However, for Modal, the currently
active page’s leaving lifecycle should fire. Closes #5516
2016-02-19 12:06:49 -06:00
9c0eebd245 fix(alert): add max height to alert body so it will overflow
closes #5316
2016-02-18 16:55:34 -05:00
c365c923bd fix(alert): add padding under the alert title for iOS when there is no message
closes #5299
2016-02-16 12:59:16 -05:00
80cbd32abc test(alert): add test for alert without a body 2016-02-13 13:56:38 -05:00
fd0b8516f3 fix(alert): fix alert button background color on activated 2016-02-13 11:10:02 -05:00