89 Commits

Author SHA1 Message Date
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
700e4c2479 chore(ci): sync paralell demo builds via s3 2017-05-10 14:28:55 -05:00
877829b933 chore(e2e): adds bonjour support 2017-05-04 22:05:57 +02:00
ee3d943116 chore(gulp): add a new task that opens the built prod e2e test 2017-04-28 13:55:24 -04:00
afc9b36c5d chore(CI): Updating ionicframework homepage automatically on release 2017-04-19 11:16:42 -05:00
f88823a30f fix(navcontroller): lazy loading is queued 2017-04-18 20:55:41 +02:00
8e438634a2 chore(gulp): preserve color of app-scripts 2017-04-06 23:46:58 +02:00
9316f73b81 chore(demos): send demos to content/docs/demos/src not …/src/src 2017-04-05 13:49:12 -05:00
44f36c4509 chore(CI): upgrade to Circle CI v2 and leverage multiple containers for demo builds (#10991)
* trying Circle CI v2

* paths are fun

* seeing how long a demos build takes

* Batching Demo builds

* testing demo builds on CI2

* batches count from 0

* ok, looks good. preparing for master branch

* forgot `production=true` flag. let’s test that quick.

* forgot to save the file

* making sure that docs are still copied over to ionic-site in the deploy phase

* getting ready for the PR again
2017-03-30 21:32:29 -05:00
54acc74fdb refactor(packaging): points to es5 code with es2015 import/header, points to umd cod
points to es5 code with es2015 import/header,  points to umd code,  points to
pure es2015 code
2017-03-27 16:42:01 -05:00
93cfa17638 chore(demos): make sure version file is generated before demo gen 2017-03-23 18:06:07 -05:00
a63f760786 chore(e2e): remove experimental deeplink arg, add deepLinksDir 2017-03-21 21:19:31 -05:00
e1617c1433 chore(build): fix early return 2017-03-21 16:32:51 +01:00
fbed3c5b04 chore(e2e): catch errors from app-scripts to continue
also return empty array so that if the exact folder isn’t matched it
won’t continue to filter and run tests. For example, if you pass
`--f=toolbar/color` it will error because that doesn't exist, but still
tries to run `toolbar/colors`.
2017-03-17 11:06:46 -04:00
960e529b43 chore(demos): remove unused code and add concurrency arg 2017-03-16 15:56:43 -04:00
ae56039ba1 chore(e2e): log an error if the test doesn't exist, add concurrency arg
- If the e2e test doesn’t exist then throw an error
- Don’t log anything if no tests are being built
- Add concurrency arg to change the number of tests being ran at once
2017-03-16 15:56:43 -04:00
06246df3ce chore(build): fix to ensure all unit tests are run independent of state of dist directory 2017-03-14 16:08:15 -05:00
0964c850d4 test(e2e): refactor e2e to use deeplink decorator, lazy load more pages 2017-03-11 00:15:38 -06:00
c90fcb07e7 chore(e2e): add --dev option to e2e.prod to speed up builds for faster but less thorough verification 2017-03-09 12:13:36 -06:00
0d32e5e791 chore(gulp): updates to build process to use app-scripts for watch/build
updates to build process to use app-scripts for watch/build
2017-03-02 14:28:15 -06:00
555519da62 chore(deps): update to Angular 2.4.8
* chore(angular): update to latest stable angular

* chore(deps): update app-scripts

* chore(deps): sw-toolbox

* chore(deps): bump to 1.1.1 app-scripts

* chore(deps): abc order sw-toolbox

* chore(deps): update to angular 2.4.8

* chore(build): pass appNgModule path to app-scripts, make run AoT instead of Prod when using --debug

pass appNgModule path to app-scripts, make run AoT instead of Prod when using --debug
2017-02-21 16:43:38 -06:00
f50697bf5c chore(release): add prompt for release to select release type (#10244)
* chore(release): add inquirer to prompt for release

* chore(release): wip get release working again and test

also adds nightly back in

* chore(release): WIP remove commented code
2017-02-02 18:26:07 -05:00
2d4a998993 chore(release): update to increment major version 2017-01-25 11:26:46 -05:00
091545e8c5 chore(e2e): update tests to remove component name strings 2017-01-23 14:35:23 -05:00
ce7afd0327 chore(build): don't run prod build, just run with flags
TODO: this should be reverted with
https://github.com/driftyco/ionic-app-scripts/issues/668
2017-01-20 15:35:42 -05:00
d0db916f53 chore(scripts): update app-scripts to run via node, remove snapshot clean 2017-01-19 18:20:54 -05:00
f06398215c docs(config): update demo for config, add more logs for app-scripts
closes #9413
2017-01-19 13:17:11 -05:00
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
d252fa49e5 chore(e2e): rename app-module.ts to app.module.ts for consistency
references #10023
2017-01-13 15:16:24 -05:00
e35a3b1ab7 chore: fix incorrect execution of node binaries (#9962)
* chore: fix incorrect execution of node binaries

* Currently gulp runs the `ngc` by manually calling the `./node_modules/.bin/ngc` file (by assuming it's a node script)
  This is not always correct, because often package managers like (npm or yarn) create bash files for the package binaries.

* Using `resolve-bin` to properly determine the path to the *real* node script and then we can assume it's a node file.

Fixes #8341

* Remove extra newline
2017-01-12 13:28:41 -05:00
755524abc7 chore(build): run a 'clean' before running 'validate'
run a 'clean' before running 'validate'
2017-01-09 10:16:31 -06:00
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
b69eed5220 chore(demos): update demos build task to use app-scripts (#9830)
* chore(build): WIP getting ionic working with app-scripts

the tsconfig file change is just for testing, this will need to be
undone

* chore(demos): update tsconfig and gitignore for demos

update tsconfig and gitinogre for demos

* chore(build): WIP check in progress with building with app-scripts

this only works with demos/action-sheet currently

* refactor(demos): add custom copy config

add custom copy config

* chore(tsconfig): revert root tsconfig

* chore(demos): change import paths

* chore(demos): move sass config, add new tsconfig, update template

* chore(scripts): update demos tasks to use app scripts with folder name

tweak the createTempTsConfig function to include a path to read from,
move getFolderInfo into util to share

at this point you should be able to run `gulp demos.prod` with a folder
e.g. `--f=alert` and open the index of that test to see it. Doesn’t
work yet with all of the tests at once. Need to have ran `gulp
release.prepareReleasePackage` first.

* chore(build): WIP working on getting all of the demos building

* chore(demos): update demos task for app-scripts build

* chore(demos): fix tslint errors thrown by app-scripts

* chore(demos): get the demos working with fonts and variable file

* chore(demos): add watch task to the new prod task

* chore(demos): remove old demos.prod file and rename new one to it

* chore(npm): remove build npm script

* chore(demos): only log component name in url if one was passed
2017-01-03 10:23:14 -06:00
1f83cde78b chore(demos): update demos to work
* chore(demos): WIP refactor gulp demos task to use SystemJS

move build files into dist/demos and comment out the AoT demos task for
right now. This makes both `gulp demos` and `gulp demos.watch`work
again.

references #8411

* docs(demos): fix infinite scroll demo

* chore(demos): move old demos task to demos.prod

update the demos file with shared tasks, include the shared css

* docs(demos): fix API demos to use correct styles

* chore(demos): remove the main.ts files from each demo

* chore(demos): add prod template and constant

* chore(demos): remove tsconfig and package from demos

* chore(demos): update app.module path to ionic

* chore(demos): update app.module path to ionic

* chore(demos): update prod task for demos to work with AoT

also puts the demo build files into dist/ instead of the src directory

* docs(demos): update deploy and docs tasks for new build

* docs(scripts): update demos README

* chore(demos): fix path for prod build
2016-12-13 12:56:22 -06:00
7c70bdff15 chore(gulp): remove worker tasks 2016-12-12 09:43:39 -06:00
f051bba390 chore(img): add worker comments and watch task 2016-12-09 12:00:31 -06:00
8c297fee33 chore(worker): create tasks for external web workers 2016-12-08 22:36:57 -06:00
fd5dced9c0 chore(worker): remove inline worker task 2016-12-08 22:28:57 -06:00
cf725d3cd7 chore(polyfills): remove promise from polyfills 2016-12-07 14:08:33 -06:00
0b4e8cee53 chore(minify): minify web worker 2016-12-06 13:44:02 -06:00
32b76173a2 test(img): create mock img server 2016-12-05 16:34:45 -06:00
a4ab7cae8f chore(test): mock img server task 2016-11-29 10:16:21 -06:00
907191bbc2 perf(tabs): improve tab switching response 2016-11-28 09:00:41 -06:00
7735be7c4f chore(): add remove debug statements logs 2016-11-03 00:56:06 +01:00
d93070a7d5 chore(gulp): update e2e and snapshot (#8846)
* chore(e2e): add livereload server and clean task for e2e

* chore(e2e): refactor to use gulp connect and open

* chore(e2e): WIP remove open, add formatting, add reload task

* wip(e2e): use SystemJS for faster dev e2e rebuilds

* chore(e2e): wip removing old gulp file, old e2e task

update template for e2e and port number

* chore(e2e): wip add SystemJS for dev build of e2e, use those tasks instead

* chore(e2e): uncomment out range components

* chore(e2e): wip fix paths for the e2e tempate

* chore(scripts): update README back to the old way

* chore(e2e): code cleanup

* chore(e2e): split tasks into dev and prod, put common tasks in e2e

* chore(e2e): rename e2e templates and add to readme

* chore(e2e): fix dev build so it will work with snapshot

* chore(snapshot): get snapshot working with dev and prod builds
2016-10-21 23:59:20 +02:00
ff1f340285 test(assert): adds new debugging assert() util
improves removing of console.debug statements

fixes #8483
2016-10-18 09:10:00 -05:00
e69d9d70c7 chore(release): update release task to increment version, run validate, and pull latest
update the release documentation to reflect the new release process
2016-10-13 16:34:49 -04:00
8926595f31 chore(e2e): remove the e2e clean for now until it can be implemented correctly 2016-10-12 11:47:42 -04:00
6008fde74c chore(release): update release task name to use sass for consistency 2016-10-11 11:36:27 -04:00
3cf90c6eb8 chore(e2e): update e2e watch to use gulp-connect and open
references #8411
2016-10-11 11:16:37 -04:00