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,189 +1,27 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("./foundation.util.keyboard"), require("./foundation.core"), require("jquery"), require("./foundation.util.box"), require("./foundation.util.motion"), require("./foundation.util.touch"));
3
+ module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.box"), require("./foundation.util.motion"), require("./foundation.util.touch"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["./foundation.util.keyboard", "./foundation.core", "jquery", "./foundation.util.box", "./foundation.util.motion", "./foundation.util.touch"], factory);
5
+ define(["./foundation.core", "jquery", "./foundation.util.keyboard", "./foundation.util.box", "./foundation.util.motion", "./foundation.util.touch"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["foundation.dropdown"] = factory(require("./foundation.util.keyboard"), require("./foundation.core"), require("jquery"), require("./foundation.util.box"), require("./foundation.util.motion"), require("./foundation.util.touch"));
7
+ exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.keyboard"), require("./foundation.util.box"), require("./foundation.util.motion"), require("./foundation.util.touch"));
8
8
  else
9
- root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.dropdown"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.box"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.touch"]);
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_box__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__, __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__) {
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 = 4);
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.box":
111
- /*!********************************************************************************************************************************************************************************!*\
112
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.box"],"amd":"./foundation.util.box","commonjs":"./foundation.util.box","commonjs2":"./foundation.util.box"} ***!
113
- \********************************************************************************************************************************************************************************/
114
- /*! no static exports found */
115
- /***/ (function(module, exports) {
116
-
117
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_box__;
118
-
119
- /***/ }),
120
-
121
- /***/ "./foundation.util.keyboard":
122
- /*!****************************************************************************************************************************************************************************************************!*\
123
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
124
- \****************************************************************************************************************************************************************************************************/
125
- /*! no static exports found */
126
- /***/ (function(module, exports) {
127
-
128
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
129
-
130
- /***/ }),
131
-
132
- /***/ "./foundation.util.motion":
133
- /*!********************************************************************************************************************************************************************************************!*\
134
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
135
- \********************************************************************************************************************************************************************************************/
136
- /*! no static exports found */
137
- /***/ (function(module, exports) {
138
-
139
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
140
-
141
- /***/ }),
142
-
143
- /***/ "./foundation.util.touch":
144
- /*!****************************************************************************************************************************************************************************************!*\
145
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
146
- \****************************************************************************************************************************************************************************************/
147
- /*! no static exports found */
148
- /***/ (function(module, exports) {
149
-
150
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
151
-
152
- /***/ }),
153
-
154
- /***/ "./js/entries/plugins/foundation.dropdown.js":
155
- /*!***************************************************!*\
156
- !*** ./js/entries/plugins/foundation.dropdown.js ***!
157
- \***************************************************/
158
- /*! exports provided: Foundation, Dropdown */
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_dropdown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.dropdown */ "./js/foundation.dropdown.js");
168
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Dropdown", function() { return _foundation_dropdown__WEBPACK_IMPORTED_MODULE_1__["Dropdown"]; });
169
-
170
-
171
-
172
- _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_dropdown__WEBPACK_IMPORTED_MODULE_1__["Dropdown"], 'Dropdown');
173
-
174
-
175
- /***/ }),
9
+ root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.dropdown"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.keyboard"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.box"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.motion"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.touch"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__, __WEBPACK_EXTERNAL_MODULE__foundation_util_box__, __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__, __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__) {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
176
14
 
177
15
  /***/ "./js/foundation.dropdown.js":
178
16
  /*!***********************************!*\
179
17
  !*** ./js/foundation.dropdown.js ***!
180
18
  \***********************************/
181
- /*! exports provided: Dropdown */
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 (binding) */ __webpack_require__.d(__webpack_exports__, "Dropdown", function() { return Dropdown; });
22
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
+ /* harmony export */ Dropdown: function() { return /* binding */ Dropdown; }
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_keyboard__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.keyboard */ "./foundation.util.keyboard");
@@ -194,29 +32,22 @@ __webpack_require__.r(__webpack_exports__);
194
32
  /* harmony import */ var _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation.util.triggers */ "./js/foundation.util.triggers.js");
195
33
  /* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation.util.touch */ "./foundation.util.touch");
196
34
  /* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__);
197
-
198
-
199
- 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); }
200
-
201
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
202
-
203
- 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); } }
204
-
205
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
206
-
207
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
208
-
209
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
210
-
211
- function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
212
-
213
- function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
214
-
215
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
216
-
217
- 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); }
218
-
219
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
+ 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); }
36
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
37
+ 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); } }
38
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
39
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
40
+ 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); }
41
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
42
+ 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); }
43
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
44
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
45
+ function _superPropGet(t, e, o, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), e, o); return 2 & r && "function" == typeof p ? function (t) { return p.apply(o, t); } : p; }
46
+ function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
47
+ function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
48
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
49
+ 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); }
50
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
220
51
 
221
52
 
222
53
 
@@ -232,21 +63,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
232
63
  * @requires foundation.util.touch
233
64
  * @requires foundation.util.triggers
234
65
  */
