foundation-rails 6.6.2.0 → 6.9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +2 -0
  4. data/Appraisals +4 -0
  5. data/Gemfile +1 -1
  6. data/Gemfile.lock +198 -145
  7. data/bower.json +3 -3
  8. data/foundation-rails.gemspec +4 -4
  9. data/gemfiles/rails_7.1.gemfile +10 -0
  10. data/gemfiles/rails_7.1.gemfile.lock +261 -0
  11. data/lib/foundation/rails/version.rb +1 -1
  12. data/lib/generators/foundation/templates/_settings.scss +32 -28
  13. data/vendor/assets/js/foundation.cjs.js +1996 -3162
  14. data/vendor/assets/js/foundation.cjs.js.map +1 -1
  15. data/vendor/assets/js/foundation.es6.js +385 -292
  16. data/vendor/assets/js/foundation.es6.js.map +1 -1
  17. data/vendor/assets/js/foundation.esm.js +1663 -2832
  18. data/vendor/assets/js/foundation.esm.js.map +1 -1
  19. data/vendor/assets/js/foundation.js +2440 -3870
  20. data/vendor/assets/js/foundation.js.map +1 -1
  21. data/vendor/assets/js/foundation.min.js +1 -1
  22. data/vendor/assets/js/foundation.min.js.map +1 -1
  23. data/vendor/assets/js/plugins/foundation.abide.js +238 -344
  24. data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
  25. data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
  26. data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
  27. data/vendor/assets/js/plugins/foundation.accordion.js +197 -275
  28. data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
  29. data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
  30. data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
  31. data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -260
  32. data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
  33. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
  34. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
  35. data/vendor/assets/js/plugins/foundation.core.js +308 -447
  36. data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
  37. data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
  38. data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
  39. data/vendor/assets/js/plugins/foundation.drilldown.js +258 -358
  40. data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
  41. data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
  42. data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
  43. data/vendor/assets/js/plugins/foundation.dropdown.js +289 -457
  44. data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
  45. data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
  46. data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
  47. data/vendor/assets/js/plugins/foundation.dropdownMenu.js +246 -346
  48. data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
  49. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
  50. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
  51. data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
  52. data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
  53. data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
  54. data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
  55. data/vendor/assets/js/plugins/foundation.interchange.js +227 -326
  56. data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
  57. data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
  58. data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
  59. data/vendor/assets/js/plugins/foundation.magellan.js +225 -336
  60. data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
  61. data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
  62. data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
  63. data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
  64. data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
  65. data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
  66. data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
  67. data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
  68. data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
  69. data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
  70. data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
  71. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -278
  72. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
  73. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
  74. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
  75. data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
  76. data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
  77. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
  78. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
  79. data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
  80. data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
  81. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
  82. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
  83. data/vendor/assets/js/plugins/foundation.reveal.js +284 -444
  84. data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
  85. data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
  86. data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
  87. data/vendor/assets/js/plugins/foundation.slider.js +322 -483
  88. data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
  89. data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
  90. data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
  91. data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
  92. data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
  93. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
  94. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
  95. data/vendor/assets/js/plugins/foundation.sticky.js +253 -394
  96. data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
  97. data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
  98. data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
  99. data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
  100. data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
  101. data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
  102. data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
  103. data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
  104. data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
  105. data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
  106. data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
  107. data/vendor/assets/js/plugins/foundation.tooltip.js +275 -434
  108. data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
  109. data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
  110. data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
  111. data/vendor/assets/js/plugins/foundation.util.box.js +130 -186
  112. data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
  113. data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
  114. data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
  115. data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
  116. data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
  117. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
  118. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
  119. data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
  120. data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
  121. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
  122. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
  123. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
  124. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
  125. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
  126. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
  127. data/vendor/assets/js/plugins/foundation.util.motion.js +123 -161
  128. data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
  129. data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
  130. data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
  131. data/vendor/assets/js/plugins/foundation.util.nest.js +123 -160
  132. data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
  133. data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
  134. data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
  135. data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
  136. data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
  137. data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
  138. data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
  139. data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
  140. data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
  141. data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
  142. data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
  143. data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
  144. data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
  145. data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
  146. data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
  147. data/vendor/assets/scss/_global.scss +18 -5
  148. data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
  149. data/vendor/assets/scss/components/_badge.scss +1 -1
  150. data/vendor/assets/scss/components/_breadcrumbs.scss +2 -1
  151. data/vendor/assets/scss/components/_button-group.scss +13 -8
  152. data/vendor/assets/scss/components/_button.scss +13 -13
  153. data/vendor/assets/scss/components/_callout.scss +2 -2
  154. data/vendor/assets/scss/components/_close-button.scss +5 -4
  155. data/vendor/assets/scss/components/_dropdown-menu.scss +1 -1
  156. data/vendor/assets/scss/components/_label.scss +1 -1
  157. data/vendor/assets/scss/components/_menu.scss +54 -19
  158. data/vendor/assets/scss/components/_off-canvas.scss +18 -16
  159. data/vendor/assets/scss/components/_orbit.scss +3 -3
  160. data/vendor/assets/scss/components/_pagination.scss +1 -1
  161. data/vendor/assets/scss/components/_progress-bar.scss +1 -1
  162. data/vendor/assets/scss/components/_responsive-embed.scss +1 -1
  163. data/vendor/assets/scss/components/_reveal.scss +8 -3
  164. data/vendor/assets/scss/components/_slider.scss +5 -2
  165. data/vendor/assets/scss/components/_switch.scss +25 -2
  166. data/vendor/assets/scss/components/_table.scss +8 -7
  167. data/vendor/assets/scss/components/_tabs.scss +2 -2
  168. data/vendor/assets/scss/components/_top-bar.scss +7 -5
  169. data/vendor/assets/scss/components/_visibility.scss +45 -2
  170. data/vendor/assets/scss/forms/_label.scss +2 -1
  171. data/vendor/assets/scss/forms/_progress.scss +1 -1
  172. data/vendor/assets/scss/forms/_range.scss +1 -1
  173. data/vendor/assets/scss/forms/_select.scss +5 -4
  174. data/vendor/assets/scss/forms/_text.scss +2 -2
  175. data/vendor/assets/scss/foundation.scss +1 -1
  176. data/vendor/assets/scss/grid/_classes.scss +1 -1
  177. data/vendor/assets/scss/grid/_column.scss +3 -2
  178. data/vendor/assets/scss/grid/_flex-grid.scss +7 -6
  179. data/vendor/assets/scss/grid/_gutter.scss +1 -1
  180. data/vendor/assets/scss/grid/_layout.scss +5 -5
  181. data/vendor/assets/scss/grid/_position.scss +4 -4
  182. data/vendor/assets/scss/grid/_row.scss +1 -1
  183. data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
  184. data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
  185. data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
  186. data/vendor/assets/scss/prototype/_border-none.scss +1 -1
  187. data/vendor/assets/scss/prototype/_font-styling.scss +2 -2
  188. data/vendor/assets/scss/prototype/_overflow.scss +9 -0
  189. data/vendor/assets/scss/prototype/_rotate.scss +7 -5
  190. data/vendor/assets/scss/prototype/_separator.scss +5 -5
  191. data/vendor/assets/scss/prototype/_shadow.scss +1 -2
  192. data/vendor/assets/scss/prototype/_spacing.scss +33 -33
  193. data/vendor/assets/scss/prototype/_text-transformation.scss +3 -3
  194. data/vendor/assets/scss/settings/_settings.scss +32 -28
  195. data/vendor/assets/scss/typography/_base.scss +6 -6
  196. data/vendor/assets/scss/typography/_helpers.scss +10 -2
  197. data/vendor/assets/scss/typography/_print.scss +2 -2
  198. data/vendor/assets/scss/util/_breakpoint.scss +21 -18
  199. data/vendor/assets/scss/util/_color.scss +20 -8
  200. data/vendor/assets/scss/util/_direction.scss +1 -1
  201. data/vendor/assets/scss/util/_flex.scss +1 -1
  202. data/vendor/assets/scss/util/_math.scss +61 -9
  203. data/vendor/assets/scss/util/_mixins.scss +18 -14
  204. data/vendor/assets/scss/util/_selector.scss +1 -15
  205. data/vendor/assets/scss/util/_typography.scss +6 -6
  206. data/vendor/assets/scss/util/_unit.scss +14 -8
  207. data/vendor/assets/scss/util/_value.scss +3 -18
  208. data/vendor/assets/scss/vendor/normalize.scss +19 -2
  209. data/vendor/assets/scss/xy-grid/_cell.scss +16 -5
  210. data/vendor/assets/scss/xy-grid/_classes.scss +8 -8
  211. data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
  212. data/vendor/assets/scss/xy-grid/_grid.scss +2 -2
  213. data/vendor/assets/scss/xy-grid/_gutters.scss +2 -2
  214. data/vendor/assets/scss/xy-grid/_layout.scss +1 -1
  215. data/vendor/assets/scss/xy-grid/_position.scss +12 -7
  216. data/vendor/assets/scss/xy-grid/_xy-grid.scss +2 -2
  217. metadata +21 -19
