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
Amit Moryossef
6db8c147a6
fix(segment): fix border-radius logic for RTL ( #11981 )
2017-06-09 15:19:53 -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
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
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
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
Manuel Mtz-Almeida
239b559e6e
fix(base-input): initialize on ngAfterContentInit
2017-04-27 23:44:12 +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
Amit Moryossef
dd0b29388e
feat(rtl): add segment rtl support ( #11215 )
...
* fix(rtl): add segment rtl support
* fix(segments): remove border left for first item rtl
2017-04-14 09:54:30 -05:00
Manuel Mtz-Almeida
55dfd254e5
Merge branch 'decorator-inheritance'
2017-04-05 20:35:16 +02:00
Manuel Mtz-Almeida
94a33a74d2
Merge branch 'refactor-inputs'
2017-04-05 20:07:28 +02:00
Manuel Mtz-Almeida
156b982510
fix(segment): fix disabled segment
2017-03-29 20:28:25 +02:00
perry
41e34fc4ce
chore(docs): moving docs from /docs/v2 to /docs
2017-03-29 11:00:52 -05:00
Manuel Mtz-Almeida
3d569eb88a
test(select/segment): adds unit test for select and segment
2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
9a4d81b329
refactor(all): consistent inputs
...
fixes #8578
2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
7272b5a42a
refactor(all): color/mode inputs are not longer needed
2017-03-23 23:32:47 +01: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
mhartington
33f2f09c5e
test(tabs, segments, select, searchbar): update test to be lazy loaded
2017-03-06 12:11:00 -05:00
Dan Bucholtz
ed2e76b607
refactor(segment): restructure segment component to separate modules
...
restructure segment component to separate modules
2017-03-02 14:58:45 -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
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
Lukas Jakob
47ed69e7a4
docs(segment): add disabled input to documentation ( #10167 )
...
* Add Input property disabled to documentation.
* Update segment.ts
2017-01-30 19:42:27 -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
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
Brandy Carney
e210448e63
docs(toolbar): update API docs and any tests to remove old toolbar attributes
2016-12-07 12:29:34 -05:00
Brandy Carney
660d53101f
docs(sass): add documentation for the remaining sass variables
...
closes #8785
2016-12-05 10:16:40 -05:00
Alan
025c5cc646
fix(components): add a mode agnostic css class ( #9133 )
...
Fixes #8545
2016-11-14 13:50:01 -05:00
Brian Dennis
c66a440974
fix(segment): update broken link https://github.com/driftyco/ionic-site/issues/777
2016-10-18 23:23:29 -05:00
mhartington
00524806c4
fix(segment): add missing input
...
Closes #8371
2016-09-30 17:22:32 -04:00
Dan Bucholtz
83d973b1a8
chore(demos): change dgeni path for demos
...
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Manu Mtz.-Almeida
50e445ef5c
refactor(): rename some setCssClass to setElementClass
2016-09-18 18:52:12 +02:00
Brandy Carney
bc7d328bc0
refactor(components): add color/mode properties
2016-09-13 17:11:38 -05:00
Brandy Carney
16df3a4aab
refactor(css): update theme imports
2016-09-13 16:57:32 -05:00
Brandy Carney
750cde38e2
refactor(css): scope component css to mode
2016-09-13 16:52:47 -05:00
Adam Bradley
d7be8a80c0
test(ngmodule): update to ngmodule
2016-09-13 15:44:02 -05:00
Brandy Carney
55a0257dbc
refactor(colors): color should be added as an input instead of directly adding the color to the component
...
BREAKING CHANGES:
Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.
For example:
```
<ion-tabs primary>
```
Becomes
```
<ion-tabs color=”primary”>
```
Or to bind an expression to color:
```
<ion-navbar [color]="barColor">
...
</ion-navbar>
```
```ts
@Component({
templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
barColor: string;
constructor(private nav: NavController, platform: Platform) {
this.barColor = platform.is('android') ? 'primary' : 'light';
}
}
```
Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.
references #7467
closes #7087 closes #7401 closes #7523
2016-08-23 17:16:55 -04:00
Brandy Carney
938864e8d0
refactor(button): add ion-button attribute and icon attributes to style buttons
...
BREAKING CHANGES:
- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`
closes #7466
2016-08-16 17:11:02 -04:00
Adam Bradley
3c493652b2
test(): update to public navCtrl convention
2016-08-04 13:50:15 -05:00
Manu Mtz.-Almeida
ac8e4dce06
style(all): tslinter warnings
2016-07-19 13:31:46 -07:00
Adam Bradley
656426672c
chore(templates): import required directives for ionic templates
2016-07-01 00:59:37 -05:00
Adam Bradley
4d56219a4c
refactor(forms): upgrade to @angular/forms
2016-06-30 21:54:48 -05:00
Brandy Carney
5119b57496
docs(segment): clean up docs on segment, update demo
...
the demo has been changed to show multiple segments in use, instead of
a lot of segments thrown on the page.
fixes driftyco/ionic-site#658
2016-06-29 17:16:02 -04:00