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,193 +1,47 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.core"), require("./foundation.smoothScroll"), require("./foundation.util.motion")
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.smoothScroll"), require("./foundation.util.motion"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.core", "./foundation.smoothScroll", "./foundation.util.motion"
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.smoothScroll", "./foundation.util.motion"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.smoothScroll"), require("./foundation.util.motion"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.magellan"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.smoothScroll"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"]
|
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 = 8);
|
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.smoothScroll":
|
111
|
-
/*!************************************************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.smoothScroll"],"amd":"./foundation.smoothScroll","commonjs":"./foundation.smoothScroll","commonjs2":"./foundation.smoothScroll"} ***!
|
113
|
-
\************************************************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./foundation.util.motion":
|
122
|
-
/*!********************************************************************************************************************************************************************************************!*\
|
123
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
124
|
-
\********************************************************************************************************************************************************************************************/
|
125
|
-
/*! no static exports found */
|
126
|
-
/***/ (function(module, exports) {
|
127
|
-
|
128
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
129
|
-
|
130
|
-
/***/ }),
|
131
|
-
|
132
|
-
/***/ "./js/entries/plugins/foundation.magellan.js":
|
133
|
-
/*!***************************************************!*\
|
134
|
-
!*** ./js/entries/plugins/foundation.magellan.js ***!
|
135
|
-
\***************************************************/
|
136
|
-
/*! exports provided: Foundation, Magellan */
|
137
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
138
|
-
|
139
|
-
"use strict";
|
140
|
-
__webpack_require__.r(__webpack_exports__);
|
141
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
142
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
143
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
144
|
-
|
145
|
-
/* harmony import */ var _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.magellan */ "./js/foundation.magellan.js");
|
146
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Magellan", function() { return _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__["Magellan"]; });
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_magellan__WEBPACK_IMPORTED_MODULE_1__["Magellan"], 'Magellan');
|
151
|
-
|
152
|
-
|
153
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.magellan"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.smoothScroll"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
154
14
|
|
155
15
|
/***/ "./js/foundation.magellan.js":
|
156
16
|
/*!***********************************!*\
|
157
17
|
!*** ./js/foundation.magellan.js ***!
|
158
18
|
\***********************************/
|
159
|
-
|
160
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
161
20
|
|
162
|
-
"use strict";
|
163
21
|
__webpack_require__.r(__webpack_exports__);
|
164
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ Magellan: function() { return /* binding */ Magellan; }
|
24
|
+
/* harmony export */ });
|
165
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
166
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
167
|
-
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.
|
27
|
+
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
168
28
|
/* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__);
|
169
29
|
/* harmony import */ var _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.smoothScroll */ "./foundation.smoothScroll");
|
170
30
|
/* harmony import */ var _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__);
|
171
31
|
/* harmony import */ var _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.util.triggers */ "./js/foundation.util.triggers.js");
|
172
|
-
|
173
|
-
|
174
|
-
function
|
175
|
-
|
176
|
-
function
|
177
|
-
|
178
|
-
function
|
179
|
-
|
180
|
-
function
|
181
|
-
|
182
|
-
function
|
183
|
-
|
184
|
-
function
|
185
|
-
|
186
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
187
|
-
|
188
|
-
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); }
|
189
|
-
|
190
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
32
|
+
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); }
|
33
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
34
|
+
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); } }
|
35
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
36
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
37
|
+
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); }
|
38
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
39
|
+
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); }
|
40
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
41
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
42
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
43
|
+
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); }
|
44
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
191
45
|
|
192
46
|
|
193
47
|
|
@@ -200,21 +54,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
200
54
|
* @requires foundation.smoothScroll
|
201
55
|
* @requires foundation.util.triggers
|
202
56
|
*/
|
203
|
-
|
204
|
-
var Magellan =
|
205
|
-
/*#__PURE__*/
|
206
|
-
function (_Plugin) {
|
207
|
-
_inherits(Magellan, _Plugin);
|
208
|
-
|
57
|
+
var Magellan = /*#__PURE__*/function (_Plugin) {
|
209
58
|
function Magellan() {
|
210
59
|
_classCallCheck(this, Magellan);
|
211
|
-
|
212
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(Magellan).apply(this, arguments));
|
60
|
+
return _callSuper(this, Magellan, arguments);
|
213
61
|
}
|
214
|
-
|
215
|
-
_createClass(Magellan, [{
|
62
|
+
_inherits(Magellan, _Plugin);
|
63
|
+
return _createClass(Magellan, [{
|
216
64
|
key: "_setup",
|
217
|
-
|
65
|
+
value:
|
218
66
|
/**
|
219
67
|
* Creates a new instance of Magellan.
|
220
68
|
* @class
|
@@ -223,30 +71,25 @@ function (_Plugin) {
|
|
223
71
|
* @param {Object} element - jQuery object to add the trigger to.
|
224
72
|
* @param {Object} options - Overrides to the default plugin settings.
|
225
73
|
*/
|
226
|
-
|
74
|
+
function _setup(element, options) {
|
227
75
|
this.$element = element;
|
228
|
-
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.
|
76
|
+
this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Magellan.defaults, this.$element.data(), options);
|
229
77
|
this.className = 'Magellan'; // ie9 back compat
|
230
|
-
// Triggers init is idempotent, just need to make sure it is initialized
|
231
|
-
|
232
|
-
_foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__["Triggers"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a);
|
233
78
|
|
79
|
+
// Triggers init is idempotent, just need to make sure it is initialized
|
80
|
+
_foundation_util_triggers__WEBPACK_IMPORTED_MODULE_3__.Triggers.init((jquery__WEBPACK_IMPORTED_MODULE_0___default()));
|
234
81
|
this._init();
|
235
|
-
|
236
82
|
this.calcPoints();
|
237
83
|
}
|
84
|
+
|
238
85
|
/**
|
239
86
|
* Initializes the Magellan plugin and calls functions to get equalizer functioning on load.
|
240
87
|
* @private
|
241
88
|
*/
|
242
|
-
|
243
89
|
}, {
|
244
90
|
key: "_init",
|
245
91
|
value: function _init() {
|
246
|
-
var id = this.$element[0].id ||
|
247
|
-
|
248
|
-
var _this = this;
|
249
|
-
|
92
|
+
var id = this.$element[0].id || (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.GetYoDigits)(6, 'magellan');
|
250
93
|
this.$targets = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-magellan-target]');
|
251
94
|
this.$links = this.$element.find('a');
|
252
95
|
this.$element.attr({
|
@@ -256,172 +99,151 @@ function (_Plugin) {
|
|
256
99
|
});
|
257
100
|
this.$active = jquery__WEBPACK_IMPORTED_MODULE_0___default()();
|
258
101
|
this.scrollPos = parseInt(window.pageYOffset, 10);
|
259
|
-
|
260
102
|
this._events();
|
261
103
|
}
|
104
|
+
|
262
105
|
/**
|
263
106
|
* Calculates an array of pixel values that are the demarcation lines between locations on the page.
|
264
107
|
* Can be invoked if new elements are added or the size of a location changes.
|
265
108
|
* @function
|
266
109
|
*/
|
267
|
-
|
268
110
|
}, {
|
269
111
|
key: "calcPoints",
|
270
112
|
value: function calcPoints() {
|
271
113
|
var _this = this,
|
272
|
-
|
273
|
-
|
274
|
-
|
114
|
+
body = document.body,
|
115
|
+
html = document.documentElement;
|
275
116
|
this.points = [];
|
276
117
|
this.winHeight = Math.round(Math.max(window.innerHeight, html.clientHeight));
|
277
118
|
this.docHeight = Math.round(Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight));
|
278
119
|
this.$targets.each(function () {
|
279
120
|
var $tar = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
|
280
|
-
|
121
|
+
pt = Math.round($tar.offset().top - _this.options.threshold);
|
281
122
|
$tar.targetPoint = pt;
|
282
|
-
|
283
123
|
_this.points.push(pt);
|
284
124
|
});
|
285
125
|
}
|
126
|
+
|
286
127
|
/**
|
287
128
|
* Initializes events for Magellan.
|
288
129
|
* @private
|
289
130
|
*/
|
290
|
-
|
291
131
|
}, {
|
292
132
|
key: "_events",
|
293
133
|
value: function _events() {
|
294
|
-
var _this = this
|
295
|
-
$body = jquery__WEBPACK_IMPORTED_MODULE_0___default()('html, body'),
|
296
|
-
opts = {
|
297
|
-
duration: _this.options.animationDuration,
|
298
|
-
easing: _this.options.animationEasing
|
299
|
-
};
|
300
|
-
|
134
|
+
var _this = this;
|
301
135
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).one('load', function () {
|
302
136
|
if (_this.options.deepLinking) {
|
303
137
|
if (location.hash) {
|
304
138
|
_this.scrollToLoc(location.hash);
|
305
139
|
}
|
306
140
|
}
|
307
|
-
|
308
141
|
_this.calcPoints();
|
309
|
-
|
310
142
|
_this._updateActive();
|
311
143
|
});
|
312
|
-
_this.onLoadListener =
|
144
|
+
_this.onLoadListener = (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
|
313
145
|
_this.$element.on({
|
314
146
|
'resizeme.zf.trigger': _this.reflow.bind(_this),
|
315
147
|
'scrollme.zf.trigger': _this._updateActive.bind(_this)
|
316
148
|
}).on('click.zf.magellan', 'a[href^="#"]', function (e) {
|
317
149
|
e.preventDefault();
|
318
150
|
var arrival = this.getAttribute('href');
|
319
|
-
|
320
151
|
_this.scrollToLoc(arrival);
|
321
152
|
});
|
322
153
|
});
|
323
|
-
|
324
|
-
this._deepLinkScroll = function (e) {
|
154
|
+
this._deepLinkScroll = function () {
|
325
155
|
if (_this.options.deepLinking) {
|
326
156
|
_this.scrollToLoc(window.location.hash);
|
327
157
|
}
|
328
158
|
};
|
329
|
-
|
330
159
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on('hashchange', this._deepLinkScroll);
|
331
160
|
}
|
161
|
+
|
332
162
|
/**
|
333
163
|
* Function to scroll to a given location on the page.
|
334
164
|
* @param {String} loc - a properly formatted jQuery id selector. Example: '#foo'
|
335
165
|
* @function
|
336
166
|
*/
|
337
|
-
|
338
167
|
}, {
|
339
168
|
key: "scrollToLoc",
|
340
169
|
value: function scrollToLoc(loc) {
|
341
170
|
this._inTransition = true;
|
342
|
-
|
343
171
|
var _this = this;
|
344
|
-
|
345
172
|
var options = {
|
346
173
|
animationEasing: this.options.animationEasing,
|
347
174
|
animationDuration: this.options.animationDuration,
|
348
175
|
threshold: this.options.threshold,
|
349
176
|
offset: this.options.offset
|
350
177
|
};
|
351
|
-
_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__
|
178
|
+
_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_2__.SmoothScroll.scrollToLoc(loc, options, function () {
|
352
179
|
_this._inTransition = false;
|
353
180
|
});
|
354
181
|
}
|
182
|
+
|
355
183
|
/**
|
356
184
|
* Calls necessary functions to update Magellan upon DOM change
|
357
185
|
* @function
|
358
186
|
*/
|
359
|
-
|
360
187
|
}, {
|
361
188
|
key: "reflow",
|
362
189
|
value: function reflow() {
|
363
190
|
this.calcPoints();
|
364
|
-
|
365
191
|
this._updateActive();
|
366
192
|
}
|
193
|
+
|
367
194
|
/**
|
368
195
|
* Updates the visibility of an active location link, and updates the url hash for the page, if deepLinking enabled.
|
369
196
|
* @private
|
370
197
|
* @function
|
371
198
|
* @fires Magellan#update
|
372
199
|
*/
|
373
|
-
|
374
200
|
}, {
|
375
201
|
key: "_updateActive",
|
376
|
-
value: function _updateActive(
|
377
|
-
|
378
|
-
{
|
202
|
+
value: function _updateActive(/*evt, elem, scrollPos*/
|
203
|
+
) {
|
379
204
|
var _this2 = this;
|
380
|
-
|
381
205
|
if (this._inTransition) return;
|
382
206
|
var newScrollPos = parseInt(window.pageYOffset, 10);
|
383
207
|
var isScrollingUp = this.scrollPos > newScrollPos;
|
384
208
|
this.scrollPos = newScrollPos;
|
385
|
-
var activeIdx;
|
386
|
-
|
387
|
-
if (newScrollPos < this.points[0]) {}
|
388
|
-
/* do nothing */
|
209
|
+
var activeIdx;
|
210
|
+
// Before the first point: no link
|
211
|
+
if (newScrollPos < this.points[0] - this.options.offset - (isScrollingUp ? this.options.threshold : 0)) {/* do nothing */}
|
389
212
|
// At the bottom of the page: last link
|
390
213
|
else if (newScrollPos + this.winHeight === this.docHeight) {
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
214
|
+
activeIdx = this.points.length - 1;
|
215
|
+
}
|
216
|
+
// Otherwhise, use the last visible link
|
217
|
+
else {
|
218
|
+
var visibleLinks = this.points.filter(function (p) {
|
219
|
+
return p - _this2.options.offset - (isScrollingUp ? _this2.options.threshold : 0) <= newScrollPos;
|
220
|
+
});
|
221
|
+
activeIdx = visibleLinks.length ? visibleLinks.length - 1 : 0;
|
222
|
+
}
|
400
223
|
|
224
|
+
// Get the new active link
|
401
225
|
var $oldActive = this.$active;
|
402
226
|
var activeHash = '';
|
403
|
-
|
404
227
|
if (typeof activeIdx !== 'undefined') {
|
405
228
|
this.$active = this.$links.filter('[href="#' + this.$targets.eq(activeIdx).data('magellan-target') + '"]');
|
406
229
|
if (this.$active.length) activeHash = this.$active[0].getAttribute('href');
|
407
230
|
} else {
|
408
231
|
this.$active = jquery__WEBPACK_IMPORTED_MODULE_0___default()();
|
409
232
|
}
|
410
|
-
|
411
233
|
var isNewActive = !(!this.$active.length && !$oldActive.length) && !this.$active.is($oldActive);
|
412
|
-
var isNewHash = activeHash !== window.location.hash;
|
234
|
+
var isNewHash = activeHash !== window.location.hash;
|
413
235
|
|
236
|
+
// Update the active link element
|
414
237
|
if (isNewActive) {
|
415
238
|
$oldActive.removeClass(this.options.activeClass);
|
416
239
|
this.$active.addClass(this.options.activeClass);
|
417
|
-
}
|
418
|
-
|
240
|
+
}
|
419
241
|
|
242
|
+
// Update the hash (it may have changed with the same active link)
|
420
243
|
if (this.options.deepLinking && isNewHash) {
|
421
244
|
if (window.history.pushState) {
|
422
245
|
// Set or remove the hash (see: https://stackoverflow.com/a/5298684/4317384
|
423
246
|
var url = activeHash ? activeHash : window.location.pathname + window.location.search;
|
424
|
-
|
425
247
|
if (this.options.updateHistory) {
|
426
248
|
window.history.pushState({}, '', url);
|
427
249
|
} else {
|
@@ -431,7 +253,6 @@ function (_Plugin) {
|
|
431
253
|
window.location.hash = activeHash;
|
432
254
|
}
|
433
255
|
}
|
434
|
-
|
435
256
|
if (isNewActive) {
|
436
257
|
/**
|
437
258
|
* Fires when magellan is finished updating to the new active element.
|
@@ -440,33 +261,27 @@ function (_Plugin) {
|
|
440
261
|
this.$element.trigger('update.zf.magellan', [this.$active]);
|
441
262
|
}
|
442
263
|
}
|
264
|
+
|
443
265
|
/**
|
444
266
|
* Destroys an instance of Magellan and resets the url of the window.
|
445
267
|
* @function
|
446
268
|
*/
|
447
|
-
|
448
269
|
}, {
|
449
270
|
key: "_destroy",
|
450
271
|
value: function _destroy() {
|
451
272
|
this.$element.off('.zf.trigger .zf.magellan').find(".".concat(this.options.activeClass)).removeClass(this.options.activeClass);
|
452
|
-
|
453
273
|
if (this.options.deepLinking) {
|
454
274
|
var hash = this.$active[0].getAttribute('href');
|
455
275
|
window.location.hash.replace(hash, '');
|
456
276
|
}
|
457
|
-
|
458
277
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off('hashchange', this._deepLinkScroll);
|
459
278
|
if (this.onLoadListener) jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(this.onLoadListener);
|
460
279
|
}
|
461
280
|
}]);
|
462
|
-
|
463
|
-
return Magellan;
|
464
|
-
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__["Plugin"]);
|
281
|
+
}(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.Plugin);
|
465
282
|
/**
|
466
283
|
* Default settings for plugin
|
467
284
|
*/
|
468
|
-
|
469
|
-
|
470
285
|
Magellan.defaults = {
|
471
286
|
/**
|
472
287
|
* Amount of time, in ms, the animated scrolling should take between locations.
|
@@ -475,7 +290,6 @@ Magellan.defaults = {
|
|
475
290
|
* @default 500
|
476
291
|
*/
|
477
292
|
animationDuration: 500,
|
478
|
-
|
479
293
|
/**
|
480
294
|
* Animation style to use when scrolling between locations. Can be `'swing'` or `'linear'`.
|
481
295
|
* @option
|
@@ -484,7 +298,6 @@ Magellan.defaults = {
|
|
484
298
|
* @see {@link https://api.jquery.com/animate|Jquery animate}
|
485
299
|
*/
|
486
300
|
animationEasing: 'linear',
|
487
|
-
|
488
301
|
/**
|
489
302
|
* Number of pixels to use as a marker for location changes.
|
490
303
|
* @option
|
@@ -492,7 +305,6 @@ Magellan.defaults = {
|
|
492
305
|
* @default 50
|
493
306
|
*/
|
494
307
|
threshold: 50,
|
495
|
-
|
496
308
|
/**
|
497
309
|
* Class applied to the active locations link on the magellan container.
|
498
310
|
* @option
|
@@ -500,7 +312,6 @@ Magellan.defaults = {
|
|
500
312
|
* @default 'is-active'
|
501
313
|
*/
|
502
314
|
activeClass: 'is-active',
|
503
|
-
|
504
315
|
/**
|
505
316
|
* Allows the script to manipulate the url of the current page, and if supported, alter the history.
|
506
317
|
* @option
|
@@ -508,7 +319,6 @@ Magellan.defaults = {
|
|
508
319
|
* @default false
|
509
320
|
*/
|
510
321
|
deepLinking: false,
|
511
|
-
|
512
322
|
/**
|
513
323
|
* Update the browser history with the active link, if deep linking is enabled.
|
514
324
|
* @option
|
@@ -516,7 +326,6 @@ Magellan.defaults = {
|
|
516
326
|
* @default false
|
517
327
|
*/
|
518
328
|
updateHistory: false,
|
519
|
-
|
520
329
|
/**
|
521
330
|
* Number of pixels to offset the scroll of the page on item click if using a sticky nav bar.
|
522
331
|
* @option
|
@@ -533,44 +342,36 @@ Magellan.defaults = {
|
|
533
342
|
/*!****************************************!*\
|
534
343
|
!*** ./js/foundation.util.triggers.js ***!
|
535
344
|
\****************************************/
|
536
|
-
|
537
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
345
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
538
346
|
|
539
|
-
"use strict";
|
540
347
|
__webpack_require__.r(__webpack_exports__);
|
541
|
-
/* harmony export
|
348
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
349
|
+
/* harmony export */ Triggers: function() { return /* binding */ Triggers; }
|
350
|
+
/* harmony export */ });
|
542
351
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
543
352
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
544
353
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
|
545
354
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__);
|
546
355
|
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.motion */ "./foundation.util.motion");
|
547
356
|
/* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__);
|
548
|
-
|
549
|
-
|
550
|
-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
551
|
-
|
552
|
-
|
357
|
+
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); }
|
553
358
|
|
554
359
|
|
555
360
|
|
556
361
|
var MutationObserver = function () {
|
557
362
|
var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
|
558
|
-
|
559
363
|
for (var i = 0; i < prefixes.length; i++) {
|
560
364
|
if ("".concat(prefixes[i], "MutationObserver") in window) {
|
561
365
|
return window["".concat(prefixes[i], "MutationObserver")];
|
562
366
|
}
|
563
367
|
}
|
564
|
-
|
565
368
|
return false;
|
566
369
|
}();
|
567
|
-
|
568
370
|
var triggers = function triggers(el, type) {
|
569
371
|
el.data(type).split(' ').forEach(function (id) {
|
570
372
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id))[type === 'close' ? 'trigger' : 'triggerHandler']("".concat(type, ".zf.trigger"), [el]);
|
571
373
|
});
|
572
374
|
};
|
573
|
-
|
574
375
|
var Triggers = {
|
575
376
|
Listeners: {
|
576
377
|
Basic: {},
|
@@ -584,7 +385,6 @@ Triggers.Listeners.Basic = {
|
|
584
385
|
},
|
585
386
|
closeListener: function closeListener() {
|
586
387
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('close');
|
587
|
-
|
588
388
|
if (id) {
|
589
389
|
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'close');
|
590
390
|
} else {
|
@@ -593,7 +393,6 @@ Triggers.Listeners.Basic = {
|
|
593
393
|
},
|
594
394
|
toggleListener: function toggleListener() {
|
595
395
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle');
|
596
|
-
|
597
396
|
if (id) {
|
598
397
|
triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'toggle');
|
599
398
|
} else {
|
@@ -601,12 +400,12 @@ Triggers.Listeners.Basic = {
|
|
601
400
|
}
|
602
401
|
},
|
603
402
|
closeableListener: function closeableListener(e) {
|
604
|
-
var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
|
403
|
+
var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
|
605
404
|
|
405
|
+
// Only close the first closable element. See https://git.io/zf-7833
|
606
406
|
e.stopPropagation();
|
607
|
-
|
608
407
|
if (animation !== '') {
|
609
|
-
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__
|
408
|
+
_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateOut(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), animation, function () {
|
610
409
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('closed.zf');
|
611
410
|
});
|
612
411
|
} else {
|
@@ -617,39 +416,40 @@ Triggers.Listeners.Basic = {
|
|
617
416
|
var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle-focus');
|
618
417
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id)).triggerHandler('toggle.zf.trigger', [jquery__WEBPACK_IMPORTED_MODULE_0___default()(this)]);
|
619
418
|
}
|
620
|
-
};
|
419
|
+
};
|
621
420
|
|
421
|
+
// Elements with [data-open] will reveal a plugin that supports it when clicked.
|
622
422
|
Triggers.Initializers.addOpenListener = function ($elem) {
|
623
423
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.openListener);
|
624
424
|
$elem.on('click.zf.trigger', '[data-open]', Triggers.Listeners.Basic.openListener);
|
625
|
-
};
|
626
|
-
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
627
|
-
|
425
|
+
};
|
628
426
|
|
427
|
+
// Elements with [data-close] will close a plugin that supports it when clicked.
|
428
|
+
// If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
|
629
429
|
Triggers.Initializers.addCloseListener = function ($elem) {
|
630
430
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.closeListener);
|
631
431
|
$elem.on('click.zf.trigger', '[data-close]', Triggers.Listeners.Basic.closeListener);
|
632
|
-
};
|
633
|
-
|
432
|
+
};
|
634
433
|
|
434
|
+
// Elements with [data-toggle] will toggle a plugin that supports it when clicked.
|
635
435
|
Triggers.Initializers.addToggleListener = function ($elem) {
|
636
436
|
$elem.off('click.zf.trigger', Triggers.Listeners.Basic.toggleListener);
|
637
437
|
$elem.on('click.zf.trigger', '[data-toggle]', Triggers.Listeners.Basic.toggleListener);
|
638
|
-
};
|
639
|
-
|
438
|
+
};
|
640
439
|
|
440
|
+
// Elements with [data-closable] will respond to close.zf.trigger events.
|
641
441
|
Triggers.Initializers.addCloseableListener = function ($elem) {
|
642
442
|
$elem.off('close.zf.trigger', Triggers.Listeners.Basic.closeableListener);
|
643
443
|
$elem.on('close.zf.trigger', '[data-closeable], [data-closable]', Triggers.Listeners.Basic.closeableListener);
|
644
|
-
};
|
645
|
-
|
444
|
+
};
|
646
445
|
|
446
|
+
// Elements with [data-toggle-focus] will respond to coming in and out of focus
|
647
447
|
Triggers.Initializers.addToggleFocusListener = function ($elem) {
|
648
448
|
$elem.off('focus.zf.trigger blur.zf.trigger', Triggers.Listeners.Basic.toggleFocusListener);
|
649
449
|
$elem.on('focus.zf.trigger blur.zf.trigger', '[data-toggle-focus]', Triggers.Listeners.Basic.toggleFocusListener);
|
650
|
-
};
|
651
|
-
|
450
|
+
};
|
652
451
|
|
452
|
+
// More Global/complex listeners and triggers
|
653
453
|
Triggers.Listeners.Global = {
|
654
454
|
resizeListener: function resizeListener($nodes) {
|
655
455
|
if (!MutationObserver) {
|
@@ -657,9 +457,8 @@ Triggers.Listeners.Global = {
|
|
657
457
|
$nodes.each(function () {
|
658
458
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('resizeme.zf.trigger');
|
659
459
|
});
|
660
|
-
}
|
661
|
-
|
662
|
-
|
460
|
+
}
|
461
|
+
//trigger all listening elements and signal a resize event
|
663
462
|
$nodes.attr('data-events', "resize");
|
664
463
|
},
|
665
464
|
scrollListener: function scrollListener($nodes) {
|
@@ -668,9 +467,8 @@ Triggers.Listeners.Global = {
|
|
668
467
|
$nodes.each(function () {
|
669
468
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('scrollme.zf.trigger');
|
670
469
|
});
|
671
|
-
}
|
672
|
-
|
673
|
-
|
470
|
+
}
|
471
|
+
//trigger all listening elements and signal a scroll event
|
674
472
|
$nodes.attr('data-events', "scroll");
|
675
473
|
},
|
676
474
|
closeMeListener: function closeMeListener(e, pluginId) {
|
@@ -678,17 +476,15 @@ Triggers.Listeners.Global = {
|
|
678
476
|
var plugins = jquery__WEBPACK_IMPORTED_MODULE_0___default()("[data-".concat(plugin, "]")).not("[data-yeti-box=\"".concat(pluginId, "\"]"));
|
679
477
|
plugins.each(function () {
|
680
478
|
var _this = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this);
|
681
|
-
|
682
479
|
_this.triggerHandler('close.zf.trigger', [_this]);
|
683
480
|
});
|
684
|
-
}
|
685
|
-
|
481
|
+
}
|
686
482
|
};
|
687
483
|
|
484
|
+
// Global, parses whole document.
|
688
485
|
Triggers.Initializers.addClosemeListener = function (pluginName) {
|
689
486
|
var yetiBoxes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-yeti-box]'),
|
690
|
-
|
691
|
-
|
487
|
+
plugNames = ['dropdown', 'tooltip', 'reveal'];
|
692
488
|
if (pluginName) {
|
693
489
|
if (typeof pluginName === 'string') {
|
694
490
|
plugNames.push(pluginName);
|
@@ -698,7 +494,6 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
|
|
698
494
|
console.error('Plugin names must be strings');
|
699
495
|
}
|
700
496
|
}
|
701
|
-
|
702
497
|
if (yetiBoxes.length) {
|
703
498
|
var listeners = plugNames.map(function (name) {
|
704
499
|
return "closeme.zf.".concat(name);
|
@@ -706,75 +501,63 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
|
|
706
501
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(listeners).on(listeners, Triggers.Listeners.Global.closeMeListener);
|
707
502
|
}
|
708
503
|
};
|
709
|
-
|
710
504
|
function debounceGlobalListener(debounce, trigger, listener) {
|
711
505
|
var timer,
|
712
|
-
|
713
|
-
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).
|
506
|
+
args = Array.prototype.slice.call(arguments, 3);
|
507
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on(trigger, function () {
|
714
508
|
if (timer) {
|
715
509
|
clearTimeout(timer);
|
716
510
|
}
|
717
|
-
|
718
511
|
timer = setTimeout(function () {
|
719
512
|
listener.apply(null, args);
|
720
513
|
}, debounce || 10); //default time to emit scroll event
|
721
514
|
});
|
722
515
|
}
|
723
|
-
|
724
516
|
Triggers.Initializers.addResizeListener = function (debounce) {
|
725
517
|
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-resize]');
|
726
|
-
|
727
518
|
if ($nodes.length) {
|
728
519
|
debounceGlobalListener(debounce, 'resize.zf.trigger', Triggers.Listeners.Global.resizeListener, $nodes);
|
729
520
|
}
|
730
521
|
};
|
731
|
-
|
732
522
|
Triggers.Initializers.addScrollListener = function (debounce) {
|
733
523
|
var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-scroll]');
|
734
|
-
|
735
524
|
if ($nodes.length) {
|
736
525
|
debounceGlobalListener(debounce, 'scroll.zf.trigger', Triggers.Listeners.Global.scrollListener, $nodes);
|
737
526
|
}
|
738
527
|
};
|
739
|
-
|
740
528
|
Triggers.Initializers.addMutationEventsListener = function ($elem) {
|
741
529
|
if (!MutationObserver) {
|
742
530
|
return false;
|
743
531
|
}
|
532
|
+
var $nodes = $elem.find('[data-resize], [data-scroll], [data-mutate]');
|
744
533
|
|
745
|
-
|
746
|
-
|
534
|
+
//element callback
|
747
535
|
var listeningElementsMutation = function listeningElementsMutation(mutationRecordsList) {
|
748
|
-
var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
|
536
|
+
var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
|
749
537
|
|
538
|
+
//trigger the event handler for the element depending on type
|
750
539
|
switch (mutationRecordsList[0].type) {
|
751
540
|
case "attributes":
|
752
541
|
if ($target.attr("data-events") === "scroll" && mutationRecordsList[0].attributeName === "data-events") {
|
753
542
|
$target.triggerHandler('scrollme.zf.trigger', [$target, window.pageYOffset]);
|
754
543
|
}
|
755
|
-
|
756
544
|
if ($target.attr("data-events") === "resize" && mutationRecordsList[0].attributeName === "data-events") {
|
757
545
|
$target.triggerHandler('resizeme.zf.trigger', [$target]);
|
758
546
|
}
|
759
|
-
|
760
547
|
if (mutationRecordsList[0].attributeName === "style") {
|
761
548
|
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
762
549
|
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
763
550
|
}
|
764
|
-
|
765
551
|
break;
|
766
|
-
|
767
552
|
case "childList":
|
768
553
|
$target.closest("[data-mutate]").attr("data-events", "mutate");
|
769
554
|
$target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
|
770
555
|
break;
|
771
|
-
|
772
556
|
default:
|
773
557
|
return false;
|
774
558
|
//nothing
|
775
559
|
}
|
776
560
|
};
|
777
|
-
|
778
561
|
if ($nodes.length) {
|
779
562
|
//for each element that needs to listen for resizing, scrolling, or mutation add a single observer
|
780
563
|
for (var i = 0; i <= $nodes.length - 1; i++) {
|
@@ -789,7 +572,6 @@ Triggers.Initializers.addMutationEventsListener = function ($elem) {
|
|
789
572
|
}
|
790
573
|
}
|
791
574
|
};
|
792
|
-
|
793
575
|
Triggers.Initializers.addSimpleListeners = function () {
|
794
576
|
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
795
577
|
Triggers.Initializers.addOpenListener($document);
|
@@ -798,44 +580,58 @@ Triggers.Initializers.addSimpleListeners = function () {
|
|
798
580
|
Triggers.Initializers.addCloseableListener($document);
|
799
581
|
Triggers.Initializers.addToggleFocusListener($document);
|
800
582
|
};
|
801
|
-
|
802
583
|
Triggers.Initializers.addGlobalListeners = function () {
|
803
584
|
var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
|
804
585
|
Triggers.Initializers.addMutationEventsListener($document);
|
805
|
-
Triggers.Initializers.addResizeListener();
|
586
|
+
Triggers.Initializers.addResizeListener(250);
|
806
587
|
Triggers.Initializers.addScrollListener();
|
807
588
|
Triggers.Initializers.addClosemeListener();
|
808
589
|
};
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
if ($.triggersInitialized !== true) {
|
590
|
+
Triggers.init = function (__, Foundation) {
|
591
|
+
(0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
|
592
|
+
if ((jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) !== true) {
|
813
593
|
Triggers.Initializers.addSimpleListeners();
|
814
594
|
Triggers.Initializers.addGlobalListeners();
|
815
|
-
|
595
|
+
(jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) = true;
|
816
596
|
}
|
817
597
|
});
|
818
|
-
|
819
598
|
if (Foundation) {
|
820
|
-
Foundation.Triggers = Triggers;
|
821
|
-
|
599
|
+
Foundation.Triggers = Triggers;
|
600
|
+
// Legacy included to be backwards compatible for now.
|
822
601
|
Foundation.IHearYou = Triggers.Initializers.addGlobalListeners;
|
823
602
|
}
|
824
603
|
};
|
825
604
|
|
826
605
|
|
606
|
+
/***/ }),
|
607
|
+
|
608
|
+
/***/ "./foundation.core":
|
609
|
+
/*!****************************************************************************************************************************************************************!*\
|
610
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
611
|
+
\****************************************************************************************************************************************************************/
|
612
|
+
/***/ (function(module) {
|
613
|
+
|
614
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
827
615
|
|
828
616
|
/***/ }),
|
829
617
|
|
830
|
-
/***/
|
831
|
-
|
832
|
-
!***
|
833
|
-
|
834
|
-
|
835
|
-
/***/ (function(module, exports, __webpack_require__) {
|
618
|
+
/***/ "./foundation.smoothScroll":
|
619
|
+
/*!************************************************************************************************************************************************************************************************!*\
|
620
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.smoothScroll"],"amd":"./foundation.smoothScroll","commonjs":"./foundation.smoothScroll","commonjs2":"./foundation.smoothScroll"} ***!
|
621
|
+
\************************************************************************************************************************************************************************************************/
|
622
|
+
/***/ (function(module) {
|
836
623
|
|
837
|
-
module.exports =
|
624
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_smoothScroll__;
|
838
625
|
|
626
|
+
/***/ }),
|
627
|
+
|
628
|
+
/***/ "./foundation.util.motion":
|
629
|
+
/*!********************************************************************************************************************************************************************************************!*\
|
630
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
|
631
|
+
\********************************************************************************************************************************************************************************************/
|
632
|
+
/***/ (function(module) {
|
633
|
+
|
634
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
|
839
635
|
|
840
636
|
/***/ }),
|
841
637
|
|
@@ -843,13 +639,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
|
|
843
639
|
/*!********************************************************************************************!*\
|
844
640
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
845
641
|
\********************************************************************************************/
|
846
|
-
|
847
|
-
/***/ (function(module, exports) {
|
642
|
+
/***/ (function(module) {
|
848
643
|
|
849
644
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
850
645
|
|
851
646
|
/***/ })
|
852
647
|
|
853
|
-
/******/
|
648
|
+
/******/ });
|
649
|
+
/************************************************************************/
|
650
|
+
/******/ // The module cache
|
651
|
+
/******/ var __webpack_module_cache__ = {};
|
652
|
+
/******/
|
653
|
+
/******/ // The require function
|
654
|
+
/******/ function __webpack_require__(moduleId) {
|
655
|
+
/******/ // Check if module is in cache
|
656
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
657
|
+
/******/ if (cachedModule !== undefined) {
|
658
|
+
/******/ return cachedModule.exports;
|
659
|
+
/******/ }
|
660
|
+
/******/ // Create a new module (and put it into the cache)
|
661
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
662
|
+
/******/ // no module.id needed
|
663
|
+
/******/ // no module.loaded needed
|
664
|
+
/******/ exports: {}
|
665
|
+
/******/ };
|
666
|
+
/******/
|
667
|
+
/******/ // Execute the module function
|
668
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
669
|
+
/******/
|
670
|
+
/******/ // Return the exports of the module
|
671
|
+
/******/ return module.exports;
|
672
|
+
/******/ }
|
673
|
+
/******/
|
674
|
+
/************************************************************************/
|
675
|
+
/******/ /* webpack/runtime/compat get default export */
|
676
|
+
/******/ !function() {
|
677
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
678
|
+
/******/ __webpack_require__.n = function(module) {
|
679
|
+
/******/ var getter = module && module.__esModule ?
|
680
|
+
/******/ function() { return module['default']; } :
|
681
|
+
/******/ function() { return module; };
|
682
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
683
|
+
/******/ return getter;
|
684
|
+
/******/ };
|
685
|
+
/******/ }();
|
686
|
+
/******/
|
687
|
+
/******/ /* webpack/runtime/define property getters */
|
688
|
+
/******/ !function() {
|
689
|
+
/******/ // define getter functions for harmony exports
|
690
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
691
|
+
/******/ for(var key in definition) {
|
692
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
693
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
694
|
+
/******/ }
|
695
|
+
/******/ }
|
696
|
+
/******/ };
|
697
|
+
/******/ }();
|
698
|
+
/******/
|
699
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
700
|
+
/******/ !function() {
|
701
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
702
|
+
/******/ }();
|
703
|
+
/******/
|
704
|
+
/******/ /* webpack/runtime/make namespace object */
|
705
|
+
/******/ !function() {
|
706
|
+
/******/ // define __esModule on exports
|
707
|
+
/******/ __webpack_require__.r = function(exports) {
|
708
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
709
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
710
|
+
/******/ }
|
711
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
712
|
+
/******/ };
|
713
|
+
/******/ }();
|
714
|
+
/******/
|
715
|
+
/************************************************************************/
|
716
|
+
var __webpack_exports__ = {};
|
717
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
718
|
+
!function() {
|
719
|
+
/*!***************************************************!*\
|
720
|
+
!*** ./js/entries/plugins/foundation.magellan.js ***!
|
721
|
+
\***************************************************/
|
722
|
+
__webpack_require__.r(__webpack_exports__);
|
723
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
724
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
|
725
|
+
/* harmony export */ Magellan: function() { return /* reexport safe */ _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__.Magellan; }
|
726
|
+
/* harmony export */ });
|
727
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
728
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
729
|
+
/* harmony import */ var _foundation_magellan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.magellan */ "./js/foundation.magellan.js");
|
730
|
+
|
731
|
+
|
732
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_magellan__WEBPACK_IMPORTED_MODULE_1__.Magellan, 'Magellan');
|
733
|
+
|
734
|
+
}();
|
735
|
+
/******/ return __webpack_exports__;
|
736
|
+
/******/ })()
|
737
|
+
;
|
854
738
|
});
|
855
739
|
//# sourceMappingURL=foundation.magellan.js.map
|