162 Commits

Author SHA1 Message Date
Rob
87a8f8dbc1 match syntax of ios.scss file
Updated the syntax of the fix to match ios style
2016-03-30 20:05:55 -05:00
Rob
b1226cbb41 segment.wp: display active style outside toolbar
In the iOS and Android styles the segment-activated class lives directly under segment-button.  However in the Windows Phone version these styles live only under toolbar, causing the styles to not be applied properly if the ion-segment is used outside of a toolbar.
2016-03-30 19:54:15 -05:00
5fc77b5081 chore(sass): fix linter errors 2016-03-23 12:33:56 -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
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
897501650a fix(nav): create opts object when undefined/null
Closes #5737
2016-03-06 14:07:26 -06:00
29ff7f1159 feat(windows): UI fixes
references #5565
2016-03-03 17:39:53 -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
922e1f17b8 feat(windows): add segment component
references #5565
2016-02-23 16:39:46 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
2596731e91 feat(checkbox): add change event
Related #5513
2016-02-20 21:45:37 -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
7249cb39c6 refactor(segment): increase icon size inside of segment buttons
closes #5330
2016-02-13 12:42:54 -05:00
5941042a98 chore() normalize types in docs 2016-02-12 15:51:28 -05:00
df9a4df264 fix(segment): add the active background color to the colorized segments and remove activated css
closes #5308
2016-02-12 11:48:39 -06:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
ca2881d97d docs(segment): update inputs/outputs 2016-02-10 13:28:45 -05:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
273bef6591 segment-hover/active-fix 2016-02-06 15:54:29 -06:00
6ae164da59 docs(demos): prettify segment demo and fix API docs on it
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
ed027fa951 docs(segment): update docs 2016-02-02 13:36:53 -05:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06: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
f14c6c1451 combine segment and slides to have swipeable tabs 2016-01-15 11:45:42 +08:00
3a41dfeb6b chore(): more type fixes 2016-01-13 16:34:27 -06:00
7dd65f3571 refactor(icon): logo ionicons use logo- prefix rather than suffix 2016-01-11 14:42:39 -06:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
b1bdc31a76 refactor(segment): changed segment event emitter type to SegmentButton and update the change to emit value
Fixed tests to reflect this. References #819
2015-12-29 13:55:53 -05:00
4f254a87de emit the selectedButton instead of just the value of the selectedButton 2015-12-29 15:24:06 +08:00
d8350f0440 broadcast the selected segment button value to segment and update the segment value accordingly 2015-12-29 12:54:37 +08:00
1c718b9213 refactor(radio): query buttons via @ContentChildren 2015-12-19 00:27:30 -06:00
508a872251 refactor(segment): query buttons via @ContentChildren 2015-12-18 23:00:04 -06:00
67f0d3c7dd Merge remote-tracking branch 'origin/master'
# Conflicts:
#	ionic/components/segment/segment.ts
2015-12-16 15:47:07 -05:00
caaa5f9bab test(segment): adding navigation page for segment for testing toolbar in a toolbar
references #614
2015-12-16 15:45:05 -05:00
0f57b1f64f feat(segment): added change event to segment which emits the value
Updated the API docs for segment to include change & click, and updated
some of the function descriptions, removed an unused function. Added
the change & click events to the test case.
2015-12-16 15:43:38 -05:00
068f3ceb29 Merge remote-tracking branch 'origin/master' into WIP-api-demos 2015-12-16 11:13:03 -06:00
92d4bda763 docs(segment): add api demo link 2015-12-15 11:29:59 -06:00
ec89350428 docs(segment): add api demo link 2015-12-15 10:44:13 -06:00
5d6d9b9610 chore(upgrad): ng alpha52 and case-sensitive templates 2015-12-10 22:52:55 -06:00
d464d5cb1c remove angular2/angular2 imports 2015-12-10 16:41:57 -06:00
37ca863531 fix(segment): fixed segment UI not updating when changing value from view button
Added a test for this. Closes #657
2015-12-10 12:58:59 -05:00
854d90f4c1 refactor(sass): moved all mode files to the top level component directory and renamed to include the directory name
references #689
2015-12-09 17:20:11 -05:00
677277de90 fix(segment): add ion-content back in for the sake of snapshot 2015-12-09 15:05:04 -05:00
243f03e545 Merge branch 'alpha50' into css-refactor 2015-12-09 07:47:30 -06:00
30b88d746b chore(): add ng prefix to lifecycle interfaces 2015-12-08 21:38:26 -06:00
0c6f87a541 fix(segment/toolbar): fixed segment padding iOS and toolbar text for MD
references #689
2015-12-08 18:17:31 -05:00