235
-
236
- var Dropdown =
237
- /*#__PURE__*/
238
- function (_Positionable) {
239
- _inherits(Dropdown, _Positionable);
240
-
66
+ var Dropdown = /*#__PURE__*/function (_Positionable) {
241
67
  function Dropdown() {
242
68
  _classCallCheck(this, Dropdown);
243
-
244
- return _possibleConstructorReturn(this, _getPrototypeOf(Dropdown).apply(this, arguments));
69
+ return _callSuper(this, Dropdown, arguments);
245
70
  }
246
-
247
- _createClass(Dropdown, [{
71
+ _inherits(Dropdown, _Positionable);
72
+ return _createClass(Dropdown, [{
248
73
  key: "_setup",
249
-
74
+ value:
250
75
  /**
251
76
  * Creates a new instance of a dropdown.
252
77
  * @class
@@ -255,29 +80,27 @@ function (_Positionable) {
255
80
  * Object should be of the dropdown panel, rather than its anchor.
256
81
  * @param {Object} options - Overrides to the default plugin settings.
257
82
  */
258
- value: function _setup(element, options) {
83
+ function _setup(element, options) {
259
84
  this.$element = element;
260
- this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.extend({}, Dropdown.defaults, this.$element.data(), options);
85
+ this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Dropdown.defaults, this.$element.data(), options);
261
86
  this.className = 'Dropdown'; // ie9 back compat
262
- // Touch and Triggers init are idempotent, just need to make sure they are initialized
263
-
264
- _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__["Touch"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a);
265
- _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_4__["Triggers"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a);
266
87
 
88
+ // Touch and Triggers init are idempotent, just need to make sure they are initialized
89
+ _foundation_util_touch__WEBPACK_IMPORTED_MODULE_5__.Touch.init((jquery__WEBPACK_IMPORTED_MODULE_0___default()));
90
+ _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_4__.Triggers.init((jquery__WEBPACK_IMPORTED_MODULE_0___default()));
267
91
  this._init();
268
-
269
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].register('Dropdown', {
92
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.register('Dropdown', {
270
93
  'ENTER': 'toggle',
271
94
  'SPACE': 'toggle',
272
95
  'ESCAPE': 'close'
273
96
  });
274
97
  }
98
+
275
99
  /**
276
100
  * Initializes the plugin by setting/checking options and attributes, adding helper variables, and saving the anchor.
277
101
  * @function
278
102
  * @private
279
103
  */
280
-
281
104
  }, {
282
105
  key: "_init",
283
106
  value: function _init() {
@@ -290,33 +113,27 @@ function (_Positionable) {
290
113
  'aria-haspopup': true,
291
114
  'aria-expanded': false
292
115
  });
293
-
294
116
  this._setCurrentAnchor(this.$anchors.first());
295
-
296
117
  if (this.options.parentClass) {
297
118
  this.$parent = this.$element.parents('.' + this.options.parentClass);
298
119
  } else {
299
120
  this.$parent = null;
300
- } // Set [aria-labelledby] on the Dropdown if it is not set
301
-
121
+ }
302
122
 
123
+ // Set [aria-labelledby] on the Dropdown if it is not set
303
124
  if (typeof this.$element.attr('aria-labelledby') === 'undefined') {
304
125
  // Get the anchor ID or create one
305
126
  if (typeof this.$currentAnchor.attr('id') === 'undefined') {
306
- this.$currentAnchor.attr('id', Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"])(6, 'dd-anchor'));
127
+ this.$currentAnchor.attr('id', (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.GetYoDigits)(6, 'dd-anchor'));
307
128
  }
308
-
309
129
  this.$element.attr('aria-labelledby', this.$currentAnchor.attr('id'));
310
130
  }
311
-
312
131
  this.$element.attr({
313
132
  'aria-hidden': 'true',
314
133
  'data-yeti-box': $id,
315
134
  'data-resize': $id
316
135
  });
317
-
318
- _get(_getPrototypeOf(Dropdown.prototype), "_init", this).call(this);
319
-
136
+ _superPropGet(Dropdown, "_init", this, 3)([]);
320
137
  this._events();
321
138
  }
322
139
  }, {
@@ -324,7 +141,6 @@ function (_Positionable) {
324
141
  value: function _getDefaultPosition() {
325
142
  // handle legacy classnames
326
143
  var position = this.$element[0].className.match(/(top|left|right|bottom)/g);
327
-
328
144
  if (position) {
329
145
  return position[0];
330
146
  } else {
@@ -336,29 +152,26 @@ function (_Positionable) {
336
152
  value: function _getDefaultAlignment() {
337
153
  // handle legacy float approach
338
154
  var horizontalPosition = /float-(\S+)/.exec(this.$currentAnchor.attr('class'));
339
-
340
155
  if (horizontalPosition) {
341
156
  return horizontalPosition[1];
342
157
  }
343
-
344
- return _get(_getPrototypeOf(Dropdown.prototype), "_getDefaultAlignment", this).call(this);
158
+ return _superPropGet(Dropdown, "_getDefaultAlignment", this, 3)([]);
345
159
  }
160
+
346
161
  /**
347
162
  * Sets the position and orientation of the dropdown pane, checks for collisions if allow-overlap is not true.
348
163
  * Recursively calls itself if a collision is detected, with a new position class.
349
164
  * @function
350
165
  * @private
351
166
  */
352
-
353
167
  }, {
354
168
  key: "_setPosition",
355
169
  value: function _setPosition() {
356
170
  this.$element.removeClass("has-position-".concat(this.position, " has-alignment-").concat(this.alignment));
357
-
358
- _get(_getPrototypeOf(Dropdown.prototype), "_setPosition", this).call(this, this.$currentAnchor, this.$element, this.$parent);
359
-
171
+ _superPropGet(Dropdown, "_setPosition", this, 3)([this.$currentAnchor, this.$element, this.$parent]);
360
172
  this.$element.addClass("has-position-".concat(this.position, " has-alignment-").concat(this.alignment));
361
173
  }
174
+
362
175
  /**
363
176
  * Make it a current anchor.
364
177
  * Current anchor as the reference for the position of Dropdown panes.
@@ -366,24 +179,22 @@ function (_Positionable) {
366
179
  * @function
367
180
  * @private
368
181
  */
369
-
370
182
  }, {
371
183
  key: "_setCurrentAnchor",
372
184
  value: function _setCurrentAnchor(el) {
373
185
  this.$currentAnchor = jquery__WEBPACK_IMPORTED_MODULE_0___default()(el);
374
186
  }
187
+
375
188
  /**
376
189
  * Adds event listeners to the element utilizing the triggers utility library.
377
190
  * @function
378
191
  * @private
379
192
  */
380
-
381
193
  }, {
382
194
  key: "_events",
383
195
  value: function _events() {
384
196
  var _this = this,
385
- hasTouch = 'ontouchstart' in window || typeof window.ontouchstart !== 'undefined';
386
-
197
+ hasTouch = 'ontouchstart' in window || typeof window.ontouchstart !== 'undefined';
387
198
  this.$element.on({
388
199
  'open.zf.trigger': this.open.bind(this),
389
200
  'close.zf.trigger': this.close.bind(this),
@@ -392,111 +203,95 @@ function (_Positionable) {
392
203
  });
393
204
  this.$anchors.off('click.zf.trigger').on('click.zf.trigger', function (e) {
394
205
  _this._setCurrentAnchor(this);
395
-
396
- if ( // if forceFollow false, always prevent default action
397
- _this.options.forceFollow === false || // if forceFollow true and hover option true, only prevent default action on 1st click
206
+ if (
207
+ // if forceFollow false, always prevent default action
208
+ _this.options.forceFollow === false ||
209
+ // if forceFollow true and hover option true, only prevent default action on 1st click
398
210
  // on 2nd click (dropown opened) the default action (e.g. follow a href) gets executed
399
211
  hasTouch && _this.options.hover && _this.$element.hasClass('is-open') === false) {
400
212
  e.preventDefault();
401
213
  }
402
214
  });
403
-
404
215
  if (this.options.hover) {
405
216
  this.$anchors.off('mouseenter.zf.dropdown mouseleave.zf.dropdown').on('mouseenter.zf.dropdown', function () {
406
217
  _this._setCurrentAnchor(this);
407
-
408
218
  var bodyData = jquery__WEBPACK_IMPORTED_MODULE_0___default()('body').data();
409
-
410
219
  if (typeof bodyData.whatinput === 'undefined' || bodyData.whatinput === 'mouse') {
411
220
  clearTimeout(_this.timeout);
412
221
  _this.timeout = setTimeout(function () {
413
222
  _this.open();
414
-
415
223
  _this.$anchors.data('hover', true);
416
224
  }, _this.options.hoverDelay);
417
225
  }
418
- }).on('mouseleave.zf.dropdown', Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["ignoreMousedisappear"])(function () {
226
+ }).on('mouseleave.zf.dropdown', (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.ignoreMousedisappear)(function () {
419
227
  clearTimeout(_this.timeout);
420
228
  _this.timeout = setTimeout(function () {
421
229
  _this.close();
422
-
423
230
  _this.$anchors.data('hover', false);
424
231
  }, _this.options.hoverDelay);
425
232
  }));
426
-
427
233
  if (this.options.hoverPane) {
428
234
  this.$element.off('mouseenter.zf.dropdown mouseleave.zf.dropdown').on('mouseenter.zf.dropdown', function () {
429
235
  clearTimeout(_this.timeout);
430
- }).on('mouseleave.zf.dropdown', Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["ignoreMousedisappear"])(function () {
236
+ }).on('mouseleave.zf.dropdown', (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.ignoreMousedisappear)(function () {
431
237
  clearTimeout(_this.timeout);
432
238
  _this.timeout = setTimeout(function () {
433
239
  _this.close();
434
-
435
240
  _this.$anchors.data('hover', false);
436
241
  }, _this.options.hoverDelay);
437
242
  }));
438
243
  }
439
244
  }
440
-
441
245
  this.$anchors.add(this.$element).on('keydown.zf.dropdown', function (e) {
442
- var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this),
443
- visibleFocusableElements = _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].findFocusable(_this.$element);
444
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].handleKey(e, 'Dropdown', {
246
+ var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this);
247
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.handleKey(e, 'Dropdown', {
445
248
  open: function open() {
446
249
  if ($target.is(_this.$anchors) && !$target.is('input, textarea')) {
447
250
  _this.open();
448
-
449
251
  _this.$element.attr('tabindex', -1).focus();
450
-
451
252
  e.preventDefault();
452
253
  }
453
254
  },
454
255
  close: function close() {
455
256
  _this.close();
456
-
457
257
  _this.$anchors.focus();
458
258
  }
459
259
  });
460
260
  });
461
261
  }
262
+
462
263
  /**
463
264
  * Adds an event handler to the body to close any dropdowns on a click.
464
265
  * @function
465
266
  * @private
466
267
  */
467
-
468
268
  }, {
469
269
  key: "_addBodyHandler",
470
270
  value: function _addBodyHandler() {
471
271
  var $body = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body).not(this.$element),
472
- _this = this;
473
-
272
+ _this = this;
474
273
  $body.off('click.zf.dropdown tap.zf.dropdown').on('click.zf.dropdown tap.zf.dropdown', function (e) {
475
274
  if (_this.$anchors.is(e.target) || _this.$anchors.find(e.target).length) {
476
275
  return;
477
276
  }
478
-
479
277
  if (_this.$element.is(e.target) || _this.$element.find(e.target).length) {
480
278
  return;
481
279
  }
482
-
483
280
  _this.close();
484
-
485
281
  $body.off('click.zf.dropdown tap.zf.dropdown');
486
282
  });
487
283
  }
284
+
488
285
  /**
489
286
  * Opens the dropdown pane, and fires a bubbling event to close other dropdowns.
490
287
  * @function
491
288
  * @fires Dropdown#closeme
492
289
  * @fires Dropdown#show
493
290
  */
494
-
495
291
  }, {
496
292
  key: "open",
497
293
  value: function open() {
498
294
  // var _this = this;
499
-
500
295
  /**
501
296
  * Fires to close other open dropdowns, typically when dropdown is opening
502
297
  * @event Dropdown#closeme
@@ -504,72 +299,64 @@ function (_Positionable) {
504
299
  this.$element.trigger('closeme.zf.dropdown', this.$element.attr('id'));
505
300
  this.$anchors.addClass('hover').attr({
506
301
  'aria-expanded': true
507
- }); // this.$element/*.show()*/;
302
+ });
303
+ // this.$element/*.show()*/;
508
304
 
509
305
  this.$element.addClass('is-opening');
510
-
511
306
  this._setPosition();
512
-
513
307
  this.$element.removeClass('is-opening').addClass('is-open').attr({
514
308
  'aria-hidden': false
515
309
  });
516
-
517
310
  if (this.options.autoFocus) {
518
- var $focusable = _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].findFocusable(this.$element);
519
-
311
+ var $focusable = _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.findFocusable(this.$element);
520
312
  if ($focusable.length) {
521
313
  $focusable.eq(0).focus();
522
314
  }
523
315
  }
524
-
525
316
  if (this.options.closeOnClick) {
526
317
  this._addBodyHandler();
527
318
  }
528
-
529
319
  if (this.options.trapFocus) {
530
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].trapFocus(this.$element);
320
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.trapFocus(this.$element);
531
321
  }
322
+
532
323
  /**
533
324
  * Fires once the dropdown is visible.
534
325
  * @event Dropdown#show
535
326
  */
536
-
537
-
538
327
  this.$element.trigger('show.zf.dropdown', [this.$element]);
539
328
  }
329
+
540
330
  /**
541
331
  * Closes the open dropdown pane.
542
332
  * @function
543
333
  * @fires Dropdown#hide
544
334
  */
545
-
546
335
  }, {
547
336
  key: "close",
548
337
  value: function close() {
549
338
  if (!this.$element.hasClass('is-open')) {
550
339
  return false;
551
340
  }
552
-
553
341
  this.$element.removeClass('is-open').attr({
554
342
  'aria-hidden': true
555
343
  });
556
344
  this.$anchors.removeClass('hover').attr('aria-expanded', false);
345
+
557
346
  /**
558
347
  * Fires once the dropdown is no longer visible.
559
348
  * @event Dropdown#hide
560
349
  */
561
-
562
350
  this.$element.trigger('hide.zf.dropdown', [this.$element]);
563
-
564
351
  if (this.options.trapFocus) {
565
- _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__["Keyboard"].releaseFocus(this.$element);
352
+ _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_1__.Keyboard.releaseFocus(this.$element);
566
353
  }
567
354
  }
355
+
568
356
  /**
569
357
  * Toggles the dropdown pane's visibility.
570
358
  * @function
571
359
  */
572
-
573
360
  }, {
574
361
  key: "toggle",
575
362
  value: function toggle() {
@@ -580,11 +367,11 @@ function (_Positionable) {
580
367
  this.open();
581
368
  }
582
369
  }
370
+
583
371
  /**
584
372
  * Destroys the dropdown.
585
373
  * @function
586
374
  */
587
-
588
375
  }, {
589
376
  key: "_destroy",
590
377
  value: function _destroy() {
@@ -593,10 +380,7 @@ function (_Positionable) {
593
380
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document.body).off('click.zf.dropdown tap.zf.dropdown');
594
381
  }
595
382
  }]);
596
-
597
- return Dropdown;
598
- }(_foundation_positionable__WEBPACK_IMPORTED_MODULE_3__["Positionable"]);
599
-
383
+ }(_foundation_positionable__WEBPACK_IMPORTED_MODULE_3__.Positionable);
600
384
  Dropdown.defaults = {
601
385
  /**
602
386
  * Class that designates bounding container of Dropdown (default: window)
@@ -605,7 +389,6 @@ Dropdown.defaults = {
605
389
  * @default null
606
390
  */
607
391
  parentClass: null,
608
-
609
392
  /**
610
393
  * Amount of time to delay opening a submenu on hover event.
611
394
  * @option
@@ -613,7 +396,6 @@ Dropdown.defaults = {
613
396
  * @default 250
614
397
  */
615
398
  hoverDelay: 250,
616
-
617
399
  /**
618
400
  * Allow submenus to open on hover events
619
401
  * @option
@@ -621,7 +403,6 @@ Dropdown.defaults = {
621
403
  * @default false
622
404
  */
623
405
  hover: false,
624
-
625
406
  /**
626
407
  * Don't close dropdown when hovering over dropdown pane
627
408
  * @option
@@ -629,7 +410,6 @@ Dropdown.defaults = {
629
410
  * @default false
630
411
  */
631
412
  hoverPane: false,
632
-
633
413
  /**
634
414
  * Number of pixels between the dropdown pane and the triggering element on open.
635
415
  * @option
@@ -637,7 +417,6 @@ Dropdown.defaults = {
637
417
  * @default 0
638
418
  */
639
419
  vOffset: 0,
640
-
641
420
  /**
642
421
  * Number of pixels between the dropdown pane and the triggering element on open.
643
422
  * @option
@@ -645,7 +424,6 @@ Dropdown.defaults = {
645
424
  * @default 0
646
425
  */
647
426
  hOffset: 0,
648
-
649
427
  /**
650
428
  * Position of dropdown. Can be left, right, bottom, top, or auto.
651
429
  * @option
@@ -653,7 +431,6 @@ Dropdown.defaults = {
653
431
  * @default 'auto'
654
432
  */
655
433
  position: 'auto',
656
-
657
434
  /**
658
435
  * Alignment of dropdown relative to anchor. Can be left, right, bottom, top, center, or auto.
659
436
  * @option
@@ -661,7 +438,6 @@ Dropdown.defaults = {
661
438
  * @default 'auto'
662
439
  */
663
440
  alignment: 'auto',
664
-
665
441
  /**
666
442
  * Allow overlap of container/window. If false, dropdown will first try to position as defined by data-position and data-alignment, but reposition if it would cause an overflow.
667
443
  * @option
@@ -669,7 +445,6 @@ Dropdown.defaults = {
669
445
  * @default false
670
446
  */
671
447
  allowOverlap: false,
672
-
673
448
  /**
674
449
  * Allow overlap of only the bottom of the container. This is the most common
675
450
  * behavior for dropdowns, allowing the dropdown to extend the bottom of the
@@ -679,7 +454,6 @@ Dropdown.defaults = {
679
454
  * @default true
680
455
  */
681
456
  allowBottomOverlap: true,
682
-
683
457
  /**
684
458
  * Allow the plugin to trap focus to the dropdown pane if opened with keyboard commands.
685
459
  * @option
@@ -687,7 +461,6 @@ Dropdown.defaults = {
687
461
  * @default false
688
462
  */
689
463
  trapFocus: false,
690
-
691
464
  /**
692
465
  * Allow the plugin to set focus to the first focusable element within the pane, regardless of method of opening.
693
466
  * @option
@@ -695,7 +468,6 @@ Dropdown.defaults = {
695
468
  * @default false
696
469
  */
697
470
  autoFocus: false,
698
-
699
471
  /**
700
472
  * Allows a click on the body to close the dropdown.
701
473
  * @option
@@ -703,7 +475,6 @@ Dropdown.defaults = {
703
475
  * @default false
704
476
  */
705
477
  closeOnClick: false,
706
-
707
478
  /**
708
479
  * If true the default action of the toggle (e.g. follow a link with href) gets executed on click. If hover option is also true the default action gets prevented on first click for mobile / touch devices and executed on second click.
709
480
  * @option
@@ -720,36 +491,29 @@ Dropdown.defaults = {
720
491
  /*!***************************************!*\
721
492
  !*** ./js/foundation.positionable.js ***!
722
493
  \***************************************/
723
- /*! exports provided: Positionable */
724
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
494
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
725
495
 
726
- "use strict";
727
496
  __webpack_require__.r(__webpack_exports__);
728
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Positionable", function() { return Positionable; });
497
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
498
+ /* harmony export */ Positionable: function() { return /* binding */ Positionable; }
499
+ /* harmony export */ });
729
500
  /* harmony import */ var _foundation_util_box__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.util.box */ "./foundation.util.box");
