diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..4ac7cb1 --- /dev/null +++ b/.babelrc @@ -0,0 +1,9 @@ +{ + "presets": [ + "es2015" + ], + "plugins": [ + "syntax-async-functions", + "transform-regenerator" + ] +} diff --git a/.depcheckrc b/.depcheckrc new file mode 100644 index 0000000..f96a6b0 --- /dev/null +++ b/.depcheckrc @@ -0,0 +1,12 @@ +var config = require('./config'); + +module.exports = { + ignoreDirs: ['dist'], + ignore: config.globs.js.concat(config.globs.fonts) + .filter(function(path) { + return path.match(/^node_modules/); + }).map(function(path) { + return path.split('/')[1]; + }) + .concat(config.depcheck.ignore) +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d8d4e49 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..b954220 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,5 @@ +node_modules/* +lib/* +coverage/* +dist/* +demo/*.min.js diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..7033517 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,40 @@ +{ + "extends": [ + "eslint:recommended", + "google" + ], + "plugins": [ + "babel" + ], + "parser": "babel-eslint", + "parserOptions": { + "sourceType": "module", + "ecmaFeatures": {} + }, + "globals": { + "angular": false, + "FastClick": false, + "overthrow": false + }, + "env": { + "browser": true, + "node": true + }, + "rules": { + "new-cap": 0, + "no-console": [1, { "allow": ["info", "warn", "error"] }], + "quotes": [2, "single"], + "no-unused-vars": 2, + "eqeqeq": 2, + "complexity": [2, 10], + "max-len": [2, 160], + "comma-dangle": [2, "never"], + "no-mixed-spaces-and-tabs": 2, + "quote-props": [2, "as-needed"], + "padded-blocks": 0, + "require-jsdoc": 0, + "generator-star-spacing": 0, + "babel/generator-star-spacing": 1, + "valid-jsdoc": 1 + } +} diff --git a/.gitignore b/.gitignore index a6d9724..c3e0580 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,46 @@ -# Created by http://gitignore.io -tmp +# Created by https://www.gitignore.io/api/osx,linux,windows,node,bower,xcode,sublimetext ### OSX ### .DS_Store .AppleDouble .LSOverride -Icon -logo.ai +# Icon must end with two \r +Icon -gh-pages # Thumbnails ._* -# Files that might appear on external disk +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd .Spotlight-V100 +.TemporaryItems .Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + ### Windows ### # Windows image file caches @@ -30,73 +53,102 @@ Desktop.ini # Recycle Bin used on file shares $RECYCLE.BIN/ -### Linux ### -.* -!.gitignore -!.git* -*~ - +# Windows Installer files +*.cab +*.msi +*.msm +*.msp -### Eclipse ### -*.pydevproject -.project -.metadata -bin/** -tmp/** -tmp/**/* -*.tmp -*.bak -*.swp -*~.nib -local.properties -.classpath -.settings/ -.loadpath +# Windows shortcuts +*.lnk -# External tool builders -.externalToolBuilders/ -# Locally stored "Eclipse launch configurations" -*.launch +### Node ### +# Logs +logs +*.log +npm-debug.log* -# CDT-specific -.cproject +# Runtime data +pids +*.pid +*.seed -# PDT-specific -.buildpath +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov -### TextMate ### -*.tmproj -*.tmproject -tmtags +# Coverage directory used by tools like istanbul +coverage -### SublimeText ### -# SublimeText project files -*.sublime-workspace +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt -### Node ### -lib-cov -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz +# node-waf configuration +.lock-wscript -pids -logs -results +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release -npm-debug.log +# Dependency directories node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + ### Bower ### bower_components +.bower-cache +.bower-registry +.bower-tmp + + +### Xcode ### +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated +build/ +DerivedData/ + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ + +## Other +*.moved-aside +*.xccheckout +*.xcscmblueprint + + +### SublimeText ### +# cache files for sublime text +*.tmlanguage.cache +*.tmPreferences.cache +*.stTheme.cache + +# workspace files are user-specific +*.sublime-workspace + +# project files should be checked into the repository, unless a significant +# proportion of contributors will probably not be using SublimeText +# *.sublime-project -experiments -site/output -site/tmp +# sftp configuration file +sftp-config.json -site/crash.log -site/Gemfile.lock \ No newline at end of file +travis.sh +nohup.out +test/e2e/screenshots/*.png diff --git a/.releaseflowrc b/.releaseflowrc new file mode 100644 index 0000000..df0d822 --- /dev/null +++ b/.releaseflowrc @@ -0,0 +1,10 @@ +module.exports = { + developmentBranch: 'master', + plugins: [ + 'bump-package-json', + 'generate-changelog', + function() { + require('child_process').execSync(`npm run build`); + } + ] +}; diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..09433ce --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: node_js +node_js: +- 6.2.1 +sudo: required +before_install: +- sudo apt-get update +- sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-engine +services: +- docker +script: +- npm run test:e2e:update-webdriver +- npm run build +- docker run --rm --privileged -w /usr/src/app -v $PWD:/usr/src/app mcasimir/dind-node-build-runner:6.2.1 bash ci.sh +- node_modules/.bin/codecov +deploy: + provider: npm + email: maurizio.cas@gmail.com + api_key: + secure: kaKfP4ZS8Bd/XdwJPrCDsllC3SGvMQTdEsC7LriMv5AHCxJFY6rBJ8YqgFx/Tna9TVGjr9Q0lQ6hX1V1im0I8/lT5y5dHW5Kib2WwOosCA530kkkfc/7u4zHIxrl5wzLLp2VQhBaSMherV/btD3cGIPk91M8Q5c2kc0fORx8Cc0= + skip_cleanup: true + on: + tags: true + repo: mcasimir/mobile-angular-ui diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4c91e..45c6f2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,54 +1,570 @@ -# Mobile Angular Ui Changelog + +# [v1.3.4](https://github.com/mcasimir/mobile-angular-ui/compare/v1.3.3...v1.3.4) -### v. 1.1.0-beta.22 +## Fixes -_Sun May 25 2014_ +- bug preventing to configure thresholds on touch ([af89f55](https://github.com/mcasimir/mobile-angular-ui/commits/af89f55bee62fe684512ad421d7eee5422aa2bed)) -- Fix #60: contentFor directive not compiling already compiled content anymore. You can use directives in contentFor blocks. + +# [v1.3.3](https://github.com/mcasimir/mobile-angular-ui/compare/v1.3.2...v1.3.3) -- Fix #64: switch directive: ngModel changes are now properly reflected in the parent scope and external changes to the linked ngModel are now handled by the directive through ngClass. + +# [v1.3.2](https://github.com/mcasimir/mobile-angular-ui/compare/v1.3.1...v1.3.2) -- Dropped overthrow.toss.js +## Fixes -### v. 1.1.0-beta.21 +- added fontawesome.woff2 to bower json ([bdafc03](https://github.com/mcasimir/mobile-angular-ui/commits/bdafc038c4888fe4b697352f7b0f708904bbb6c0)) +- bolder default font-weight ([c21438b](https://github.com/mcasimir/mobile-angular-ui/commits/c21438b0e99c2eeec9aead729ba987dc3d7e79c5), [0a8030c](https://github.com/mcasimir/mobile-angular-ui/commits/0a8030c9ff8199236cce07b902aa4e3994417413)) +- active links not working ([15564fb](https://github.com/mcasimir/mobile-angular-ui/commits/15564fba1b2a2ec6dc4727583603f24eb2ff19a6)) +- touch-move-default broken with scrollable ([60a807c](https://github.com/mcasimir/mobile-angular-ui/commits/60a807c09db2519e0fba3969e0442c9497b7a3b9)) -- Fixes #53: Android devices bad rendering box model with %-based translate3d. Switched to fixed sidebars width and media-queries. + +# [v1.3.1](https://github.com/mcasimir/mobile-angular-ui/compare/v1.3.0...v1.3.1) -### v. 1.1.0-beta.20 +## Fixes -_Sun May 11 12:54 2014_ +- removed webdriver postinstall hook ([2a43565](https://github.com/mcasimir/mobile-angular-ui/commits/2a4356537ed4b2522fb4eb2d2dfd08f7f7a405a5)) -- Drop angular.js dependencies -- grunt/grunt connect now serves both from "." and "site/output" simplifying demo testing + +# [v1.3.0](https://github.com/mcasimir/mobile-angular-ui/compare/1.2.1...v1.3.0) -### v. 1.1.0-beta.19 -_Sat May 10 15:10 2014_ +## Features -- Changed css distribution policy. Now base.css includes .sm grid and desktop.css includes .md+ grid. No other styles are distributed. +- added `ui-shared-state` and **deprecated** `ui-state` so it does not clash with ui-router ([9ad2f57](https://github.com/mcasimir/mobile-angular-ui/commits/9ad2f578a3fb0c68c22a29ee415b04113251ce4f)) +- activeLinks module supports html5Mode ([d3cbbbf](https://github.com/mcasimir/mobile-angular-ui/commits/d3cbbbf07c74dc4e3631f0ad3cd22bbc3c3d7b20)) +- updated fastclick to version 1.0.6 ([03060e2](https://github.com/mcasimir/mobile-angular-ui/commit/03060e2786800cdfc43c1586da889dffeb9b19e3)) +- updated font-awesome to version 4.6.3 ([9f7424c](https://github.com/mcasimir/mobile-angular-ui/commit/9f7424c6c1e5103d8d3c5a195bdc0bd16fe66494)) -### v. 1.1.0-beta.18 +## Fixes -_Fri May 9 19:21 2014_ +- Implemented workaround for jQuery event normalization ([a3bb0e7](https://github.com/breeze4/mobile-angular-ui/commit/a3bb0e77c70fa2bac94de7da1f37abbacc1b6740)) +- scrollTo behavior when `scrollableHeader` is present ([54b0e41](https://github.com/mcasimir/mobile-angular-ui/commit/54b0e41df668c6dba5c401e53c47dd704a6ea702)) -- Changed `bs-form-control` directive to obtain a flexible behaviour with grids -- Added responsive .sm+ grid style to desktop.css version (it won't affect containers, they stay always fluid). -- Improved form style to look consitently both in horizontal and vertical layout -- Switch now supports ng-change and ng-click (fixes #46) + +## 1.2.1 (2016-03-06) -### v. 1.1.0-beta.17 +* Added support tu ui.router ([27c34a4](https://github.com/mcasimir/mobile-angular-ui/commit/27c34a4)) +* fix docs for gestures ([d5eeb6e](https://github.com/mcasimir/mobile-angular-ui/commit/d5eeb6e)) +* removed beta version ([db00a9e](https://github.com/mcasimir/mobile-angular-ui/commit/db00a9e)) +* Revert "Added support tu ui.router" ([2368518](https://github.com/mcasimir/mobile-angular-ui/commit/2368518)) +* use sauce for ci tests ([c961675](https://github.com/mcasimir/mobile-angular-ui/commit/c961675)) -_Tue May 6 13:59 2014_ -- Added this changelog :) -- Updated to latest bootstrap (3.1.1) and angular.js (1.2.17) -- Rewritten everything in vanilla js in the hope to have more people collaborating -- Rewritten toggle/toggleable directives in a more Angular.js fashion -- A lot of work to get rid of memory leaks -- Restructured .less code to be more understandable and use bootstrap vars and mixins whenever possible (you can now customize almost everything through less vars) -- Supporting different icons sets (added same style of .fa to .icon) -- Dropped support to iScroll (sorry too much work to maintain even this) -- Removed $swipe service from fastclick touch implementation (just use ngTouch for that) -- Included everything else in the same distribution file -- Renamed bsInput to bsFormControl -- Sidebars closes by default on outer clicks (customizable). Fix #45. -- Fixes bsFormControl label disappearing with jquery. Fix #42. \ No newline at end of file + + +# 1.2.0-rc.3 (2015-08-04) + +* 1.2.0-rc.3 ([35b9c81](https://github.com/mcasimir/mobile-angular-ui/commit/35b9c81)) +* build+bump ([d44ef94](https://github.com/mcasimir/mobile-angular-ui/commit/d44ef94)) + + + + +# 1.2.0-rc.2 (2015-08-04) + +* 1.2.0-rc.2 ([464f323](https://github.com/mcasimir/mobile-angular-ui/commit/464f323)) + + + + +# 1.2.0-rc.1 (2015-08-04) + +* $drag prevents outer $swipes from being triggered ([fc374d3](https://github.com/mcasimir/mobile-angular-ui/commit/fc374d3)) +* 1.2.0-rc.1 ([e284aa4](https://github.com/mcasimir/mobile-angular-ui/commit/e284aa4)) +* adapted test exit code to fail in travis ([07dc3bc](https://github.com/mcasimir/mobile-angular-ui/commit/07dc3bc)) +* added .gitignore, .travis.yml, .jshintrc ([ccefb42](https://github.com/mcasimir/mobile-angular-ui/commit/ccefb42)) +* added .gitignore, .travis.yml, .jshintrc ([fb428a2](https://github.com/mcasimir/mobile-angular-ui/commit/fb428a2)) +* added back ng-swipe to demo ([0c637c3](https://github.com/mcasimir/mobile-angular-ui/commit/0c637c3)) +* Added Gitter badge ([bd6c13c](https://github.com/mcasimir/mobile-angular-ui/commit/bd6c13c)) +* added overscroll workaround, fix #192 ([3498a94](https://github.com/mcasimir/mobile-angular-ui/commit/3498a94)), closes [#192](https://github.com/mcasimir/mobile-angular-ui/issues/192) +* added pre-interpolation to SharedState ([bef33ee](https://github.com/mcasimir/mobile-angular-ui/commit/bef33ee)) +* Allow nested property names in uiScopeContext, using dot notation in Strings ([e861686](https://github.com/mcasimir/mobile-angular-ui/commit/e861686)) +* Assign noop correctly to allow switch to be properly destroyed ([a78ab20](https://github.com/mcasimir/mobile-angular-ui/commit/a78ab20)) +* Fastclick fix: mcasimir/mobile-angular-ui#230 ([f2ffd65](https://github.com/mcasimir/mobile-angular-ui/commit/f2ffd65)) +* fix #187, fix #191 ([5fe06cd](https://github.com/mcasimir/mobile-angular-ui/commit/5fe06cd)), closes [#187](https://github.com/mcasimir/mobile-angular-ui/issues/187) [#191](https://github.com/mcasimir/mobile-angular-ui/issues/191) +* fix #282 ([dd41223](https://github.com/mcasimir/mobile-angular-ui/commit/dd41223)), closes [#282](https://github.com/mcasimir/mobile-angular-ui/issues/282) +* fix 205 ([367a0b9](https://github.com/mcasimir/mobile-angular-ui/commit/367a0b9)) +* Fix display table in Firefox ([2ec32e4](https://github.com/mcasimir/mobile-angular-ui/commit/2ec32e4)) +* fix ui-set pre-interpolation ([7786474](https://github.com/mcasimir/mobile-angular-ui/commit/7786474)) +* fixed active links without href ([0e83b7a](https://github.com/mcasimir/mobile-angular-ui/commit/0e83b7a)) +* fixed package for travis ([81ba4c2](https://github.com/mcasimir/mobile-angular-ui/commit/81ba4c2)) +* fixed swipe implementation over $touch ([a7e7bd2](https://github.com/mcasimir/mobile-angular-ui/commit/a7e7bd2)) +* improved doc comments; moved doc task to website repo ([bb91246](https://github.com/mcasimir/mobile-angular-ui/commit/bb91246)) +* linted fastclick + gulpfile ([5d3ce75](https://github.com/mcasimir/mobile-angular-ui/commit/5d3ce75)) +* major gesture module changes and improvements ([2cb11ca](https://github.com/mcasimir/mobile-angular-ui/commit/2cb11ca)) +* moved nobounce to preventTouchmoveDefaults directive; ui-switch support $drag if present ([d773374](https://github.com/mcasimir/mobile-angular-ui/commit/d773374)) +* parsing docs ok ([03756b8](https://github.com/mcasimir/mobile-angular-ui/commit/03756b8)) +* readded dist ([3c629d2](https://github.com/mcasimir/mobile-angular-ui/commit/3c629d2)) +* Remove moot `version` property from bower.json ([dcf57ff](https://github.com/mcasimir/mobile-angular-ui/commit/dcf57ff)) +* removed unneeded global variable ([d939ab1](https://github.com/mcasimir/mobile-angular-ui/commit/d939ab1)) +* started supporting ci ([8705b86](https://github.com/mcasimir/mobile-angular-ui/commit/8705b86)) +* Update README.md ([79eee3b](https://github.com/mcasimir/mobile-angular-ui/commit/79eee3b)) +* updated gulp less; fix #284 ([66732cf](https://github.com/mcasimir/mobile-angular-ui/commit/66732cf)), closes [#284](https://github.com/mcasimir/mobile-angular-ui/issues/284) +* use gulp, jsdoc+ngdoc, refactored tests, gestures ([3b8a273](https://github.com/mcasimir/mobile-angular-ui/commit/3b8a273)) +* Fixes: #187 Overthrow / fastclick error ([637c129](https://github.com/mcasimir/mobile-angular-ui/commit/637c129)) + + + + +# 1.2.0-beta.11 (2014-12-20) + +* introduced ui-scope-context ([8370918](https://github.com/mcasimir/mobile-angular-ui/commit/8370918)) +* updated changelog ([aa585ea](https://github.com/mcasimir/mobile-angular-ui/commit/aa585ea)) + + + + +# 1.2.0-beta.10 (2014-12-19) + +* fix #183 ([35d2147](https://github.com/mcasimir/mobile-angular-ui/commit/35d2147)), closes [#183](https://github.com/mcasimir/mobile-angular-ui/issues/183) + + + + +# 1.2.0-beta.9 (2014-12-19) + +* Drag Fixes and Demo improvements ([7605f16](https://github.com/mcasimir/mobile-angular-ui/commit/7605f16)) +* gestures module improvements ([ed2e946](https://github.com/mcasimir/mobile-angular-ui/commit/ed2e946)) + + + + +# 1.2.0-beta.8 (2014-12-18) + +* fix #177, ui-* now fires after ng-click ([7cab55f](https://github.com/mcasimir/mobile-angular-ui/commit/7cab55f)), closes [#177](https://github.com/mcasimir/mobile-angular-ui/issues/177) + + + + +# 1.2.0-beta.7 (2014-12-18) + +* completed migrate to be compatible with old demo ([d57a318](https://github.com/mcasimir/mobile-angular-ui/commit/d57a318)) +* Fix missing styling of input type "password" ([393a551](https://github.com/mcasimir/mobile-angular-ui/commit/393a551)) + + + + +# 1.2.0-beta.6 (2014-12-18) + +* Added ng-swipe-left/ng-swipe-right directives ([2a57076](https://github.com/mcasimir/mobile-angular-ui/commit/2a57076)) + + + + +# 1.2.0-beta.5 (2014-12-16) + +* fixed exception with insertRule ([5a0a9d6](https://github.com/mcasimir/mobile-angular-ui/commit/5a0a9d6)) +* fixed exception with insertRule ([f78c726](https://github.com/mcasimir/mobile-angular-ui/commit/f78c726)) + + + + +# 1.2.0-beta.4 (2014-12-16) + +* fixed exception with insertRule ([71ca20e](https://github.com/mcasimir/mobile-angular-ui/commit/71ca20e)) + + + + +# 1.2.0-beta.3 (2014-12-16) + +* Fixes #179 ([8298d85](https://github.com/mcasimir/mobile-angular-ui/commit/8298d85)), closes [#179](https://github.com/mcasimir/mobile-angular-ui/issues/179) +* started tests; fix #179 ([b3443f5](https://github.com/mcasimir/mobile-angular-ui/commit/b3443f5)), closes [#179](https://github.com/mcasimir/mobile-angular-ui/issues/179) + + + + +# 1.2.0-beta.2 (2014-12-12) + +* 1.2 first beta ([41d6222](https://github.com/mcasimir/mobile-angular-ui/commit/41d6222)) +* 1.2.0-beta.0 ([db52011](https://github.com/mcasimir/mobile-angular-ui/commit/db52011)) +* Cosmetic fixes ([00b8ed5](https://github.com/mcasimir/mobile-angular-ui/commit/00b8ed5)) +* fix #171, completed migration module ([77bd63f](https://github.com/mcasimir/mobile-angular-ui/commit/77bd63f)), closes [#171](https://github.com/mcasimir/mobile-angular-ui/issues/171) +* fixed 1.2 pre-release to reflect https://gist.github.com/mcasimir/824b28d14ca1e09d03c6#migrating-to- ([c6b17a6](https://github.com/mcasimir/mobile-angular-ui/commit/c6b17a6)), closes [https://gist.github.com/mcasimir/824b28d14ca1e09d03c6#migrating-to-mobile-angular-ui-12](https://github.com/https://gist.github.com/mcasimir/824b28d14ca1e09d03c6/issues/migrating-to-mobile-angular-ui-12) +* fixed demo for ui-switch, discontinued pointerEvents ad moved to migrate.disabled ([5c195c5](https://github.com/mcasimir/mobile-angular-ui/commit/5c195c5)) +* fixed sidebar names in demo ([08bc975](https://github.com/mcasimir/mobile-angular-ui/commit/08bc975)) +* Fixes before releasing 1.2-beta ([48eeb56](https://github.com/mcasimir/mobile-angular-ui/commit/48eeb56)) +* merged 1.2 ([aae7661](https://github.com/mcasimir/mobile-angular-ui/commit/aae7661)) +* moved util services to plain private functions; merged ui and sharedState ([5dab837](https://github.com/mcasimir/mobile-angular-ui/commit/5dab837)) +* reorganized modules ([28a97e2](https://github.com/mcasimir/mobile-angular-ui/commit/28a97e2)) + + + + +# 1.1.0-beta.30 (2014-09-18) + +* fix #127, fix #126, fix #125 ([8868550](https://github.com/mcasimir/mobile-angular-ui/commit/8868550)), closes [#127](https://github.com/mcasimir/mobile-angular-ui/issues/127) [#126](https://github.com/mcasimir/mobile-angular-ui/issues/126) [#125](https://github.com/mcasimir/mobile-angular-ui/issues/125) +* fix #82, hide the right sidebar ([87b2948](https://github.com/mcasimir/mobile-angular-ui/commit/87b2948)), closes [#82](https://github.com/mcasimir/mobile-angular-ui/issues/82) +* updated bower deps ([0983b7e](https://github.com/mcasimir/mobile-angular-ui/commit/0983b7e)) +* updated favicon ([d4fd386](https://github.com/mcasimir/mobile-angular-ui/commit/d4fd386)) + + + + +# 1.1.0-beta.29 (2014-07-27) + +* fixed navbar-top height without buttons in desktop mode ([90b1528](https://github.com/mcasimir/mobile-angular-ui/commit/90b1528)) + + + + +# 1.1.0-beta.28 (2014-07-27) + +* fix #100, keeping border radius for c controls ([3092071](https://github.com/mcasimir/mobile-angular-ui/commit/3092071)), closes [#100](https://github.com/mcasimir/mobile-angular-ui/issues/100) +* fixed README ([49f5b55](https://github.com/mcasimir/mobile-angular-ui/commit/49f5b55)) +* fixed README ([04026e5](https://github.com/mcasimir/mobile-angular-ui/commit/04026e5)) +* Update README.md ([3608ab7](https://github.com/mcasimir/mobile-angular-ui/commit/3608ab7)) + + + + +# 1.1.0-beta.27 (2014-07-18) + +* fix #98 ([b46a3ce](https://github.com/mcasimir/mobile-angular-ui/commit/b46a3ce)), closes [#98](https://github.com/mcasimir/mobile-angular-ui/issues/98) + + + + +# 1.1.0-beta.26 (2014-07-09) + +* fix #77 directives in overlays, closes #78 ([be39011](https://github.com/mcasimir/mobile-angular-ui/commit/be39011)), closes [#77](https://github.com/mcasimir/mobile-angular-ui/issues/77) [#78](https://github.com/mcasimir/mobile-angular-ui/issues/78) + + + + +# 1.1.0-beta.25 (2014-07-08) + +* split :hover css in separate file, fix #75 ([11d3f6a](https://github.com/mcasimir/mobile-angular-ui/commit/11d3f6a)), closes [#75](https://github.com/mcasimir/mobile-angular-ui/issues/75) + + + + +# 1.1.0-beta.24 (2014-07-08) + +* clean website stuffs ([399f324](https://github.com/mcasimir/mobile-angular-ui/commit/399f324)) +* fix #74 ([a3c6ff0](https://github.com/mcasimir/mobile-angular-ui/commit/a3c6ff0)), closes [#74](https://github.com/mcasimir/mobile-angular-ui/issues/74) + + + + +# 1.1.0-beta.23 (2014-07-06) + +* added demo to bower ([c2ce776](https://github.com/mcasimir/mobile-angular-ui/commit/c2ce776)) +* added demo to bower download ([076c6bb](https://github.com/mcasimir/mobile-angular-ui/commit/076c6bb)) + + + + +# 1.1.0-beta.22 (2014-05-25) + +* 1.1.0-beta.22 ([dc0f6e9](https://github.com/mcasimir/mobile-angular-ui/commit/dc0f6e9)) +* added ngClass and $apply to switch-directive's template to stay in sync with ngModel ([70ecf8f](https://github.com/mcasimir/mobile-angular-ui/commit/70ecf8f)) +* deleted iScroll stuffs ([a7e4d49](https://github.com/mcasimir/mobile-angular-ui/commit/a7e4d49)) +* fix #60, fix #64, dropped overthrow.toss.js ([d02d020](https://github.com/mcasimir/mobile-angular-ui/commit/d02d020)), closes [#60](https://github.com/mcasimir/mobile-angular-ui/issues/60) [#64](https://github.com/mcasimir/mobile-angular-ui/issues/64) +* Fix contentFor directive: Do not compile already compiled content ([259e495](https://github.com/mcasimir/mobile-angular-ui/commit/259e495)) +* Fixed main path ([99c98da](https://github.com/mcasimir/mobile-angular-ui/commit/99c98da)) + + + + +# 1.1.0-beta.21 (2014-05-15) + +* drop angular.js deps ([dea4314](https://github.com/mcasimir/mobile-angular-ui/commit/dea4314)) +* fix #51, fix #54 ([095e472](https://github.com/mcasimir/mobile-angular-ui/commit/095e472)), closes [#51](https://github.com/mcasimir/mobile-angular-ui/issues/51) [#54](https://github.com/mcasimir/mobile-angular-ui/issues/54) +* Fixed malformed bower.json ([f2ed8df](https://github.com/mcasimir/mobile-angular-ui/commit/f2ed8df)) +* Fixes #53 ([a9a20c7](https://github.com/mcasimir/mobile-angular-ui/commit/a9a20c7)), closes [#53](https://github.com/mcasimir/mobile-angular-ui/issues/53) + + + + +# 1.1.0-beta.19 (2014-05-10) + +* distribution policy changed. Base now targets xs and sm screens, while desktop is for md and lg. Re ([98313e5](https://github.com/mcasimir/mobile-angular-ui/commit/98313e5)) + + + + +# 1.1.0-beta.18 (2014-05-10) + +* changes for 1.1.0-beta.17 ([14b4558](https://github.com/mcasimir/mobile-angular-ui/commit/14b4558)) +* fix #46, improve form style and bs-form-control behavior, responsive grid added in desktop.css ([54b8657](https://github.com/mcasimir/mobile-angular-ui/commit/54b8657)), closes [#46](https://github.com/mcasimir/mobile-angular-ui/issues/46) + + + + +# 1.1.0-beta.17 (2014-05-06) + +* Fix #45, Fix #42. Moving from coffee to js. Refactoring code. ([2e449fd](https://github.com/mcasimir/mobile-angular-ui/commit/2e449fd)), closes [#45](https://github.com/mcasimir/mobile-angular-ui/issues/45) [#42](https://github.com/mcasimir/mobile-angular-ui/issues/42) + + + + +# 1.1.0-beta.16 (2014-05-03) + +* ignore crash.log and Gemfile.lock for site ([09f9cc1](https://github.com/mcasimir/mobile-angular-ui/commit/09f9cc1)) +* reverted scrollable to be css based. Fix #44, fix #30, fix #36 ([bbf31da](https://github.com/mcasimir/mobile-angular-ui/commit/bbf31da)), closes [#44](https://github.com/mcasimir/mobile-angular-ui/issues/44) [#30](https://github.com/mcasimir/mobile-angular-ui/issues/30) [#36](https://github.com/mcasimir/mobile-angular-ui/issues/36) + + + + +# 1.1.0-beta.15 (2014-05-01) + +* default value for overlays; build process improvements; website and docs improvements ([39c791c](https://github.com/mcasimir/mobile-angular-ui/commit/39c791c)) + + + + +# 1.1.0-beta.14 (2014-04-30) + +* added default state for overlays ([a17be42](https://github.com/mcasimir/mobile-angular-ui/commit/a17be42)) + + + + +# 1.1.0-beta.13 (2014-04-30) + +* add default state of overlay ([e585d2b](https://github.com/mcasimir/mobile-angular-ui/commit/e585d2b)), closes [#37](https://github.com/mcasimir/mobile-angular-ui/issues/37) +* added default state for overlays ([1647575](https://github.com/mcasimir/mobile-angular-ui/commit/1647575)) + + + + +# 1.1.0-beta.12 (2014-04-29) + +* re-added tooltips and modals style ([79286d0](https://github.com/mcasimir/mobile-angular-ui/commit/79286d0)) + + + + +# 1.1.0-beta.11 (2014-04-24) + +* Fixes #19, Fixes #30. Scrollable not readjusted after window.resize ([b9e0547](https://github.com/mcasimir/mobile-angular-ui/commit/b9e0547)), closes [#19](https://github.com/mcasimir/mobile-angular-ui/issues/19) [#30](https://github.com/mcasimir/mobile-angular-ui/issues/30) + + + + +# 1.1.0-beta.10 (2014-04-20) + +* Fix css for panel-group headers ([612f5d7](https://github.com/mcasimir/mobile-angular-ui/commit/612f5d7)) + + + + +# 1.1.0-beta.9 (2014-04-20) + +* Switch transition delayed to avoid flikering on default true ([5fbe670](https://github.com/mcasimir/mobile-angular-ui/commit/5fbe670)) + + + + +# 1.1.0-beta.8 (2014-04-19) + +* Fixed odd behaviours combining position:absolute and transform3d; Added switch component; Added dona ([8ed7d65](https://github.com/mcasimir/mobile-angular-ui/commit/8ed7d65)) +* references #21 of the original repository. a directive looks wrong ([0a11917](https://github.com/mcasimir/mobile-angular-ui/commit/0a11917)) + + + + +# 1.1.0-beta.7 (2014-04-04) + +* move toggle.toggled to be fired after classes are applied ([ed25983](https://github.com/mcasimir/mobile-angular-ui/commit/ed25983)) + + + + +# 1.1.0-beta.6 (2014-04-04) + +* fixes #18 ([da36fdf](https://github.com/mcasimir/mobile-angular-ui/commit/da36fdf)), closes [#18](https://github.com/mcasimir/mobile-angular-ui/issues/18) + + + + +# 1.1.0-beta.5 (2014-04-03) + +* fixes #15 ([0f8b5ab](https://github.com/mcasimir/mobile-angular-ui/commit/0f8b5ab)), closes [#15](https://github.com/mcasimir/mobile-angular-ui/issues/15) + + + + +# 1.1.0-beta.4 (2014-03-10) + +* Added carousels; ([55eb6d3](https://github.com/mcasimir/mobile-angular-ui/commit/55eb6d3)) +* demo improvements ([f8eb120](https://github.com/mcasimir/mobile-angular-ui/commit/f8eb120)) +* demo improvements ([f259ba2](https://github.com/mcasimir/mobile-angular-ui/commit/f259ba2)) +* demo improvements ([f3f4319](https://github.com/mcasimir/mobile-angular-ui/commit/f3f4319)) + + + + +# 1.1.0-beta.3 (2014-03-08) + +* Scrollables now autosizing with overthrow ([e8adab4](https://github.com/mcasimir/mobile-angular-ui/commit/e8adab4)) + + + + +# 1.1.0-beta.2 (2014-03-08) + +* Smoother transitions for sidebars ([57e6cdb](https://github.com/mcasimir/mobile-angular-ui/commit/57e6cdb)) + + + + +# 1.1.0-beta.1 (2014-03-08) + +* Fixed release task ([b5e6b62](https://github.com/mcasimir/mobile-angular-ui/commit/b5e6b62)) + + + + +# 1.1.0-beta.0 (2014-03-08) + +* fixed css for sidebars with height: auto; added task for releases ([7ad5669](https://github.com/mcasimir/mobile-angular-ui/commit/7ad5669)) + + + + +## 1.0.21-beta (2014-03-07) + +* fix #10; both sidebars can now coexist; changed scrollable style, now its relative; added directives ([aa2ecdf](https://github.com/mcasimir/mobile-angular-ui/commit/aa2ecdf)), closes [#10](https://github.com/mcasimir/mobile-angular-ui/issues/10) + + + + +## 1.0.20-beta (2014-03-06) + +* reverted to overflow:auto for scrollable and overthrow ([732a792](https://github.com/mcasimir/mobile-angular-ui/commit/732a792)) + + + + +## 1.0.19-beta (2014-03-06) + +* fix #9 ([8d722fd](https://github.com/mcasimir/mobile-angular-ui/commit/8d722fd)), closes [#9](https://github.com/mcasimir/mobile-angular-ui/issues/9) + + + + +## 1.0.18-beta (2014-03-06) + +* fix #8: body with overflow:auto; also fixes some other desktop related issues. ([52d71e8](https://github.com/mcasimir/mobile-angular-ui/commit/52d71e8)), closes [#8](https://github.com/mcasimir/mobile-angular-ui/issues/8) + + + + +## 1.0.15-beta (2014-03-06) + +* fix #7; added implementation of scrollable based on overthrow.js; fastclick now supporting ngSwipeLe ([a00a9c1](https://github.com/mcasimir/mobile-angular-ui/commit/a00a9c1)), closes [#7](https://github.com/mcasimir/mobile-angular-ui/issues/7) + + + + +## 1.0.14-beta (2014-03-05) + +* restructured distribution to make it modular ([388f1a7](https://github.com/mcasimir/mobile-angular-ui/commit/388f1a7)) + + + + +## 1.0.13-beta (2014-03-01) + +* fix duplicated overlays ([6376b3d](https://github.com/mcasimir/mobile-angular-ui/commit/6376b3d)) + + + + +## 1.0.12-beta (2014-02-28) + +* updated to IScroll 5 ([8c6202e](https://github.com/mcasimir/mobile-angular-ui/commit/8c6202e)) + + + + +## 1.0.11-beta (2014-02-28) + +* using translate3d to force hardware acceleration-a ([f3b2162](https://github.com/mcasimir/mobile-angular-ui/commit/f3b2162)) + + + + +## 1.0.10-beta (2014-02-27) + +* fix #5 ([6db3f65](https://github.com/mcasimir/mobile-angular-ui/commit/6db3f65)), closes [#5](https://github.com/mcasimir/mobile-angular-ui/issues/5) +* reverted transform3d to test with devices ([e4dcab3](https://github.com/mcasimir/mobile-angular-ui/commit/e4dcab3)) + + + + +## 1.0.9-beta (2014-02-26) + +* fix desktop sidebar with translate3d ([27153fa](https://github.com/mcasimir/mobile-angular-ui/commit/27153fa)) + + + + +## 1.0.8-beta (2014-02-26) + +* fix #3 ([3fdf1c1](https://github.com/mcasimir/mobile-angular-ui/commit/3fdf1c1)), closes [#3](https://github.com/mcasimir/mobile-angular-ui/issues/3) + + + + +## 1.0.7-beta (2014-02-24) + +* fix #2 ([9933e56](https://github.com/mcasimir/mobile-angular-ui/commit/9933e56)), closes [#2](https://github.com/mcasimir/mobile-angular-ui/issues/2) +* fixed README-a ([da448db](https://github.com/mcasimir/mobile-angular-ui/commit/da448db)) + + + + +## 1.0.6-beta (2014-02-12) + +* First Beta ([ceaadda](https://github.com/mcasimir/mobile-angular-ui/commit/ceaadda)) + + + + +## 1.0.5-alpha (2014-01-07) + +* Fix for iscroll and forms, validation css added ([ecac7b9](https://github.com/mcasimir/mobile-angular-ui/commit/ecac7b9)) + + + + +## 1.0.4-alpha (2013-12-29) + +* moved to iScroll ([2b714c6](https://github.com/mcasimir/mobile-angular-ui/commit/2b714c6)) + + + + +## 1.0.3-alpha (2013-12-27) + +* added site, minify by default, fixed Readme ([d9e703b](https://github.com/mcasimir/mobile-angular-ui/commit/d9e703b)) +* many changes ([35e8f9b](https://github.com/mcasimir/mobile-angular-ui/commit/35e8f9b)) + + + + +## 1.0.2-alpha (2013-12-25) + +* added angular-route as dependency, renamed toggle commands ([06b6024](https://github.com/mcasimir/mobile-angular-ui/commit/06b6024)) + + + + +## 1.0.1-alpha (2013-12-25) + +* prerelease ([2cd360c](https://github.com/mcasimir/mobile-angular-ui/commit/2cd360c)) + + + + +# 1.0.0-alpha (2013-12-25) + +* added capture directives and bspanels ([9037654](https://github.com/mcasimir/mobile-angular-ui/commit/9037654)) +* Cleaned up dependencies, grunt commit now committing after minify distributed assets ([38aca0d](https://github.com/mcasimir/mobile-angular-ui/commit/38aca0d)) +* first complete release ([719c1eb](https://github.com/mcasimir/mobile-angular-ui/commit/719c1eb)) +* Grunt Git task added ([0862a2a](https://github.com/mcasimir/mobile-angular-ui/commit/0862a2a)) +* removed git hooks; added tabs; added polifil for pointer-events:none ([09e7a2c](https://github.com/mcasimir/mobile-angular-ui/commit/09e7a2c)) +* switched name ([d6caeab](https://github.com/mcasimir/mobile-angular-ui/commit/d6caeab)) diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index be53f4d..0000000 --- a/Gruntfile.js +++ /dev/null @@ -1,139 +0,0 @@ -var lodash = require('lodash'); - -module.exports = function(grunt) { - grunt.initConfig({ - pkg: grunt.file.readJSON("package.json"), - - concurrent: { - devel: { - tasks: ['connect', 'watch'], - options: { - limit: 2, - logConcurrentOutput: true - } - } - }, - - smq: { - bootstrap: { - src: "tmp/mobile.css", - dest: "tmp/sqm", - basename: "mobile-angular-ui" - } - }, - - clean: { - dev: ["tmp", "dist", "demo/assets"] - }, - - copy: { - fa: { - expand: true, - cwd: "bower_components/font-awesome/fonts", - src: ["**"], - dest: 'dist/fonts' - } - }, - - less: { - dist: { - options: { - paths: ["src/less", "bower_components"] - }, - files: { - "tmp/mobile.css": "src/less/mobile-angular-ui.less", - "tmp/sm-grid.css": "src/less/sm-grid.less", - "tmp/mobile-angular-ui-desktop.css": "src/less/mobile-angular-ui-desktop.less" - } - } - }, - - concat: { - css: { - files: { - "dist/css/mobile-angular-ui-base.css": ["tmp/sqm/mobile-angular-ui-base.css", "tmp/sm-grid.css"], - "dist/css/mobile-angular-ui-desktop.css": ["tmp/mobile-angular-ui-desktop.css"], - "dist/css/mobile-angular-ui-hover.css": ["tmp/hover.css"] - } - }, - js: { - files: { - "dist/js/mobile-angular-ui.js": ["bower_components/overthrow/src/overthrow-detect.js", "bower_components/overthrow/src/overthrow-init.js", "bower_components/overthrow/src/overthrow-polyfill.js", "bower_components/fastclick/lib/fastclick.js", "src/js/lib/*.js", "src/js/mobile-angular-ui.js"] - } - } - }, - - uglify: { - minify: { - options: { - report: 'min' - }, - files: { - "dist/js/mobile-angular-ui.min.js": ["dist/js/mobile-angular-ui.js"] - } - } - }, - - cssmin: { - minify: { - options: { - report: 'min' - }, - expand: true, - cwd: 'dist/css/', - src: ['*.css', '!*.min.css'], - dest: 'dist/css/', - ext: '.min.css' - } - }, - - watch: { - all: { - files: "src/**/*", - tasks: ["build"] - } - }, - - connect: { - server: { - options: { - hostname: '0.0.0.0', - port: 3000, - base: ['.', 'demo'], - keepalive: true - } - } - }, - - 'split-hover': { - all: { - src: "tmp/sqm/mobile-angular-ui-base.css", - dest: "tmp/hover.css" - } - } - - }); - - grunt.loadNpmTasks("grunt-contrib-clean"); - grunt.loadNpmTasks("grunt-contrib-concat"); - grunt.loadNpmTasks("grunt-contrib-connect"); - grunt.loadNpmTasks("grunt-contrib-copy"); - grunt.loadNpmTasks("grunt-contrib-cssmin"); - grunt.loadNpmTasks("grunt-contrib-uglify"); - grunt.loadNpmTasks("grunt-contrib-watch"); - grunt.loadNpmTasks("grunt-contrib-less"); - grunt.loadNpmTasks("grunt-concurrent"); - grunt.task.loadTasks("tasks"); - - grunt.registerTask("build", [ "clean:dev", - "less", - "smq", - "split-hover", - "concat", - "copy:fa", - "uglify", - "cssmin"]); - - grunt.registerTask("default", [ "build", - "concurrent:devel"]); -}; diff --git a/README.md b/README.md index 58d5441..97e09c4 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,21 @@ # Mobile Angular UI +[![Npm Version](https://badge.fury.io/js/mobile-angular-ui.svg)](https://www.npmjs.com/package/mobile-angular-ui) +[![Build Status](https://travis-ci.org/mcasimir/mobile-angular-ui.svg?branch=master)](https://travis-ci.org/mcasimir/mobile-angular-ui) +[![Coverage](https://codecov.io/github/mcasimir/mobile-angular-ui/coverage.svg?branch=master)](https://codecov.io/github/mcasimir/mobile-angular-ui?branch=master) +[![Join the chat at https://gitter.im/mcasimir/mobile-angular-ui](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mcasimir/mobile-angular-ui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Forum](https://img.shields.io/badge/mobile--angular--ui-forum-blue.svg)](http://mobileangularui.com/forum/) [![Docs](https://img.shields.io/badge/mobile--angular--ui-docs-blue.svg)](http://mobileangularui.com/docs/) +[![Kanban](https://img.shields.io/badge/mobile--angular--ui-kanban-blue.svg)](https://waffle.io/mcasimir/mobile-angular-ui) + ## Angular & Bootstrap 3 for Mobile web and applications Mobile Angular UI is an HTML5 mobile UI framework that will let you use Angular Js and Bootstrap 3 for mobile app development. -GettingStarted, Demo, Docs at http://mobileangularui.com. +``` sh +npm i mobile-angular-ui +``` + +Getting Started, Demo, Docs at http://mobileangularui.com. ![](http://mobileangularui.com/assets/img/phone.png) diff --git a/bower.json b/bower.json index b8ea7c2..9f2b34e 100644 --- a/bower.json +++ b/bower.json @@ -9,12 +9,13 @@ "dist/css/mobile-angular-ui-hover.css", "dist/css/mobile-angular-ui-base.css", "dist/css/mobile-angular-ui-desktop.css", - "dist/js/mobile-angular-ui.min.js", - "dist/fonts/FontAwesome.otf", + "dist/js/mobile-angular-ui.js", + "dist/js/mobile-angular-ui.gestures.js", "dist/fonts/fontawesome-webfont.eot", "dist/fonts/fontawesome-webfont.svg", "dist/fonts/fontawesome-webfont.ttf", - "dist/fonts/fontawesome-webfont.woff" + "dist/fonts/fontawesome-webfont.woff", + "dist/fonts/fontawesome-webfont.woff2" ], "keywords": [ "mobile-angular-ui", @@ -30,16 +31,6 @@ "node_modules", "bower_components", "test", - "tests", - "site", - "experiments", - "gh-pages", - "tmp" - ], - "devDependencies": { - "font-awesome": "4", - "bootstrap": "3", - "fastclick": "1", - "overthrow": "0.7" - } + "ROADMAP.tasks" + ] } diff --git a/ci.sh b/ci.sh new file mode 100644 index 0000000..2a5cb92 --- /dev/null +++ b/ci.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +set -x +set -e + +xvfb-run npm test + +# Remove chrome temp files +rm -Rf .com.google* diff --git a/config.js b/config.js new file mode 100644 index 0000000..65003ca --- /dev/null +++ b/config.js @@ -0,0 +1,69 @@ +'use strict'; + +let path = require('path'); + +let config = { + globs: { + core: [ + 'node_modules/fastclick/lib/fastclick.js', + 'src/js/core/**/*.js', + 'src/js/mobile-angular-ui.core.js' + ], + components: [ + 'node_modules/fg-overthrow/src/overthrow-detect.js', + 'node_modules/fg-overthrow/src/overthrow-init.js', + 'node_modules/fg-overthrow/src/overthrow-polyfill.js', + 'src/js/components/**/*.js', + 'src/js/mobile-angular-ui.components.js' + ], + gestures: [ + 'src/js/gestures/**/*.js', + 'src/js/mobile-angular-ui.gestures.js' + ], + fonts: 'node_modules/font-awesome/fonts/fontawesome-webfont.*', + vendorLess: [ + path.resolve(__dirname, 'src/less'), + path.resolve(__dirname, 'node_modules') + ], + livereloadDemo: [ + path.join('demo', '*.html') + ], + livereloadTest: [ + path.join('test', '**', '*.html') + ], + livereloadTestManual: [ + path.join('test', 'manual', '*.html') + ] + }, + depcheck: { + ignore: [ + 'angular', + 'angular-mocks', + 'angular-route', + 'bootstrap', + 'mobile-angular-ui', + 'jasmine-core', + 'codecov', + 'karma-jasmine', + 'karma-mocha-reporter', + 'karma-selenium-webdriver-launcher', + 'karma-coverage', + 'karma-chrome-launcher', + 'selenium-webdriver', + 'chromedriver', + 'pre-commit' + ] + }, + lint: ['./src/**/*.js', './test/**/*.js', './*.js'] +}; + +config.globs.main = config.globs.core + .concat(config.globs.components) + .concat('src/js/mobile-angular-ui.js'); + +config.globs.js = [] + .concat(config.globs.core) + .concat(config.globs.components) + .concat(config.globs.gestures); + +module.exports = config; diff --git a/demo/accordion.html b/demo/accordion.html index 7db96d0..0d3b2d8 100644 --- a/demo/accordion.html +++ b/demo/accordion.html @@ -1,52 +1,30 @@ -
+
Accordion
- -
-
- +
+
+
+
-
-
-
-

- Collapsible Group Item #1 -

-
-
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
+
+ +

+ Collapsible Group Item #{{i}} +

-
-
-
-
-

- Collapsible Group Item #2 -

-
-
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. -
-
-
-
-
-

- Collapsible Group Item #3 -

-
-
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
+
+ {{lorem}} +
- -
- +
\ No newline at end of file diff --git a/demo/carousel.html b/demo/carousel.html index ab0bb01..bbd07c9 100644 --- a/demo/carousel.html +++ b/demo/carousel.html @@ -1,19 +1,17 @@ -