Commit Graph

31 Commits

Author SHA1 Message Date
perry
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d, reversing
changes made to f4fac225fa.
2016-07-18 19:24:56 -05:00
Adam Bradley
0a7d865975 refactor(nav): create NavControllerBase and public abstract class
Use NavController as the public API, and NavControllerBase as the
internal API. Refactored all app/nav/tabs unit tests and created
centralized mocking functions.
2016-07-15 15:54:56 -05:00
Brandy Carney
11a24b98aa fix(input): add input highlight for ios, fix the highlight size
The input highlight can now be enabled for ios. Fixed wp’s
valid/invalid highlighting. The highlight bar now goes on top of the
item-inner border so it will resize if there is an icon to the left.

BREAKING CHANGES:

Fixed typos in the input highlight variables:

- `$text-input-md-hightlight-color-valid` ->
`$text-input-md-highlight-color-valid`
- `$text-input-wp-hightlight-color-valid` ->
`$text-input-wp-highlight-color-valid`

Modified variables to turn on/off the highlight:

ios (defaults to false for all):

```
$text-input-ios-show-focus-highlight:      false !default;
$text-input-ios-show-valid-highlight:
$text-input-ios-show-focus-highlight !default;
$text-input-ios-show-invalid-highlight:
$text-input-ios-show-focus-highlight !default;
```

md (defaults to true for all):

```
$text-input-md-show-focus-highlight:        true !default;
$text-input-md-show-valid-highlight:
$text-input-md-show-focus-highlight !default;
$text-input-md-show-invalid-highlight:
$text-input-md-show-focus-highlight !default;
```

wp (defaults to true for all):

```
$text-input-wp-show-focus-highlight:        true !default;
$text-input-wp-show-valid-highlight:
$text-input-wp-show-focus-highlight !default;
$text-input-wp-show-invalid-highlight:
$text-input-wp-show-focus-highlight !default;
```

fixes #6449
references #5052
2016-07-15 11:31:53 -04:00
Adam Bradley
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
Adam Bradley
4d56219a4c refactor(forms): upgrade to @angular/forms 2016-06-30 21:54:48 -05:00
Adam Bradley
1c882b31a5 style(input): update import syntax 2016-06-29 22:42:22 -05:00
Brandy Carney
e4cc672c0a fix(input): fix the clear input button to always be vertically aligned 2016-06-27 12:48:13 -04:00
Brandy Carney
d0b1930b25 fix(input): check if there is a value when setting value 2016-06-24 18:20:33 -04:00
Brandy Carney
ae86ab8b81 fix(input): allow button click when input has focus
only show clear input button when input has focus.

closes #6514 and closes #6944
2016-06-24 13:57:34 -04:00
Adam Bradley
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
Brandy Carney
712ff81fb5 feat(list): add list headers and item dividers as items
- `ion-list-header` and `ion-item-divider` now take advantage of the
same content projection as the `ion-item`
- they are still styled as list headers and item dividers
- added docs and demos on this addition

closes #5561
2016-06-22 13:01:55 -04:00
Adam Bradley
060d064325 Merge branch '2.0' into layout-refactor
# Conflicts:
#	src/components/tabs/test/advanced/index.ts
2016-06-21 11:37:47 -05:00
Manu Mtz.-Almeida
2bff535e7b fix(tabs): swipeBackEnabled works with tabs as expected 2016-06-21 10:56:30 -05:00
Brandy Carney
8fb4563527 test(all): fix all e2e tests to include an ion-nav 2016-06-17 22:05:24 -04:00
Adam Bradley
1a8f6d745d test(header): update header markup 2016-06-17 11:43:30 -05:00
Brandy Carney
f8d1103eca docs(input): add clear input example to demo and update doc to reflect
closes driftyco/ionic-site#618
2016-06-02 15:35:05 -04:00
Adam Bradley
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
Adam Bradley
03f4511635 chore(tslint): fix noImplicitAny errors 2016-05-31 18:40:29 -05:00
Adam Bradley
6e9087534d test(bootstrap): update to use ionicBootstrap 2016-05-31 15:49:12 -05:00
Adam Bradley
73635f3939 refactor(bootstrap): use ionicBootstrap() to bootstrap
BREAKING CHANGES:

- Ionic's custom decorators have been removed.
- `@App` and `@Page` should be replaced with `@Component`.
- `IonicApp` has been renamed to `App`.
- `ionicBootstrap` is required to bootstrap the app.
- Config is now the 3rd parameter in `ionicBootstrap(rootComponent,
providers, config)`.
- Property `prodMode` is now a config option, enabling or disabling
production mode.
2016-05-31 15:42:06 -05:00
Brandy Carney
4ba999e6a4 fix(input): fix the clear input placement on wp mode
references #6514
2016-05-27 14:11:48 -04:00
Brandy Carney
7c0fe93061 test(input): add select to the form input test 2016-05-21 13:27:31 -04:00
Brandy Carney
0073e5bc27 chore(tslint): fix linter rerror 2016-05-21 13:12:32 -04:00
Brandy Carney
6180cb83ab fix(input): pass the control classes down to the native input
this is to make the native input, ion-input and item all have the same
classes for the control

references #6040
2016-05-21 13:08:38 -04:00
Brandy Carney
702a88225b fix(input): fix material design success/error highlighting on inputs
references #6040
references #5052
2016-05-21 12:52:17 -04:00
Brandy Carney
5498a36a86 fix(input): add form validation classes to the item
references #6040
2016-05-21 12:32:11 -04:00
Brandy Carney
b742e1f0da fix(label): make all ion-labels stacked or floating stretch
closes #6134
2016-05-19 19:32:18 -04:00
Josh Thomas
2b836a930f chore(tests): correct components to use src path instead of ionic to ensure karma tests pass. 2016-05-19 16:58:08 -05:00
Josh Thomas
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00
Andrew
9039297110 rename src to ionic 2015-04-25 10:59:09 -05:00
Max Lynch
ca8c39179b Input stuff 2015-04-24 14:31:51 -05:00