Hadrien TOMA
55f31dd7ec
docs(menu): update link to MenuController ( #11677 )
2017-05-19 13:07:33 -04: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
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
Manu Mtz.-Almeida
53113366e2
fix(menu): rtl support
2017-04-24 01:02:20 +02:00
Manu Mtz.-Almeida
51d507998c
fix(menu): rtl support
...
Squashed commit of the following:
commit 57b59eb373
Merge: dcf80e416 f26c4b4fe
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Fri Apr 21 14:38:03 2017 +0300
merge 'master'
commit dcf80e4161
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Fri Apr 21 01:24:40 2017 +0300
tests(menu): add menu rtl tests
commit d65575b9ca
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Fri Apr 21 01:24:00 2017 +0300
tests(mock): add platform to mockMenu
commit faad17ca32
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Fri Apr 21 01:23:01 2017 +0300
fix(menu): update gesture only if it exists
commit e50eb184ec
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Fri Apr 21 00:55:50 2017 +0300
refactor(menu): use magic get/set for side update
commit 89a1715661
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Thu Apr 20 19:31:49 2017 +0300
revert(menu): revert removed dependency
this PR is for a specific feature
commit 7c1263624c
Merge: 4465f82f6 860567288
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Thu Apr 20 19:26:10 2017 +0300
Merge remote-tracking branch 'upstream/master' into menu
commit 4465f82f64
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Thu Apr 20 16:11:13 2017 +0300
style(backdrop): fix code style
commit da4983a161
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Thu Apr 20 16:09:18 2017 +0300
revert(renderer): back to renderer1
commit 80ab0941d6
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Sun Apr 16 11:34:34 2017 +0300
fix(swipe-back): change side according to dir
commit f99cb9844f
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Sun Apr 16 11:26:49 2017 +0300
feat(platform): add dir change event emitter
commit 90de5d1105
Author: Amit Moryossef <amitmoryossef@gmail.com >
Date: Sat Apr 15 20:13:09 2017 +0300
fix(menu): add gesture side real-time update
migrated to Renderer2
2017-04-23 18:06:04 +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
Brandy Carney
e10f9b1a06
test(menu): update directory structure for menu/multiple
2017-04-05 10:26:36 -04:00
perry
41e34fc4ce
chore(docs): moving docs from /docs/v2 to /docs
2017-03-29 11:00:52 -05: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
Dan Bucholtz
b10ec68087
refactor(deep-linking): rename to
...
rename to
2017-03-20 10:42:00 -05:00
Dan Bucholtz
52081a471a
refactor(deep-linking): change to
...
change to
2017-03-20 10:14:36 -05: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
perry
396f891f33
chore(docs): updating dgeni typescript package
2017-03-14 14:50:31 -05:00
Dan Bucholtz
0964c850d4
test(e2e): refactor e2e to use deeplink decorator, lazy load more pages
2017-03-11 00:15:38 -06:00
Manu Mtz.-Almeida
37c198414d
Merge branch 'master' into 3.0
2017-03-07 21:28:18 +01:00
Daniel Imhoff
e8f6e0134e
test(e2e): menu/basic: lazy load modal
2017-03-06 16:52:36 -06:00
Manu Mtz.-Almeida
e56bad9977
fix(menu): menuToggle always visible outside navbar
2017-03-06 17:58:12 +01:00
Manu Mtz.-Almeida
c65bb4e64b
style(menu): removes unused method
2017-03-04 19:21:21 +01:00
Daniel Imhoff
1fc1305dd5
test(e2e): modal/basic
2017-03-03 16:06:25 -06:00
Daniel Imhoff
a43386a405
test(e2e): menu/basic
2017-03-03 14:48:03 -06:00
Manu Mtz.-Almeida
5a4c6093a7
refactor(NavController): adds better error handling
...
fixes #10090
2017-03-03 21:11:58 +01:00
Manu Mtz.-Almeida
dc53c8e9f6
fix(menu): all menus can be disabled
2017-03-03 20:44:40 +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
Dan Bucholtz
7ad8d47aea
refactor(menu): move from enum to constants
...
move from enum to constants
2017-03-02 14:53:10 -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
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
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
b02df3e2d1
docs(sass): document some missed sass variables
2017-01-26 11:37:31 -05:00
Muhammad Nur'Ihsan Bin Berahim
3282c95e9b
docs(menu): update exmample code
...
Closes #10136
2017-01-23 11:32:30 -05: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
mhartington
2dcf49773e
docs(menu): update menu docs
...
Closes https://github.com/driftyco/ionic-site/issues/951
2017-01-11 15:57:28 -05:00
Juan G. Jordán
9a00af34e3
docs(menu): fix typos in menu-controller.ts ( #9923 )
...
Typo errors.
2017-01-09 13:06:11 -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
Alexander Schmidt
13cf6a6cb7
docs(menu-toggle): fix broken link
...
path correction in description
old -> nav/NavBar
new -> navbar/Navbar
2017-01-04 11:50:32 -08:00
Manu Mtz.-Almeida
e0d876e9f0
fix(clickblock): clickblock applies longer
...
references #9531
2016-12-07 09:49:13 -06:00
Manu Mtz.-Almeida
66bbd24d8d
perf(ripple): prevents jank by using raf
2016-12-05 21:28:32 +01:00
Manu Mtz.-Almeida
1e95e856ed
fix(menu): two menus can’t be animated at the same time
2016-12-05 18:29:17 +01:00
Manu Mtz.-Almeida
8de253a9b1
fix(app): go back navigation can close menus
2016-12-02 14:06:51 +01:00
Manu Mtz.-Almeida
c08c21a4a0
refactor(gestures): using new DomController
2016-12-02 11:45:26 +01:00
Brandy Carney
3532a71c29
docs(sass): add documentation for sass variables
...
This adds documentation for loading, menu, picker, popover, radio,
refresher, select, and toast. Also removes unused variables.
References #8785
2016-12-01 18:39:52 -05:00
Adam Bradley
bdf02d4280
chore(util): add removeArrayItem fn
2016-11-29 10:21:47 -06:00
Manu Mtz.-Almeida
eafd13f53e
fix(menu): clicking the backdrop/content closes the menu
2016-11-29 12:45:00 +01:00
Manu Mtz.-Almeida
788a7b61f9
perf(menu): using passive events in menu
2016-11-26 15:45:55 +01:00
Manu Mtz.-Almeida
a722107d88
perf(events): ionDrag events are not zone wrapped
2016-11-26 15:44:48 +01:00
Manu Mtz.-Almeida
320989540e
perf(menu): improves menu performance and fixes some edge cases
2016-11-25 22:56:53 +01:00
Manu Mtz.-Almeida
91478edd9f
fix(menu): improves menu swipe animation
2016-11-23 20:16:28 +01:00
Manu Mtz.-Almeida
5ad7fd1908
perf(rendering): add css containment
2016-11-23 11:08:45 -06:00