102 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
ecf93023f3 fix(searchbar): only show clear icon when focused on the searchbar
closes #5922
2016-04-08 17:46:34 -04:00
6f3b9bef82 style(tslint): tslint updates 2016-04-06 21:28:52 -05:00
0e91a69257 fix(searchbar): fix the border color and toolbar padding
references #5921
2016-03-23 13:11:13 -04:00
5ca6bf404a fix(searchbar): add padding around the floating searchbar wp
fixes #5921
2016-03-23 12:32:41 -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
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
94707bfe8e fix(searchbar): call the input changed event on input not keyup
fixes #5584
2016-03-15 13:20:36 -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
498dd54693 feat(searchbar): disable autocorrect/autocapitalize/spellcheck
Closes #5749
2016-03-07 07:21:52 -06:00
897501650a fix(nav): create opts object when undefined/null
Closes #5737
2016-03-06 14:07:26 -06:00
f6af807688 feat(searchbar): debounce input events
Closes #5429
2016-03-04 14:56:46 -06:00
29ff7f1159 feat(windows): UI fixes
references #5565
2016-03-03 17:39:53 -05:00
143616b9b1 derp: comma 2016-02-29 19:05:32 -05:00
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
a0f0004012 refactor(searchbar): add class to searchbar when hideCancel is passed
only hide the search icon when hideCancel isn’t passed
2016-02-25 18:36:12 -05:00
21d4cef543 (search-bar) Hide cancle button for android
Hide cancle button for android as well...
Added `hideCancelButton` to example. This helps a lot for guys coming from ng1 as I tried snake-case way too long.
2016-02-25 23:52:22 +01: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
a9054ad0b8 feat(windows): add searchbar component with styling
references #5565
2016-02-23 18:44:47 -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
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
19ecc7a3af chore(dgeni): setting inputs and outputs detection in dgeni 2016-02-10 10:13:48 -05: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
f64bf4a81c docs(demos): add searchbar API demo
references driftyco/ionic-site#397
2016-02-04 12:49:45 -05:00
7f068a25ec docs(searchbar): update docs 2016-02-02 13:15:09 -05:00
f47c3c3398 fix(searcher): add autocomplete="off" to native input 2016-02-01 21:09:29 -06:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06:00
e672de5aad fix(searchbar): modify height on the input to fix it on Canary
Fixes #5176
2016-01-25 16:51:39 -05:00
915278a29b fix(searchbar): hardcoding the width of the icon for now since it is zero on init
If the user drastically changes the search icon width in the Sass we
will have a problem so this is really just a temporary fix.

Closes #5029
2016-01-23 12:52:31 -05:00
9c12eb5ef1 fix argument name
argument name did not match the variable name inside the function
2016-01-17 15:50:39 -05:00
88aad3f880 refactor(decorators): remove ConfigComponent 2016-01-11 22:51:54 -06:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
ff0693fe65 test(searchbar): added some code to the searchbar nav test based on the docs 2016-01-05 19:48:19 -05:00
25526870e0 test(searchbar): added nav test and removed model test
references #853
2016-01-04 15:33:15 -05:00
82e4c9e331 fix(searchbar): fix Android alignment by checking mode, converted some variables to private
fixes #857
2016-01-04 14:25:45 -05:00
73f6ca7a2d fix(searchbar): quieting TS errors 2015-12-30 18:10:39 -05:00
e761ab908b test(searchbar): fixed console output in tests 2015-12-29 21:13:25 -05:00
10816c2e21 refactor(searchbar): hack mchacking searchbar to center the placeholder better
Problem is you can see it adjust after the view loads. References #247
2015-12-29 18:24:15 -05:00
bcaaa6f45b docs(searchbar): add private tags 2015-12-29 17:43:38 -05:00
16d766fffb fix(searchbar): update searchbar so it emits the input event on clear
Also added some other events to the API so the user can decide which
event they want to use. Closes #818
2015-12-28 13:57:35 -05:00
f30b9889df feat(searchbar): emit blur and focus events
closes #795
2015-12-22 15:57:53 -05:00
b00b7bca6a refactor(searchbar): fixed searchbar when undefined value is passed or no ngModel at all, fixed style of cancel button on hover
removed unused broken searchbar tests. references #247
2015-12-19 14:04:28 -05:00
ad4d160af9 refactor(searchbar): stop the input events and only use the searchbars input event 2015-12-18 19:32:25 -05:00