63 Commits

Author SHA1 Message Date
f9b46c26cc fix(input): blur when tapping outside input on iOS
Closes #5020
2016-04-14 13:44:00 -05:00
e27452b789 fix(focus): improve input focus control
Closes #5536
2016-04-14 09:31:16 -05:00
4a8e7f93ce Updated ion-input doc typo
clearInput property was on ion-item element instead of ion-input element in example
2016-04-13 10:46:22 -05:00
e21c4d5927 fix(keyboard): remove content padding after input blur
Closes #5800
2016-04-11 22:57:29 -05: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
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
3e88fe9f31 fix(input): add event emitters for blur and focus to the ion-input component
fixes #5487
2016-03-16 12:46:27 -04:00
4d4f1d429a fix(input): update width of inputs so they don't exceed the item
fixes #5835
2016-03-15 12:54:46 -04:00
a0a91b2d11 test(input): changing tests to include some selects and mixed inputs 2016-03-14 18:38:59 -04:00
a4fc96de0d fix(select): fix select styling on windows mode
closes #5787
2016-03-14 18:25:24 -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
b3bea838b2 fix(input): align item right to the bottom for windows mode
references #5731
2016-03-09 16:26:13 -05:00
6063932455 fix(select): change windows border colors for selects to match input
references #5787
2016-03-09 16:21:35 -05:00
4e375242c6 fix(select): make select full width when with a stacked/floating label
if it is with a floating label, the label will stay stacked instead of
floating

closes #5715
2016-03-09 16:21:35 -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
b814314b31 fix(input): add tappable attr to input-cover 2016-03-06 23:02:16 -06:00
74168278e4 fix(label): remove margin from item-right in a stacked or floating label
references #5319
2016-03-04 13:23:48 -05:00
65ee86f168 fix(label): change the flex for stacked and floating labels so buttons can be added
fixes #5319
2016-03-04 13:23:48 -05:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
a237c16bc0 chore(): use relative imports in tests 2016-03-02 15:43:51 -06:00
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
05a0da480a Update input.ts
Fix <ion-label of the Website's ion-item
2016-02-27 18:12:33 -06:00
91df5f97ee refactor(refresher): allow refresher content customization
Breaking Change:

## Refresher:

- `<ion-refresher>` now takes a child `<ion-refresher-content>`
component.
- Custom refresh content components can now be replaced for Ionic's
default refresher content.
- Properties `pullingIcon`, `pullingText` and `refreshingText` have
been moved to the `<ion-refresher-content>` component.
- `spinner` property has been renamed to `refreshingSpinner` and now
goes on the `<ion-refresher-content>` component.
- `refreshingIcon` property is no longer an input, but instead
`refreshingSpinner` should be used.

Was:

```
<ion-refresher (refresh)="doRefresh($event)"
pullingIcon="arrow-dropdown">
</ion-refresher>
```

Now:

```
<ion-refresher (refresh)="doRefresh($event)">
  <ion-refresher-content
pullingIcon="arrow-dropdown"></ion-refresher-content>
</ion-refresher>
```
2016-02-27 17:33:59 -06:00
f8ef960ca5 feat(windows): add input component sass
references #5565
2016-02-24 12:05:50 -05:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
b53d70710e feat(input): default autocomplete/autocorrect=off, fix autofocus
Related: #5480
2016-02-22 15:00:54 -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
38595fa982 fix(input): make ion-label tappable to focus input
closes #5378
2016-02-11 21:38:34 -06:00
e2554f090f fix(input): fix stand-alone text-input item cover
Closes #5387
2016-02-11 21:15:52 -06:00
d23df4280c docs(demos): add input and textarea demos
references driftyco/ionic-site#397
2016-02-05 11:42:56 -05:00
de952e3cbb chore(): change source code console.log to console.debug 2016-02-02 16:41:35 -06:00
4cfe210a5a fix(input): copy custom attrs from ion-input to native input 2016-02-01 21:57:29 -06:00
68f78f1a6f docs(input): make private 2016-02-01 15:25:24 -05:00
c56382925f docs(input): clean up docs 2016-02-01 15:23:45 -05:00
11b8e08567 fix(input): add/remove disabled on native text input
Close #5280
2016-02-01 14:16:48 -06:00
db6f4bce31 fix(input): parent Item is optional 2016-02-01 12:13:56 -06:00
9749b06aa9 fix(css): minor updates to match previous snapshots 2016-01-28 21:20:08 -06:00
181a07024e fix(input): check has value on writeValue 2016-01-28 20:34:17 -06:00
5d4a8fea8c fix(input): fix floating label on blur w/ value 2016-01-27 12:57:49 -06:00
c1fbbb1daa test(input): add test to reproduce a floating label bug 2016-01-27 12:09:58 -05:00
6890532ab4 feat(checkbox): stand-alone checkbox components 2016-01-27 08:09:38 -06:00
ad7885f6a4 fix(input): fix floating/stacked label relocate 2016-01-27 08:09:38 -06:00
70a9eb3e38 fix(input): change next input imports 2016-01-27 08:09:38 -06:00