Commit Graph

597 Commits

Author SHA1 Message Date
Brandy Carney
15d69c2ab5 docs(sass): brian lied to me, update sass syntax
references driftyco/ionic-site#613
2016-08-03 17:50:42 -04:00
Brandy Carney
7a2ad99029 fix(range): set ticks to an empty array to prevent errors 2016-08-03 17:42:52 -04:00
Brandy Carney
b7c45482c6 docs(sass): add the correct documentation syntax for the sass vars
references driftyco/ionic-site#613
2016-08-03 17:07:44 -04:00
Brandy Carney
89f4f8408c Merge branch 'pr/7341'
# Conflicts:
#	src/components/select/test/single-value/index.ts
#	src/components/select/test/single-value/main.html
2016-08-03 12:37:24 -04:00
Brandy Carney
43d8bbdd12 test(select): add demo for the selected text
references #7341
2016-08-03 12:33:20 -04:00
Brandy Carney
b5b804725f refactor(select): rename the checked attribute to selected on option
BREAKING CHANGES:

The Option component’s `checked` attribute has been renamed to
`selected` in order to select an option. This is to the follow the MDN
spec for a select option:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option

If a `ngModel` is added to the Select component the value of the
`ngModel` will take precedence over the `selected` attribute.

references #7334
2016-08-03 11:38:41 -04:00
Brandy Carney
ccf6ae5dd3 chore: fix linter error 2016-08-01 16:27:30 -04:00
Brandy Carney
eea7e6ba69 feat(tabs): add the transition for material design tabs
refactored the sass naming to use `text-capitalization` instead of
`text-transform` since it now has an actual `transform` property and I
think this will be less confusing than having a `text-text-transform`
and a `text-transform`.

