Commit Graph

184 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida
c79bd5ab81 test(date time): datetime without max value 2017-03-16 19:19:31 +01:00
Manu Mtz.-Almeida
8b3991cc78 fix(tabs): reverts 9e4c3a6e3e 2017-03-06 17:23:07 +01:00
Manu Mtz.-Almeida
beed9989ed Merge branch 'simplify-bar-button' of https://github.com/manucorporat/ionic 2017-03-03 21:07:03 +01:00
Manu Mtz.-Almeida
6e1ae9710e refactor(Tabs): moves markup to TabButton component 2017-03-03 21:06:34 +01:00
Manu MA
9e4c3a6e3e feat(split-panel): split panel support for ion-nav and ion-menu (#10343)
* feat(split-panel): split panel support for ion-nav and ion-menu

Revert some changes

adds support split-panel support for tabs

Removes .orig

removes e2e.ts

Removes unneeded changes in menu.ts

improves stuff

* fix(split-panel): resize is called when menu wraps a ion-nav

* test(split-panel): improves split-panel/basic test

* feat(split-panel): ionChange is an ng2 @Output()

* fix(split-panel): fix tabs as side content

* fix(menu): forzedClose works as expected

* feat(split-panel): split-panel works with several menus

* chore(split-panel): renames to split-pane

* refactor(split-pane): splitPane can be injected

* fix(split-pane): it is a directive

* fix(slides): integration with split-panel

* Make gulp validate happy
2017-03-03 20:13:07 +01:00
Manu Mtz.-Almeida
738515879b fix(tabs): popToRoot catches the rejected promise 2017-02-28 17:50:42 +01:00
Manu Mtz.-Almeida
8d9f374065 fix(all): memory leaks
fixes #10459
fixes #10416
fixes #10286
2017-02-28 17:50:42 +01:00
Manu Mtz.-Almeida
be0b6a8872 refactor(all): cosmetic changes + app.resize as event emitter 2017-02-28 17:34:12 +01:00
Manu Mtz.-Almeida
ac1a886158 fix(tabs): ionChange is emitted after the tab is selected
fixes #10538
2017-02-23 19:35:44 +01:00
Brandy Carney
cc21f93b87 docs(API): update descriptions to be more clear
also update descriptions for the same properties to be more consistent,
and reword all events to start and end the same.

closes #10248 closes driftyco/ionic-site#613 closes
driftyco/ionic-site#899
2017-01-31 17:47:52 -05:00
Brandy Carney
091545e8c5 chore(e2e): update tests to remove component name strings 2017-01-23 14:35:23 -05:00
Manu Mtz.-Almeida
ee2268f42a fix(alert): unhandled promise exception 2017-01-21 00:20:27 +01:00
Brandy Carney
c8c90572bc chore(scripts): update e2e prod build to work with ionic-app-scripts (#10083)
* chore(e2e): WIP to add files needed for app-scripts

* chore(e2e): WIP one e2e test building but with errors

* chore(e2e): move e2e.prod to working with app-scripts

move shared functions into util, add support for debug flag when
running e2e.prod / demos.prod which gets passed to app-scripts

* chore(build): fix app-scripts build for all e2e and demos

* chore(e2e): update ionic-angular import path

* chore(build): update dev paths to work with prod

* chore(e2e): get watch working with e2e prod

* docs(scripts): update README for running e2e and demos

closes #8411
closes #10023
2017-01-19 11:09:57 -05:00
Manu Mtz.-Almeida
e770a9ab23 Merge branch 'fix-previousTab' of https://github.com/manucorporat/ionic
# Conflicts:
#	src/components/tabs/tabs.ts
2017-01-18 14:23:45 +01:00
Manu Mtz.-Almeida
4f711defb1 Merge branch 'fix-tabs-wrong-deeplinker' of https://github.com/jackfengji/ionic 2017-01-18 14:22:45 +01:00
Manu Mtz.-Almeida
ba9e7b3e6b fix(tabs): ionChange event is dispatched after the switch 2017-01-17 21:33:50 +01:00
AndreasGassmann
fadfb3734c docs(tabs): fix description of tabsHideOnSubPages
Closes #10061
2017-01-17 12:27:08 -05:00
Jack Feng
eb96cba227 Fix url is not correct after selecting tabs
Update deeplinker's updateNav after tabSwitchEnd so deeplinker gets the
right active navchild.
2017-01-17 16:50:25 +08:00
Brandy Carney
d252fa49e5 chore(e2e): rename app-module.ts to app.module.ts for consistency
references #10023
2017-01-13 15:16:24 -05:00
Brandy Carney
f6cabcdbc7 test(tabs): fix ngc error in advanced test 2017-01-10 15:06:03 -05:00
Adam Bradley
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
Adam Bradley
5ba09a1b78 chore(css): fix transform prefixes 2016-12-08 11:31:09 -06:00
Dolan
2488db5f2d docs(tabs): fix closing tag in usage (#9552) 2016-12-08 11:15:32 -05:00
Adam Bradley
39e1dce72d fix(img): ensure scroll has been initialized 2016-12-07 15:59:20 -06:00
Adam Bradley
aec8f51b60 fix(virtual-scroll): fix tabs content loading 2016-12-07 14:46:58 -06:00
Brandy Carney
bb3a57f407 fix(tabs): make MD tab highlight the contrast color of tabs color 2016-12-06 17:45:02 -05:00
Brandy Carney
3b612d2bc0 fix(tabs): adjust the top of tabs each time the tab changes 2016-12-06 16:07:40 -05:00
Manu Mtz.-Almeida
cb65f79cbb fix(tabs): _touchActive() works when tab.root is a string 2016-12-06 01:25:52 +01:00
Manu Mtz.-Almeida
68eb1b7cb5 fix(viewcontroller): onDidDismiss() is always called
fixes #8223
2016-12-05 14:53:24 -06:00
Brandy Carney
660d53101f docs(sass): add documentation for the remaining sass variables
closes #8785
2016-12-05 10:16:40 -05:00
Manu Mtz.-Almeida
81a0969530 fix(tab): tab button without content does not crash 2016-12-04 13:33:27 +01:00
Manu Mtz.-Almeida
c08c21a4a0 refactor(gestures): using new DomController 2016-12-02 11:45:26 +01:00
Brandy Carney
790e3d4a87 refactor(tabs): add and rename variables to style tabs
- separate toolbar and tabs variables since there are cases where they
shouldn’t automatically match
- add opacity to iOS tabs when a color is applied to the tabs
- fix Material Design styling to match spec

closes #9294
2016-11-30 17:29:21 -05:00
Diego
3fd9a205d7 docs(tabs): fix closing tag 2016-11-29 21:29:08 -06:00
Manu Mtz.-Almeida
907191bbc2 perf(tabs): improve tab switching response 2016-11-28 09:00:41 -06:00
Brandy Carney
b515f5251b refactor(toolbar): move border from toolbar to header/footer and increase opacity
This matches native iOS. Removed the `no-border-top` and
`no-border-bottom` from toolbars since it is only added to `ion-header`
and `ion-footer` now, and added `no-border` to each of those.
2016-11-23 17:54:05 -06:00
Michael
d6f959b3e2 docs(tabs): update docs
closes #9268
2016-11-21 14:15:38 -05:00
mhartington
9588de3e80 docs(tab): Update select example
Close https://github.com/driftyco/ionic-site/issues/889
2016-11-18 16:31:32 -05:00
Brandy Carney
e7275f23c6 fix(tabs): update UI to match material design spec 2016-11-18 13:48:24 -05:00
Brandy Carney
9f7972b6fd fix(styles): update ios and md styles closer to native 2016-11-16 14:12:29 -05:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Manu Mtz.-Almeida
04d61ee47a fix(nav): swipe to go back gesture
- smoother by debouncing touch events (reduces bank)
- dynamic animation duration
- intelligent behavior based in the position, speed and direccion of the swipe (sharing logic with sliding item)

fixes #8919
fixes #8958
fixes #7934
2016-11-01 13:38:27 -05:00
Manu Mtz.-Almeida
033e1eae17 fix(nav): adds public willLoad lifecycle event
* fix(nav): adds public willLoad lifecycle event

* test(menu): adds more asserts
2016-11-01 13:12:29 -05:00
Manu Mtz.-Almeida
4f6a9b143c feat(tabs): tabsHideOnSubPages can be modified per tab
references #8970
2016-11-01 02:21:28 +01:00
Alex Muramoto
a49bdf0c8b docs(tabs): add steps to switch tabs from child component (#8829)
* docs(input): fix typo

* docs(scroll): add note about required CSS for scrollY

* docs(config): add swipeBackEnabled to config properties list

* docs(component generator): fix broken link in template comment

* docs(directive generator): fix broken link in template comment

* docs(modal): add that modal is not reusable

* docs (searchbar): update description of debounce

* docs(tabs): add steps to switch tabs from child component
2016-10-22 00:17:48 +02:00
Manu Mtz.-Almeida
4be5d8329e fix(tabs): $tabs-md-tab-font-size is taken into account
fixes #8820
2016-10-21 17:58:27 +02:00
Manu Mtz.-Almeida
d9e8b1bec6 refactor(nav-controller-base): cleanup some logic
NavControllerBase is the core of ionic 2 navigation. It handles all the transitions and it is complicated code to follow.
I am refactoring it to allow future developers and contributors to follow it better.

!node.parent now becomes node.isRoot()

ViewController does not remove itself from the stack, but two new auxiliar function in nav controller: _insertView() and _removeView() are used to add a view to the stack.

And so on...

All e2e and unit tests passing...
2016-10-18 16:36:55 +02:00
Manu Mtz.-Almeida
ba557acb4f fix(nav): ion-nav inside ion-content work properly 2016-10-15 02:59:57 +02:00
Manu Mtz.-Almeida
060748b4cf test(tabs): adds show test
references #6412
2016-10-13 23:59:23 +02:00
Manu Mtz.-Almeida
35568ba85f chore: removed deprecated APIs 2016-10-13 11:02:45 -05:00