Commit Graph

54 Commits

Author SHA1 Message Date
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
424b15aefd fix(rtl): add correct text-align (#11353)
* fix(rtl): add correct text-align

* feat(text-align): add mixin for backwards compatibility of variables

* fix(text-align): default null not empty string

* fix(text-align): remove default
2017-05-02 11:10:18 -04: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
perry
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -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
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
f9f9a1b441 test(content): fix unit test by using new elementRef api 2017-03-14 22:14:01 +01:00
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
Manu Mtz.-Almeida
37c198414d Merge branch 'master' into 3.0 2017-03-07 21:28:18 +01:00
Manu Mtz.-Almeida
1dd88830f9 fix(refresher): events manager must not be destroyed (part 2)
fixes #10652
2017-03-05 14:41:14 +01:00
Manu Mtz.-Almeida
930869476a fix(refresher): events manager must not be destroyed
fixes #10652
2017-03-05 12:30:52 +01:00
Dan Bucholtz
7880d44c07 refactor(refresher): move to constants from enum
move to constants from enum
2017-03-02 14:59:26 -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
Brandy Carney
116ae38ade fix(refresher): use refresher icon color from Sass var
fixes #10479
2017-02-27 16:44:25 -05:00
Justin Willis
6a0c92c509 fix(content): check for scroll element before modifying it (#10374)
* test(refresher): add nav based refresher e2e test

* test(refresher): tweak test to repro issue

* fix(content): check for scroll element

* chore(content): double check for a scroll element
2017-02-13 12:39:29 -05: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
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
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06: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
b3bf379291 test(refresher): fix refresher tests 2016-12-05 21:23:31 -06:00
Adam Bradley
c377236dcb perf(scroll): efficient scroll events and properties 2016-12-05 16:50:05 -06: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
Manu Mtz.-Almeida
c44f6b6f2e perf(animation): improves _progress() hot function
- progress() is the function where more time is spent during any swipe gesture
- replace iterating over the _fx properties, using an array instead
- optimize pointerCoord(), profiler showed it’s one of the most called functions
2016-11-16 19:48:35 +01:00
Manu Mtz.-Almeida
32ab817181 fix(gestures): gesture controller handled by components
* fix(gestures): gesture controller is handled by components

fixes #9046

* fix(gestures): adds hybrid disable scroll assistance

fixes #9130
fixes #9052
fixes #7444
2016-11-16 10:03:51 -06:00
Job
658c4d6672 fix(refresher): only animate transform property 2016-10-21 12:15:45 +02:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Adam Bradley
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -05:00
Brandy Carney
16df3a4aab refactor(css): update theme imports 2016-09-13 16:57:32 -05:00
Adam Bradley
d7be8a80c0 test(ngmodule): update to ngmodule 2016-09-13 15:44:02 -05:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07: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
5909fa4ba5 refactor(gestures): no longer use hammer for drag gestures 2016-07-15 11:23:36 -05:00
Manu Mtz.-Almeida
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02: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
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
Adam Bradley
0d8c947409 refactor(content): rename adjustedTop to contentTop
Closes #7112
2016-06-29 21:51:11 -05:00
Adam Bradley
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
Adam Bradley
603000fa72 fix(refresher): adjust location after layout updates 2016-06-21 12:46:54 -05: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
1a58a41cf9 fix(refresher): only listen for mousemove/touchmove when needed 2016-06-21 17:26:18 +02:00
Manu Mtz.-Almeida
14b8049771 refactor(refresh): uses new UIEventManager 2016-06-21 11:37:31 +02:00
Adam Bradley
1a8f6d745d test(header): update header markup 2016-06-17 11:43:30 -05:00
Adam Bradley
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
Adam Bradley
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
Adam Bradley
6e9087534d test(bootstrap): update to use ionicBootstrap 2016-05-31 15:49:12 -05:00