@@ -1,194 +1,48 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("./foundation.core"), require("./foundation.util.keyboard"), require("./foundation.util.nest"), require("jquery"));
3
+ module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.nest"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["./foundation.core", "./foundation.util.keyboard", "./foundation.util.nest", "jquery"], factory);
5
+ define(["./foundation.core", "jquery", "./foundation.util.keyboard", "./foundation.util.nest"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["foundation.accordionMenu"] = factory(require("./foundation.core"), require("./foundation.util.keyboard"), require("./foundation.util.nest"), require("jquery"));
7
+ exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.nest"));
8
8
  else
9
- root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.accordionMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.nest"], root["jQuery"]);
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__, __WEBPACK_EXTERNAL_MODULE_jquery__) {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
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 = 2);
95
- /******/ })
96
- /************************************************************************/
97
- /******/ ({
98
-
99
- /***/ "./foundation.core":
100
- /*!****************************************************************************************************************************************************************!*\
101
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
102
- \****************************************************************************************************************************************************************/
103
- /*! no static exports found */
104
- /***/ (function(module, exports) {
105
-
106
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
107
-
108
- /***/ }),
109
-
110
- /***/ "./foundation.util.keyboard":
111
- /*!****************************************************************************************************************************************************************************************************!*\
112
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
113
- \****************************************************************************************************************************************************************************************************/
114
- /*! no static exports found */
115
- /***/ (function(module, exports) {
116
-
117
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
118
-
119
- /***/ }),
120
-
121
- /***/ "./foundation.util.nest":
122
- /*!************************************************************************************************************************************************************************************!*\
123
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.nest"],"amd":"./foundation.util.nest","commonjs":"./foundation.util.nest","commonjs2":"./foundation.util.nest"} ***!
124
- \************************************************************************************************************************************************************************************/
125
- /*! no static exports found */
126
- /***/ (function(module, exports) {
127
-
128
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__;
129
-
130
- /***/ }),
131
-
132
- /***/ "./js/entries/plugins/foundation.accordionMenu.js":
133
- /*!********************************************************!*\
134
- !*** ./js/entries/plugins/foundation.accordionMenu.js ***!
135
- \********************************************************/
136
- /*! exports provided: Foundation, AccordionMenu */
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_accordionMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.accordionMenu */ "./js/foundation.accordionMenu.js");
146
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AccordionMenu", function() { return _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_1__["AccordionMenu"]; });
147
-
148
-
149
-
150
- _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_1__["AccordionMenu"], 'AccordionMenu');
151
-
152
-
153
- /***/ }),
9
+ root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.accordionMenu"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.nest"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__) {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
154
14
 
155
15
  /***/ "./js/foundation.accordionMenu.js":
156
16
  /*!****************************************!*\
157
17
  !*** ./js/foundation.accordionMenu.js ***!
158
18
  \****************************************/
159
- /*! exports provided: AccordionMenu */
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 (binding) */ __webpack_require__.d(__webpack_exports__, "AccordionMenu", function() { return AccordionMenu; });
22
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
+ /* harmony export */ AccordionMenu: function() { return /* binding */ AccordionMenu; }
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
27
  /* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.keyboard */ "./foundation.util.keyboard");
