foundation-rails 6.6.1.0 → 6.9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/Appraisals +4 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +199 -146
- data/bower.json +3 -3
- data/foundation-rails.gemspec +4 -4
- data/gemfiles/rails_7.1.gemfile +10 -0
- data/gemfiles/rails_7.1.gemfile.lock +261 -0
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +32 -28
- data/vendor/assets/js/foundation.cjs.js +2101 -3230
- data/vendor/assets/js/foundation.cjs.js.map +1 -1
- data/vendor/assets/js/foundation.es6.js +505 -379
- data/vendor/assets/js/foundation.es6.js.map +1 -1
- data/vendor/assets/js/foundation.esm.js +1779 -2911
- data/vendor/assets/js/foundation.esm.js.map +1 -1
- data/vendor/assets/js/foundation.js +2544 -3970
- data/vendor/assets/js/foundation.js.map +1 -1
- data/vendor/assets/js/foundation.min.js +1 -1
- data/vendor/assets/js/foundation.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.js +277 -367
- data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.js +205 -277
- data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -262
- data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.js +314 -457
- data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.js +259 -359
- data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.js +291 -462
- data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js +251 -349
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
- data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.js +455 -240
- data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.js +226 -342
- data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
- data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
- data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -288
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.js +285 -445
- data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.js +321 -486
- data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
- data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.js +253 -395
- data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
- data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
- data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.js +276 -437
- data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.js +176 -234
- data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
- data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.js +127 -161
- data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.js +126 -160
- data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
- data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
- data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
- data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
- data/vendor/assets/scss/_global.scss +20 -7
- data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
- data/vendor/assets/scss/components/_accordion.scss +2 -2
- data/vendor/assets/scss/components/_badge.scss +3 -3
- data/vendor/assets/scss/components/_breadcrumbs.scss +4 -3
- data/vendor/assets/scss/components/_button-group.scss +23 -13
- data/vendor/assets/scss/components/_button.scss +15 -15
- data/vendor/assets/scss/components/_callout.scss +4 -4
- data/vendor/assets/scss/components/_card.scss +2 -2
- data/vendor/assets/scss/components/_close-button.scss +7 -6
- data/vendor/assets/scss/components/_drilldown.scss +2 -2
- data/vendor/assets/scss/components/_dropdown-menu.scss +3 -3
- data/vendor/assets/scss/components/_dropdown.scss +2 -2
- data/vendor/assets/scss/components/_flex.scss +2 -2
- data/vendor/assets/scss/components/_float.scss +2 -2
- data/vendor/assets/scss/components/_label.scss +3 -3
- data/vendor/assets/scss/components/_media-object.scss +2 -2
- data/vendor/assets/scss/components/_menu.scss +56 -21
- data/vendor/assets/scss/components/_off-canvas.scss +20 -18
- data/vendor/assets/scss/components/_orbit.scss +5 -5
- data/vendor/assets/scss/components/_pagination.scss +3 -3
- data/vendor/assets/scss/components/_progress-bar.scss +3 -3
- data/vendor/assets/scss/components/_responsive-embed.scss +3 -3
- data/vendor/assets/scss/components/_reveal.scss +10 -5
- data/vendor/assets/scss/components/_slider.scss +7 -4
- data/vendor/assets/scss/components/_sticky.scss +2 -2
- data/vendor/assets/scss/components/_switch.scss +27 -4
- data/vendor/assets/scss/components/_table.scss +10 -9
- data/vendor/assets/scss/components/_tabs.scss +4 -4
- data/vendor/assets/scss/components/_thumbnail.scss +2 -2
- data/vendor/assets/scss/components/_title-bar.scss +2 -2
- data/vendor/assets/scss/components/_tooltip.scss +2 -2
- data/vendor/assets/scss/components/_top-bar.scss +9 -7
- data/vendor/assets/scss/components/_visibility.scss +48 -5
- data/vendor/assets/scss/forms/_checkbox.scss +2 -2
- data/vendor/assets/scss/forms/_error.scss +2 -2
- data/vendor/assets/scss/forms/_fieldset.scss +2 -2
- data/vendor/assets/scss/forms/_forms.scss +2 -2
- data/vendor/assets/scss/forms/_help-text.scss +2 -2
- data/vendor/assets/scss/forms/_input-group.scss +2 -2
- data/vendor/assets/scss/forms/_label.scss +4 -3
- data/vendor/assets/scss/forms/_meter.scss +2 -2
- data/vendor/assets/scss/forms/_progress.scss +3 -3
- data/vendor/assets/scss/forms/_range.scss +3 -3
- data/vendor/assets/scss/forms/_select.scss +7 -6
- data/vendor/assets/scss/forms/_text.scss +4 -4
- data/vendor/assets/scss/foundation.scss +3 -3
- data/vendor/assets/scss/grid/_classes.scss +3 -3
- data/vendor/assets/scss/grid/_column.scss +5 -4
- data/vendor/assets/scss/grid/_flex-grid.scss +9 -8
- data/vendor/assets/scss/grid/_grid.scss +2 -2
- data/vendor/assets/scss/grid/_gutter.scss +3 -3
- data/vendor/assets/scss/grid/_layout.scss +7 -7
- data/vendor/assets/scss/grid/_position.scss +6 -6
- data/vendor/assets/scss/grid/_row.scss +3 -3
- data/vendor/assets/scss/grid/_size.scss +2 -2
- data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
- data/vendor/assets/scss/prototype/_arrow.scss +2 -2
- data/vendor/assets/scss/prototype/_border-box.scss +2 -2
- data/vendor/assets/scss/prototype/_border-none.scss +3 -3
- data/vendor/assets/scss/prototype/_bordered.scss +2 -2
- data/vendor/assets/scss/prototype/_box.scss +2 -2
- data/vendor/assets/scss/prototype/_display.scss +2 -2
- data/vendor/assets/scss/prototype/_font-styling.scss +4 -4
- data/vendor/assets/scss/prototype/_list-style-type.scss +2 -2
- data/vendor/assets/scss/prototype/_overflow.scss +11 -2
- data/vendor/assets/scss/prototype/_position.scss +2 -2
- data/vendor/assets/scss/prototype/_prototype.scss +2 -2
- data/vendor/assets/scss/prototype/_rotate.scss +9 -7
- data/vendor/assets/scss/prototype/_rounded.scss +2 -2
- data/vendor/assets/scss/prototype/_separator.scss +7 -7
- data/vendor/assets/scss/prototype/_shadow.scss +3 -4
- data/vendor/assets/scss/prototype/_sizing.scss +2 -2
- data/vendor/assets/scss/prototype/_spacing.scss +35 -35
- data/vendor/assets/scss/prototype/_text-decoration.scss +2 -2
- data/vendor/assets/scss/prototype/_text-transformation.scss +5 -5
- data/vendor/assets/scss/prototype/_text-utilities.scss +2 -2
- data/vendor/assets/scss/settings/_settings.scss +32 -28
- data/vendor/assets/scss/typography/_alignment.scss +2 -2
- data/vendor/assets/scss/typography/_base.scss +8 -8
- data/vendor/assets/scss/typography/_helpers.scss +12 -4
- data/vendor/assets/scss/typography/_print.scss +4 -4
- data/vendor/assets/scss/typography/_typography.scss +2 -2
- data/vendor/assets/scss/util/_breakpoint.scss +24 -21
- data/vendor/assets/scss/util/_color.scss +22 -10
- data/vendor/assets/scss/util/_direction.scss +3 -3
- data/vendor/assets/scss/util/_flex.scss +1 -1
- data/vendor/assets/scss/util/_math.scss +63 -11
- data/vendor/assets/scss/util/_mixins.scss +20 -16
- data/vendor/assets/scss/util/_selector.scss +3 -17
- data/vendor/assets/scss/util/_typography.scss +8 -8
- data/vendor/assets/scss/util/_unit.scss +16 -10
- data/vendor/assets/scss/util/_util.scss +2 -2
- data/vendor/assets/scss/util/_value.scss +5 -20
- data/vendor/assets/scss/vendor/normalize.scss +19 -2
- data/vendor/assets/scss/xy-grid/_cell.scss +18 -7
- data/vendor/assets/scss/xy-grid/_classes.scss +16 -16
- data/vendor/assets/scss/xy-grid/_collapse.scss +2 -2
- data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +4 -4
- data/vendor/assets/scss/xy-grid/_gutters.scss +4 -4
- data/vendor/assets/scss/xy-grid/_layout.scss +3 -3
- data/vendor/assets/scss/xy-grid/_position.scss +14 -9
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +4 -4
- metadata +21 -19
@@ -1,200 +1,27 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.core"), require("
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.motion"), require("./foundation.util.timer"), require("./foundation.util.imageLoader"), require("./foundation.util.touch"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.core", "
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.util.keyboard", "./foundation.util.motion", "./foundation.util.timer", "./foundation.util.imageLoader", "./foundation.util.touch"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.motion"), require("./foundation.util.timer"), require("./foundation.util.imageLoader"), require("./foundation.util.touch"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.orbit"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.
|
10
|
-
})(
|
11
|
-
return /******/ (function(
|
12
|
-
/******/
|
13
|
-
/******/ var
|
14
|
-
/******/
|
15
|
-
/******/ // The require function
|
16
|
-
/******/ function __webpack_require__(moduleId) {
|
17
|
-
/******/
|
18
|
-
/******/ // Check if module is in cache
|
19
|
-
/******/ if(installedModules[moduleId]) {
|
20
|
-
/******/ return installedModules[moduleId].exports;
|
21
|
-
/******/ }
|
22
|
-
/******/ // Create a new module (and put it into the cache)
|
23
|
-
/******/ var module = installedModules[moduleId] = {
|
24
|
-
/******/ i: moduleId,
|
25
|
-
/******/ l: false,
|
26
|
-
/******/ exports: {}
|
27
|
-
/******/ };
|
28
|
-
/******/
|
29
|
-
/******/ // Execute the module function
|
30
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
-
/******/
|
32
|
-
/******/ // Flag the module as loaded
|
33
|
-
/******/ module.l = true;
|
34
|
-
/******/
|
35
|
-
/******/ // Return the exports of the module
|
36
|
-
/******/ return module.exports;
|
37
|
-
/******/ }
|
38
|
-
/******/
|
39
|
-
/******/
|
40
|
-
/******/ // expose the modules object (__webpack_modules__)
|
41
|
-
/******/ __webpack_require__.m = modules;
|
42
|
-
/******/
|
43
|
-
/******/ // expose the module cache
|
44
|
-
/******/ __webpack_require__.c = installedModules;
|
45
|
-
/******/
|
46
|
-
/******/ // define getter function for harmony exports
|
47
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
49
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
50
|
-
/******/ }
|
51
|
-
/******/ };
|
52
|
-
/******/
|
53
|
-
/******/ // define __esModule on exports
|
54
|
-
/******/ __webpack_require__.r = function(exports) {
|
55
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
56
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
57
|
-
/******/ }
|
58
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
59
|
-
/******/ };
|
60
|
-
/******/
|
61
|
-
/******/ // create a fake namespace object
|
62
|
-
/******/ // mode & 1: value is a module id, require it
|
63
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
64
|
-
/******/ // mode & 4: return value when already ns object
|
65
|
-
/******/ // mode & 8|1: behave like require
|
66
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
67
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
68
|
-
/******/ if(mode & 8) return value;
|
69
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
70
|
-
/******/ var ns = Object.create(null);
|
71
|
-
/******/ __webpack_require__.r(ns);
|
72
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
73
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
74
|
-
/******/ return ns;
|
75
|
-
/******/ };
|
76
|
-
/******/
|
77
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
78
|
-
/******/ __webpack_require__.n = function(module) {
|
79
|
-
/******/ var getter = module && module.__esModule ?
|
80
|
-
/******/ function getDefault() { return module['default']; } :
|
81
|
-
/******/ function getModuleExports() { return module; };
|
82
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
83
|
-
/******/ return getter;
|
84
|
-
/******/ };
|
85
|
-
/******/
|
86
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
87
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
88
|
-
/******/
|
89
|
-
/******/ // __webpack_public_path__
|
90
|
-
/******/ __webpack_require__.p = "";
|
91
|
-
/******/
|
92
|
-
/******/
|
93
|
-
/******/ // Load entry module and return exports
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s = 10);
|
95
|
-
/******/ })
|
96
|
-
/************************************************************************/
|
97
|
-
/******/ ({
|
98
|
-
|
99
|
-
/***/ "./foundation.core":
|
100
|
-
/*!****************************************************************************************************************************************************************!*\
|
101
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
102
|
-
\****************************************************************************************************************************************************************/
|
103
|
-
/*! no static exports found */
|
104
|
-
/***/ (function(module, exports) {
|
105
|
-
|
106
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
107
|
-
|
108
|
-
/***/ }),
|
109
|
-
|
110
|
-
/***/ "./foundation.util.imageLoader":
|
111
|
-
/*!****************************************************************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.imageLoader"],"amd":"./foundation.util.imageLoader","commonjs":"./foundation.util.imageLoader","commonjs2":"./foundation.util.imageLoader"} ***!
|
113
|
-
\****************************************************************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./foundation.util.keyboard":
|
122
|
-
/*!****************************************************************************************************************************************************************************************************!*\
|
123
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
|
124
|
-
\****************************************************************************************************************************************************************************************************/
|
125
|
-
/*! no static exports found */
|
126
|
-
/***/ (function(module, exports) {
|
127
|
-
|
128
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
|
129
|
-
|
130
|
-
/***/ }),
|
131
|
-
|
132
|
-
/***/ "./foundation.util.motion":
|
133
|
-
/*!********************************************************************************************************************************************************************************************!*\
|
134
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
135
|
-
\********************************************************************************************************************************************************************************************/
|
136
|
-
/*! no static exports found */
|
137
|
-
/***/ (function(module, exports) {
|
138
|
-
|
139
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
140
|
-
|
141
|
-
/***/ }),
|
142
|
-
|
143
|
-
/***/ "./foundation.util.timer":
|
144
|
-
/*!****************************************************************************************************************************************************************************************!*\
|
145
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.timer"],"amd":"./foundation.util.timer","commonjs":"./foundation.util.timer","commonjs2":"./foundation.util.timer"} ***!
|
146
|
-
\****************************************************************************************************************************************************************************************/
|
147
|
-
/*! no static exports found */
|
148
|
-
/***/ (function(module, exports) {
|
149
|
-
|
150
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_timer__;
|
151
|
-
|
152
|
-
/***/ }),
|
153
|
-
|
154
|
-
/***/ "./foundation.util.touch":
|
155
|
-
/*!****************************************************************************************************************************************************************************************!*\
|
156
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
|
157
|
-
\****************************************************************************************************************************************************************************************/
|
158
|
-
/*! no static exports found */
|
159
|
-
/***/ (function(module, exports) {
|
160
|
-
|
161
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
|
162
|
-
|
163
|
-
/***/ }),
|
164
|
-
|
165
|
-
/***/ "./js/entries/plugins/foundation.orbit.js":
|
166
|
-
/*!************************************************!*\
|
167
|
-
!*** ./js/entries/plugins/foundation.orbit.js ***!
|
168
|
-
\************************************************/
|
169
|
-
/*! exports provided: Foundation, Orbit */
|
170
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
171
|
-
|
172
|
-
"use strict";
|
173
|
-
__webpack_require__.r(__webpack_exports__);
|
174
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
175
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
176
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
177
|
-
|
178
|
-
/* harmony import */ var _foundation_orbit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.orbit */ "./js/foundation.orbit.js");
|
179
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Orbit", function() { return _foundation_orbit__WEBPACK_IMPORTED_MODULE_1__["Orbit"]; });
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_orbit__WEBPACK_IMPORTED_MODULE_1__["Orbit"], 'Orbit');
|
184
|
-
|
185
|
-
|
186
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.orbit"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.timer"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.imageLoader"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.touch"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__, __WEBPACK_EXTERNAL_MODULE__foundation_util_timer__, __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__, __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
187
14
|
|
188
15
|
/***/ "./js/foundation.orbit.js":
|
189
16
|
/*!********************************!*\
|
190
17
|
!*** ./js/foundation.orbit.js ***!
|
191
18
|
\********************************/
|
192
|
-
|
193
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
194
20
|
|
195
|
-
"use strict";
|
196
21
|
__webpack_require__.r(__webpack_exports__);
|
197
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ Orbit: function() { return /* binding */ Orbit; }
|
24
|
+
/* harmony export */ });
|
198
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
199
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
200
27
|
/* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.keyboard */ "./foundation.util.keyboard");
|
@@ -205,29 +32,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
205
32
|
/* harmony import */ var _foundation_util_timer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_timer__WEBPACK_IMPORTED_MODULE_3__);
|
206
33
|
/* harmony import */ var _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation.util.imageLoader */ "./foundation.util.imageLoader");
|
207
34
|
/* harmony import */ var _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__);
|
208
|
-
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation.core.
|
35
|
+
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
|
209
36
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__);
|
210
37
|
/* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./foundation.util.touch */ "./foundation.util.touch");
|
211
38
|
/* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_touch__WEBPACK_IMPORTED_MODULE_6__);
|
212
|
-
|
213
|
-
|
214
|
-
function
|
215
|
-
|
216
|
-
function
|
217
|
-
|
218
|
-
function
|
219
|
-
|
220
|
-
function
|
221
|
-
|
222
|
-
function
|
223
|
-
|
224
|
-
function
|
225
|
-
|
226
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
227
|
-
|
228
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
229
|
-
|
230
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
39
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
40
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
41
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
42
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
43
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
44
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
45
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
46
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
47
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
48
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
49
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
50
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
51
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
231
52
|
|
232
53
|
|
233
54
|
|
@@ -246,21 +67,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
246
67
|
* @requires foundation.util.imageLoader
|
247
68
|
* @requires foundation.util.touch
|
248
69
|
*/
|
249
|
-
|
250
|
-
var Orbit =
|
251
|
-
/*#__PURE__*/
|
252
|
-
function (_Plugin) {
|
253
|
-
_inherits(Orbit, _Plugin);
|
254
|
-
|
70
|
+
var Orbit = /*#__PURE__*/function (_Plugin) {
|
255
71
|
function Orbit() {
|
256
72
|
_classCallCheck(this, Orbit);
|
257
|
-
|
258
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(Orbit).apply(this, arguments));
|
73
|
+
return _callSuper(this, Orbit, arguments);
|
259
74
|
}
|
260
|
-
|
261
|
-
_createClass(Orbit, [{
|
75
|
+
_inherits(Orbit, _Plugin);
|
76
|
+
return _createClass(Orbit, [{
|
262
77
|
key: "_setup",
|
263
|
-
|
78
|
+
value:
|
264
79
|
/**
|
265
80
|
* Creates a new instance of an orbit carousel.
|
266
81
|
* @class
|
@@ -268,16 +83,15 @@ function (_Plugin) {
|
|
268
83
|
* @param {jQuery} element - jQuery object to make into an Orbit Carousel.
|
269
84
|
* @param {Object} options - Overrides to the default plugin settings.
|
270
85
|
*/
|
271
|
-
|
86
|
+
function _setup(element, options) {
|
272
87
|
this.$element = element;
|
273
|
-
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
88
|
+
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Orbit.defaults, this.$element.data(), options);
|
274
89
|
this.className = 'Orbit'; // ie9 back compat
|
275
90
|
|
276
|
-
_foundation_util_touch__WEBPACK_IMPORTED_MODULE_6__
|
91
|
+
_foundation_util_touch__WEBPACK_IMPORTED_MODULE_6__.Touch.init((jquery__WEBPACK_IMPORTED_MODULE_0___default())); // Touch init is idempotent, we just need to make sure it's initialied.
|
277
92
|
|
278
93
|
this._init();
|
279
|
-
|
280
|
-
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].register('Orbit', {
|
94
|
+
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.register('Orbit', {
|
281
95
|
'ltr': {
|
282
96
|
'ARROW_RIGHT': 'next',
|
283
97
|
'ARROW_LEFT': 'previous'
|
@@ -288,80 +102,70 @@ function (_Plugin) {
|
|
288
102
|
}
|
289
103
|
});
|
290
104
|
}
|
105
|
+
|
291
106
|
/**
|
292
107
|
* Initializes the plugin by creating jQuery collections, setting attributes, and starting the animation.
|
293
108
|
* @function
|
294
109
|
* @private
|
295
110
|
*/
|
296
|
-
|
297
111
|
}, {
|
298
112
|
key: "_init",
|
299
113
|
value: function _init() {
|
300
114
|
// @TODO: consider discussion on PR #9278 about DOM pollution by changeSlide
|
301
115
|
this._reset();
|
302
|
-
|
303
116
|
this.$wrapper = this.$element.find(".".concat(this.options.containerClass));
|
304
117
|
this.$slides = this.$element.find(".".concat(this.options.slideClass));
|
305
118
|
var $images = this.$element.find('img'),
|
306
|
-
|
307
|
-
|
119
|
+
initActive = this.$slides.filter('.is-active'),
|
120
|
+
id = this.$element[0].id || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__.GetYoDigits)(6, 'orbit');
|
308
121
|
this.$element.attr({
|
309
122
|
'data-resize': id,
|
310
123
|
'id': id
|
311
124
|
});
|
312
|
-
|
313
125
|
if (!initActive.length) {
|
314
126
|
this.$slides.eq(0).addClass('is-active');
|
315
127
|
}
|
316
|
-
|
317
128
|
if (!this.options.useMUI) {
|
318
129
|
this.$slides.addClass('no-motionui');
|
319
130
|
}
|
320
|
-
|
321
131
|
if ($images.length) {
|
322
|
-
|
132
|
+
(0,_foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__.onImagesLoaded)($images, this._prepareForOrbit.bind(this));
|
323
133
|
} else {
|
324
134
|
this._prepareForOrbit(); //hehe
|
325
|
-
|
326
135
|
}
|
327
|
-
|
328
136
|
if (this.options.bullets) {
|
329
137
|
this._loadBullets();
|
330
138
|
}
|
331
|
-
|
332
139
|
this._events();
|
333
|
-
|
334
140
|
if (this.options.autoPlay && this.$slides.length > 1) {
|
335
141
|
this.geoSync();
|
336
142
|
}
|
337
|
-
|
338
143
|
if (this.options.accessible) {
|
339
144
|
// allow wrapper to be focusable to enable arrow navigation
|
340
145
|
this.$wrapper.attr('tabindex', 0);
|
341
146
|
}
|
342
147
|
}
|
148
|
+
|
343
149
|
/**
|
344
150
|
* Creates a jQuery collection of bullets, if they are being used.
|
345
151
|
* @function
|
346
152
|
* @private
|
347
153
|
*/
|
348
|
-
|
349
154
|
}, {
|
350
155
|
key: "_loadBullets",
|
351
156
|
value: function _loadBullets() {
|
352
157
|
this.$bullets = this.$element.find(".".concat(this.options.boxOfBullets)).find('button');
|
353
158
|
}
|
159
|
+
|
354
160
|
/**
|
355
161
|
* Sets a `timer` object on the orbit, and starts the counter for the next slide.
|
356
162
|
* @function
|
357
163
|
*/
|
358
|
-
|
359
164
|
}, {
|
360
165
|
key: "geoSync",
|
361
166
|
value: function geoSync() {
|
362
167
|
var _this = this;
|
363
|
-
|
364
|
-
this.timer = new _foundation_util_timer__WEBPACK_IMPORTED_MODULE_3__["Timer"](this.$element, {
|
168
|
+
this.timer = new _foundation_util_timer__WEBPACK_IMPORTED_MODULE_3__.Timer(this.$element, {
|
365
169
|
duration: this.options.timerDelay,
|
366
170
|
infinite: false
|
367
171
|
}, function () {
|
@@ -369,66 +173,60 @@ function (_Plugin) {
|
|
369
173
|
});
|
370
174
|
this.timer.start();
|
371
175
|
}
|
176
|
+
|
372
177
|
/**
|
373
178
|
* Sets wrapper and slide heights for the orbit.
|
374
179
|
* @function
|
375
180
|
* @private
|
376
181
|
*/
|
377
|
-
|
378
182
|
}, {
|
379
183
|
key: "_prepareForOrbit",
|
380
184
|
value: function _prepareForOrbit() {
|
381
|
-
var _this = this;
|
382
|
-
|
383
185
|
this._setWrapperHeight();
|
384
186
|
}
|
187
|
+
|
385
188
|
/**
|
386
189
|
* Calulates the height of each slide in the collection, and uses the tallest one for the wrapper height.
|
387
190
|
* @function
|
388
191
|
* @private
|
389
192
|
* @param {Function} cb - a callback function to fire when complete.
|
390
193
|
*/
|
391
|
-
|
392
194
|
}, {
|
393
195
|
key: "_setWrapperHeight",
|
394
196
|
value: function _setWrapperHeight(cb) {
|
395
197
|
//rewrite this to `for` loop
|
396
198
|
var max = 0,
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
199
|
+
temp,
|
200
|
+
counter = 0,
|
201
|
+
_this = this;
|
401
202
|
this.$slides.each(function () {
|
402
203
|
temp = this.getBoundingClientRect().height;
|
403
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).attr('data-slide', counter);
|
204
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).attr('data-slide', counter);
|
404
205
|
|
206
|
+
// hide all slides but the active one
|
405
207
|
if (!/mui/g.test(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this)[0].className) && _this.$slides.filter('.is-active')[0] !== _this.$slides.eq(counter)[0]) {
|
406
208
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).css({
|
407
209
|
'display': 'none'
|
408
210
|
});
|
409
211
|
}
|
410
|
-
|
411
212
|
max = temp > max ? temp : max;
|
412
213
|
counter++;
|
413
214
|
});
|
414
|
-
|
415
215
|
if (counter === this.$slides.length) {
|
416
216
|
this.$wrapper.css({
|
417
217
|
'height': max
|
418
218
|
}); //only change the wrapper height property once.
|
419
|
-
|
420
219
|
if (cb) {
|
421
220
|
cb(max);
|
422
221
|
} //fire callback with max height dimension.
|
423
|
-
|
424
222
|
}
|
425
223
|
}
|
224
|
+
|
426
225
|
/**
|
427
226
|
* Sets the max-height of each slide.
|
428
227
|
* @function
|
429
228
|
* @private
|
430
229
|
*/
|
431
|
-
|
432
230
|
}, {
|
433
231
|
key: "_setSlideHeight",
|
434
232
|
value: function _setSlideHeight(height) {
|
@@ -436,47 +234,42 @@ function (_Plugin) {
|
|
436
234
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).css('max-height', height);
|
437
235
|
});
|
438
236
|
}
|
237
|
+
|
439
238
|
/**
|
440
239
|
* Adds event listeners to basically everything within the element.
|
441
240
|
* @function
|
442
241
|
* @private
|
443
242
|
*/
|
444
|
-
|
445
243
|
}, {
|
446
244
|
key: "_events",
|
447
245
|
value: function _events() {
|
448
|
-
var _this = this;
|
246
|
+
var _this = this;
|
247
|
+
|
248
|
+
//***************************************
|
449
249
|
//**Now using custom event - thanks to:**
|
450
250
|
//** Yohai Ararat of Toronto **
|
451
251
|
//***************************************
|
452
252
|
//
|
453
|
-
|
454
|
-
|
455
253
|
this.$element.off('.resizeme.zf.trigger').on({
|
456
254
|
'resizeme.zf.trigger': this._prepareForOrbit.bind(this)
|
457
255
|
});
|
458
|
-
|
459
256
|
if (this.$slides.length > 1) {
|
460
257
|
if (this.options.swipe) {
|
461
258
|
this.$slides.off('swipeleft.zf.orbit swiperight.zf.orbit').on('swipeleft.zf.orbit', function (e) {
|
462
259
|
e.preventDefault();
|
463
|
-
|
464
260
|
_this.changeSlide(true);
|
465
261
|
}).on('swiperight.zf.orbit', function (e) {
|
466
262
|
e.preventDefault();
|
467
|
-
|
468
263
|
_this.changeSlide(false);
|
469
264
|
});
|
470
|
-
}
|
471
|
-
|
265
|
+
}
|
266
|
+
//***************************************
|
472
267
|
|
473
268
|
if (this.options.autoPlay) {
|
474
269
|
this.$slides.on('click.zf.orbit', function () {
|
475
270
|
_this.$element.data('clickedOn', _this.$element.data('clickedOn') ? false : true);
|
476
|
-
|
477
271
|
_this.timer[_this.$element.data('clickedOn') ? 'pause' : 'start']();
|
478
272
|
});
|
479
|
-
|
480
273
|
if (this.options.pauseOnHover) {
|
481
274
|
this.$element.on('mouseenter.zf.orbit', function () {
|
482
275
|
_this.timer.pause();
|
@@ -487,36 +280,30 @@ function (_Plugin) {
|
|
487
280
|
});
|
488
281
|
}
|
489
282
|
}
|
490
|
-
|
491
283
|
if (this.options.navButtons) {
|
492
284
|
var $controls = this.$element.find(".".concat(this.options.nextClass, ", .").concat(this.options.prevClass));
|
493
|
-
$controls.attr('tabindex', 0)
|
285
|
+
$controls.attr('tabindex', 0)
|
286
|
+
//also need to handle enter/return and spacebar key presses
|
494
287
|
.on('click.zf.orbit touchend.zf.orbit', function (e) {
|
495
288
|
e.preventDefault();
|
496
|
-
|
497
289
|
_this.changeSlide(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).hasClass(_this.options.nextClass));
|
498
290
|
});
|
499
291
|
}
|
500
|
-
|
501
292
|
if (this.options.bullets) {
|
502
293
|
this.$bullets.on('click.zf.orbit touchend.zf.orbit', function () {
|
503
294
|
if (/is-active/g.test(this.className)) {
|
504
295
|
return false;
|
505
296
|
} //if this is active, kick out of function.
|
506
|
-
|
507
|
-
|
508
297
|
var idx = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('slide'),
|
509
|
-
|
510
|
-
|
511
|
-
|
298
|
+
ltr = idx > _this.$slides.filter('.is-active').data('slide'),
|
299
|
+
$slide = _this.$slides.eq(idx);
|
512
300
|
_this.changeSlide(ltr, $slide, idx);
|
513
301
|
});
|
514
302
|
}
|
515
|
-
|
516
303
|
if (this.options.accessible) {
|
517
304
|
this.$wrapper.add(this.$bullets).on('keydown.zf.orbit', function (e) {
|
518
305
|
// handle keyboard event with keyboard util
|
519
|
-
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__
|
306
|
+
_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.handleKey(e, 'Orbit', {
|
520
307
|
next: function next() {
|
521
308
|
_this.changeSlide(true);
|
522
309
|
},
|
@@ -534,40 +321,44 @@ function (_Plugin) {
|
|
534
321
|
}
|
535
322
|
}
|
536
323
|
}
|
324
|
+
|
537
325
|
/**
|
538
326
|
* Resets Orbit so it can be reinitialized
|
539
327
|
*/
|
540
|
-
|
541
328
|
}, {
|
542
329
|
key: "_reset",
|
543
330
|
value: function _reset() {
|
544
331
|
// Don't do anything if there are no slides (first run)
|
545
|
-
if (typeof this.$slides
|
332
|
+
if (typeof this.$slides === 'undefined') {
|
546
333
|
return;
|
547
334
|
}
|
548
|
-
|
549
335
|
if (this.$slides.length > 1) {
|
550
336
|
// Remove old events
|
551
|
-
this.$element.off('.zf.orbit').find('*').off('.zf.orbit');
|
337
|
+
this.$element.off('.zf.orbit').find('*').off('.zf.orbit');
|
552
338
|
|
339
|
+
// Restart timer if autoPlay is enabled
|
553
340
|
if (this.options.autoPlay) {
|
554
341
|
this.timer.restart();
|
555
|
-
}
|
556
|
-
|
342
|
+
}
|
557
343
|
|
344
|
+
// Reset all sliddes
|
558
345
|
this.$slides.each(function (el) {
|
559
346
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(el).removeClass('is-active is-active is-in').removeAttr('aria-live').hide();
|
560
|
-
});
|
347
|
+
});
|
561
348
|
|
562
|
-
|
349
|
+
// Show the first slide
|
350
|
+
this.$slides.first().addClass('is-active').show();
|
563
351
|
|
564
|
-
|
352
|
+
// Triggers when the slide has finished animating
|
353
|
+
this.$element.trigger('slidechange.zf.orbit', [this.$slides.first()]);
|
565
354
|
|
355
|
+
// Select first bullet if bullets are present
|
566
356
|
if (this.options.bullets) {
|
567
357
|
this._updateBullets(0);
|
568
358
|
}
|
569
359
|
}
|
570
360
|
}
|
361
|
+
|
571
362
|
/**
|
572
363
|
* Changes the current slide to a new one.
|
573
364
|
* @function
|
@@ -576,69 +367,58 @@ function (_Plugin) {
|
|
576
367
|
* @param {Number} idx - the index of the new slide in its collection, if one chosen.
|
577
368
|
* @fires Orbit#slidechange
|
578
369
|
*/
|
579
|
-
|
580
370
|
}, {
|
581
371
|
key: "changeSlide",
|
582
372
|
value: function changeSlide(isLTR, chosenSlide, idx) {
|
583
373
|
if (!this.$slides) {
|
584
374
|
return;
|
585
375
|
} // Don't freak out if we're in the middle of cleanup
|
586
|
-
|
587
|
-
|
588
376
|
var $curSlide = this.$slides.filter('.is-active').eq(0);
|
589
|
-
|
590
377
|
if (/mui/g.test($curSlide[0].className)) {
|
591
378
|
return false;
|
592
379
|
} //if the slide is currently animating, kick out of the function
|
593
380
|
|
594
|
-
|
595
381
|
var $firstSlide = this.$slides.first(),
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
382
|
+
$lastSlide = this.$slides.last(),
|
383
|
+
dirIn = isLTR ? 'Right' : 'Left',
|
384
|
+
dirOut = isLTR ? 'Left' : 'Right',
|
385
|
+
_this = this,
|
386
|
+
$newSlide;
|
602
387
|
if (!chosenSlide) {
|
603
388
|
//most of the time, this will be auto played or clicked from the navButtons.
|
604
|
-
$newSlide = isLTR ?
|
605
|
-
|
606
|
-
this.options.infiniteWrap ? $curSlide.
|
389
|
+
$newSlide = isLTR ?
|
390
|
+
//if wrapping enabled, check to see if there is a `next` or `prev` sibling, if not, select the first or last slide to fill in. if wrapping not enabled, attempt to select `next` or `prev`, if there's nothing there, the function will kick out on next step. CRAZY NESTED TERNARIES!!!!!
|
391
|
+
this.options.infiniteWrap ? $curSlide.next(".".concat(this.options.slideClass)).length ? $curSlide.next(".".concat(this.options.slideClass)) : $firstSlide : $curSlide.next(".".concat(this.options.slideClass)) //pick next slide if moving left to right
|
392
|
+
: this.options.infiniteWrap ? $curSlide.prev(".".concat(this.options.slideClass)).length ? $curSlide.prev(".".concat(this.options.slideClass)) : $lastSlide : $curSlide.prev(".".concat(this.options.slideClass)); //pick prev slide if moving right to left
|
607
393
|
} else {
|
608
394
|
$newSlide = chosenSlide;
|
609
395
|
}
|
610
|
-
|
611
396
|
if ($newSlide.length) {
|
612
397
|
/**
|
613
398
|
* Triggers before the next slide starts animating in and only if a next slide has been found.
|
614
399
|
* @event Orbit#beforeslidechange
|
615
400
|
*/
|
616
401
|
this.$element.trigger('beforeslidechange.zf.orbit', [$curSlide, $newSlide]);
|
617
|
-
|
618
402
|
if (this.options.bullets) {
|
619
403
|
idx = idx || this.$slides.index($newSlide); //grab index to update bullets
|
620
|
-
|
621
404
|
this._updateBullets(idx);
|
622
405
|
}
|
623
|
-
|
624
406
|
if (this.options.useMUI && !this.$element.is(':hidden')) {
|
625
|
-
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__
|
407
|
+
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateIn($newSlide.addClass('is-active'), this.options["animInFrom".concat(dirIn)], function () {
|
626
408
|
$newSlide.css({
|
627
409
|
'display': 'block'
|
628
410
|
}).attr('aria-live', 'polite');
|
629
411
|
});
|
630
|
-
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__
|
412
|
+
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateOut($curSlide.removeClass('is-active'), this.options["animOutTo".concat(dirOut)], function () {
|
631
413
|
$curSlide.removeAttr('aria-live');
|
632
|
-
|
633
414
|
if (_this.options.autoPlay && !_this.timer.isPaused) {
|
634
415
|
_this.timer.restart();
|
635
|
-
}
|
636
|
-
|
416
|
+
}
|
417
|
+
//do stuff?
|
637
418
|
});
|
638
419
|
} else {
|
639
420
|
$curSlide.removeClass('is-active is-in').removeAttr('aria-live').hide();
|
640
421
|
$newSlide.addClass('is-active is-in').attr('aria-live', 'polite').show();
|
641
|
-
|
642
422
|
if (this.options.autoPlay && !this.timer.isPaused) {
|
643
423
|
this.timer.restart();
|
644
424
|
}
|
@@ -647,11 +427,10 @@ function (_Plugin) {
|
|
647
427
|
* Triggers when the slide has finished animating in.
|
648
428
|
* @event Orbit#slidechange
|
649
429
|
*/
|
650
|
-
|
651
|
-
|
652
430
|
this.$element.trigger('slidechange.zf.orbit', [$newSlide]);
|
653
431
|
}
|
654
432
|
}
|
433
|
+
|
655
434
|
/**
|
656
435
|
* Updates the active state of the bullets, if displayed.
|
657
436
|
* Move the descriptor of the current slide `[data-slide-active-label]` to the newly active bullet.
|
@@ -661,7 +440,6 @@ function (_Plugin) {
|
|
661
440
|
* @private
|
662
441
|
* @param {Number} idx - the index of the current slide.
|
663
442
|
*/
|
664
|
-
|
665
443
|
}, {
|
666
444
|
key: "_updateBullets",
|
667
445
|
value: function _updateBullets(idx) {
|
@@ -669,45 +447,45 @@ function (_Plugin) {
|
|
669
447
|
var $othersBullets = this.$bullets.not('.is-active');
|
670
448
|
var $newBullet = this.$bullets.eq(idx);
|
671
449
|
$oldBullet.removeClass('is-active').blur();
|
672
|
-
$newBullet.addClass('is-active');
|
450
|
+
$newBullet.addClass('is-active');
|
673
451
|
|
674
|
-
|
452
|
+
// Find the descriptor for the current slide to move it to the new slide button
|
453
|
+
var activeStateDescriptor = $oldBullet.children('[data-slide-active-label]').last();
|
675
454
|
|
455
|
+
// If not explicitely given, search for the last "exceeding" span element (compared to others bullets).
|
676
456
|
if (!activeStateDescriptor.length) {
|
677
457
|
var spans = $oldBullet.children('span');
|
678
458
|
var spanCountInOthersBullets = $othersBullets.toArray().map(function (b) {
|
679
459
|
return jquery__WEBPACK_IMPORTED_MODULE_0___default()(b).children('span').length;
|
680
|
-
});
|
460
|
+
});
|
681
461
|
|
462
|
+
// If there is an exceeding span element, use it as current slide descriptor
|
682
463
|
if (spanCountInOthersBullets.every(function (count) {
|
683
464
|
return count < spans.length;
|
684
465
|
})) {
|
685
466
|
activeStateDescriptor = spans.last();
|
686
467
|
activeStateDescriptor.attr('data-slide-active-label', '');
|
687
468
|
}
|
688
|
-
}
|
689
|
-
|
469
|
+
}
|
690
470
|
|
471
|
+
// Move the current slide descriptor to the new slide button
|
691
472
|
if (activeStateDescriptor.length) {
|
692
473
|
activeStateDescriptor.detach();
|
693
474
|
$newBullet.append(activeStateDescriptor);
|
694
475
|
}
|
695
476
|
}
|
477
|
+
|
696
478
|
/**
|
697
479
|
* Destroys the carousel and hides the element.
|
698
480
|
* @function
|
699
481
|
*/
|
700
|
-
|
701
482
|
}, {
|
702
483
|
key: "_destroy",
|
703
484
|
value: function _destroy() {
|
704
485
|
this.$element.off('.zf.orbit').find('*').off('.zf.orbit').end().hide();
|
705
486
|
}
|
706
487
|
}]);
|
707
|
-
|
708
|
-
return Orbit;
|
709
|
-
}(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__["Plugin"]);
|
710
|
-
|
488
|
+
}(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_5__.Plugin);
|
711
489
|
Orbit.defaults = {
|
712
490
|
/**
|
713
491
|
* Tells the JS to look for and loadBullets.
|
@@ -716,7 +494,6 @@ Orbit.defaults = {
|
|
716
494
|
* @default true
|
717
495
|
*/
|
718
496
|
bullets: true,
|
719
|
-
|
720
497
|
/**
|
721
498
|
* Tells the JS to apply event listeners to nav buttons
|
722
499
|
* @option
|
@@ -724,7 +501,6 @@ Orbit.defaults = {
|
|
724
501
|
* @default true
|
725
502
|
*/
|
726
503
|
navButtons: true,
|
727
|
-
|
728
504
|
/**
|
729
505
|
* motion-ui animation class to apply
|
730
506
|
* @option
|
@@ -732,7 +508,6 @@ Orbit.defaults = {
|
|
732
508
|
* @default 'slide-in-right'
|
733
509
|
*/
|
734
510
|
animInFromRight: 'slide-in-right',
|
735
|
-
|
736
511
|
/**
|
737
512
|
* motion-ui animation class to apply
|
738
513
|
* @option
|
@@ -740,7 +515,6 @@ Orbit.defaults = {
|
|
740
515
|
* @default 'slide-out-right'
|
741
516
|
*/
|
742
517
|
animOutToRight: 'slide-out-right',
|
743
|
-
|
744
518
|
/**
|
745
519
|
* motion-ui animation class to apply
|
746
520
|
* @option
|
@@ -749,7 +523,6 @@ Orbit.defaults = {
|
|
749
523
|
*
|
750
524
|
*/
|
751
525
|
animInFromLeft: 'slide-in-left',
|
752
|
-
|
753
526
|
/**
|
754
527
|
* motion-ui animation class to apply
|
755
528
|
* @option
|
@@ -757,7 +530,6 @@ Orbit.defaults = {
|
|
757
530
|
* @default 'slide-out-left'
|
758
531
|
*/
|
759
532
|
animOutToLeft: 'slide-out-left',
|
760
|
-
|
761
533
|
/**
|
762
534
|
* Allows Orbit to automatically animate on page load.
|
763
535
|
* @option
|
@@ -765,7 +537,6 @@ Orbit.defaults = {
|
|
765
537
|
* @default true
|
766
538
|
*/
|
767
539
|
autoPlay: true,
|
768
|
-
|
769
540
|
/**
|
770
541
|
* Amount of time, in ms, between slide transitions
|
771
542
|
* @option
|
@@ -773,7 +544,6 @@ Orbit.defaults = {
|
|
773
544
|
* @default 5000
|
774
545
|
*/
|
775
546
|
timerDelay: 5000,
|
776
|
-
|
777
547
|
/**
|
778
548
|
* Allows Orbit to infinitely loop through the slides
|
779
549
|
* @option
|
@@ -781,7 +551,6 @@ Orbit.defaults = {
|
|
781
551
|
* @default true
|
782
552
|
*/
|
783
553
|
infiniteWrap: true,
|
784
|
-
|
785
554
|
/**
|
786
555
|
* Allows the Orbit slides to bind to swipe events for mobile, requires an additional util library
|
787
556
|
* @option
|
@@ -789,7 +558,6 @@ Orbit.defaults = {
|
|
789
558
|
* @default true
|
790
559
|
*/
|
791
560
|
swipe: true,
|
792
|
-
|
793
561
|
/**
|
794
562
|
* Allows the timing function to pause animation on hover.
|
795
563
|
* @option
|
@@ -797,7 +565,6 @@ Orbit.defaults = {
|
|
797
565
|
* @default true
|
798
566
|
*/
|
799
567
|
pauseOnHover: true,
|
800
|
-
|
801
568
|
/**
|
802
569
|
* Allows Orbit to bind keyboard events to the slider, to animate frames with arrow keys
|
803
570
|
* @option
|
@@ -805,7 +572,6 @@ Orbit.defaults = {
|
|
805
572
|
* @default true
|
806
573
|
*/
|
807
574
|
accessible: true,
|
808
|
-
|
809
575
|
/**
|
810
576
|
* Class applied to the container of Orbit
|
811
577
|
* @option
|
@@ -813,7 +579,6 @@ Orbit.defaults = {
|
|
813
579
|
* @default 'orbit-container'
|
814
580
|
*/
|
815
581
|
containerClass: 'orbit-container',
|
816
|
-
|
817
582
|
/**
|
818
583
|
* Class applied to individual slides.
|
819
584
|
* @option
|
@@ -821,7 +586,6 @@ Orbit.defaults = {
|
|
821
586
|
* @default 'orbit-slide'
|
822
587
|
*/
|
823
588
|
slideClass: 'orbit-slide',
|
824
|
-
|
825
589
|
/**
|
826
590
|
* Class applied to the bullet container. You're welcome.
|
827
591
|
* @option
|
@@ -829,7 +593,6 @@ Orbit.defaults = {
|
|
829
593
|
* @default 'orbit-bullets'
|
830
594
|
*/
|
831
595
|
boxOfBullets: 'orbit-bullets',
|
832
|
-
|
833
596
|
/**
|
834
597
|
* Class applied to the `next` navigation button.
|
835
598
|
* @option
|
@@ -837,7 +600,6 @@ Orbit.defaults = {
|
|
837
600
|
* @default 'orbit-next'
|
838
601
|
*/
|
839
602
|
nextClass: 'orbit-next',
|
840
|
-
|
841
603
|
/**
|
842
604
|
* Class applied to the `previous` navigation button.
|
843
605
|
* @option
|
@@ -845,7 +607,6 @@ Orbit.defaults = {
|
|
845
607
|
* @default 'orbit-previous'
|
846
608
|
*/
|
847
609
|
prevClass: 'orbit-previous',
|
848
|
-
|
849
610
|
/**
|
850
611
|
* Boolean to flag the js to use motion ui classes or not. Default to true for backwards compatibility.
|
851
612
|
* @option
|
@@ -858,15 +619,63 @@ Orbit.defaults = {
|
|
858
619
|
|
859
620
|
/***/ }),
|
860
621
|
|
861
|
-
/***/
|
862
|
-
|
863
|
-
!***
|
864
|
-
|
865
|
-
|
866
|
-
|
622
|
+
/***/ "./foundation.core":
|
623
|
+
/*!****************************************************************************************************************************************************************!*\
|
624
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
625
|
+
\****************************************************************************************************************************************************************/
|
626
|
+
/***/ (function(module) {
|
627
|
+
|
628
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
629
|
+
|
630
|
+
/***/ }),
|
631
|
+
|
632
|
+
/***/ "./foundation.util.imageLoader":
|
633
|
+
/*!****************************************************************************************************************************************************************************************************************!*\
|
634
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.imageLoader"],"amd":"./foundation.util.imageLoader","commonjs":"./foundation.util.imageLoader","commonjs2":"./foundation.util.imageLoader"} ***!
|
635
|
+
\****************************************************************************************************************************************************************************************************************/
|
636
|
+
/***/ (function(module) {
|
637
|
+
|
638
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__;
|
639
|
+
|
640
|
+
/***/ }),
|
867
641
|
|
868
|
-
|
642
|
+
/***/ "./foundation.util.keyboard":
|
643
|
+
/*!****************************************************************************************************************************************************************************************************!*\
|
644
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
|
645
|
+
\****************************************************************************************************************************************************************************************************/
|
646
|
+
/***/ (function(module) {
|
869
647
|
|
648
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
|
649
|
+
|
650
|
+
/***/ }),
|
651
|
+
|
652
|
+
/***/ "./foundation.util.motion":
|
653
|
+
/*!********************************************************************************************************************************************************************************************!*\
|
654
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
655
|
+
\********************************************************************************************************************************************************************************************/
|
656
|
+
/***/ (function(module) {
|
657
|
+
|
658
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
659
|
+
|
660
|
+
/***/ }),
|
661
|
+
|
662
|
+
/***/ "./foundation.util.timer":
|
663
|
+
/*!****************************************************************************************************************************************************************************************!*\
|
664
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.timer"],"amd":"./foundation.util.timer","commonjs":"./foundation.util.timer","commonjs2":"./foundation.util.timer"} ***!
|
665
|
+
\****************************************************************************************************************************************************************************************/
|
666
|
+
/***/ (function(module) {
|
667
|
+
|
668
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_timer__;
|
669
|
+
|
670
|
+
/***/ }),
|
671
|
+
|
672
|
+
/***/ "./foundation.util.touch":
|
673
|
+
/*!****************************************************************************************************************************************************************************************!*\
|
674
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
|
675
|
+
\****************************************************************************************************************************************************************************************/
|
676
|
+
/***/ (function(module) {
|
677
|
+
|
678
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
|
870
679
|
|
871
680
|
/***/ }),
|
872
681
|
|
@@ -874,13 +683,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
|
|
874
683
|
/*!********************************************************************************************!*\
|
875
684
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
876
685
|
\********************************************************************************************/
|
877
|
-
|
878
|
-
/***/ (function(module, exports) {
|
686
|
+
/***/ (function(module) {
|
879
687
|
|
880
688
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
881
689
|
|
882
690
|
/***/ })
|
883
691
|
|
884
|
-
/******/
|
692
|
+
/******/ });
|
693
|
+
/************************************************************************/
|
694
|
+
/******/ // The module cache
|
695
|
+
/******/ var __webpack_module_cache__ = {};
|
696
|
+
/******/
|
697
|
+
/******/ // The require function
|
698
|
+
/******/ function __webpack_require__(moduleId) {
|
699
|
+
/******/ // Check if module is in cache
|
700
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
701
|
+
/******/ if (cachedModule !== undefined) {
|
702
|
+
/******/ return cachedModule.exports;
|
703
|
+
/******/ }
|
704
|
+
/******/ // Create a new module (and put it into the cache)
|
705
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
706
|
+
/******/ // no module.id needed
|
707
|
+
/******/ // no module.loaded needed
|
708
|
+
/******/ exports: {}
|
709
|
+
/******/ };
|
710
|
+
/******/
|
711
|
+
/******/ // Execute the module function
|
712
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
713
|
+
/******/
|
714
|
+
/******/ // Return the exports of the module
|
715
|
+
/******/ return module.exports;
|
716
|
+
/******/ }
|
717
|
+
/******/
|
718
|
+
/************************************************************************/
|
719
|
+
/******/ /* webpack/runtime/compat get default export */
|
720
|
+
/******/ !function() {
|
721
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
722
|
+
/******/ __webpack_require__.n = function(module) {
|
723
|
+
/******/ var getter = module && module.__esModule ?
|
724
|
+
/******/ function() { return module['default']; } :
|
725
|
+
/******/ function() { return module; };
|
726
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
727
|
+
/******/ return getter;
|
728
|
+
/******/ };
|
729
|
+
/******/ }();
|
730
|
+
/******/
|
731
|
+
/******/ /* webpack/runtime/define property getters */
|
732
|
+
/******/ !function() {
|
733
|
+
/******/ // define getter functions for harmony exports
|
734
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
735
|
+
/******/ for(var key in definition) {
|
736
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
737
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
738
|
+
/******/ }
|
739
|
+
/******/ }
|
740
|
+
/******/ };
|
741
|
+
/******/ }();
|
742
|
+
/******/
|
743
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
744
|
+
/******/ !function() {
|
745
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
746
|
+
/******/ }();
|
747
|
+
/******/
|
748
|
+
/******/ /* webpack/runtime/make namespace object */
|
749
|
+
/******/ !function() {
|
750
|
+
/******/ // define __esModule on exports
|
751
|
+
/******/ __webpack_require__.r = function(exports) {
|
752
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
753
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
754
|
+
/******/ }
|
755
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
756
|
+
/******/ };
|
757
|
+
/******/ }();
|
758
|
+
/******/
|
759
|
+
/************************************************************************/
|
760
|
+
var __webpack_exports__ = {};
|
761
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
762
|
+
!function() {
|
763
|
+
/*!************************************************!*\
|
764
|
+
!*** ./js/entries/plugins/foundation.orbit.js ***!
|
765
|
+
\************************************************/
|
766
|
+
__webpack_require__.r(__webpack_exports__);
|
767
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
768
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
|
769
|
+
/* harmony export */ Orbit: function() { return /* reexport safe */ _foundation_orbit__WEBPACK_IMPORTED_MODULE_1__.Orbit; }
|
770
|
+
/* harmony export */ });
|
771
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
772
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
773
|
+
/* harmony import */ var _foundation_orbit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.orbit */ "./js/foundation.orbit.js");
|
774
|
+
|
775
|
+
|
776
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_orbit__WEBPACK_IMPORTED_MODULE_1__.Orbit, 'Orbit');
|
777
|
+
|
778
|
+
}();
|
779
|
+
/******/ return __webpack_exports__;
|
780
|
+
/******/ })()
|
781
|
+
;
|
885
782
|
});
|
886
783
|
//# sourceMappingURL=foundation.orbit.js.map
|