180 Commits

Author SHA1 Message Date
45e37ceb29 test(e2e): update all e2e tests to use a local path to ionic
this lets type errors to show up during development

closes #6366
2016-04-29 15:34:56 -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
f723894741 Merge pull request #6119 from rtomchinsky/fix/checkbox-in-form
fix(checkbox): add 'type="button"' to button tag
2016-04-11 12:42:58 -05:00
7583ebf0ae fix(checkbox): add 'type="button"' to <button> tag
Add attribute 'type="button"' to <button> tag. The missing attribute caused forms with

ion-checkboxes to not be submitted as a normal form
2016-04-11 14:30:50 -03: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
acc6321d0d chore: add ViewEncapsulation.None to components
Closes #5884
2016-04-10 20:38:04 -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
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
2b77d52061 docs(API): clean up API docs 2016-03-01 19:24:33 -05:00
e05f147945 feat(windows): windows UI cleanup
references #5565
2016-02-25 16:17:26 -05:00
1cf56ee42f feat(windows): add list and item components
removed transition from checkbox

references #5565
2016-02-23 17:58:25 -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
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
730cccdc97 feat(toggle): add change event
Related #5513
2016-02-20 21:59:43 -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
1e0df9249e test(): update checkbox/select/toggle tests 2016-02-14 14:43:37 -06:00
b85d7aa269 fix(radio): use value accessor provider 2016-02-13 23:18:39 -06:00
10222e97f8 chore(): call onTouched 2016-02-13 21:27:15 -06:00
3444a3cfa9 fix(select): use value accessor provider 2016-02-13 21:18:05 -06:00
2b9db258da test: fix e2e tests for toggle and checkbox 2016-02-13 13:30:41 -05:00
e468a21139 fix(checkbox): use value accessor provider
Remove the value property and always recommend ngModel or ngControl.
Closes #5353
2016-02-13 01:35:38 -06:00
019009a3e2 chore(): fix bad types for docs 2016-02-12 16:36:27 -05:00
5941042a98 chore() normalize types in docs 2016-02-12 15:51:28 -05:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
12c2709559 docs(checkbox): update inputs/outputs 2016-02-10 13:32:22 -05:00
329c1127c5 docs(checkbox): updates methods and inputs 2016-02-01 12:01:38 -05:00
8466d39555 feat(checkbox): add bg transition to md checkbox 2016-01-28 21:28:00 -06:00
9749b06aa9 fix(css): minor updates to match previous snapshots 2016-01-28 21:20:08 -06:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06:00
6890532ab4 feat(checkbox): stand-alone checkbox components 2016-01-27 08:09:38 -06:00
e76b55994c fix(input): checked attr can be an empty string or no value 2016-01-27 08:09:37 -06:00
42f6b1056f fix(input): update input css/tests 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
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
1a3d8c8814 fix(Input): put @Input above getters 2016-01-14 20:05:03 -06:00
8fdc9ed673 chore(): fix NavController typescript errors 2016-01-12 21:41:37 -06:00
270fca0c50 feat(select): ion-select using alert radio/checkbox options
Closes #890 Closes #826 Closes #886
2016-01-08 16:26:07 -06:00
2070e58e3e fix(inputs): fix form onChange/onTouch 2016-01-07 09:22:17 -06:00
4bf716528e fix(radio): fix onChange error 2016-01-06 15:27:51 -06:00
9d5cffb900 fix(toggle): use renderer for checked 2016-01-06 15:04:05 -06:00
15bbe75649 fix(checkbox): use renderer for checked 2016-01-06 14:37:56 -06:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
0f64bccc43 chore(): prefix private methods 2015-12-18 15:39:22 -05:00