168
28
  /* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__);
169
29
  /* harmony import */ var _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.nest */ "./foundation.util.nest");
170
30
  /* harmony import */ var _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__);
171
- /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
31
+ /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
172
32
  /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__);
173
-
174
-
175
- 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); }
176
-
177
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
178
-
179
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
180
-
181
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
182
-
183
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
184
-
185
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
186
-
187
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
188
-
189
- 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); }
190
-
191
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
+ 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); }
34
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
35
+ 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); } }
36
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
37
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
38
+ 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); }
39
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
40
+ 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); }
41
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
42
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
43
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
44
+ 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); }
45
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
192
46
 
193
47
 
194
48
 
@@ -201,21 +55,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
201
55
  * @requires foundation.util.keyboard
202
56
  * @requires foundation.util.nest
203
57
  */
204
-
205
- var AccordionMenu =
206
- /*#__PURE__*/
207
- function (_Plugin) {
208
- _inherits(AccordionMenu, _Plugin);
209
-
58
+ var AccordionMenu = /*#__PURE__*/function (_Plugin) {
210
59
  function AccordionMenu() {
211
60
  _classCallCheck(this, AccordionMenu);
212
-
213
- return _possibleConstructorReturn(this, _getPrototypeOf(AccordionMenu).apply(this, arguments));
61
+ return _callSuper(this, AccordionMenu, arguments);
214
62
  }
215
-
216
- _createClass(AccordionMenu, [{
63
+ _inherits(AccordionMenu, _Plugin);
64
+ return _createClass(AccordionMenu, [{
217
65
  key: "_setup",
218
-
66
+ value:
219
67
  /**
220
68
  * Creates a new instance of an accordion menu.
221
69
  * @class
@@ -224,14 +72,13 @@ function (_Plugin) {
224
72
  * @param {jQuery} element - jQuery object to make into an accordion menu.
225
73
  * @param {Object} options - Overrides to the default plugin settings.
226
74
  */
227
- value: function _setup(element, options) {
75
+ function _setup(element, options) {
228
76
  this.$element = element;
229
- this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.extend({}, AccordionMenu.defaults, this.$element.data(), options);
77
+ this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, AccordionMenu.defaults, this.$element.data(), options);
230
78
  this.className = 'AccordionMenu'; // ie9 back compat
231
79
 
232
80
  this._init();
233
-
234
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].register('AccordionMenu', {
81
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.register('AccordionMenu', {
235
82
  'ENTER': 'toggle',
236
83
  'SPACE': 'toggle',
237
84
  'ARROW_RIGHT': 'open',
@@ -241,37 +88,31 @@ function (_Plugin) {
241
88
  'ESCAPE': 'closeAll'
242
89
  });
243
90
  }
91
+
244
92
  /**
245
93
  * Initializes the accordion menu by hiding all nested menus.
246
94
  * @private
247
95
  */
248
-
249
96
  }, {
250
97
  key: "_init",
251
98
  value: function _init() {
252
- _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__["Nest"].Feather(this.$element, 'accordion');
253
-
99
+ _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__.Nest.Feather(this.$element, 'accordion');
254
100
  var _this = this;
255
-
256
101
  this.$element.find('[data-submenu]').not('.is-active').slideUp(0); //.find('a').css('padding-left', '1rem');
257
-
258
102
  this.$element.attr({
259
- 'role': 'tree',
260
103
  'aria-multiselectable': this.options.multiOpen
261
104
  });
262
105
  this.$menuLinks = this.$element.find('.is-accordion-submenu-parent');
263
106
  this.$menuLinks.each(function () {
264
- var linkId = this.id || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["GetYoDigits"])(6, 'acc-menu-link'),
265
- $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
266
- $sub = $elem.children('[data-submenu]'),
267
- subId = $sub[0].id || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["GetYoDigits"])(6, 'acc-menu'),
268
- isActive = $sub.hasClass('is-active');
269
-
107
+ var linkId = this.id || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.GetYoDigits)(6, 'acc-menu-link'),
108
+ $elem = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
109
+ $sub = $elem.children('[data-submenu]'),
110
+ subId = $sub[0].id || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.GetYoDigits)(6, 'acc-menu'),
111
+ isActive = $sub.hasClass('is-active');
270
112
  if (_this.options.parentLink) {
271
113
  var $anchor = $elem.children('a');
272
114
  $anchor.clone().prependTo($sub).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>');
273
115
  }
274
-
275
116
  if (_this.options.submenuToggle) {
276
117
  $elem.addClass('has-submenu-toggle');
277
118
  $elem.children('a').after('<button id="' + linkId + '" class="submenu-toggle" aria-controls="' + subId + '" aria-expanded="' + isActive + '" title="' + _this.options.submenuToggleText + '"><span class="submenu-toggle-text">' + _this.options.submenuToggleText + '</span></button>');
@@ -282,7 +123,6 @@ function (_Plugin) {
282
123
  'id': linkId
283
124
  });
284
125
  }
285
-
286
126
  $sub.attr({
287
127
  'aria-labelledby': linkId,
288
128
  'aria-hidden': !isActive,
@@ -290,61 +130,51 @@ function (_Plugin) {
290
130
  'id': subId
291
131
  });
292
132
  });
293
- this.$element.find('li').attr({
294
- 'role': 'treeitem'
295
- });
296
133
  var initPanes = this.$element.find('.is-active');
297
-
298
134
  if (initPanes.length) {
299
135
  initPanes.each(function () {
300
136
  _this.down(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this));
301
137
  });
302
138
  }
303
-
304
139
  this._events();
305
140
  }
141
+
306
142
  /**
307
143
  * Adds event handlers for items within the menu.
308
144
  * @private
309
145
  */
310
-
311
146
  }, {
312
147
  key: "_events",
313
148
  value: function _events() {
314
149
  var _this = this;
315
-
316
150
  this.$element.find('li').each(function () {
317
151
  var $submenu = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).children('[data-submenu]');
318
-
319
152
  if ($submenu.length) {
320
153
  if (_this.options.submenuToggle) {
321
- jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).children('.submenu-toggle').off('click.zf.accordionMenu').on('click.zf.accordionMenu', function (e) {
154
+ jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).children('.submenu-toggle').off('click.zf.accordionMenu').on('click.zf.accordionMenu', function () {
322
155
  _this.toggle($submenu);
323
156
  });
324
157
  } else {
325
158
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).children('a').off('click.zf.accordionMenu').on('click.zf.accordionMenu', function (e) {
326
159
  e.preventDefault();
327
-
328
160
  _this.toggle($submenu);
329
161
  });
330
162
  }
331
163
  }
332
164
  }).on('keydown.zf.accordionMenu', function (e) {
333
165
  var $element = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
334
- $elements = $element.parent('ul').children('li'),
335
- $prevElement,
336
- $nextElement,
337
- $target = $element.children('[data-submenu]');
166
+ $elements = $element.parent('ul').children('li'),
167
+ $prevElement,
168
+ $nextElement,
169
+ $target = $element.children('[data-submenu]');
338
170
  $elements.each(function (i) {
339
171
  if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).is($element)) {
340
172
  $prevElement = $elements.eq(Math.max(0, i - 1)).find('a').first();
341
173
  $nextElement = $elements.eq(Math.min(i + 1, $elements.length - 1)).find('a').first();
342
-
343
174
  if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).children('[data-submenu]:visible').length) {
344
175
  // has open sub menu
345
176
  $nextElement = $element.find('li:first-child').find('a').first();
346
177
  }
347
-
348
178
  if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).is(':first-child')) {
349
179
  // is first element of sub menu
350
180
  $prevElement = $element.parents('li').first().find('a').first();
@@ -352,20 +182,17 @@ function (_Plugin) {
352
182
  // if previous element has open sub menu
353
183
  $prevElement = $prevElement.parents('li').find('li:last-child').find('a').first();
354
184
  }
355
-
356
185
  if (jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).is(':last-child')) {
357
186
  // is last element of sub menu
358
187
  $nextElement = $element.parents('li').first().next('li').find('a').first();
359
188
  }
360
-
361
189
  return;
362
190
  }
363
191
  });
