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,194 +1,32 @@
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
-
module.exports = factory(require("./foundation.
|
3
|
+
module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.dropdownMenu"), require("./foundation.drilldown"), require("./foundation.accordionMenu"));
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
5
|
-
define(["./foundation.
|
5
|
+
define(["./foundation.core", "jquery", "./foundation.util.mediaQuery", "./foundation.dropdownMenu", "./foundation.drilldown", "./foundation.accordionMenu"], factory);
|
6
6
|
else if(typeof exports === 'object')
|
7
|
-
exports["
|
7
|
+
exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.dropdownMenu"), require("./foundation.drilldown"), require("./foundation.accordionMenu"));
|
8
8
|
else
|
9
|
-
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.responsiveMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.
|
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 = 12);
|
95
|
-
/******/ })
|
96
|
-
/************************************************************************/
|
97
|
-
/******/ ({
|
98
|
-
|
99
|
-
/***/ "./foundation.accordionMenu":
|
100
|
-
/*!****************************************************************************************************************************************************************************************************!*\
|
101
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.accordionMenu"],"amd":"./foundation.accordionMenu","commonjs":"./foundation.accordionMenu","commonjs2":"./foundation.accordionMenu"} ***!
|
102
|
-
\****************************************************************************************************************************************************************************************************/
|
103
|
-
/*! no static exports found */
|
104
|
-
/***/ (function(module, exports) {
|
105
|
-
|
106
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_accordionMenu__;
|
107
|
-
|
108
|
-
/***/ }),
|
109
|
-
|
110
|
-
/***/ "./foundation.core":
|
111
|
-
/*!****************************************************************************************************************************************************************!*\
|
112
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
113
|
-
\****************************************************************************************************************************************************************/
|
114
|
-
/*! no static exports found */
|
115
|
-
/***/ (function(module, exports) {
|
116
|
-
|
117
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
118
|
-
|
119
|
-
/***/ }),
|
120
|
-
|
121
|
-
/***/ "./foundation.drilldown":
|
122
|
-
/*!************************************************************************************************************************************************************************************!*\
|
123
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.drilldown"],"amd":"./foundation.drilldown","commonjs":"./foundation.drilldown","commonjs2":"./foundation.drilldown"} ***!
|
124
|
-
\************************************************************************************************************************************************************************************/
|
125
|
-
/*! no static exports found */
|
126
|
-
/***/ (function(module, exports) {
|
127
|
-
|
128
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_drilldown__;
|
129
|
-
|
130
|
-
/***/ }),
|
131
|
-
|
132
|
-
/***/ "./foundation.dropdownMenu":
|
133
|
-
/*!************************************************************************************************************************************************************************************************!*\
|
134
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.dropdownMenu"],"amd":"./foundation.dropdownMenu","commonjs":"./foundation.dropdownMenu","commonjs2":"./foundation.dropdownMenu"} ***!
|
135
|
-
\************************************************************************************************************************************************************************************************/
|
136
|
-
/*! no static exports found */
|
137
|
-
/***/ (function(module, exports) {
|
138
|
-
|
139
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_dropdownMenu__;
|
140
|
-
|
141
|
-
/***/ }),
|
142
|
-
|
143
|
-
/***/ "./foundation.util.mediaQuery":
|
144
|
-
/*!************************************************************************************************************************************************************************************************************!*\
|
145
|
-
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
|
146
|
-
\************************************************************************************************************************************************************************************************************/
|
147
|
-
/*! no static exports found */
|
148
|
-
/***/ (function(module, exports) {
|
149
|
-
|
150
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
|
151
|
-
|
152
|
-
/***/ }),
|
153
|
-
|
154
|
-
/***/ "./js/entries/plugins/foundation.responsiveMenu.js":
|
155
|
-
/*!*********************************************************!*\
|
156
|
-
!*** ./js/entries/plugins/foundation.responsiveMenu.js ***!
|
157
|
-
\*********************************************************/
|
158
|
-
/*! exports provided: Foundation, ResponsiveMenu */
|
159
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
160
|
-
|
161
|
-
"use strict";
|
162
|
-
__webpack_require__.r(__webpack_exports__);
|
163
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
164
|
-
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
165
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
|
166
|
-
|
167
|
-
/* harmony import */ var _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.responsiveMenu */ "./js/foundation.responsiveMenu.js");
|
168
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResponsiveMenu", function() { return _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__["ResponsiveMenu"]; });
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
_foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__["ResponsiveMenu"], 'ResponsiveMenu');
|
173
|
-
|
174
|
-
|
175
|
-
/***/ }),
|
9
|
+
root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.responsiveMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.dropdownMenu"], root["__FOUNDATION_EXTERNAL__"]["foundation.drilldown"], root["__FOUNDATION_EXTERNAL__"]["foundation.accordionMenu"]);
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__, __WEBPACK_EXTERNAL_MODULE__foundation_dropdownMenu__, __WEBPACK_EXTERNAL_MODULE__foundation_drilldown__, __WEBPACK_EXTERNAL_MODULE__foundation_accordionMenu__) {
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
176
14
|
|
177
15
|
/***/ "./js/foundation.responsiveMenu.js":
|
178
16
|
/*!*****************************************!*\
|
179
17
|
!*** ./js/foundation.responsiveMenu.js ***!
|
180
18
|
\*****************************************/
|
181
|
-
|
182
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
19
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
183
20
|
|
184
|
-
"use strict";
|
185
21
|
__webpack_require__.r(__webpack_exports__);
|
186
|
-
/* harmony export
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ ResponsiveMenu: function() { return /* binding */ ResponsiveMenu; }
|
24
|
+
/* harmony export */ });
|
187
25
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
|
188
26
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
189
27
|
/* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.mediaQuery */ "./foundation.util.mediaQuery");
|
190
28
|
/* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__);
|
191
|
-
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.
|
29
|
+
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
|
192
30
|
/* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__);
|
193
31
|
/* harmony import */ var _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.dropdownMenu */ "./foundation.dropdownMenu");
|
194
32
|
/* harmony import */ var _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_3__);
|
@@ -196,26 +34,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
196
34
|
/* harmony import */ var _foundation_drilldown__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_foundation_drilldown__WEBPACK_IMPORTED_MODULE_4__);
|
197
35
|
/* harmony import */ var _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation.accordionMenu */ "./foundation.accordionMenu");
|
198
36
|
/* harmony import */ var _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_5__);
|
199
|
-
|
200
|
-
|
201
|
-
function
|
202
|
-
|
203
|
-
function
|
204
|
-
|
205
|
-
function
|
206
|
-
|
207
|
-
function
|
208
|
-
|
209
|
-
function
|
210
|
-
|
211
|
-
function
|
212
|
-
|
213
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
214
|
-
|
215
|
-
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); }
|
216
|
-
|
217
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
218
|
-
|
37
|
+
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); }
|
38
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
39
|
+
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); } }
|
40
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
41
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
42
|
+
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); }
|
43
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
44
|
+
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); }
|
45
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
46
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
47
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
48
|
+
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); }
|
49
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
219
50
|
|
220
51
|
|
221
52
|
|
@@ -226,17 +57,19 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
226
57
|
var MenuPlugins = {
|
227
58
|
dropdown: {
|
228
59
|
cssClass: 'dropdown',
|
229
|
-
plugin: _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_3__
|
60
|
+
plugin: _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_3__.DropdownMenu
|
230
61
|
},
|
231
62
|
drilldown: {
|
232
63
|
cssClass: 'drilldown',
|
233
|
-
plugin: _foundation_drilldown__WEBPACK_IMPORTED_MODULE_4__
|
64
|
+
plugin: _foundation_drilldown__WEBPACK_IMPORTED_MODULE_4__.Drilldown
|
234
65
|
},
|
235
66
|
accordion: {
|
236
67
|
cssClass: 'accordion-menu',
|
237
|
-
plugin: _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_5__
|
68
|
+
plugin: _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_5__.AccordionMenu
|
238
69
|
}
|
239
|
-
};
|
70
|
+
};
|
71
|
+
|
72
|
+
// import "foundation.util.triggers.js";
|
240
73
|
|
241
74
|
/**
|
242
75
|
* ResponsiveMenu module.
|
@@ -244,21 +77,15 @@ var MenuPlugins = {
|
|
244
77
|
* @requires foundation.util.triggers
|
245
78
|
* @requires foundation.util.mediaQuery
|
246
79
|
*/
|
247
|
-
|
248
|
-
var ResponsiveMenu =
|
249
|
-
/*#__PURE__*/
|
250
|
-
function (_Plugin) {
|
251
|
-
_inherits(ResponsiveMenu, _Plugin);
|
252
|
-
|
80
|
+
var ResponsiveMenu = /*#__PURE__*/function (_Plugin) {
|
253
81
|
function ResponsiveMenu() {
|
254
82
|
_classCallCheck(this, ResponsiveMenu);
|
255
|
-
|
256
|
-
return _possibleConstructorReturn(this, _getPrototypeOf(ResponsiveMenu).apply(this, arguments));
|
83
|
+
return _callSuper(this, ResponsiveMenu, arguments);
|
257
84
|
}
|
258
|
-
|
259
|
-
_createClass(ResponsiveMenu, [{
|
85
|
+
_inherits(ResponsiveMenu, _Plugin);
|
86
|
+
return _createClass(ResponsiveMenu, [{
|
260
87
|
key: "_setup",
|
261
|
-
|
88
|
+
value:
|
262
89
|
/**
|
263
90
|
* Creates a new instance of a responsive menu.
|
264
91
|
* @class
|
@@ -267,7 +94,7 @@ function (_Plugin) {
|
|
267
94
|
* @param {jQuery} element - jQuery object to make into a dropdown menu.
|
268
95
|
* @param {Object} options - Overrides to the default plugin settings.
|
269
96
|
*/
|
270
|
-
|
97
|
+
function _setup(element) {
|
271
98
|
this.$element = jquery__WEBPACK_IMPORTED_MODULE_0___default()(element);
|
272
99
|
this.rules = this.$element.data('responsive-menu');
|
273
100
|
this.currentMq = null;
|
@@ -275,100 +102,100 @@ function (_Plugin) {
|
|
275
102
|
this.className = 'ResponsiveMenu'; // ie9 back compat
|
276
103
|
|
277
104
|
this._init();
|
278
|
-
|
279
105
|
this._events();
|
280
106
|
}
|
107
|
+
|
281
108
|
/**
|
282
109
|
* Initializes the Menu by parsing the classes from the 'data-ResponsiveMenu' attribute on the element.
|
283
110
|
* @function
|
284
111
|
* @private
|
285
112
|
*/
|
286
|
-
|
287
113
|
}, {
|
288
114
|
key: "_init",
|
289
115
|
value: function _init() {
|
290
|
-
_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__
|
291
|
-
|
292
|
-
|
116
|
+
_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery._init();
|
117
|
+
// The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
|
293
118
|
if (typeof this.rules === 'string') {
|
294
|
-
var rulesTree = {};
|
119
|
+
var rulesTree = {};
|
295
120
|
|
296
|
-
|
121
|
+
// Parse rules from "classes" pulled from data attribute
|
122
|
+
var rules = this.rules.split(' ');
|
297
123
|
|
124
|
+
// Iterate through every rule found
|
298
125
|
for (var i = 0; i < rules.length; i++) {
|
299
126
|
var rule = rules[i].split('-');
|
300
127
|
var ruleSize = rule.length > 1 ? rule[0] : 'small';
|
301
128
|
var rulePlugin = rule.length > 1 ? rule[1] : rule[0];
|
302
|
-
|
303
129
|
if (MenuPlugins[rulePlugin] !== null) {
|
304
130
|
rulesTree[ruleSize] = MenuPlugins[rulePlugin];
|
305
131
|
}
|
306
132
|
}
|
307
|
-
|
308
133
|
this.rules = rulesTree;
|
309
134
|
}
|
310
|
-
|
311
|
-
if (!jquery__WEBPACK_IMPORTED_MODULE_0___default.a.isEmptyObject(this.rules)) {
|
135
|
+
if (!jquery__WEBPACK_IMPORTED_MODULE_0___default().isEmptyObject(this.rules)) {
|
312
136
|
this._checkMediaQueries();
|
313
|
-
}
|
314
|
-
|
315
|
-
|
316
|
-
this.$element.attr('data-mutate', this.$element.attr('data-mutate') || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"])(6, 'responsive-menu'));
|
137
|
+
}
|
138
|
+
// Add data-mutate since children may need it.
|
139
|
+
this.$element.attr('data-mutate', this.$element.attr('data-mutate') || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.GetYoDigits)(6, 'responsive-menu'));
|
317
140
|
}
|
141
|
+
|
318
142
|
/**
|
319
143
|
* Initializes events for the Menu.
|
320
144
|
* @function
|
321
145
|
* @private
|
322
146
|
*/
|
323
|
-
|
324
147
|
}, {
|
325
148
|
key: "_events",
|
326
149
|
value: function _events() {
|
327
150
|
var _this = this;
|
328
|
-
|
329
151
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on('changed.zf.mediaquery', function () {
|
330
152
|
_this._checkMediaQueries();
|
331
|
-
});
|
153
|
+
});
|
154
|
+
// $(window).on('resize.zf.ResponsiveMenu', function() {
|
332
155
|
// _this._checkMediaQueries();
|
333
156
|
// });
|
334
157
|
}
|
158
|
+
|
335
159
|
/**
|
336
160
|
* Checks the current screen width against available media queries. If the media query has changed, and the plugin needed has changed, the plugins will swap out.
|
337
161
|
* @function
|
338
162
|
* @private
|
339
163
|
*/
|
340
|
-
|
341
164
|
}, {
|
342
165
|
key: "_checkMediaQueries",
|
343
166
|
value: function _checkMediaQueries() {
|
344
167
|
var matchedMq,
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__["MediaQuery"].atLeast(key)) {
|
168
|
+
_this = this;
|
169
|
+
// Iterate through each rule and find the last matching rule
|
170
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().each(this.rules, function (key) {
|
171
|
+
if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.atLeast(key)) {
|
350
172
|
matchedMq = key;
|
351
173
|
}
|
352
|
-
});
|
174
|
+
});
|
353
175
|
|
354
|
-
|
176
|
+
// No match? No dice
|
177
|
+
if (!matchedMq) return;
|
355
178
|
|
356
|
-
|
179
|
+
// Plugin already initialized? We good
|
180
|
+
if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return;
|
357
181
|
|
358
|
-
|
182
|
+
// Remove existing plugin-specific CSS classes
|
183
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default().each(MenuPlugins, function (key, value) {
|
359
184
|
_this.$element.removeClass(value.cssClass);
|
360
|
-
});
|
185
|
+
});
|
361
186
|
|
362
|
-
|
187
|
+
// Add the CSS class for the new plugin
|
188
|
+
this.$element.addClass(this.rules[matchedMq].cssClass);
|
363
189
|
|
190
|
+
// Create an instance of the new plugin
|
364
191
|
if (this.currentPlugin) this.currentPlugin.destroy();
|
365
192
|
this.currentPlugin = new this.rules[matchedMq].plugin(this.$element, {});
|
366
193
|
}
|
194
|
+
|
367
195
|
/**
|
368
196
|
* Destroys the instance of the current plugin on this element, as well as the window resize handler that switches the plugins out.
|
369
197
|
* @function
|
370
198
|
*/
|
371
|
-
|
372
199
|
}, {
|
373
200
|
key: "_destroy",
|
374
201
|
value: function _destroy() {
|
@@ -376,24 +203,59 @@ function (_Plugin) {
|
|
376
203
|
jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off('.zf.ResponsiveMenu');
|
377
204
|
}
|
378
205
|
}]);
|
206
|
+
}(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.Plugin);
|
207
|
+
ResponsiveMenu.defaults = {};
|
379
208
|
|
380
|
-
return ResponsiveMenu;
|
381
|
-
}(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["Plugin"]);
|
382
209
|
|
383
|
-
|
210
|
+
/***/ }),
|
211
|
+
|
212
|
+
/***/ "./foundation.accordionMenu":
|
213
|
+
/*!****************************************************************************************************************************************************************************************************!*\
|
214
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.accordionMenu"],"amd":"./foundation.accordionMenu","commonjs":"./foundation.accordionMenu","commonjs2":"./foundation.accordionMenu"} ***!
|
215
|
+
\****************************************************************************************************************************************************************************************************/
|
216
|
+
/***/ (function(module) {
|
384
217
|
|
218
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_accordionMenu__;
|
385
219
|
|
386
220
|
/***/ }),
|
387
221
|
|
388
|
-
/***/
|
389
|
-
|
390
|
-
!***
|
391
|
-
|
392
|
-
|
393
|
-
/***/ (function(module, exports, __webpack_require__) {
|
222
|
+
/***/ "./foundation.core":
|
223
|
+
/*!****************************************************************************************************************************************************************!*\
|
224
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
|
225
|
+
\****************************************************************************************************************************************************************/
|
226
|
+
/***/ (function(module) {
|
394
227
|
|
395
|
-
module.exports =
|
228
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
|
396
229
|
|
230
|
+
/***/ }),
|
231
|
+
|
232
|
+
/***/ "./foundation.drilldown":
|
233
|
+
/*!************************************************************************************************************************************************************************************!*\
|
234
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.drilldown"],"amd":"./foundation.drilldown","commonjs":"./foundation.drilldown","commonjs2":"./foundation.drilldown"} ***!
|
235
|
+
\************************************************************************************************************************************************************************************/
|
236
|
+
/***/ (function(module) {
|
237
|
+
|
238
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_drilldown__;
|
239
|
+
|
240
|
+
/***/ }),
|
241
|
+
|
242
|
+
/***/ "./foundation.dropdownMenu":
|
243
|
+
/*!************************************************************************************************************************************************************************************************!*\
|
244
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.dropdownMenu"],"amd":"./foundation.dropdownMenu","commonjs":"./foundation.dropdownMenu","commonjs2":"./foundation.dropdownMenu"} ***!
|
245
|
+
\************************************************************************************************************************************************************************************************/
|
246
|
+
/***/ (function(module) {
|
247
|
+
|
248
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_dropdownMenu__;
|
249
|
+
|
250
|
+
/***/ }),
|
251
|
+
|
252
|
+
/***/ "./foundation.util.mediaQuery":
|
253
|
+
/*!************************************************************************************************************************************************************************************************************!*\
|
254
|
+
!*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
|
255
|
+
\************************************************************************************************************************************************************************************************************/
|
256
|
+
/***/ (function(module) {
|
257
|
+
|
258
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
|
397
259
|
|
398
260
|
/***/ }),
|
399
261
|
|
@@ -401,13 +263,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
|
|
401
263
|
/*!********************************************************************************************!*\
|
402
264
|
!*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
|
403
265
|
\********************************************************************************************/
|
404
|
-
|
405
|
-
/***/ (function(module, exports) {
|
266
|
+
/***/ (function(module) {
|
406
267
|
|
407
268
|
module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
|
408
269
|
|
409
270
|
/***/ })
|
410
271
|
|
411
|
-
/******/
|
272
|
+
/******/ });
|
273
|
+
/************************************************************************/
|
274
|
+
/******/ // The module cache
|
275
|
+
/******/ var __webpack_module_cache__ = {};
|
276
|
+
/******/
|
277
|
+
/******/ // The require function
|
278
|
+
/******/ function __webpack_require__(moduleId) {
|
279
|
+
/******/ // Check if module is in cache
|
280
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
281
|
+
/******/ if (cachedModule !== undefined) {
|
282
|
+
/******/ return cachedModule.exports;
|
283
|
+
/******/ }
|
284
|
+
/******/ // Create a new module (and put it into the cache)
|
285
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
286
|
+
/******/ // no module.id needed
|
287
|
+
/******/ // no module.loaded needed
|
288
|
+
/******/ exports: {}
|
289
|
+
/******/ };
|
290
|
+
/******/
|
291
|
+
/******/ // Execute the module function
|
292
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
293
|
+
/******/
|
294
|
+
/******/ // Return the exports of the module
|
295
|
+
/******/ return module.exports;
|
296
|
+
/******/ }
|
297
|
+
/******/
|
298
|
+
/************************************************************************/
|
299
|
+
/******/ /* webpack/runtime/compat get default export */
|
300
|
+
/******/ !function() {
|
301
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
302
|
+
/******/ __webpack_require__.n = function(module) {
|
303
|
+
/******/ var getter = module && module.__esModule ?
|
304
|
+
/******/ function() { return module['default']; } :
|
305
|
+
/******/ function() { return module; };
|
306
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
307
|
+
/******/ return getter;
|
308
|
+
/******/ };
|
309
|
+
/******/ }();
|
310
|
+
/******/
|
311
|
+
/******/ /* webpack/runtime/define property getters */
|
312
|
+
/******/ !function() {
|
313
|
+
/******/ // define getter functions for harmony exports
|
314
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
315
|
+
/******/ for(var key in definition) {
|
316
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
317
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
318
|
+
/******/ }
|
319
|
+
/******/ }
|
320
|
+
/******/ };
|
321
|
+
/******/ }();
|
322
|
+
/******/
|
323
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
324
|
+
/******/ !function() {
|
325
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
326
|
+
/******/ }();
|
327
|
+
/******/
|
328
|
+
/******/ /* webpack/runtime/make namespace object */
|
329
|
+
/******/ !function() {
|
330
|
+
/******/ // define __esModule on exports
|
331
|
+
/******/ __webpack_require__.r = function(exports) {
|
332
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
333
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
334
|
+
/******/ }
|
335
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
336
|
+
/******/ };
|
337
|
+
/******/ }();
|
338
|
+
/******/
|
339
|
+
/************************************************************************/
|
340
|
+
var __webpack_exports__ = {};
|
341
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
342
|
+
!function() {
|
343
|
+
/*!*********************************************************!*\
|
344
|
+
!*** ./js/entries/plugins/foundation.responsiveMenu.js ***!
|
345
|
+
\*********************************************************/
|
346
|
+
__webpack_require__.r(__webpack_exports__);
|
347
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
348
|
+
/* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
|
349
|
+
/* harmony export */ ResponsiveMenu: function() { return /* reexport safe */ _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__.ResponsiveMenu; }
|
350
|
+
/* harmony export */ });
|
351
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
|
352
|
+
/* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
|
353
|
+
/* harmony import */ var _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.responsiveMenu */ "./js/foundation.responsiveMenu.js");
|
354
|
+
|
355
|
+
|
356
|
+
_foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_1__.ResponsiveMenu, 'ResponsiveMenu');
|
357
|
+
|
358
|
+
}();
|
359
|
+
/******/ return __webpack_exports__;
|
360
|
+
/******/ })()
|
361
|
+
;
|
412
362
|
});
|
413
363
|
//# sourceMappingURL=foundation.responsiveMenu.js.map
|