Commit Graph

1743 Commits

Author SHA1 Message Date
mhartington
5d2974f2d2 docs(itemSliding): add note about expandable
Closes https://github.com/ionic-team/ionic-site/issues/969
2017-06-07 13:50:05 -04:00
Amit Moryossef
133a0f9379 refactor(menu): use multi-dir for left to avoid flipping values (#11953)
* refactor(menu): move lint disable inside multi-dir

* feat(menu): add correct left behavior

* refactor(menu): remove redundant code
2017-06-07 12:11:53 -04:00
Sina
bb966e5a31 fix(button): rtl fix for md ripple effect (#11842)
* fix(button): rtl fix for md ripple effect

* add multi-dir mixin

* Linting

* remove the empty line and re place the comment

* Linting...
2017-06-07 12:07:13 -04:00
Amit Moryossef
f0c6948ef8 feat(rtl): optimize the new mixins for smaller bundle, ltr separation (#11635)
* 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

* feat(rtl): optimize bundle result

* feat(float): use new standard

* feat(platform): gotta have direction on html

* fix(scss): add import + change code order

* fix(lint): passes

* fix(scss): fix for deprecated usages

* fix(scss): property use #{}

* fix(rtl): change css specificity, increase bundle size for multidirectional

* fix(scss): mixin manages priority

* fix(scss): select icon

* fix(scss): correct range variable

* fix(lint): unused import

* fix(multi-dir): things that ignore PropertySpelling must be under multi-dir

* fix(multi-dir): things that ignore PropertySpelling must be under multi-dir

* fix(include-rtl): change to app-direction, to be able to set rtl only apps

* fix(rtl): remove incorrect split-pane rtl behavior

* fix(menu): start needs position on rtl

* fix(float): renamed test file, add float mixin

* fix(scss-lint): lint excluded files

* fix(scss): add missing unit

* refactor(scss): change dir to direction, as the correct property name

* fix(app-direction): replace last usage of include-rtl

Closes: #11805 #11914
2017-06-06 12:52:03 -04:00
Brandy Carney
cb5d505d64 style(lint): fix linter errors 2017-06-05 18:15:53 -04:00
Amit Moryossef
7d8696c050 test(snapshot): build all tests into a single app (#11910)
* fix(lint): unused import

* fix(searchbar): caret moving to the end when typing

* refactor(template): fix component template (#11839)

fix #11838

* chore(issue-template): change link to new org name

* docs(github): rename driftyco references to ionic-team

* fix(toolbar): use the correct contrast color for MD toolbar

fixes #11848

* docs(searchbar): add default values for inputs (#11856)

Complete missing defaults for animated and showCancelButton.

* docs(tabs): rename Angular 2 to Angular (#11837)

* docs(tabs): change double quotes to single quotes (#11836)

* docs(api-tabs): improved typo

* Update tab.ts

* docs(slides): change double quotes to single quotes (#11835)

* docs(api-slides): improve typo

* Update slides.ts

* docs(platform): change double quotes to single quotes (#11834)

* docs(nav-controller): add type to usage example (#11833)

* docs(util): hide normalizeURL (#11735)

* docs(checkbox): rename Angular 2 to Angular (#11831)

* docs(api-checkbox): renamed Angular 2 to Angular

* Update checkbox.ts

* docs(checkbox): improve usage example (#11832)

* docs(api-checkbox): improve typo

* Update chip.ts

* docs(menu): update menu-controller link
Closes #11877. Closes https://github.com/ionic-team/ionic-site/issues/1129

* feat(snapshot): init new "components" for global testing

* feat(snapshot): add app component

* feat(snapshot): add assistive touch

* feat(snapshot): add more components

* feat(snapshot): add more components

* fix(snapshot): add trailing line

* fix(snapshot): remove not working tests

* fix(snapshot): correct name of group
2017-06-05 14:03:32 -04:00
Snir Segal
1c25acbb1f fix(select): add cssClass for popover interface (#11769)
* fix(ionSelect): support cssClass for popover interface

* fix default cssClass value
2017-06-05 13:58:48 -04:00
Sina
59a1e3def1 fix(gesture): RTL fix for slide-gesture (#11822)
RTL fix for slide-gesture
2017-06-05 12:32:16 -04:00
Jody Brewster
e3c60c5de4 feat(slides): support centering slides and using decimal numbers
Closes #10361
2017-06-05 12:22:19 -04:00
Amit Moryossef
f5bbdcd32e test(e2e): update icon attributes to use rtl attributes (#11912) 2017-06-05 12:06:08 -04:00
Sina
6322134994 fix(transition): RTL fix for transition on ios (#11820)
* fix(transition-ios): RTL fix for ios transition

* put const variables in init of page transition and remove RTL specific variables
2017-06-05 11:49:21 -04:00
Daniel Sogl
dd6de0d625 docs(angular): rename Angular 2 to Angular (#11911)
* its called Angular!

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-06-05 11:41:54 -04:00
Amit Moryossef
c9cb9ae15a perf(item-sliding): remove duplicate class (#11829)
* fix(lint): unused import

* perf(item-sliding): remove duplicate class

* fix(item-sliding): revert and merge selector

* fix(item-sliding): pass lint
2017-06-02 15:30:11 -04:00
Ibby Hadeed
6256b0fa66 fix(content): scroll content should inherit background (#11467) 2017-06-02 14:36:19 -04:00
Amit Moryossef
a40b872975 fix(rtl): add icon-start and icon-end attributes (#11737)
* feat(icon): add start/end

* fix(icon): add all relevant deprecations

* fix(deprecation): add deprecation to missing selector

* revert(tests): revert icon-start/end from tests
2017-06-02 14:00:18 -04:00
Brandy Carney
0f4ed1c7f8 fix(toolbar): get the correct contrast color for md mode
fixes an issue introduced by the fix in #11848

references #11848
2017-06-02 13:05:34 -04:00
Daniel Sogl
1c76cde986 docs(menu): update menu-controller link
Closes #11877. Closes https://github.com/ionic-team/ionic-site/issues/1129
2017-06-01 11:52:29 -04:00
Daniel Sogl
76a9454285 docs(checkbox): improve usage example (#11832)
* docs(api-checkbox): improve typo

* Update chip.ts
2017-05-30 14:50:40 -04:00
Ibby Hadeed
0570e3e262 docs(util): hide normalizeURL (#11735) 2017-05-30 11:47:52 -04:00
Daniel Sogl
4c57326dc4 docs(checkbox): rename Angular 2 to Angular (#11831)
* docs(api-checkbox): renamed Angular 2 to Angular

* Update checkbox.ts
2017-05-30 11:41:30 -04:00
Daniel Sogl
0624a77afe docs(nav-controller): add type to usage example (#11833) 2017-05-30 11:40:14 -04:00
Daniel Sogl
7af93d23b8 docs(platform): change double quotes to single quotes (#11834) 2017-05-30 11:39:37 -04:00
Daniel Sogl
42d29f4331 docs(slides): change double quotes to single quotes (#11835)
* docs(api-slides): improve typo

* Update slides.ts
2017-05-30 11:39:04 -04:00
Daniel Sogl
ecc4e4a530 docs(tabs): change double quotes to single quotes (#11836)
* docs(api-tabs): improved typo

* Update tab.ts
2017-05-30 11:38:30 -04:00
Daniel Sogl
18517660d4 docs(tabs): rename Angular 2 to Angular (#11837) 2017-05-30 11:37:51 -04:00
Joe Woodhouse
117003e9e4 docs(searchbar): add default values for inputs (#11856)
Complete missing defaults for animated and showCancelButton.
2017-05-30 11:37:05 -04:00
Brandy Carney
041689b5f5 fix(toolbar): use the correct contrast color for MD toolbar
fixes #11848
2017-05-30 11:25:29 -04:00
Brandy Carney
e354f21936 docs(github): rename driftyco references to ionic-team 2017-05-30 10:51:53 -04:00
davdiv
261bc4d5f4 fix(searchbar): caret moving to the end when typing 2017-05-27 15:03:16 +02:00
Job
f14d7d6524 fix(sass): add default flag to variables (#11779)
* fix(card): allow overriding variables

* fix(card): allow overriding variables

* fix(alert): allow overriding variables

* fix(card): allow overriding variables

* fix(datetime): allow overriding variables

* fix(datetime): allow overriding variables

* fix(datetime): allow overriding variables

* fix(input): allow overriding variables

* fix(list): allow overriding variables

* fix(list): allow overriding variables

* fix(list): allow overriding variables

* fix(select): allow overriding variables

* fix(select): allow overriding variables

* fix(theme): allow overriding variables

* fix(theme): allow overriding variables

* fix(theme): allow overriding variables

* fix(theme): allow overriding variables

* fix(theme): allow overriding variables

* fix(theme): allow overriding variables
2017-05-26 12:31:04 -04:00
Aaron Mulder
2edb085d4d docs(modal): document cssClass option (#11797)
Adds documentation for #10020
2017-05-26 11:23:40 -04:00
Brandy Carney
556745191f refactor(item): prefix the input classes with item- 2017-05-24 14:46:51 -04:00
Amit Moryossef
e5d08a00fb style(lint): remove unused import (#11738) 2017-05-22 12:19:10 -04:00
Amit Moryossef
7bdfaacfa9 feat(icon): add flip/unflip for icon on rtl (#11634)
* feat(icon): add flip/unflip for rtl

* fix(icon): flip before not display

* fix(icon): flip before not actual
2017-05-22 12:15:13 -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
Brandy Carney
3e2eefc9c9 style(lint): fix lint errors with sass and ts 2017-05-19 17:16:21 -04:00
Anton Gillert
8a4a93ee03 refactor(swiper): add null check for better testability (#11191) 2017-05-19 17:13:54 -04:00
BrandonShar
bb22e4a5f3 fix(segment): add z-index to ios back button (#10363) 2017-05-19 16:40:31 -04:00
Dylan v.d Merwe
7b369a1a6e docs(segment): add usage for ionChange event (#11293)
The `Segment` docs do not show a clear example on how to use the `ionChange` event.
2017-05-19 16:34:20 -04:00
Daniel Sogl
b64733aace docs(menu): fix link to MenuController (#11537)
fixes driftyco/ionic-site#1080
2017-05-19 16:21:58 -04:00
Alexander Bell-Towne
7a797d4f3e dos(navigation): fix navbar link (#11540) 2017-05-19 16:21:05 -04:00
Michael Nieß
3323275ddd docs(checkbox): add advanced example
Add an example for how to do a function call when checkbox changed
2017-05-19 14:31:01 -04:00
Shane Smith
d86785c376 fix(range): update the UI when min/max change (#11720)
fixes #11719
2017-05-19 13:19:12 -04:00
jamesgroat
a6d1e12a94 refactor(loading): remove unused delay option (#11583) 2017-05-19 13:09:02 -04:00
Hadrien TOMA
55f31dd7ec docs(menu): update link to MenuController (#11677) 2017-05-19 13:07:33 -04:00
Chris Griffith
c0200f7447 dosc(navigation): rename params variable to navParams (#11709)
Aligning the code sample to match the generated code from the CLI’s
page generator.
2017-05-19 13:06:46 -04:00
Amit Moryossef
3443ffdc3a fix(searchbar): searchbar padding should be on the left (#11651) 2017-05-17 16:53:40 -04:00
Sina
ca71072e98 fix(select): RTL fix for searchbar (#11355)
* fix(select): RTL fix for searchbar

RTL fix for searchbar component

* fix bad reference

I forgot to refrence _isRTL

* use platform variable instead of method

* space indent instead of tab indent

* Remove scss changes per request

PR - #11342 - covers the scss, and is about done
2017-05-17 16:44:11 -04:00
Brandy Carney
db94ef606f test(rtl): do not set dir to ltr by default, add reorder e2e 2017-05-12 16:43: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