364
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].handleKey(e, 'AccordionMenu', {
192
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.handleKey(e, 'AccordionMenu', {
365
193
  open: function open() {
366
194
  if ($target.is(':hidden')) {
367
195
  _this.down($target);
368
-
369
196
  $target.find('li').first().find('a').first().focus();
370
197
  }
371
198
  },
@@ -376,7 +203,6 @@ function (_Plugin) {
376
203
  } else if ($element.parent('[data-submenu]').length) {
377
204
  // close currently open sub
378
205
  _this.up($element.parent('[data-submenu]'));
379
-
380
206
  $element.parents('li').first().find('a').first().focus();
381
207
  }
382
208
  },
@@ -392,10 +218,8 @@ function (_Plugin) {
392
218
  if (_this.options.submenuToggle) {
393
219
  return false;
394
220
  }
395
-
396
221
  if ($element.children('[data-submenu]').length) {
397
222
  _this.toggle($element.children('[data-submenu]'));
398
-
399
223
  return true;
400
224
  }
401
225
  },
@@ -410,32 +234,32 @@ function (_Plugin) {
410
234
  });
411
235
  }); //.attr('tabindex', 0);
412
236
  }
237
+
413
238
  /**
414
239
  * Closes all panes of the menu.
415
240
  * @function
416
241
  */
