222 Commits

Author SHA1 Message Date
35dd0ed0b0 fix(button): add a category to buttons so they won't get the button styles
fixes #6237
2016-04-20 13:20:01 -04:00
203b07809e Revert "fix(sass): remove global imports from components"
This reverts commit dad2155ecdf3f1b9864996c5a843f451ff4f0aef.
2016-04-11 13:24:58 -04:00
dad2155ecd fix(sass): remove global imports from components
globals.mode is already imported in the components.mode file, so it
doesn’t need to be imported per component

fixes #5931
2016-04-11 11:59:44 -04:00
862cddf340 Clarify the purpose of the color attribute
It's not clear that the `color` attribute is meant to be used only with the predefined colors _(i.e. the ones from the `$colors` list in `app.variables.scss`)_. The users expect that the attribute can also be used with color values like `red` or `#FF0000` which is not supported. More details are available in [this forum post](https://forum.ionicframework.com/t/changing-button-color-or-icon-dynamically/37675/19).
2016-04-11 13:20:50 +02:00
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
5f621abfcf fix(button): normalize generated button class names
Addresses https://github.com/driftyco/ionic/issues/5938.
2016-03-24 18:05:41 -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
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
154a69c88a feat(buttons): dynamically add button attributes
Closes #5186
2016-03-04 23:41:32 -06:00
7b14a29ea7 fix(item): add a default size for items in buttons to use the content button sizes
fixes #5580
2016-03-04 16:51:49 -05:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
8db6a855b8 refactor(sass): replace all instances of bg in sass variables with background
references #5651
2016-03-03 12:48:08 -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
bba3c5c5bd feat(windows): clean up button css, rename Sass variables and add more
references #5565
2016-02-24 16:34:49 -05:00
13f3e83605 feat(windows): clean up button and alert UI
references #5565
2016-02-24 15:44:18 -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
b91f8def2b feat(windows): make wp buttons more windows-y
references #5565
2016-02-23 11:08:36 -05:00
870dda5507 Merge branch '2.0' into windows-mode 2016-02-22 20:38:50 -05:00
a9c995d07d feat(windows): initial add of windows mode
basically a copy of md for now

references #5565
2016-02-22 20:36:02 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -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
8b724a3bcb chore(tests): make typescript and unit tests friends 2016-02-12 13:59:38 -06:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
2df72ccda3 fix(button): fix colorized buttons on hover and outline buttons on hover
references #5403
2016-02-11 11:36:37 -06:00
0e5d3d7d76 fix(button): button goes transparent on hover on desktop (non-touch devices) 2016-02-10 15:54:51 -08:00
8401aa4449 style(button): format css 2016-02-10 09:11:40 -06:00
38a3be438f fix(button): bar-button uses inner span as flexbox
- Fixed block/full buttons, now there are display: block
- Fixes <ion-segment-button> warnings
2016-02-10 15:49:19 +01:00
14ca32f9f2 Merge pull request #5363 from manucorporat/vertical-item-sliding
feat(ion-item-sliding): style icons on top of text in an option button
2016-02-09 22:28:49 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
4e57fcf98a feat(ion-item-sliding): style icons on top of text in an option button
closes #5352
2016-02-08 00:47:44 +01: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
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
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
637e792945 regression: not using nested selector 2016-02-02 15:58:22 +01:00
a7415f10cc Fixes border radius in full outline button 2016-02-02 15:49:17 +01:00
6e98b6287a docs(button): make color input private 2016-02-01 11:47:44 -05:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06:00
e76b55994c fix(input): checked attr can be an empty string or no value 2016-01-27 08:09:37 -06:00
a8e7941a27 fix(button): remove color shade from clear buttons 2016-01-22 14:12:31 -05:00
5c334fb486 fix(button): add z-index to button to make sure ripple doesn't expand outside of it
The material design ripple on round and fab buttons is no longer a square but contained within the
button

fixes #5074 fixes #5148
2016-01-22 11:37:30 -05:00
ce9da0c652 fix(button): change transition on fab buttons to match other buttons
fixes #5129
2016-01-21 17:03:30 -05:00
d87b4fbdf7 fix(button): md outline buttons
Outline ripple is now the correct color per button, removed the background color when activated and
increased ripple opacity for outline buttons

closes #5128
2016-01-21 16:23:57 -05:00
ee106377fc chore(angular): upgrade to angular 2.0.0-beta.1
Biggest change was that renderer takes  and not just .
2016-01-20 11:15:01 -06:00