730
501
  /* harmony import */ var _foundation_util_box__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__);
731
- /* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
502
+ /* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
732
503
  /* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__);
733
-
734
-
735
- 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); }
736
-
737
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
738
-
739
- 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); } }
740
-
741
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
742
-
743
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
744
-
745
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
746
-
747
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
748
-
749
- 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); }
750
-
751
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
752
-
504
+ 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); }
505
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
506
+ 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); } }
507
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
508
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
509
+ 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); }
510
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
511
+ 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); }
512
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
513
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
514
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
515
+ 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); }
516
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
753
517
 
754
518
 
755
519
 
@@ -762,31 +526,23 @@ var ALIGNMENTS = {
762
526
  'top': HORIZONTAL_ALIGNMENTS,
763
527
  'bottom': HORIZONTAL_ALIGNMENTS
764
528
  };
765
-
766
529
  function nextItem(item, array) {
767
530
  var currentIdx = array.indexOf(item);
768
-
769
531
  if (currentIdx === array.length - 1) {
770
532
  return array[0];
771
533
  } else {
772
534
  return array[currentIdx + 1];
773
535
  }
774
536
  }
775
-
776
- var Positionable =
777
- /*#__PURE__*/
778
- function (_Plugin) {
779
- _inherits(Positionable, _Plugin);
780
-
537
+ var Positionable = /*#__PURE__*/function (_Plugin) {
781
538
  function Positionable() {
782
539
  _classCallCheck(this, Positionable);
783
-
784
- return _possibleConstructorReturn(this, _getPrototypeOf(Positionable).apply(this, arguments));
540
+ return _callSuper(this, Positionable, arguments);
785
541
  }
786
-
787
- _createClass(Positionable, [{
542
+ _inherits(Positionable, _Plugin);
543
+ return _createClass(Positionable, [{
788
544
  key: "_init",
789
-
545
+ value:
790
546
  /**
791
547
  * Abstract class encapsulating the tether-like explicit positioning logic
792
548
  * including repositioning based on overlap.
@@ -796,7 +552,8 @@ function (_Plugin) {
796
552
  * generated) by explicitly declaring them.
797
553
  *
798
554
  **/
799
- value: function _init() {
555
+
556
+ function _init() {
800
557
  this.triedPositions = {};
801
558
  this.position = this.options.position === 'auto' ? this._getDefaultPosition() : this.options.position;
802
559
  this.alignment = this.options.alignment === 'auto' ? this._getDefaultAlignment() : this.options.alignment;
@@ -814,20 +571,19 @@ function (_Plugin) {
814
571
  switch (this.position) {
815
572
  case 'bottom':
816
573
  case 'top':
817
- return Object(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__["rtl"])() ? 'right' : 'left';
818
-
574
+ return (0,_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.rtl)() ? 'right' : 'left';
819
575
  case 'left':
820
576
  case 'right':
821
577
  return 'bottom';
822
578
  }
823
579
  }
580
+
824
581
  /**
825
582
  * Adjusts the positionable possible positions by iterating through alignments
826
583
  * and positions.
827
584
  * @function
828
585
  * @private
829
586
  */
830
-
831
587
  }, {
832
588
  key: "_reposition",
833
589
  value: function _reposition() {
@@ -838,18 +594,17 @@ function (_Plugin) {
838
594
  this._realign();
839
595
  }
840
596
  }
597
+
841
598
  /**
842
599
  * Adjusts the dropdown pane possible positions by iterating through alignments
843
600
  * on the current position.
844
601
  * @function
845
602
  * @private
846
603
  */
847
-
848
604
  }, {
849
605
  key: "_realign",
850
606
  value: function _realign() {
851
607
  this._addTriedPosition(this.position, this.alignment);
852
-
853
608
  this.alignment = nextItem(this.alignment, ALIGNMENTS[this.position]);
854
609
  }
855
610
  }, {
@@ -862,24 +617,23 @@ function (_Plugin) {
862
617
  key: "_positionsExhausted",
863
618
  value: function _positionsExhausted() {
864
619
  var isExhausted = true;
865
-
866
620
  for (var i = 0; i < POSITIONS.length; i++) {
867
621
  isExhausted = isExhausted && this._alignmentsExhausted(POSITIONS[i]);
868
622
  }
869
-
870
623
  return isExhausted;
871
624
  }
872
625
  }, {
873
626
  key: "_alignmentsExhausted",
874
627
  value: function _alignmentsExhausted(position) {
875
- return this.triedPositions[position] && this.triedPositions[position].length == ALIGNMENTS[position].length;
876
- } // When we're trying to center, we don't want to apply offset that's going to
628
+ return this.triedPositions[position] && this.triedPositions[position].length === ALIGNMENTS[position].length;
629
+ }
630
+
631
+ // When we're trying to center, we don't want to apply offset that's going to
877
632
  // take us just off center, so wrap around to return 0 for the appropriate
878
633
  // offset in those alignments. TODO: Figure out if we want to make this
879
634
  // configurable behavior... it feels more intuitive, especially for tooltips, but
880
635
  // it's possible someone might actually want to start from center and then nudge
881
636
  // slightly off.
882
-
883
637
  }, {
884
638
  key: "_getVOffset",
885
639
  value: function _getVOffset() {
@@ -896,30 +650,24 @@ function (_Plugin) {
896
650
  if ($anchor.attr('aria-expanded') === 'false') {
897
651
  return false;
898
652
  }
899
-
900
653
  if (!this.options.allowOverlap) {
901
654
  // restore original position & alignment before checking overlap
902
655
  this.position = this.originalPosition;
903
656
  this.alignment = this.originalAlignment;
904
657
  }
905
-
906
- $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__["Box"].GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
907
-
658
+ $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__.Box.GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
908
659
  if (!this.options.allowOverlap) {
909
- var minOverlap = 100000000; // default coordinates to how we start, in case we can't figure out better
910
-
660
+ var minOverlap = 100000000;
661
+ // default coordinates to how we start, in case we can't figure out better
911
662
  var minCoordinates = {
912
663
  position: this.position,
913
664
  alignment: this.alignment
914
665
  };
915
-
916
666
  while (!this._positionsExhausted()) {
917
- var overlap = _foundation_util_box__WEBPACK_IMPORTED_MODULE_0__["Box"].OverlapArea($element, $parent, false, false, this.options.allowBottomOverlap);
918
-
667
+ var overlap = _foundation_util_box__WEBPACK_IMPORTED_MODULE_0__.Box.OverlapArea($element, $parent, false, false, this.options.allowBottomOverlap);
919
668
  if (overlap === 0) {
920
669
  return;
921
670
  }
922
-
923
671
  if (overlap < minOverlap) {
924
672
  minOverlap = overlap;
925
673
  minCoordinates = {
@@ -927,24 +675,18 @@ function (_Plugin) {
927
675
  alignment: this.alignment
928
676
  };
929
677
  }
930
-
931
678
  this._reposition();
932
-
933
- $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__["Box"].GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
934
- } // If we get through the entire loop, there was no non-overlapping
679
+ $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__.Box.GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
680
+ }
681
+ // If we get through the entire loop, there was no non-overlapping
935
682
  // position available. Pick the version with least overlap.
936
-
937
-
938
683
  this.position = minCoordinates.position;
939
684
  this.alignment = minCoordinates.alignment;
940
- $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__["Box"].GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
685
+ $element.offset(_foundation_util_box__WEBPACK_IMPORTED_MODULE_0__.Box.GetExplicitOffsets($element, $anchor, this.position, this.alignment, this._getVOffset(), this._getHOffset()));
941
686
  }
942
687
  }
943
688
  }]);
944
-
945
- return Positionable;
946
- }(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__["Plugin"]);
947
-
689
+ }(_foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__.Plugin);
948
690
  Positionable.defaults = {
949
691
  /**
950
692
  * Position of positionable relative to anchor. Can be left, right, bottom, top, or auto.
@@ -953,7 +695,6 @@ Positionable.defaults = {
953
695
  * @default 'auto'
954
696
  */
955
697
  position: 'auto',
956
-
957
698
  /**
958
699
  * Alignment of positionable relative to anchor. Can be left, right, bottom, top, center, or auto.
959
700
  * @option
@@ -961,7 +702,6 @@ Positionable.defaults = {
961
702
  * @default 'auto'
962
703
  */
963
704
  alignment: 'auto',
964
-
965
705
  /**
966
706
  * Allow overlap of container/window. If false, dropdown positionable first
967
707
  * try to position as defined by data-position and data-alignment, but
@@ -971,7 +711,6 @@ Positionable.defaults = {
971
711
  * @default false
972
712
  */
973
713
  allowOverlap: false,
974
-
975
714
  /**
976
715
  * Allow overlap of only the bottom of the container. This is the most common
977
716
  * behavior for dropdowns, allowing the dropdown to extend the bottom of the
@@ -981,7 +720,6 @@ Positionable.defaults = {
981
720
  * @default true
982
721
  */
983
722
  allowBottomOverlap: true,
984
-
985
723
  /**
986
724
  * Number of pixels the positionable should be separated vertically from anchor
987
725
  * @option
@@ -989,7 +727,6 @@ Positionable.defaults = {
989
727
  * @default 0
990
728
  */
991
729
  vOffset: 0,
992
-
993
730
  /**
994
731
  * Number of pixels the positionable should be separated horizontally from anchor
995
732
  * @option
@@ -1006,44 +743,36 @@ Positionable.defaults = {
1006
743
  /*!****************************************!*\
1007
744
  !*** ./js/foundation.util.triggers.js ***!
1008
745
  \****************************************/
1009
- /*! exports provided: Triggers */
1010
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
746
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1011
747
 
1012
- "use strict";
1013
748
  __webpack_require__.r(__webpack_exports__);
1014
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Triggers", function() { return Triggers; });
749
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
750
+ /* harmony export */ Triggers: function() { return /* binding */ Triggers; }
751
+ /* harmony export */ });
1015
752
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
1016
753
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
1017
754
  /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
1018
755
  /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__);
1019
756
  /* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.motion */ "./foundation.util.motion");
1020
757
  /* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__);
1021
-
1022
-
1023
- 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); }
1024
-
1025
-
758
+ 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); }
1026
759
 
1027
760
 
1028
761
 
1029
762
  var MutationObserver = function () {
1030
763
  var prefixes = ['WebKit', 'Moz', 'O', 'Ms', ''];
1031
-
1032
764
  for (var i = 0; i < prefixes.length; i++) {
1033
765
  if ("".concat(prefixes[i], "MutationObserver") in window) {
1034
766
  return window["".concat(prefixes[i], "MutationObserver")];
1035
767
  }
1036
768
  }
1037
-
1038
769
  return false;
1039
770
  }();
1040
-
1041
771
  var triggers = function triggers(el, type) {
1042
772
  el.data(type).split(' ').forEach(function (id) {
1043
773
  jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id))[type === 'close' ? 'trigger' : 'triggerHandler']("".concat(type, ".zf.trigger"), [el]);
1044
774
  });
1045
775
  };
1046
-
1047
776
  var Triggers = {
1048
777
  Listeners: {
1049
778
  Basic: {},
@@ -1057,7 +786,6 @@ Triggers.Listeners.Basic = {
1057
786
  },
1058
787
  closeListener: function closeListener() {
1059
788
  var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('close');
1060
-
1061
789
  if (id) {
1062
790
  triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'close');
1063
791
  } else {
@@ -1066,7 +794,6 @@ Triggers.Listeners.Basic = {
1066
794
  },
1067
795
  toggleListener: function toggleListener() {
1068
796
  var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle');
1069
-
1070
797
  if (id) {
1071
798
  triggers(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), 'toggle');
1072
799
  } else {
@@ -1074,12 +801,12 @@ Triggers.Listeners.Basic = {
1074
801
  }
1075
802
  },
1076
803
  closeableListener: function closeableListener(e) {
1077
- var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable'); // Only close the first closable element. See https://git.io/zf-7833
804
+ var animation = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('closable');
1078
805
 
806
+ // Only close the first closable element. See https://git.io/zf-7833
1079
807
  e.stopPropagation();
1080
-
1081
808
  if (animation !== '') {
1082
- _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__["Motion"].animateOut(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), animation, function () {
809
+ _foundation_util_motion__WEBPACK_IMPORTED_MODULE_2__.Motion.animateOut(jquery__WEBPACK_IMPORTED_MODULE_0___default()(this), animation, function () {
1083
810
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).trigger('closed.zf');
1084
811
  });
1085
812
  } else {
@@ -1090,39 +817,40 @@ Triggers.Listeners.Basic = {
1090
817
  var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).data('toggle-focus');
1091
818
  jquery__WEBPACK_IMPORTED_MODULE_0___default()("#".concat(id)).triggerHandler('toggle.zf.trigger', [jquery__WEBPACK_IMPORTED_MODULE_0___default()(this)]);
1092
819
  }
1093
- }; // Elements with [data-open] will reveal a plugin that supports it when clicked.
820
+ };
1094
821
 
822
+ // Elements with [data-open] will reveal a plugin that supports it when clicked.
1095
823
  Triggers.Initializers.addOpenListener = function ($elem) {
1096
824
  $elem.off('click.zf.trigger', Triggers.Listeners.Basic.openListener);
1097
825
  $elem.on('click.zf.trigger', '[data-open]', Triggers.Listeners.Basic.openListener);
1098
- }; // Elements with [data-close] will close a plugin that supports it when clicked.
1099
- // If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
1100
-
826
+ };
1101
827
 
828
+ // Elements with [data-close] will close a plugin that supports it when clicked.
829
+ // If used without a value on [data-close], the event will bubble, allowing it to close a parent component.
1102
830
  Triggers.Initializers.addCloseListener = function ($elem) {
1103
831
  $elem.off('click.zf.trigger', Triggers.Listeners.Basic.closeListener);
1104
832
  $elem.on('click.zf.trigger', '[data-close]', Triggers.Listeners.Basic.closeListener);
1105
- }; // Elements with [data-toggle] will toggle a plugin that supports it when clicked.
1106
-
833
+ };
1107
834
 
835
+ // Elements with [data-toggle] will toggle a plugin that supports it when clicked.
1108
836
  Triggers.Initializers.addToggleListener = function ($elem) {
1109
837
  $elem.off('click.zf.trigger', Triggers.Listeners.Basic.toggleListener);
1110
838
  $elem.on('click.zf.trigger', '[data-toggle]', Triggers.Listeners.Basic.toggleListener);
1111
- }; // Elements with [data-closable] will respond to close.zf.trigger events.
1112
-
839
+ };
1113
840
 
841
+ // Elements with [data-closable] will respond to close.zf.trigger events.
1114
842
  Triggers.Initializers.addCloseableListener = function ($elem) {
1115
843
  $elem.off('close.zf.trigger', Triggers.Listeners.Basic.closeableListener);
1116
844
  $elem.on('close.zf.trigger', '[data-closeable], [data-closable]', Triggers.Listeners.Basic.closeableListener);
1117
- }; // Elements with [data-toggle-focus] will respond to coming in and out of focus
1118
-
845
+ };
1119
846
 
847
+ // Elements with [data-toggle-focus] will respond to coming in and out of focus
1120
848
  Triggers.Initializers.addToggleFocusListener = function ($elem) {
1121
849
  $elem.off('focus.zf.trigger blur.zf.trigger', Triggers.Listeners.Basic.toggleFocusListener);
1122
850
  $elem.on('focus.zf.trigger blur.zf.trigger', '[data-toggle-focus]', Triggers.Listeners.Basic.toggleFocusListener);
1123
- }; // More Global/complex listeners and triggers
1124
-
851
+ };
1125
852
 
853
+ // More Global/complex listeners and triggers
1126
854
  Triggers.Listeners.Global = {
1127
855
  resizeListener: function resizeListener($nodes) {
1128
856
  if (!MutationObserver) {
@@ -1130,9 +858,8 @@ Triggers.Listeners.Global = {
1130
858
  $nodes.each(function () {
1131
859
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('resizeme.zf.trigger');
1132
860
  });
1133
- } //trigger all listening elements and signal a resize event
1134
-
1135
-
861
+ }
862
+ //trigger all listening elements and signal a resize event
1136
863
  $nodes.attr('data-events', "resize");
1137
864
  },
1138
865
  scrollListener: function scrollListener($nodes) {
@@ -1141,9 +868,8 @@ Triggers.Listeners.Global = {
1141
868
  $nodes.each(function () {
1142
869
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(this).triggerHandler('scrollme.zf.trigger');
1143
870
  });
1144
- } //trigger all listening elements and signal a scroll event
1145
-
1146
-
871
+ }
872
+ //trigger all listening elements and signal a scroll event
1147
873
  $nodes.attr('data-events', "scroll");
1148
874
  },
1149
875
  closeMeListener: function closeMeListener(e, pluginId) {
@@ -1151,17 +877,15 @@ Triggers.Listeners.Global = {
1151
877
  var plugins = jquery__WEBPACK_IMPORTED_MODULE_0___default()("[data-".concat(plugin, "]")).not("[data-yeti-box=\"".concat(pluginId, "\"]"));
1152
878
  plugins.each(function () {
1153
879
  var _this = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this);
1154
-
1155
880
  _this.triggerHandler('close.zf.trigger', [_this]);
1156
881
  });
1157
- } // Global, parses whole document.
1158
-
882
+ }
1159
883
  };
1160
884
 
885
+ // Global, parses whole document.
1161
886
  Triggers.Initializers.addClosemeListener = function (pluginName) {
1162
887
  var yetiBoxes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-yeti-box]'),
1163
- plugNames = ['dropdown', 'tooltip', 'reveal'];
1164
-
888
+ plugNames = ['dropdown', 'tooltip', 'reveal'];
1165
889
  if (pluginName) {
1166
890
  if (typeof pluginName === 'string') {
1167
891
  plugNames.push(pluginName);
@@ -1171,7 +895,6 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
1171
895
  console.error('Plugin names must be strings');
1172
896
  }
1173
897
  }
1174
-
1175
898
  if (yetiBoxes.length) {
1176
899
  var listeners = plugNames.map(function (name) {
1177
900
  return "closeme.zf.".concat(name);
@@ -1179,75 +902,63 @@ Triggers.Initializers.addClosemeListener = function (pluginName) {
1179
902
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(listeners).on(listeners, Triggers.Listeners.Global.closeMeListener);
1180
903
  }
1181
904
  };
1182
-
1183
905
  function debounceGlobalListener(debounce, trigger, listener) {
1184
906
  var timer,
1185
- args = Array.prototype.slice.call(arguments, 3);
1186
- jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off(trigger).on(trigger, function (e) {
907
+ args = Array.prototype.slice.call(arguments, 3);
908
+ jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on(trigger, function () {
1187
909
  if (timer) {
1188
910
  clearTimeout(timer);
1189
911
  }
1190
-
1191
912
  timer = setTimeout(function () {
1192
913
  listener.apply(null, args);
1193
914
  }, debounce || 10); //default time to emit scroll event
1194
915
  });
1195
916
  }
1196
-
1197
917
  Triggers.Initializers.addResizeListener = function (debounce) {
1198
918
  var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-resize]');
1199
-
1200
919
  if ($nodes.length) {
1201
920
  debounceGlobalListener(debounce, 'resize.zf.trigger', Triggers.Listeners.Global.resizeListener, $nodes);
1202
921
  }
1203
922
  };
1204
-
1205
923
  Triggers.Initializers.addScrollListener = function (debounce) {
1206
924
  var $nodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-scroll]');
1207
-
1208
925
  if ($nodes.length) {
1209
926
  debounceGlobalListener(debounce, 'scroll.zf.trigger', Triggers.Listeners.Global.scrollListener, $nodes);
1210
927
  }
1211
928
  };
1212
-
1213
929
  Triggers.Initializers.addMutationEventsListener = function ($elem) {
1214
930
  if (!MutationObserver) {
1215
931
  return false;
1216
932
  }
933
+ var $nodes = $elem.find('[data-resize], [data-scroll], [data-mutate]');
1217
934
 
1218
- var $nodes = $elem.find('[data-resize], [data-scroll], [data-mutate]'); //element callback
1219
-
935
+ //element callback
1220
936
  var listeningElementsMutation = function listeningElementsMutation(mutationRecordsList) {
1221
- var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target); //trigger the event handler for the element depending on type
937
+ var $target = jquery__WEBPACK_IMPORTED_MODULE_0___default()(mutationRecordsList[0].target);
1222
938
 
939
+ //trigger the event handler for the element depending on type
1223
940
  switch (mutationRecordsList[0].type) {
1224
941
  case "attributes":
1225
942
  if ($target.attr("data-events") === "scroll" && mutationRecordsList[0].attributeName === "data-events") {
1226
943
  $target.triggerHandler('scrollme.zf.trigger', [$target, window.pageYOffset]);
1227
944
  }
1228
-
1229
945
  if ($target.attr("data-events") === "resize" && mutationRecordsList[0].attributeName === "data-events") {
1230
946
  $target.triggerHandler('resizeme.zf.trigger', [$target]);
1231
947
  }
1232
-
1233
948
  if (mutationRecordsList[0].attributeName === "style") {
1234
949
  $target.closest("[data-mutate]").attr("data-events", "mutate");
1235
950
  $target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
1236
951
  }
1237
-
1238
952
  break;
1239
-
1240
953
  case "childList":
1241
954
  $target.closest("[data-mutate]").attr("data-events", "mutate");
1242
955
  $target.closest("[data-mutate]").triggerHandler('mutateme.zf.trigger', [$target.closest("[data-mutate]")]);
1243
956
  break;
1244
-
1245
957
  default:
1246
958
  return false;
1247
959
  //nothing
1248
960
  }
1249
961
  };
1250
-
1251
962
  if ($nodes.length) {
1252
963
  //for each element that needs to listen for resizing, scrolling, or mutation add a single observer
1253
964
  for (var i = 0; i <= $nodes.length - 1; i++) {
@@ -1262,7 +973,6 @@ Triggers.Initializers.addMutationEventsListener = function ($elem) {
1262
973
  }
1263
974
  }
1264
975
  };
1265
-
1266
976
  Triggers.Initializers.addSimpleListeners = function () {
1267
977
  var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
1268
978
  Triggers.Initializers.addOpenListener($document);
@@ -1271,44 +981,78 @@ Triggers.Initializers.addSimpleListeners = function () {
1271
981
  Triggers.Initializers.addCloseableListener($document);
1272
982
  Triggers.Initializers.addToggleFocusListener($document);
1273
983
  };
1274
-
1275
984
  Triggers.Initializers.addGlobalListeners = function () {
1276
985
  var $document = jquery__WEBPACK_IMPORTED_MODULE_0___default()(document);
1277
986
  Triggers.Initializers.addMutationEventsListener($document);
1278
- Triggers.Initializers.addResizeListener();
987
+ Triggers.Initializers.addResizeListener(250);
1279
988
  Triggers.Initializers.addScrollListener();
1280
989
  Triggers.Initializers.addClosemeListener();
1281
990
  };
1282
-
1283
- Triggers.init = function ($, Foundation) {
1284
- Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__["onLoad"])($(window), function () {
1285
- if ($.triggersInitialized !== true) {
991
+ Triggers.init = function (__, Foundation) {
992
+ (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_1__.onLoad)(jquery__WEBPACK_IMPORTED_MODULE_0___default()(window), function () {
993
+ if ((jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) !== true) {
1286
994
  Triggers.Initializers.addSimpleListeners();
1287
995
  Triggers.Initializers.addGlobalListeners();
1288
- $.triggersInitialized = true;
996
+ (jquery__WEBPACK_IMPORTED_MODULE_0___default().triggersInitialized) = true;
1289
997
  }
1290
998
  });
1291
-
1292
999
  if (Foundation) {
1293
- Foundation.Triggers = Triggers; // Legacy included to be backwards compatible for now.
1294
-
1000
+ Foundation.Triggers = Triggers;
1001
+ // Legacy included to be backwards compatible for now.
1295
1002
  Foundation.IHearYou = Triggers.Initializers.addGlobalListeners;
1296
1003
  }
1297
1004
  };
1298
1005
 
1299
1006
 
1007
+ /***/ }),
1008
+
1009
+ /***/ "./foundation.core":
1010
+ /*!****************************************************************************************************************************************************************!*\
1011
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
1012
+ \****************************************************************************************************************************************************************/
1013
+ /***/ (function(module) {
1014
+
1015
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
1300
1016
 
1301
1017
  /***/ }),
1302
1018
 
1303
- /***/ 4:
1304
- /*!*********************************************************!*\
1305
- !*** multi ./js/entries/plugins/foundation.dropdown.js ***!
1306
- \*********************************************************/
1307
- /*! no static exports found */
1308
- /***/ (function(module, exports, __webpack_require__) {
1019
+ /***/ "./foundation.util.box":
1020
+ /*!********************************************************************************************************************************************************************************!*\
1021
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.box"],"amd":"./foundation.util.box","commonjs":"./foundation.util.box","commonjs2":"./foundation.util.box"} ***!
1022
+ \********************************************************************************************************************************************************************************/
1023
+ /***/ (function(module) {
1024
+
1025
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_box__;
1026
+
1027
+ /***/ }),
1309
1028
 
1310
- module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundation-sites/js/entries/plugins/foundation.dropdown.js */"./js/entries/plugins/foundation.dropdown.js");
1029
+ /***/ "./foundation.util.keyboard":
1030
+ /*!****************************************************************************************************************************************************************************************************!*\
1031
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.keyboard"],"amd":"./foundation.util.keyboard","commonjs":"./foundation.util.keyboard","commonjs2":"./foundation.util.keyboard"} ***!
1032
+ \****************************************************************************************************************************************************************************************************/
1033
+ /***/ (function(module) {
1311
1034
 
1035
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_keyboard__;
1036
+
1037
+ /***/ }),
1038
+
1039
+ /***/ "./foundation.util.motion":
1040
+ /*!********************************************************************************************************************************************************************************************!*\
1041
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.motion"],"amd":"./foundation.util.motion","commonjs":"./foundation.util.motion","commonjs2":"./foundation.util.motion"} ***!
1042
+ \********************************************************************************************************************************************************************************************/
1043
+ /***/ (function(module) {
1044
+
1045
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_motion__;
1046
+
1047
+ /***/ }),
1048
+
1049
+ /***/ "./foundation.util.touch":
1050
+ /*!****************************************************************************************************************************************************************************************!*\
1051
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.touch"],"amd":"./foundation.util.touch","commonjs":"./foundation.util.touch","commonjs2":"./foundation.util.touch"} ***!
1052
+ \****************************************************************************************************************************************************************************************/
1053
+ /***/ (function(module) {
1054
+
1055
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_touch__;
1312
1056
 
1313
1057
  /***/ }),
1314
1058
 
@@ -1316,13 +1060,101 @@ module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundatio
1316
1060
  /*!********************************************************************************************!*\
1317
1061
  !*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
1318
1062
  \********************************************************************************************/
1319
- /*! no static exports found */
1320
- /***/ (function(module, exports) {
1063
+ /***/ (function(module) {
1321
1064
 
1322
1065
  module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
1323
1066
 
1324
1067
  /***/ })
1325
1068
 
1326
- /******/ });
1069
+ /******/ });
1070
+ /************************************************************************/
1071
+ /******/ // The module cache
1072
+ /******/ var __webpack_module_cache__ = {};
1073
+ /******/
1074
+ /******/ // The require function
1075
+ /******/ function __webpack_require__(moduleId) {
1076
+ /******/ // Check if module is in cache
1077
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1078
+ /******/ if (cachedModule !== undefined) {
1079
+ /******/ return cachedModule.exports;
1080
+ /******/ }
1081
+ /******/ // Create a new module (and put it into the cache)
1082
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1083
+ /******/ // no module.id needed
1084
+ /******/ // no module.loaded needed
1085
+ /******/ exports: {}
1086
+ /******/ };
1087
+ /******/
1088
+ /******/ // Execute the module function
1089
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1090
+ /******/
1091
+ /******/ // Return the exports of the module
1092
+ /******/ return module.exports;
1093
+ /******/ }
1094
+ /******/
1095
+ /************************************************************************/
1096
+ /******/ /* webpack/runtime/compat get default export */
1097
+ /******/ !function() {
1098
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1099
+ /******/ __webpack_require__.n = function(module) {
1100
+ /******/ var getter = module && module.__esModule ?
1101
+ /******/ function() { return module['default']; } :
1102
+ /******/ function() { return module; };
1103
+ /******/ __webpack_require__.d(getter, { a: getter });
1104
+ /******/ return getter;
1105
+ /******/ };
1106
+ /******/ }();
1107
+ /******/
1108
+ /******/ /* webpack/runtime/define property getters */
1109
+ /******/ !function() {
1110
+ /******/ // define getter functions for harmony exports
1111
+ /******/ __webpack_require__.d = function(exports, definition) {
1112
+ /******/ for(var key in definition) {
1113
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1114
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1115
+ /******/ }
1116
+ /******/ }
1117
+ /******/ };
1118
+ /******/ }();
1119
+ /******/
1120
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
1121
+ /******/ !function() {
1122
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
1123
+ /******/ }();
1124
+ /******/
1125
+ /******/ /* webpack/runtime/make namespace object */
1126
+ /******/ !function() {
1127
+ /******/ // define __esModule on exports
1128
+ /******/ __webpack_require__.r = function(exports) {
1129
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1130
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1131
+ /******/ }
1132
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
1133
+ /******/ };
1134
+ /******/ }();
1135
+ /******/
1136
+ /************************************************************************/
1137
+ var __webpack_exports__ = {};
1138
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1139
+ !function() {
1140
+ /*!***************************************************!*\
1141
+ !*** ./js/entries/plugins/foundation.dropdown.js ***!
1142
+ \***************************************************/
1143
+ __webpack_require__.r(__webpack_exports__);
1144
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1145
+ /* harmony export */ Dropdown: function() { return /* reexport safe */ _foundation_dropdown__WEBPACK_IMPORTED_MODULE_1__.Dropdown; },
1146
+ /* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; }
1147
+ /* harmony export */ });
1148
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
1149
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
1150
+ /* harmony import */ var _foundation_dropdown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.dropdown */ "./js/foundation.dropdown.js");
1151
+
1152
+
1153
+ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_dropdown__WEBPACK_IMPORTED_MODULE_1__.Dropdown, 'Dropdown');
1154
+
1155
+ }();
1156
+ /******/ return __webpack_exports__;
1157
+ /******/ })()
1158
+ ;
1327
1159
  });
1328
1160
  //# sourceMappingURL=foundation.dropdown.js.map