658b29b827
fix(button): add the solid class to bar buttons
...
updated tests to include toolbar with solid buttons and bar buttons in
karma tests.
references #6202
2016-04-27 13:11:51 -04:00
cc50814696
test(button): fix karma test to use the right classes for solid style
...
references #6202
2016-04-27 12:31:17 -04:00
bef300e9f5
test(button): update dynamic test to only use one style at a time
2016-04-27 12:24:30 -04:00
da5c065ffa
fix(button): add transparent background for clear/outline windows buttons
...
references #6202
2016-04-27 12:19:50 -04:00
42524480a0
fix(button): exclude solid from getting added to the button in the class
...
This prevents `button-solid-secondary` from being added when it should
just be `button-secondary`.
references #6202
2016-04-27 10:49:27 -04:00
21f86525de
Merge branch 'pr/6203' into 2.0
2016-04-26 19:23:17 -04:00
8abc52997f
test(button): add e2e test for dynamic button styles and colors
...
references #6202
2016-04-26 19:21:04 -04:00
3f07d6bd0b
test(button): add test for raised buttons
2016-04-25 10:41:48 -04:00
dbf7099498
Merge branch '2.0' into pr/6203
2016-04-21 19:39:57 -04:00
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
c5c5e49003
Allows setting the color and style button attributes at once.
2016-04-17 14:02:22 +02: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