Commit Graph

82 Commits

Author SHA1 Message Date
Dan Bucholtz
efd54750bf chore(lint): fix all code that doesn't pass tslint
* chore(lint): update to work with newer tslint

* chore(lint): fix all code that doesnt pass tslint

fix all code that doesnt pass tslint
2017-07-05 16:21:55 -05:00
Dan Bucholtz
5cad96570f feature(navigation): modify urls to support multiple root level navs/tabs
* wip

* wip

* progress

* wippy skippy

* getting there

* all tests passing except goBack

* unit tests pass again boi

* goBack tests pass

* great success

* the good stuff
2017-06-19 16:29:55 -05:00
Amit Moryossef
e5d08a00fb style(lint): remove unused import (#11738) 2017-05-22 12:19:10 -04:00
Daniel Ciao
892e14f334 fix(VirtualScroll): initialize trackByFn reference (#11624)
* fix(VirtualScroll): initialize trackByFn reference

* fix(VirtualScroll): simplify fix for TrackByFn reference
2017-05-20 01:19:23 +02:00
Amit Moryossef
a30379bef6 feat(rtl): add rtl margin, padding, position and border-radius (#11342)
* refactor(item): replaced item-left with item-start
replaced item-right with item-end

* style(item): fix spacing

* fix(item): add backwards support for left/right in ng-content

* fix(item): deprecated old variables, not breaking change

* feat(rtl): padding mixin

* feat(rtl): change all padding variables to start/end
add support for old variable names

* feat(rtl): replace all padding-side with start/end

* revert(functions): remove mixins

* feat(scss): add padding-horizontal and rtl functions (thanks brandy)

* feat(padding): use padding horizontal mixin everywhere

* feat(padding): use padding horizontal mixin everywhere

* fix(lint): change properties order. tests passing

* fix(sass-functions): reorder functions to avoid warning

* fix(scss): fix variable name

* perf(rtl): add check if need rtl selector

* feat(scss): add full padding function

* feat(scss): add border-radius mixin

* fix(rtl): change border-radius to use mixin

* perf(scss): only override if has something to override

* feat(scss): add margin scss variables for sides

* feat(scss): add margin mixin

* fix(scss): fix wrong support for 2/3 args

* feat(rtl): spread margins/paddings

* feat(rtl): spread margins/paddings

* feat(position): add rtl support for absolute

* fix(rtl): add missing calls

* fix(item): old attributes deprecated support

* revert(changelog): not intended to be changed

* fix(sass-functions): and not &&

* fix(padding): merge + missing padding

* style(): remove newline

* refactor(mixins): move mixins to mixins file

* style(): fix alignment

* fix(item): right padding should not be set

* fix(): incorrect defaults

* feat(scss-lint): disable some side variables

* fix(scss): lint passes

* feat(lint): disabled text-align

* fix(): correct variable name

* fix(fab): missed a comma

* fix(rtl): rtl method incorrect for multiple selectors

* fix(rtl): toolbar bad merge

* fix(rtl): icon-only is in px not em

* fix(rtl): toggle padding

* feat(rtl): correct notation for rtl custom

* Merge branch 'breaking-item' into start-end

# Conflicts:
#	src/components/checkbox/checkbox.ios.scss
#	src/components/checkbox/checkbox.md.scss
#	src/components/checkbox/checkbox.wp.scss
#	src/components/item/item.ios.scss
#	src/components/item/item.md.scss
#	src/components/item/item.wp.scss
#	src/components/radio/radio.ios.scss
#	src/components/radio/radio.md.scss
#	src/components/radio/radio.wp.scss
#	src/components/toggle/toggle.ios.scss
#	src/components/toggle/toggle.md.scss
#	src/components/toggle/toggle.wp.scss

* fix(scss): fix for deprecated usages
2017-05-12 13:05:45 -04:00
Manu Mtz.-Almeida
f893aa6774 fix(virtual-scroll): remove duplicate items 2017-05-09 18:33:50 +02:00
JamesM
51ced8bec2 docs(virtual-scroll) fix typo in virtual scroll (#11533) 2017-05-05 12:16:07 -04:00
Amit Moryossef
26c653e43e feat(item): deprecate item-left / item-right attributes for item-start / item-end (#11125)
item-start and item-end make more sense for RTL

* refactor(item): replaced item-left with item-start
replaced item-right with item-end

* style(item): fix spacing

* fix(item): add backwards support for left/right in ng-content

* fix(item): deprecated old variables, not breaking change

* fix(scss): fix variable name

* fix(item): old attributes deprecated support
2017-05-05 11:53:32 -04:00
Manu Mtz.-Almeida
8baa6474a4 perf(virtual-scroll): fast path for removing 2017-05-05 01:42:30 +02:00
Manuel Mtz-Almeida
88e5642f60 perf(virtual-list): relaxed restrictions for fast path 2017-05-05 01:40:58 +02:00
Amit Moryossef
5d562166fc refactor(): global refactoring to avoid IDE warnings and cleaner code (#11296)
* refactor(style): redundant measure units

* refactor(): change pointless boolean operation to cast

* refactor(): change redundant 'if' statement

* refactor(style): remove overwritten property value

* fix(spellcheck): wrong attribute value

* refactor(datetime-test): There should be a space between attribute and previous attribute

* refactor(import): import can be shortened

* refactor(semicolon): add missing semicolon

* docs(): fix incorrect parameter name

* refactor(): remove trailing unused parameters

* fix(menu): create mock change signature

* refactor(): remove redundant imports
all tests are passing

* refactor(style): 'var' used instead of 'let' or 'const'

* Revert "refactor(style): 'var' used instead of 'let' or 'const'"

This reverts commit 0369dbcaa8.

* refacrot(): remove unused code

* Revert "refactor(style): remove overwritten property value"

* revert(hammer): don't modify 3rd party files

* revert(activator): follow interface

* revert(activator): follow interface (cont)

* revert(activator): follow interface (cont)

* merge(master): fix conflicts

* revert(): change pointless boolean operation to cast

* revert(): text align is covered by a different PR

* revert(): add back unused parameters

* revert(): add back unused parameters
2017-05-05 01:11:00 +02:00
Manuel Mtz-Almeida
de19dbe81b fix(virtual-list): virtualTrackBy reference 2017-05-05 00:24:33 +02:00
Michael Asimakopoulos
299a68bcdc fix(VirtualScroll): initialise differ with trackByFn (#11492)
* fix(VirtualScroll): initialise differ with trackByFn

* fix(VirtualScroll): DRY up differ initialization
2017-05-05 00:20:58 +02:00
Manuel Mtz-Almeida
67af71bd9b fix(virtual-scroll): supports null records
fixes 11093
2017-04-24 23:50:26 +02:00
Dan Bucholtz
59eb9a328d refactor(): restructure components to loosen coupling, move overlay-portal, click-block, menu-controller and other app-level functionality to app directory. The motivation for this change is logical grouping, decoupling components from each other, and improving the ability to drop more unused components from bundle 2017-04-20 23:21:25 -05:00
Manuel Mtz-Almeida
fd3c6baec7 fix(virtual-scroll): create views inside zone
fixes #10451
2017-04-19 15:55:12 +02:00
Manuel Mtz-Almeida
0967b63a51 fix(virtual-list): empty list crashes
fixes #11093
2017-04-06 18:05:20 +02:00
Manuel Mtz-Almeida
db37072c40 fix(scroll): scroll issues in UIWebView
fixes #11081
fixes #10976
fixes #10966
fixes #10936
fixes #11051
fixes #10889
2017-04-06 15:09:06 +02:00
Manuel Mtz-Almeida
682ce49592 fix(virtual-list): updates to angular 4 2017-03-29 18:37:12 +02:00
Manuel Mtz-Almeida
d9a7652912 fix(content): scroll listener is auto enabled
fixes #10938
2017-03-29 17:38:41 +02:00
Manuel Mtz-Almeida
f20dda9da7 chore(virtual-list): fixes typescript types 2017-03-23 23:10:50 +01:00
Manuel Mtz-Almeida
ccb49f36d6 fix(virtual-list): several issues 2017-03-23 23:02:11 +01:00
Dan Bucholtz
945cd8ff52 test(e2e): restructure e2e to tests to import modules
restructure e2e to tests to import modules
2017-03-21 10:49:11 -05:00
Brandy Carney
042f698555 Merge branch 'master' into 3.0
# Conflicts:
#	src/components/action-sheet/test/basic/pages/page-one/page-one.ts
#	src/components/alert/alert.ts
#	src/components/content/content.ts
#	src/components/datetime/datetime.ts
#	src/components/datetime/test/datetime.spec.ts
#	src/components/loading/loading.ts
#	src/components/modal/test/basic/app.module.ts
#	src/components/picker/picker-component.ts
#	src/components/toast/toast.ts
#	src/components/toolbar/toolbar.ios.scss
#	src/components/toolbar/toolbar.md.scss
#	src/components/toolbar/toolbar.wp.scss
#	src/components/virtual-scroll/test/basic/app.module.ts
#	src/util/util.ts
2017-03-20 18:07:38 -04:00
Dan Bucholtz
af16846568 chore(e2e): rename to to standardize on format
rename  to  to standardize on format
2017-03-20 11:57:26 -05:00
Manu Mtz.-Almeida
7e9bad5092 perf(content): scrollview magic activated on demand 2017-03-16 20:12:49 +01:00
mhartington
546003037e docs(): hide modules from docs 2017-03-16 11:49:46 -04:00
Brandy Carney
ddcd3cf1c5 refactor(components): convert components to separate modules 2017-03-15 16:07:06 -04:00
Manu Mtz.-Almeida
999efaca9a fix(virtual-list): works with infinite-scroll
fixes #9350
fixes #9722
fixes #9247
fixes #10778
2017-03-15 17:38:31 +01:00
Manu Mtz.-Almeida
1222c56d23 Merge branch 'feature/fixVirtualScrollDissapearing' of https://github.com/masimplo/ionic into fix-virtual-list2 2017-03-15 17:11:14 +01:00
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
jgw96
a2e469d408 test(e2e): update toolbar, typography and virtual scroll 2017-03-06 10:03:26 -06:00
Dan Bucholtz
56e36c0754 refactor(virtual-scroll): restructure virtual-scroll component to separate modules
restructure virtual-scroll component to separate modules
2017-03-02 15:03:44 -06:00
Dan Bucholtz
be79382386 test(e2e): refactor e2e tests to modular structure and utilize lazy loading where possible
refactor e2e tests to modular structure and utilize lazy loading where possible
2017-03-02 14:37:01 -06:00
Thahzan Mohomed
1128c8b8a2 docs(virtual-scroll): fix broken link to ion-img (#10555) 2017-02-27 15:14:52 -05:00
Michael Asimakopoulos
51c398d614 fix(virtualscroll): Populate nodes at correct height 2017-01-30 12:10:34 +02:00
Adam Bradley
7824c79d60 chore(virtual-scroll): set IterableDiffer to any
Adding this to avoid an angular version issue.
2017-01-19 14:48:24 -08: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
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
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
c38bc42425 test(img): fix img tests 2016-12-14 15:35:11 -06:00
Adam Bradley
79eb2de0e3 docs(virtual-scroll): update performance tips 2016-12-11 21:32:25 -06:00
Adam Bradley
c510100ca1 fix(scroll): fix content dimensions for js scrolling 2016-12-09 21:06:22 -06:00
Adam Bradley
76ff421d6e fix(virtual-scroll): ensure listeners added after init read 2016-12-09 10:44:21 -06:00
Adam Bradley
d6b2a83fb1 test(virtual-scroll): add second page to vs basic 2016-12-09 10:34:09 -06:00
Adam Bradley
ac9e9eff7e test(img): update img tests w/ relative urls and external worker 2016-12-08 22:35:17 -06:00
Adam Bradley
8104cfac57 fix(virtual-scroll): only allow one readUpdate per update 2016-12-08 15:19:30 -06:00
Adam Bradley
ddde9f18f5 chore(virtual-scroll): only run detection on individual nodes 2016-12-07 22:16:05 -06: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