417
-
418
242
  }, {
419
243
  key: "hideAll",
420
244
  value: function hideAll() {
421
245
  this.up(this.$element.find('[data-submenu]'));
422
246
  }
247
+
423
248
  /**
424
249
  * Opens all panes of the menu.
425
250
  * @function
426
251
  */
427
-
428
252
  }, {
429
253
  key: "showAll",
430
254
  value: function showAll() {
431
255
  this.down(this.$element.find('[data-submenu]'));
432
256
  }
257
+
433
258
  /**
434
259
  * Toggles the open/close state of a submenu.
435
260
  * @function
436
261
  * @param {jQuery} $target - the submenu to toggle
437
262
  */
438
-
439
263
  }, {
440
264
  key: "toggle",
441
265
  value: function toggle($target) {
@@ -447,32 +271,29 @@ function (_Plugin) {
447
271
  }
448
272
  }
449
273
  }
274
+
450
275
  /**
451
276
  * Opens the sub-menu defined by `$target`.
452
277
  * @param {jQuery} $target - Sub-menu to open.
453
278
  * @fires AccordionMenu#down
454
279
  */
455
-
456
280
  }, {
457
281
  key: "down",
458
282
  value: function down($target) {
459
283
  var _this2 = this;
460
-
461
284
  // If having multiple submenus active is disabled, close all the submenus
462
285
  // that are not parents or children of the targeted submenu.
463
286
  if (!this.options.multiOpen) {
464
287
  // The "branch" of the targetted submenu, from the component root to
465
288
  // the active submenus nested in it.
466
- var $targetBranch = $target.parentsUntil(this.$element).add($target).add($target.find('.is-active')); // All the active submenus that are not in the branch.
467
-
289
+ var $targetBranch = $target.parentsUntil(this.$element).add($target).add($target.find('.is-active'));
290
+ // All the active submenus that are not in the branch.
468
291
  var $othersActiveSubmenus = this.$element.find('.is-active').not($targetBranch);
469
292
  this.up($othersActiveSubmenus);
470
293
  }
471
-
472
294
  $target.addClass('is-active').attr({
473
295
  'aria-hidden': false
474
296
  });
475
-
476
297
  if (this.options.submenuToggle) {
477
298
  $target.prev('.submenu-toggle').attr({
478
299
  'aria-expanded': true
@@ -482,7 +303,6 @@ function (_Plugin) {
482
303
  'aria-expanded': true
483
304
  });
484
305
  }
485
-
486
306
  $target.slideDown(this.options.slideSpeed, function () {
487
307
  /**
488
308
  * Fires when the menu is done opening.
@@ -491,28 +311,25 @@ function (_Plugin) {
491
311
  _this2.$element.trigger('down.zf.accordionMenu', [$target]);
492
312
  });
493
313
  }
314
+
494
315
  /**
495
316
  * Closes the sub-menu defined by `$target`. All sub-menus inside the target will be closed as well.
496
317
  * @param {jQuery} $target - Sub-menu to close.
497
318
  * @fires AccordionMenu#up
498
319
  */
499
-
500
320
  }, {
501
321
  key: "up",
502
322
  value: function up($target) {
503
323
  var _this3 = this;
504
-
505
324
  var $submenus = $target.find('[data-submenu]');
506
325
  var $allmenus = $target.add($submenus);
507
326
  $submenus.slideUp(0);
508
327
  $allmenus.removeClass('is-active').attr('aria-hidden', true);
509
-
510
328
  if (this.options.submenuToggle) {
511
329
  $allmenus.prev('.submenu-toggle').attr('aria-expanded', false);
512
330
  } else {
513
331
  $allmenus.parent('.is-accordion-submenu-parent').attr('aria-expanded', false);
514
332
  }
515
-
516
333
  $target.slideUp(this.options.slideSpeed, function () {
517
334
  /**
518
335
  * Fires when the menu is done collapsing up.
@@ -521,30 +338,25 @@ function (_Plugin) {
521
338
  _this3.$element.trigger('up.zf.accordionMenu', [$target]);
522
339
  });
523
340
  }
341
+
524
342
  /**
525
343
  * Destroys an instance of accordion menu.
526
344
  * @fires AccordionMenu#destroyed
527
345
  */
528
-
529
346
  }, {
530
347
  key: "_destroy",
531
348
  value: function _destroy() {
532
349
  this.$element.find('[data-submenu]').slideDown(0).css('display', '');
533
350
  this.$element.find('a').off('click.zf.accordionMenu');
534
351
  this.$element.find('[data-is-parent-link]').detach();
535
-
536
352
  if (this.options.submenuToggle) {
537
353
  this.$element.find('.has-submenu-toggle').removeClass('has-submenu-toggle');
538
354
  this.$element.find('.submenu-toggle').remove();
539
355
  }
540
-
541
- _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__["Nest"].Burn(this.$element, 'accordion');
356
+ _foundation_util_nest__WEBPACK_IMPORTED_MODULE_2__.Nest.Burn(this.$element, 'accordion');
542
357
  }
543
358
  }]);
544
-
545
- return AccordionMenu;
546
- }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["Plugin"]);
547
-
359
+ }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.Plugin);
548
360
  AccordionMenu.defaults = {
549
361
  /**
550
362
  * Adds the parent link to the submenu.
@@ -553,7 +365,6 @@ AccordionMenu.defaults = {
553
365
  * @default false
554
366
  */
555
367
  parentLink: false,
556
-
557
368
  /**
558
369
  * Amount of time to animate the opening of a submenu in ms.
559
370
  * @option
@@ -561,21 +372,18 @@ AccordionMenu.defaults = {
561
372
  * @default 250
562
373
  */
563
374
  slideSpeed: 250,
564
-
565
375
  /**
566
376
  * Adds a separate submenu toggle button. This allows the parent item to have a link.
567
377
  * @option
568
378
  * @example true
569
379
  */
570
380
  submenuToggle: false,
571
-
572
381
  /**
573
382
  * The text used for the submenu toggle if enabled. This is used for screen readers only.
574
383
  * @option
575
384
  * @example true
576
385
  */
577
386
  submenuToggleText: 'Toggle menu',
578
-
579
387
  /**
580
388
  * Allow the menu to have multiple open panes.
581
389
  * @option
@@ -588,15 +396,33 @@ AccordionMenu.defaults = {
588
396
 
589
397
  /***/ }),
