317 Commits

Author SHA1 Message Date
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
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
6f3b9bef82 style(tslint): tslint updates 2016-04-06 21:28:52 -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
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
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
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
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
4c93eb06a9 refactor(label): move label css to the correct scss files
references #5651
2016-02-29 12:24:42 -05:00
e05f147945 feat(windows): windows UI cleanup
references #5565
2016-02-25 16:17:26 -05:00
706e0d7dba feat(windows): add detail-push icon
references #5565
2016-02-25 12:22:10 -05:00
fa2e4b2c70 feat(windows): add tabs component and clean up windows UI
references #5565
2016-02-24 13:05:43 -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
1cf56ee42f feat(windows): add list and item components
removed transition from checkbox

references #5565
2016-02-23 17:58:25 -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
2d157cbc3f test(item): add activated class to one of the items
references #5350
2016-02-17 14:42:42 -05:00
90f165f838 fix(item): add min-height to item-inner to remove gap between items
fixes #5350
2016-02-17 14:42:42 -05:00
eea7416d76 test(item): add items that reproduce the white gap above the activated state
references #5350
2016-02-17 14:42:42 -05:00
e26092cfe4 chore(item-sliding-gesture): fix Hammer type error 2016-02-15 15:36:01 -06:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06: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
c8bb18f3e9 drops > selector 2016-02-08 04:20:18 +01:00
14abe9eb41 icon-left attribute belongs to ion-item-options 2016-02-08 04:16:15 +01: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
5f21823d27 docs(demos): add item sliding & option API demo and fix docs for it
references driftyco/ionic-site#397
2016-02-05 19:40:09 -05:00
b69bd9420e docs(demos): add item demo which uses list demo but changes header
references driftyco/ionic-site#397
2016-02-05 18:56:22 -05:00
276b509c9a docs(item): update inputs and make private 2016-02-01 15:31:50 -05:00
9749b06aa9 fix(css): minor updates to match previous snapshots 2016-01-28 21:20:08 -06:00
3cbbfdc071 fix(label): fix label for item and inputs by adding flex back 2016-01-27 08:09:37 -06:00
2fc975354a fix(input): clean up CSS on inputs and labels 2016-01-27 08:09:37 -06:00
b3a7298a52 refactor(input): place inputs inside of ion-item 2016-01-27 08:09:37 -06:00
4a9c3a11a6 chore(): add types to ItemSlidingGesture 2016-01-14 20:36:46 -06:00
e3507bc175 chore(): add types to List 2016-01-14 20:25:33 -06:00
309387bbbf fix(item): allow pointer-events within ion-item-content
Closes #917
2016-01-12 10:10:41 -06:00
ccec2fd502 fix(item): fix .item-button icon only 2016-01-11 22:22:19 -06:00
44cbbd286b chore(): fix typescript errors 2016-01-11 21:10:19 -06:00
7dd65f3571 refactor(icon): logo ionicons use logo- prefix rather than suffix 2016-01-11 14:42:39 -06:00
6911b383de fix(item): fix iOS item margins for icon/button 2016-01-07 09:22:43 -06:00
f74606dc1b fix(item): set ion-item-divider colors per mode 2016-01-06 22:10:05 -06:00