references #7455
2016-08-01 16:22:20 -04:00
Dan Bucholtz
8bf1a353fd docs(nav, tabs): moved details from component docs to api docs where applicable (#7471)
moved details from component docs to api docs where applicable
2016-08-01 13:44:56 -05:00
mhartington
0a57213901 docs(navController): make popTo private
Closes https://github.com/driftyco/ionic-site/issues/615
2016-07-29 12:46:16 -05:00
mhartington
36e8604ed9 docs(navbar): add note about when to use navbar and when to use toolbar
Closes https://github.com/driftyco/ionic-site/issues/685
2016-07-29 12:37:16 -05:00
mhartington
4e26ea3294 docs(list): clean up docs and hide gestureCtrl 2016-07-29 11:27:09 -05:00
mhartington
1c596556c5 docs(footer, header): add docs 2016-07-29 10:37:12 -05:00
Abdi Saeed
c9c46dfb0c docs(slides): typo fix (#7465) 2016-07-29 09:32:07 -05:00
Brandy Carney
cab7b0d8b5 refactor(tabs): fix undefined sass variables 2016-07-28 23:35:06 -05:00
Brandy Carney
af01841c86 refactor(tabs): update Sass variable naming to be more consistent
Added comments on each Sass variable.

references #5651 references #7455
2016-07-28 23:11:26 -05:00
Brandy Carney
4dc53a2d9d refactor(tabs): change the material design tabs to act as bottom navigation
Update tabs to reflect the material design bottom navigation spec:
https://material.google.com/components/bottom-navigation.html#bottom-nav
igation-usage

BREAKING CHANGES:

Material design mode defaults have changed to the following:

```
tabsHighlight: false,
tabsPlacement: 'bottom',
tabsHideOnSubPages: false
```

`tabsHighlight` can now be passed as an attribute on the `ion-tabs`
element, this allows for tabs to be added in multiple places inside of
an app and enable the highlight on some of them.

references #7455
2016-07-28 21:57:35 -05:00
Brandy Carney
087e2f2480 revert(tabs): undo commit that removes tab sub pages
Fix advanced tabs test

This reverts
https://github.com/driftyco/ionic/commit/743de19ae898e83375b51ef9c376225
c8e63f0ef
2016-07-28 15:28:55 -05:00
Brian Dennis
f3eb5fd3f2 docs(optional): add syntax to flag params as optional 2016-07-25 11:45:32 -05:00
Bryan Walker
d17441459e docs(input): update input
Added additional item highlighting ability to make text area taller and include placeholder text.
2016-07-24 21:16:36 -05:00
Mark McEahern
d62faf9d81 docs(label): update copy for clarity
Change `about` to `above`, which appears to be the intended meaning.
2016-07-24 21:13:37 -05:00
Manu Mtz.-Almeida
86c5aaf7a1 perf(menu): several improvements
- `display: none;` when menu is closed
- `ion-backdrop` is display: none when it is not used
- `ion-backdrop` is much smaller
2016-07-20 07:16:31 -07:00
Manu Mtz.-Almeida
44ab527f74 fix(backdrop): flicker in UIWebView 2016-07-19 13:33:44 -07:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
Brandy Carney
324f2cb189 test(input): fix input test to update the user form
closes #7335
2016-07-19 12:39:08 -04:00
perry
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8.
2016-07-18 19:40:03 -05:00
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
Manu Mtz.-Almeida
ea9dd02b5b fix(reorder): non ion-item elements can be reordered
the removed code was a premature optimization that does more harm than good

fixes #7339
2016-07-18 16:56:56 +02:00
Manu Mtz.-Almeida
cac378f35b fix(menu): only one menu can be opened at a time
fixes #6826
2016-07-17 20:42:29 -05:00
xr0master
cc343d8ed2 Update select.ts
Added ability set selected text like md-selected-text
2016-07-16 14:52:47 +03:00
Brandy Carney
99efa3687f fix(tabs): add sass variable for inactive opacity and pass it to the colors loop 2016-07-15 17:43:02 -04:00
Adam Bradley
0386476879 test(nav): clean up NavController tests 2016-07-15 15:55:49 -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
Manu Mtz.-Almeida
5909fa4ba5 refactor(gestures): no longer use hammer for drag gestures 2016-07-15 11:23:36 -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
Lenny Kean
86fd8a480f fix(picker): fix iOS 8 picker display
Fixes #7319
2016-07-14 21:28:01 -05:00
Manu Mtz.-Almeida
fd54f44a66 style(item): fixes "degrees" typo 2016-07-14 15:04:15 +02:00
Manu Mtz.-Almeida
a2a71893e4 style(menu): typo (degress -> degrees) 2016-07-14 11:24:30 +02:00
Manu Mtz.-Almeida
32a70a62de fix(menu): swipe menu is triggered when the swipe |angle| < 40º 2016-07-14 11:17:23 +02:00
Manu Mtz.-Almeida
72c24bc927 feat(gesture-controller): disable/enable scrolling 2016-07-14 00:52:43 +02:00
Manu Mtz.-Almeida
d230cb40fe fix(gestures): detecting swipe angle correctly + sliding item logic fix 2016-07-14 00:03:53 +02:00
Adam Bradley
1ae6619367 Merge pull request #7212 from manucorporat/gesture-controller
New Gesture controller
2016-07-13 15:24:12 -05:00
Manu Mtz.-Almeida
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
Adam Bradley
743de19ae8 refactor(tabs): remove tabSubPages UI
The Material Design spec has added “Bottom Navigation”, which is what
Ionic calls “Tabs”. Ionic’s MD mode now follows the updated Material
Design spec with the tabbar placed on the bottom. Additionally, any tab
sub pages do not automatically cover up the tabbar. Covering up the
tabbar is still possible by using a modal, however, it is no longer a
default feature for MD mode.
2016-07-12 20:28:40 -05:00
Manu Mtz.-Almeida
d6f62bcb60 fix(sliding): much better UX + performance
- sliding should behave exactly like a native one
- much better performance

references #7049
references #7116
closes #6913
closes #6958
2016-07-12 15:30:19 +02:00
Adam Bradley
cca3309f4c chore(nav): create nav-interfaces file 2016-07-11 23:24:25 -05:00
Adam Bradley
8c2f0b448c test(nav): remove unused tests 2016-07-11 23:22:01 -05:00
Brandy Carney
10179c351d docs(item): add link to the utility attributes in item api docs
closes driftyco/ionic-site#661
2016-07-11 16:15:23 -04:00
Brandy Carney
dd969a2958 fix(tabs): make the text color opaque instead of the entire button
this affects `md` and `wp` mode.

fixes #6638
2016-07-08 17:20:18 -04:00
Brandy Carney
d3be0af46d test(tabs): clean up tabs badges e2e test so it works 2016-07-08 17:14:41 -04:00