590
398
 
591
- /***/ 2:
592
- /*!**************************************************************!*\
593
- !*** multi ./js/entries/plugins/foundation.accordionMenu.js ***!
594
- \**************************************************************/
595
- /*! no static exports found */
596
- /***/ (function(module, exports, __webpack_require__) {
399
+ /***/ "./foundation.core":
400
+ /*!****************************************************************************************************************************************************************!*\
401
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
402
+ \****************************************************************************************************************************************************************/
403
+ /***/ (function(module) {
597
404
 
598
- module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundation-sites/js/entries/plugins/foundation.accordionMenu.js */"./js/entries/plugins/foundation.accordionMenu.js");
405
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
599
406
 
407
+ /***/ }),
408
+
409
+ /***/ "./foundation.util.keyboard":
410
+ /*!****************************************************************************************************************************************************************************************************!*\
411
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
412
+ \****************************************************************************************************************************************************************************************************/
413
+ /***/ (function(module) {
414
+
415
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
416
+
417
+ /***/ }),
418
+
419
+ /***/ "./foundation.util.nest":
420
+ /*!************************************************************************************************************************************************************************************!*\
421
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.nest"],"amd":"./foundation.util.nest","commonjs":"./foundation.util.nest","commonjs2":"./foundation.util.nest"} ***!
422
+ \************************************************************************************************************************************************************************************/
423
+ /***/ (function(module) {
424
+
425
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_nest__;
600
426
 
601
427
  /***/ }),
602
428
 
@@ -604,13 +430,101 @@ module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundatio
604
430
  /*!********************************************************************************************!*\
605
431
  !*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
606
432
  \********************************************************************************************/
607
- /*! no static exports found */
608
- /***/ (function(module, exports) {
433
+ /***/ (function(module) {
609
434
 
610
435
  module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
611
436
 
612
437
  /***/ })
613
438
 
614
- /******/ });
439
+ /******/ });
440
+ /************************************************************************/
441
+ /******/ // The module cache
442
+ /******/ var __webpack_module_cache__ = {};
443
+ /******/
444
+ /******/ // The require function
445
+ /******/ function __webpack_require__(moduleId) {
446
+ /******/ // Check if module is in cache
447
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
448
+ /******/ if (cachedModule !== undefined) {
449
+ /******/ return cachedModule.exports;
450
+ /******/ }
451
+ /******/ // Create a new module (and put it into the cache)
452
+ /******/ var module = __webpack_module_cache__[moduleId] = {
453
+ /******/ // no module.id needed
454
+ /******/ // no module.loaded needed
455
+ /******/ exports: {}
456
+ /******/ };
457
+ /******/
458
+ /******/ // Execute the module function
459
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
460
+ /******/
461
+ /******/ // Return the exports of the module
462
+ /******/ return module.exports;
463
+ /******/ }
464
+ /******/
465
+ /************************************************************************/
466
+ /******/ /* webpack/runtime/compat get default export */
467
+ /******/ !function() {
468
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
469
+ /******/ __webpack_require__.n = function(module) {
470
+ /******/ var getter = module && module.__esModule ?
471
+ /******/ function() { return module['default']; } :
472
+ /******/ function() { return module; };
473
+ /******/ __webpack_require__.d(getter, { a: getter });
474
+ /******/ return getter;
475
+ /******/ };
476
+ /******/ }();
477
+ /******/
478
+ /******/ /* webpack/runtime/define property getters */
479
+ /******/ !function() {
480
+ /******/ // define getter functions for harmony exports
481
+ /******/ __webpack_require__.d = function(exports, definition) {
482
+ /******/ for(var key in definition) {
483
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
484
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
485
+ /******/ }
486
+ /******/ }
487
+ /******/ };
488
+ /******/ }();
489
+ /******/
490
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
491
+ /******/ !function() {
492
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
493
+ /******/ }();
494
+ /******/
495
+ /******/ /* webpack/runtime/make namespace object */
496
+ /******/ !function() {
497
+ /******/ // define __esModule on exports
498
+ /******/ __webpack_require__.r = function(exports) {
499
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
500
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
501
+ /******/ }
502
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
503
+ /******/ };
504
+ /******/ }();
505
+ /******/
506
+ /************************************************************************/
507
+ var __webpack_exports__ = {};
508
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
509
+ !function() {
510
+ /*!********************************************************!*\
511
+ !*** ./js/entries/plugins/foundation.accordionMenu.js ***!
512
+ \********************************************************/
513
+ __webpack_require__.r(__webpack_exports__);
514
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
515
+ /* harmony export */ AccordionMenu: function() { return /* reexport safe */ _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_1__.AccordionMenu; },
516
+ /* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; }
517
+ /* harmony export */ });
518
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
519
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
520
+ /* harmony import */ var _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.accordionMenu */ "./js/foundation.accordionMenu.js");
521
+
522
+
523
+ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_1__.AccordionMenu, 'AccordionMenu');
524
+
525
+ }();
526
+ /******/ return __webpack_exports__;
527
+ /******/ })()
528
+ ;
615
529
  });
616
530
  //# sourceMappingURL=foundation.accordionMenu.js.map