From a94393c27d9db7b7d0e0b437321b08ce69e11d00 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Wed, 22 Nov 2017 18:30:17 +0900 Subject: [PATCH] Version 2.8.2 release. --- CHANGELOG.md | 1264 + LICENSE | 13 + README.md | 120 +- bower.json | 26 + css-components-src/README.md | 33 + css-components-src/gulpfile.js | 266 + css-components-src/misc/screenshot-01.png | Bin 0 -> 260246 bytes css-components-src/misc/screenshot-02.png | Bin 0 -> 349060 bytes css-components-src/package.json | 49 + css-components-src/patterns.yaml | 376 + css-components-src/previewer-src/app.js | 64 + .../previewer-src/components/app-page.js | 190 + .../previewer-src/components/category-page.js | 36 + .../components/component-page.js | 32 + .../components/components-page.js | 68 + .../previewer-src/components/notfound-page.js | 9 + .../previewer-src/components/pattern-page.js | 33 + .../previewer-src/components/patterns-page.js | 49 + .../components/platform-select.js | 25 + .../components/preview-component.js | 30 + .../previewer-src/components/theme-select.js | 48 + .../previewer-src/index.html.eco | 32 + .../previewer-src/select-icon.svg | 13 + css-components-src/previewer-src/style.css | 313 + css-components-src/previewer-src/util.js | 31 + .../src/components/action-sheet.css | 237 + .../src/components/alert-dialog.css | 328 + .../src/components/button-bar.css | 115 + css-components-src/src/components/button.css | 432 + css-components-src/src/components/card.css | 102 + .../src/components/checkbox.css | 331 + .../src/components/combination.css | 86 + css-components-src/src/components/dialog.css | 79 + css-components-src/src/components/fab.css | 245 + css-components-src/src/components/global.css | 83 + css-components-src/src/components/index.css | 32 + css-components-src/src/components/list.css | 970 + css-components-src/src/components/modal.css | 41 + .../src/components/notification.css | 68 + css-components-src/src/components/page.css | 105 + css-components-src/src/components/popover.css | 197 + .../src/components/progress-bar.css | 150 + .../src/components/progress-circular.css | 135 + .../src/components/radio-button.css | 246 + css-components-src/src/components/range.css | 245 + .../src/components/search-input.css | 96 + css-components-src/src/components/segment.css | 176 + css-components-src/src/components/select.css | 203 + css-components-src/src/components/switch.css | 224 + css-components-src/src/components/tabbar.css | 513 + .../src/components/text-input.css | 190 + .../src/components/textarea.css | 79 + css-components-src/src/components/toast.css | 88 + .../src/components/toolbar-button.css | 170 + css-components-src/src/components/toolbar.css | 385 + css-components-src/src/components/util.css | 160 + .../src/custom-onsen-css-components.css | 5 + css-components-src/src/custom-theme.css | 139 + .../src/dark-onsen-css-components.css | 5 + css-components-src/src/dark-theme.css | 139 + .../src/img/android-search-input-icon.svg | 20 + .../src/img/ios-search-input-icon.svg | 14 + css-components-src/src/img/select-arrow.svg | 16 + .../src/iphonex-support/action-sheet.css | 14 + .../src/iphonex-support/combination.css | 344 + .../src/iphonex-support/fab.css | 36 + .../src/iphonex-support/global.css | 11 + .../src/iphonex-support/index.css | 30 + .../src/iphonex-support/page.css | 12 + .../src/iphonex-support/tabbar.css | 7 + .../src/iphonex-support/toast.css | 13 + .../src/iphonex-support/toolbar.css | 14 + css-components-src/src/license.css | 32 + .../src/old-onsen-css-components.css | 5 + css-components-src/src/old-theme.css | 142 + .../src/onsen-css-components.css | 5 + css-components-src/src/theme.css | 139 + css-components-src/stylelint.config.js | 210 + css-components-src/yarn.lock | 5258 +++ css/custom-onsen-css-components.css | 7288 ++++ css/custom-onsen-css-components.min.css | 31 + css/dark-onsen-css-components.css | 7288 ++++ css/dark-onsen-css-components.min.css | 31 + css/font_awesome/css/font-awesome.css | 2337 ++ css/font_awesome/css/font-awesome.min.css | 4 + css/font_awesome/fonts/FontAwesome.otf | Bin 0 -> 134808 bytes .../fonts/fontawesome-webfont.eot | Bin 0 -> 165742 bytes .../fonts/fontawesome-webfont.svg | 2671 ++ .../fonts/fontawesome-webfont.ttf | Bin 0 -> 165548 bytes .../fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes .../fonts/fontawesome-webfont.woff2 | Bin 0 -> 77160 bytes css/ionicons/css/ionicons.css | 1480 + css/ionicons/css/ionicons.min.css | 11 + css/ionicons/fonts/ionicons.eot | Bin 0 -> 120724 bytes css/ionicons/fonts/ionicons.svg | 2230 ++ css/ionicons/fonts/ionicons.ttf | Bin 0 -> 188508 bytes css/ionicons/fonts/ionicons.woff | Bin 0 -> 67904 bytes .../css/material-design-iconic-font.css | 5166 +++ .../css/material-design-iconic-font.min.css | 1 + .../fonts/Material-Design-Iconic-Font.eot | Bin 0 -> 42495 bytes .../fonts/Material-Design-Iconic-Font.svg | 787 + .../fonts/Material-Design-Iconic-Font.ttf | Bin 0 -> 99212 bytes .../fonts/Material-Design-Iconic-Font.woff | Bin 0 -> 50312 bytes .../fonts/Material-Design-Iconic-Font.woff2 | Bin 0 -> 38384 bytes css/old-onsen-css-components.css | 7288 ++++ css/old-onsen-css-components.min.css | 31 + css/onsen-css-components.css | 7288 ++++ css/onsen-css-components.min.css | 31 + css/onsenui-core.css | 714 + css/onsenui-core.min.css | 1 + css/onsenui-fonts.css | 4 + css/onsenui.css | 719 + css/onsenui.min.css | 1 + esm/elements/base/base-checkbox.js | 86 + esm/elements/base/base-dialog.js | 265 + esm/elements/base/base-element.js | 45 + esm/elements/base/base-input.js | 203 + esm/elements/ons-action-sheet-button.js | 156 + esm/elements/ons-action-sheet/animator.js | 267 + esm/elements/ons-action-sheet/index.js | 421 + esm/elements/ons-alert-dialog-button.js | 138 + esm/elements/ons-alert-dialog/animator.js | 260 + esm/elements/ons-alert-dialog/index.js | 433 + esm/elements/ons-back-button.js | 245 + esm/elements/ons-bottom-toolbar.js | 105 + esm/elements/ons-button.js | 175 + esm/elements/ons-card.js | 126 + esm/elements/ons-carousel-item.js | 87 + esm/elements/ons-carousel.js | 726 + esm/elements/ons-checkbox.js | 134 + esm/elements/ons-col.js | 114 + esm/elements/ons-dialog/animator.js | 359 + esm/elements/ons-dialog/index.js | 377 + esm/elements/ons-fab.js | 300 + esm/elements/ons-gesture-detector.js | 78 + esm/elements/ons-icon.js | 262 + esm/elements/ons-if.js | 146 + esm/elements/ons-input.js | 249 + esm/elements/ons-lazy-repeat.js | 209 + esm/elements/ons-list-header.js | 110 + esm/elements/ons-list-item.js | 289 + esm/elements/ons-list-title.js | 93 + esm/elements/ons-list.js | 116 + esm/elements/ons-modal/animator.js | 75 + esm/elements/ons-modal/fade-animator.js | 99 + esm/elements/ons-modal/index.js | 348 + esm/elements/ons-modal/lift-animator.js | 106 + esm/elements/ons-navigator/animator.js | 71 + esm/elements/ons-navigator/index.js | 1241 + .../ons-navigator/ios-fade-animator.js | 142 + .../ons-navigator/ios-lift-animator.js | 153 + .../ons-navigator/ios-slide-animator.js | 450 + .../ons-navigator/ios-swipe-animator.js | 402 + .../ons-navigator/md-fade-animator.js | 121 + .../ons-navigator/md-lift-animator.js | 157 + .../ons-navigator/md-slide-animator.js | 172 + esm/elements/ons-navigator/none-animator.js | 49 + esm/elements/ons-page.js | 544 + esm/elements/ons-popover/animator.js | 184 + esm/elements/ons-popover/index.js | 592 + esm/elements/ons-progress-bar.js | 256 + esm/elements/ons-progress-circular.js | 270 + esm/elements/ons-pull-hook.js | 538 + esm/elements/ons-radio.js | 131 + esm/elements/ons-range.js | 268 + esm/elements/ons-ripple/animator-css.js | 244 + esm/elements/ons-ripple/animator-js.js | 222 + esm/elements/ons-ripple/index.js | 406 + esm/elements/ons-row.js | 72 + esm/elements/ons-search-input.js | 121 + esm/elements/ons-segment.js | 344 + esm/elements/ons-select.js | 284 + esm/elements/ons-speed-dial-item.js | 153 + esm/elements/ons-speed-dial.js | 551 + esm/elements/ons-splitter-content.js | 262 + esm/elements/ons-splitter-mask.js | 93 + esm/elements/ons-splitter-side.js | 809 + esm/elements/ons-splitter/animator.js | 137 + esm/elements/ons-splitter/index.js | 290 + esm/elements/ons-splitter/overlay-animator.js | 100 + esm/elements/ons-splitter/push-animator.js | 116 + esm/elements/ons-splitter/reveal-animator.js | 213 + esm/elements/ons-switch.js | 346 + esm/elements/ons-tab.js | 437 + esm/elements/ons-tabbar/index.js | 713 + esm/elements/ons-template.js | 105 + esm/elements/ons-toast/animator.js | 75 + esm/elements/ons-toast/ascend-animator.js | 149 + esm/elements/ons-toast/fade-animator.js | 99 + esm/elements/ons-toast/fall-animator.js | 132 + esm/elements/ons-toast/index.js | 288 + esm/elements/ons-toast/lift-animator.js | 122 + esm/elements/ons-toolbar-button.js | 155 + esm/elements/ons-toolbar.js | 247 + esm/index.js | 4446 +++ esm/ons/action-sheet.js | 99 + esm/ons/animation-options-parser.js | 186 + esm/ons/animit.js | 577 + esm/ons/autostyle.js | 150 + esm/ons/base-animator.js | 59 + esm/ons/content-ready.js | 69 + esm/ons/doorlock.js | 121 + esm/ons/gesture-detector.js | 2043 + esm/ons/index.js | 549 + esm/ons/internal/animator-factory.js | 135 + .../internal/device-back-button-dispatcher.js | 342 + esm/ons/internal/index.js | 26 + esm/ons/internal/internal.js | 199 + esm/ons/internal/lazy-repeat.js | 580 + esm/ons/internal/modifier-util.js | 205 + esm/ons/internal/swipe-reveal.js | 128 + esm/ons/internal/swiper.js | 520 + esm/ons/internal/toast-queue.js | 53 + esm/ons/iphonex-patch.js | 98 + esm/ons/microevent.js | 73 + esm/ons/modifier.js | 112 + esm/ons/notification.js | 492 + esm/ons/orientation.js | 190 + esm/ons/page-attribute-expression.js | 181 + esm/ons/page-loader.js | 122 + esm/ons/platform.js | 539 + esm/ons/software-keyboard.js | 68 + esm/ons/styler.js | 88 + esm/ons/util.js | 542 + .../MutationObserver.js | 352 + esm/polyfills/index.js | 21 + esm/polyfills/polyfill-switches.js | 5 + .../setImmediate@1.0.2+mod/setImmediate.js | 193 + esm/vendor/FastClick@1.0.6+mod/fastclick.js | 818 + esm/vendor/index.js | 4 + esm/vendor/viewport.js | 31 + js/angular-onsenui.js | 5879 +++ js/angular-onsenui.min.js | 2 + js/onsenui.d.ts | 1254 + js/onsenui.js | 31778 ++++++++++++++++ js/onsenui.min.js | 2 + package.json | 162 + 237 files changed, 135350 insertions(+), 14 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 LICENSE create mode 100755 bower.json create mode 100644 css-components-src/README.md create mode 100644 css-components-src/gulpfile.js create mode 100644 css-components-src/misc/screenshot-01.png create mode 100644 css-components-src/misc/screenshot-02.png create mode 100644 css-components-src/package.json create mode 100644 css-components-src/patterns.yaml create mode 100644 css-components-src/previewer-src/app.js create mode 100644 css-components-src/previewer-src/components/app-page.js create mode 100644 css-components-src/previewer-src/components/category-page.js create mode 100644 css-components-src/previewer-src/components/component-page.js create mode 100644 css-components-src/previewer-src/components/components-page.js create mode 100644 css-components-src/previewer-src/components/notfound-page.js create mode 100644 css-components-src/previewer-src/components/pattern-page.js create mode 100644 css-components-src/previewer-src/components/patterns-page.js create mode 100644 css-components-src/previewer-src/components/platform-select.js create mode 100644 css-components-src/previewer-src/components/preview-component.js create mode 100644 css-components-src/previewer-src/components/theme-select.js create mode 100644 css-components-src/previewer-src/index.html.eco create mode 100644 css-components-src/previewer-src/select-icon.svg create mode 100644 css-components-src/previewer-src/style.css create mode 100644 css-components-src/previewer-src/util.js create mode 100644 css-components-src/src/components/action-sheet.css create mode 100644 css-components-src/src/components/alert-dialog.css create mode 100644 css-components-src/src/components/button-bar.css create mode 100644 css-components-src/src/components/button.css create mode 100644 css-components-src/src/components/card.css create mode 100644 css-components-src/src/components/checkbox.css create mode 100644 css-components-src/src/components/combination.css create mode 100644 css-components-src/src/components/dialog.css create mode 100644 css-components-src/src/components/fab.css create mode 100644 css-components-src/src/components/global.css create mode 100644 css-components-src/src/components/index.css create mode 100644 css-components-src/src/components/list.css create mode 100644 css-components-src/src/components/modal.css create mode 100644 css-components-src/src/components/notification.css create mode 100644 css-components-src/src/components/page.css create mode 100644 css-components-src/src/components/popover.css create mode 100644 css-components-src/src/components/progress-bar.css create mode 100644 css-components-src/src/components/progress-circular.css create mode 100644 css-components-src/src/components/radio-button.css create mode 100644 css-components-src/src/components/range.css create mode 100644 css-components-src/src/components/search-input.css create mode 100644 css-components-src/src/components/segment.css create mode 100644 css-components-src/src/components/select.css create mode 100644 css-components-src/src/components/switch.css create mode 100644 css-components-src/src/components/tabbar.css create mode 100644 css-components-src/src/components/text-input.css create mode 100644 css-components-src/src/components/textarea.css create mode 100644 css-components-src/src/components/toast.css create mode 100644 css-components-src/src/components/toolbar-button.css create mode 100644 css-components-src/src/components/toolbar.css create mode 100644 css-components-src/src/components/util.css create mode 100644 css-components-src/src/custom-onsen-css-components.css create mode 100644 css-components-src/src/custom-theme.css create mode 100644 css-components-src/src/dark-onsen-css-components.css create mode 100644 css-components-src/src/dark-theme.css create mode 100644 css-components-src/src/img/android-search-input-icon.svg create mode 100644 css-components-src/src/img/ios-search-input-icon.svg create mode 100644 css-components-src/src/img/select-arrow.svg create mode 100644 css-components-src/src/iphonex-support/action-sheet.css create mode 100644 css-components-src/src/iphonex-support/combination.css create mode 100644 css-components-src/src/iphonex-support/fab.css create mode 100644 css-components-src/src/iphonex-support/global.css create mode 100644 css-components-src/src/iphonex-support/index.css create mode 100644 css-components-src/src/iphonex-support/page.css create mode 100644 css-components-src/src/iphonex-support/tabbar.css create mode 100644 css-components-src/src/iphonex-support/toast.css create mode 100644 css-components-src/src/iphonex-support/toolbar.css create mode 100644 css-components-src/src/license.css create mode 100644 css-components-src/src/old-onsen-css-components.css create mode 100644 css-components-src/src/old-theme.css create mode 100644 css-components-src/src/onsen-css-components.css create mode 100644 css-components-src/src/theme.css create mode 100644 css-components-src/stylelint.config.js create mode 100644 css-components-src/yarn.lock create mode 100644 css/custom-onsen-css-components.css create mode 100644 css/custom-onsen-css-components.min.css create mode 100644 css/dark-onsen-css-components.css create mode 100644 css/dark-onsen-css-components.min.css create mode 100644 css/font_awesome/css/font-awesome.css create mode 100644 css/font_awesome/css/font-awesome.min.css create mode 100644 css/font_awesome/fonts/FontAwesome.otf create mode 100644 css/font_awesome/fonts/fontawesome-webfont.eot create mode 100644 css/font_awesome/fonts/fontawesome-webfont.svg create mode 100644 css/font_awesome/fonts/fontawesome-webfont.ttf create mode 100644 css/font_awesome/fonts/fontawesome-webfont.woff create mode 100644 css/font_awesome/fonts/fontawesome-webfont.woff2 create mode 100755 css/ionicons/css/ionicons.css create mode 100755 css/ionicons/css/ionicons.min.css create mode 100755 css/ionicons/fonts/ionicons.eot create mode 100755 css/ionicons/fonts/ionicons.svg create mode 100755 css/ionicons/fonts/ionicons.ttf create mode 100755 css/ionicons/fonts/ionicons.woff create mode 100644 css/material-design-iconic-font/css/material-design-iconic-font.css create mode 100644 css/material-design-iconic-font/css/material-design-iconic-font.min.css create mode 100644 css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.eot create mode 100644 css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.svg create mode 100644 css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.ttf create mode 100644 css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff create mode 100644 css/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff2 create mode 100644 css/old-onsen-css-components.css create mode 100644 css/old-onsen-css-components.min.css create mode 100644 css/onsen-css-components.css create mode 100644 css/onsen-css-components.min.css create mode 100644 css/onsenui-core.css create mode 100644 css/onsenui-core.min.css create mode 100644 css/onsenui-fonts.css create mode 100644 css/onsenui.css create mode 100644 css/onsenui.min.css create mode 100755 esm/elements/base/base-checkbox.js create mode 100644 esm/elements/base/base-dialog.js create mode 100644 esm/elements/base/base-element.js create mode 100755 esm/elements/base/base-input.js create mode 100644 esm/elements/ons-action-sheet-button.js create mode 100644 esm/elements/ons-action-sheet/animator.js create mode 100644 esm/elements/ons-action-sheet/index.js create mode 100644 esm/elements/ons-alert-dialog-button.js create mode 100644 esm/elements/ons-alert-dialog/animator.js create mode 100644 esm/elements/ons-alert-dialog/index.js create mode 100755 esm/elements/ons-back-button.js create mode 100644 esm/elements/ons-bottom-toolbar.js create mode 100755 esm/elements/ons-button.js create mode 100644 esm/elements/ons-card.js create mode 100644 esm/elements/ons-carousel-item.js create mode 100644 esm/elements/ons-carousel.js create mode 100755 esm/elements/ons-checkbox.js create mode 100644 esm/elements/ons-col.js create mode 100644 esm/elements/ons-dialog/animator.js create mode 100644 esm/elements/ons-dialog/index.js create mode 100755 esm/elements/ons-fab.js create mode 100755 esm/elements/ons-gesture-detector.js create mode 100644 esm/elements/ons-icon.js create mode 100644 esm/elements/ons-if.js create mode 100755 esm/elements/ons-input.js create mode 100644 esm/elements/ons-lazy-repeat.js create mode 100644 esm/elements/ons-list-header.js create mode 100644 esm/elements/ons-list-item.js create mode 100644 esm/elements/ons-list-title.js create mode 100644 esm/elements/ons-list.js create mode 100644 esm/elements/ons-modal/animator.js create mode 100644 esm/elements/ons-modal/fade-animator.js create mode 100644 esm/elements/ons-modal/index.js create mode 100644 esm/elements/ons-modal/lift-animator.js create mode 100644 esm/elements/ons-navigator/animator.js create mode 100644 esm/elements/ons-navigator/index.js create mode 100644 esm/elements/ons-navigator/ios-fade-animator.js create mode 100644 esm/elements/ons-navigator/ios-lift-animator.js create mode 100644 esm/elements/ons-navigator/ios-slide-animator.js create mode 100644 esm/elements/ons-navigator/ios-swipe-animator.js create mode 100644 esm/elements/ons-navigator/md-fade-animator.js create mode 100644 esm/elements/ons-navigator/md-lift-animator.js create mode 100644 esm/elements/ons-navigator/md-slide-animator.js create mode 100644 esm/elements/ons-navigator/none-animator.js create mode 100644 esm/elements/ons-page.js create mode 100644 esm/elements/ons-popover/animator.js create mode 100644 esm/elements/ons-popover/index.js create mode 100644 esm/elements/ons-progress-bar.js create mode 100644 esm/elements/ons-progress-circular.js create mode 100755 esm/elements/ons-pull-hook.js create mode 100755 esm/elements/ons-radio.js create mode 100755 esm/elements/ons-range.js create mode 100644 esm/elements/ons-ripple/animator-css.js create mode 100644 esm/elements/ons-ripple/animator-js.js create mode 100644 esm/elements/ons-ripple/index.js create mode 100644 esm/elements/ons-row.js create mode 100755 esm/elements/ons-search-input.js create mode 100755 esm/elements/ons-segment.js create mode 100644 esm/elements/ons-select.js create mode 100644 esm/elements/ons-speed-dial-item.js create mode 100644 esm/elements/ons-speed-dial.js create mode 100644 esm/elements/ons-splitter-content.js create mode 100644 esm/elements/ons-splitter-mask.js create mode 100644 esm/elements/ons-splitter-side.js create mode 100644 esm/elements/ons-splitter/animator.js create mode 100644 esm/elements/ons-splitter/index.js create mode 100644 esm/elements/ons-splitter/overlay-animator.js create mode 100644 esm/elements/ons-splitter/push-animator.js create mode 100644 esm/elements/ons-splitter/reveal-animator.js create mode 100755 esm/elements/ons-switch.js create mode 100644 esm/elements/ons-tab.js create mode 100644 esm/elements/ons-tabbar/index.js create mode 100755 esm/elements/ons-template.js create mode 100644 esm/elements/ons-toast/animator.js create mode 100644 esm/elements/ons-toast/ascend-animator.js create mode 100644 esm/elements/ons-toast/fade-animator.js create mode 100644 esm/elements/ons-toast/fall-animator.js create mode 100644 esm/elements/ons-toast/index.js create mode 100644 esm/elements/ons-toast/lift-animator.js create mode 100644 esm/elements/ons-toolbar-button.js create mode 100644 esm/elements/ons-toolbar.js create mode 100644 esm/index.js create mode 100644 esm/ons/action-sheet.js create mode 100755 esm/ons/animation-options-parser.js create mode 100644 esm/ons/animit.js create mode 100644 esm/ons/autostyle.js create mode 100644 esm/ons/base-animator.js create mode 100644 esm/ons/content-ready.js create mode 100644 esm/ons/doorlock.js create mode 100644 esm/ons/gesture-detector.js create mode 100644 esm/ons/index.js create mode 100644 esm/ons/internal/animator-factory.js create mode 100644 esm/ons/internal/device-back-button-dispatcher.js create mode 100644 esm/ons/internal/index.js create mode 100644 esm/ons/internal/internal.js create mode 100644 esm/ons/internal/lazy-repeat.js create mode 100644 esm/ons/internal/modifier-util.js create mode 100644 esm/ons/internal/swipe-reveal.js create mode 100644 esm/ons/internal/swiper.js create mode 100644 esm/ons/internal/toast-queue.js create mode 100644 esm/ons/iphonex-patch.js create mode 100644 esm/ons/microevent.js create mode 100644 esm/ons/modifier.js create mode 100644 esm/ons/notification.js create mode 100644 esm/ons/orientation.js create mode 100644 esm/ons/page-attribute-expression.js create mode 100644 esm/ons/page-loader.js create mode 100644 esm/ons/platform.js create mode 100644 esm/ons/software-keyboard.js create mode 100644 esm/ons/styler.js create mode 100644 esm/ons/util.js create mode 100644 esm/polyfills/MutationObserver@0.7.22/MutationObserver.js create mode 100644 esm/polyfills/index.js create mode 100644 esm/polyfills/polyfill-switches.js create mode 100644 esm/polyfills/setImmediate@1.0.2+mod/setImmediate.js create mode 100644 esm/vendor/FastClick@1.0.6+mod/fastclick.js create mode 100644 esm/vendor/index.js create mode 100644 esm/vendor/viewport.js create mode 100644 js/angular-onsenui.js create mode 100644 js/angular-onsenui.min.js create mode 100644 js/onsenui.d.ts create mode 100644 js/onsenui.js create mode 100644 js/onsenui.min.js create mode 100644 package.json diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..42df7bd --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1264 @@ + +CHANGELOG +==== + +2.8.2 +---- + +### New Features + + * ons-navigator: Added `onSwipe` property function that gets the swiped distance on drag. + * ons-splitter-side: Added `onSwipe` property function that gets the swiped distance on drag. + +### Bug Fixes + + * ons-splitter: Fixed small glitch in 'reveal' animation. + * ons-select: Fixed custom modifier class from `select-*` to `select--*`. + * ons-tabbar: Fixed [#2253](https://github.com/OnsenUI/OnsenUI/issues/2253). + * ons-tabbar: Position 'auto' and border visibility now cares about autostyling instead of the actual platform. + * ons-toolbar: Fix 'transparent' modifier when combined with 'material' (regression). + * angular1: Remove `element.scope()` call that depends on AngularJS Debug Data. + +2.8.1 +---- + +### Bug Fixes + + * css-components: Use new radial-gradient syntax to avoid prefixes. + * ons-tabbar: Improve scrolling on devices. + * ons-modal: Possible issue when toggling modal visibility very quickly. + * ons-action-sheet: Small glitch when hiding on iPhone X. + +2.8.0 +---- + +### New Features + + * core: The core CSS is now available without importing default icon fonts in `onsenui-core.css` file. This can be included instead of `onsenui.css` in order to reduce app size. + * ons: Added `disableIconAutoPrefix` method to avoid adding `fa-` prefix to non-prefixed icons. This allows using custom icon packs. + * esm: A new `esm` folder is available for ES Modules environments. It allows importing specific components instead of the whole bundle. See `Reducing App Size` section in the guide for more details. + * angular1: `ons-modal` now exposes event handlers (`ons-preshow`, `ons-postshow`, `ons-prehide`, `ons-posthide`) and `toggle` method. + +### Bug Fixes + + * iPhoneX support: Fixed a glitch during push/pop animations. + * ons-tab: Fixed [#2247](https://github.com/OnsenUI/OnsenUI/issues/2247). + * ons-tabbar: Fixed [#2223](https://github.com/OnsenUI/OnsenUI/issues/2223). + * ons-segment: Prevent possible error when linking an `ons-tabbar` placed at the same level. + * ons-segment: Adjust style for plain `div` children (instead of `button`). + * ons-list-item: Material chevron with right content. Fixed [#2226](https://github.com/OnsenUI/OnsenUI/issues/2226). + * ons-lazy-repeat: Lists can be empty. Fixed [#2232](https://github.com/OnsenUI/OnsenUI/issues/2232). + * modifier: Fixed [#2237](https://github.com/OnsenUI/OnsenUI/issues/2237). + +### Misc + + * :tada: Reduced bundle size by more than 50%! + +### BREAKING CHANGES + + * Internal elements location has been changed. E.g. `ons.NavigatorElement` is now `ons.elements.Navigator`. This should only affect if you were registering custom animations. + * `NavigatorTransitionAnimator` has been renamed to `NavigatorAnimator` like all the other animators. This should only affect if you were registering custom animations. + * `core-src` directory has been removed. `esm` can be used instead. This should only affect if you were manually importing specific components instead of the whole bundle. + +2.7.2 +---- + +### Bug Fixes + + * core: Fixed glitch in nested ``. Fixed [#2231](https://github.com/OnsenUI/OnsenUI/issues/2231). + + +2.7.1 +---- + +### New Features + + * css-components: Added `--tap-highlight-color` variable for `-webkit-tap-highlight-color` CSS property. + * ons-bottom-toolbar: Added `aligned` modifier. + +### Bug Fixes + + * css-components: Added `word-wrap: break-word;` to `.card`. Fixed [#2244](https://github.com/OnsenUI/OnsenUI/issues/2244). + * css-components: Fixed position of `.toast` in `onsflag-iphonex-portrait` mode. + * core: Fix template scripts on Firefox. + * ~~core: Fixed glitch in nested ``. Fixed #2231.~~ (incomplete) + +### Misc + + * css-components: Made it easy to override `user-select`. Fixed [#2227](https://github.com/OnsenUI/OnsenUI/issues/2227). + +2.7.0 +---- + +### New Features + + * :tada: css-components: Supported iPhone X with `html[onsflag-iphonex-portrait]` and `html[onsflag-iphonex-landscape]` flags. + * css-components: Added iOS & Material dark color scheme available as `dark-onsen-css-components.css`. + * css-components: Refined the css-components previewer located in `css-components-src`. + * core: Supported iOS 11. + * ons.mockStatusBar: Now can also show Android's status bar. + * ons.platform: Added `isIPhoneX()`, `isIOSSafari()`, `isUIWebView()` and `isWKWebView()`. + +### Bug Fixes + + * css-components: Fixed usage of alpha function. Fixed [#2220](https://github.com/OnsenUI/OnsenUI/issues/2220). + * css-components: Fixed wrong margin of `.action-sheet` and `.action-sheet-button`. + * css-components: Fixed style of `.list-title`. + * core: Changed to disable FastClick when it isn't needed. Fixed [#2000](https://github.com/OnsenUI/OnsenUI/issues/2000). + * core: Fixed `ons-loading-placeholder` attribute broken on iOS 11. + * ons-page: Minor issue with status bar when the page is moved in DOM. + * ons-splitter: Correctly set content width on inital split mode. Fixed [#2205](https://github.com/OnsenUI/OnsenUI/issues/2205). + * ons-tabbar, ons-carousel: Can now be displayed inside dialogs/modals. + * ons-tabbar: Resizing window while tabbar is not visible should not update the tabbar. + * dialogs: Prevent scrolling behind dialog masks due to iOS bug. Fixed [#2220](https://github.com/OnsenUI/OnsenUI/issues/2220). + * deviceBackButton: Fixed [#2215](https://github.com/OnsenUI/OnsenUI/issues/2215). + * templates: Firefox issue. Fixed [#2216](https://github.com/OnsenUI/OnsenUI/issues/2216). + +### Misc + + * core: Auto status bar fill for iOS 7+ WebView is now automatically disabled on iPhone X WebView. + +### BREAKING CHANGES + + * css-components: Refined iOS & Material color schemes. + * The previous color schemes are now available as `css/old-onsen-css-components.css`. + +2.6.1 +---- + +### Bug Fixes + + * GestureDetector: Fixed `findIndex` issue on Android 4.4.4. + * templates: Fixed [#2163](https://github.com/OnsenUI/OnsenUI/issues/2163). + * ons-tabbar: Fixed [#2189](https://github.com/OnsenUI/OnsenUI/issues/2189). + * ons-tabbar, ons-tab: Fixed several issues on iOS 8. + * ons-toolbar: Fixed position with `cover-content` modifier and iOS status bar in nested pages. + * ons-page: Ensure status-bar-fill is only added to one page. + +2.6.0 +---- + +### New Features + + * core: Added `ons-segment` element. + * angular1: Added `ons-segment` bindings. + * ons: Added `mockStatusBar` utility to create a fake iOS status bar for browser testing. + * ons-pull-hook: Added `onPull` property function that gets the pulled distance on drag. + * ons-carousel: Added `onSwipe` property function that gets the swiped distance on drag. + * :tada: ons-tabbar: Tabbar can now be swiped to change pages. `swipeable` attribute enables this feature. + +### Bug Fixes + + * core: Device Back Button handler timing issue. + * GestureDetector: Fixed memory leak from Hammer.js v1. + * templates: Fixed a bug where `script` tags might not be ready on time. + * autoStyle: Fixed [#2171](https://github.com/OnsenUI/OnsenUI/issues/2171). + * inputs: Accept `required` attr. Fixed [#2169](https://github.com/OnsenUI/OnsenUI/issues/2169). + * ons-pull-hook: Different glitches on both iOS and Android. Fixed [#1990](https://github.com/OnsenUI/OnsenUI/issues/1990). + * ons-list-item: `nodivider` modifier should not hide `chevron`. + * ons-list-item: Fixed [#2150](https://github.com/OnsenUI/OnsenUI/issues/2150). + * ons-navigator: Fixed [#2167](https://github.com/OnsenUI/OnsenUI/issues/2167). + * ons-navigator: iOS slide animation with transparent toolbars glitch. + * ons-tabbar: Hide 1px line between toolbar and top tabbar in some Android devices. + * ons-modal: Fixed [#2066](https://github.com/OnsenUI/OnsenUI/issues/2066). + * ons-toolbar: `cover-content` modifier works with iOS status bar. + * ons-carousel: Fixed an animation glitch on iOS due to the cubic Bézier curve. + * ons-splitter: Translate3d glitch when opening with `reveal` animation. + +### Misc + + * Updated type definitions. + * `modifier` classes are restored when `class` attribute is modified. + * ons-tab: The first tab will be activated if the `active` attribute is not provided in any tab. + * ons-carousel: Improved performance. Animation timing has been adjusted to prevent issues on iOS. + +### BREAKING CHANGES + + * ons-tabbar, ons-carousel: DOM structure has been modified. It should not affect except if you manually modify `innerHTML`. + * ons-tabbar: Due to the new swipeable feature, `slide` animation is now performed by default unless it is disabled with `animation="none"` attribute. `fade` animator has also been removed (incompatible). + * ons-tab: Removed undocumented `ons-tab-active` and `ons-tab-inactive` attributes (from Onsen UI v1). + +v2.5.3 +---- + +### Bug Fixes + + * ons-speed-dial-item: Apply Material Design style correctly. + * ons-splitter-side: Fixed [#2026](https://github.com/OnsenUI/OnsenUI/issues/2026). + * Fixed glitch during push/pop animation when iOS status bar is visible. + +### Misc + + * modifiers: internal modifiers are automatically restored when anything removes them. + * docs: Added missing modifiers and attributes. + +v2.5.2 +---- + +### Bug Fixes + + * ons-navigator: Ignore swipes on back buttons. + * ons-pull-hook: After popPage transition style fix. + * ons-tabbar: Minor issue fixed to improve compatibility with external routers. + +### Misc + + * ons.getScriptPage: Added new method as a shortcut to get the current page and attach lifecycle hooks. + +v2.5.1 +---- + +### Bug Fixes + + * onsenui.min.css: Restore 'import' statements. + * ons-navigator: Swipe-to-pop animation glitch. + * ons-range: Fixed ripple effect when `min` attr is provided. + +v2.5.0 +---- + +### New Features + + * core: Added `ons.modifier` object with a new set of methods to alter `modifier` attributes. + * :tada: ons-navigator: iOS Swipe-to-pop feature. + * ons-modal: Added `lift` animation ([#2078](https://github.com/OnsenUI/OnsenUI/pull/2078)). + * ons-toolbar: New `cover-content` modifier. Should be combined with `transparent` modifier. + +### Bug Fixes + + * css-components, ons-list-item: Fixed [#2100](https://github.com/OnsenUI/OnsenUI/issues/2100). + * ons-list: Fixed double top border when located right under toolbar. + * ons-carousel: Ignores swipes that start outside carousel. + * Swipeable components: Swipe is now smoother. + * Swipeable components: Fixed compatibility of some swipeable components. + +### Misc + + * core css: Add minimized core css file `build/css/onsenui.min.css`. + * css-components: Adjusted font size of `.back-button__label` (improves iOS slide animation). + * ons-back-button: Replace font icons with SVG icons. + * Added `ons-alert-dialog-button` elements. + * Added `size` attribute on `ons-ripple` elements. + * Added ripple effects properly on `ons-range`, `ons-checkbox`, `ons-radio`, `ons-toolbar-button`, `ons-back-button` and `ons-alert-dialog-button` elements for Material Design. + +v2.4.2 +---- + +### New Features + + * ons-fab: Added new appearances for iOS. + * ons-ripple: Added `size` attribute. + +### Bug Fixes + + * Revert a recent change that creates `ons-tabbar` issues. Fixed [#2082](https://github.com/OnsenUI/OnsenUI/issues/2082). + +v2.4.1 +---- + +### Bug Fixes + + * ons.notification.prompt: Only returns input value if the clicked button is primary. Otherwise, returns null. Fixed [#2050](https://github.com/OnsenUI/OnsenUI/issues/2050). + * ons-input, ons-search-input: Fixed [#2075](https://github.com/OnsenUI/OnsenUI/issues/2075). + * ons-icon: Its class attribute is now recovered after modifications. + +### Misc + + * css-components: Removed `.text-input--transparent` modifier (same as default style). + +v2.4.0 +---- + +### New Features + + * core: Separated files are now cached after the first request. This improves performance when pushing pages. + * core: Added `ons.preload` method to manually cache templates. This improves performance when pushing pages. + * :tada: core: Support for `HTMLTemplateElement` (`