foundation-rails 6.6.1.0 → 6.9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) 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 +199 -146
  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 +2101 -3230
  14. data/vendor/assets/js/foundation.cjs.js.map +1 -1
  15. data/vendor/assets/js/foundation.es6.js +505 -379
  16. data/vendor/assets/js/foundation.es6.js.map +1 -1
  17. data/vendor/assets/js/foundation.esm.js +1779 -2911
  18. data/vendor/assets/js/foundation.esm.js.map +1 -1
  19. data/vendor/assets/js/foundation.js +2544 -3970
  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 +277 -367
  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 +205 -277
  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 -262
  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 +314 -457
  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 +259 -359
  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 +291 -462
  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 +251 -349
  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 +455 -240
  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 +226 -342
  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 -288
  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 +285 -445
  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 +321 -486
  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 -395
  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 +276 -437
  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 +176 -234
  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 +127 -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 +126 -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 +20 -7
  148. data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
  149. data/vendor/assets/scss/components/_accordion.scss +2 -2
  150. data/vendor/assets/scss/components/_badge.scss +3 -3
  151. data/vendor/assets/scss/components/_breadcrumbs.scss +4 -3
  152. data/vendor/assets/scss/components/_button-group.scss +23 -13
  153. data/vendor/assets/scss/components/_button.scss +15 -15
  154. data/vendor/assets/scss/components/_callout.scss +4 -4
  155. data/vendor/assets/scss/components/_card.scss +2 -2
  156. data/vendor/assets/scss/components/_close-button.scss +7 -6
  157. data/vendor/assets/scss/components/_drilldown.scss +2 -2
  158. data/vendor/assets/scss/components/_dropdown-menu.scss +3 -3
  159. data/vendor/assets/scss/components/_dropdown.scss +2 -2
  160. data/vendor/assets/scss/components/_flex.scss +2 -2
  161. data/vendor/assets/scss/components/_float.scss +2 -2
  162. data/vendor/assets/scss/components/_label.scss +3 -3
  163. data/vendor/assets/scss/components/_media-object.scss +2 -2
  164. data/vendor/assets/scss/components/_menu.scss +56 -21
  165. data/vendor/assets/scss/components/_off-canvas.scss +20 -18
  166. data/vendor/assets/scss/components/_orbit.scss +5 -5
  167. data/vendor/assets/scss/components/_pagination.scss +3 -3
  168. data/vendor/assets/scss/components/_progress-bar.scss +3 -3
  169. data/vendor/assets/scss/components/_responsive-embed.scss +3 -3
  170. data/vendor/assets/scss/components/_reveal.scss +10 -5
  171. data/vendor/assets/scss/components/_slider.scss +7 -4
  172. data/vendor/assets/scss/components/_sticky.scss +2 -2
  173. data/vendor/assets/scss/components/_switch.scss +27 -4
  174. data/vendor/assets/scss/components/_table.scss +10 -9
  175. data/vendor/assets/scss/components/_tabs.scss +4 -4
  176. data/vendor/assets/scss/components/_thumbnail.scss +2 -2
  177. data/vendor/assets/scss/components/_title-bar.scss +2 -2
  178. data/vendor/assets/scss/components/_tooltip.scss +2 -2
  179. data/vendor/assets/scss/components/_top-bar.scss +9 -7
  180. data/vendor/assets/scss/components/_visibility.scss +48 -5
  181. data/vendor/assets/scss/forms/_checkbox.scss +2 -2
  182. data/vendor/assets/scss/forms/_error.scss +2 -2
  183. data/vendor/assets/scss/forms/_fieldset.scss +2 -2
  184. data/vendor/assets/scss/forms/_forms.scss +2 -2
  185. data/vendor/assets/scss/forms/_help-text.scss +2 -2
  186. data/vendor/assets/scss/forms/_input-group.scss +2 -2
  187. data/vendor/assets/scss/forms/_label.scss +4 -3
  188. data/vendor/assets/scss/forms/_meter.scss +2 -2
  189. data/vendor/assets/scss/forms/_progress.scss +3 -3
  190. data/vendor/assets/scss/forms/_range.scss +3 -3
  191. data/vendor/assets/scss/forms/_select.scss +7 -6
  192. data/vendor/assets/scss/forms/_text.scss +4 -4
  193. data/vendor/assets/scss/foundation.scss +3 -3
  194. data/vendor/assets/scss/grid/_classes.scss +3 -3
  195. data/vendor/assets/scss/grid/_column.scss +5 -4
  196. data/vendor/assets/scss/grid/_flex-grid.scss +9 -8
  197. data/vendor/assets/scss/grid/_grid.scss +2 -2
  198. data/vendor/assets/scss/grid/_gutter.scss +3 -3
  199. data/vendor/assets/scss/grid/_layout.scss +7 -7
  200. data/vendor/assets/scss/grid/_position.scss +6 -6
  201. data/vendor/assets/scss/grid/_row.scss +3 -3
  202. data/vendor/assets/scss/grid/_size.scss +2 -2
  203. data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
  204. data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
  205. data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
  206. data/vendor/assets/scss/prototype/_arrow.scss +2 -2
  207. data/vendor/assets/scss/prototype/_border-box.scss +2 -2
  208. data/vendor/assets/scss/prototype/_border-none.scss +3 -3
  209. data/vendor/assets/scss/prototype/_bordered.scss +2 -2
  210. data/vendor/assets/scss/prototype/_box.scss +2 -2
  211. data/vendor/assets/scss/prototype/_display.scss +2 -2
  212. data/vendor/assets/scss/prototype/_font-styling.scss +4 -4
  213. data/vendor/assets/scss/prototype/_list-style-type.scss +2 -2
  214. data/vendor/assets/scss/prototype/_overflow.scss +11 -2
  215. data/vendor/assets/scss/prototype/_position.scss +2 -2
  216. data/vendor/assets/scss/prototype/_prototype.scss +2 -2
  217. data/vendor/assets/scss/prototype/_rotate.scss +9 -7
  218. data/vendor/assets/scss/prototype/_rounded.scss +2 -2
  219. data/vendor/assets/scss/prototype/_separator.scss +7 -7
  220. data/vendor/assets/scss/prototype/_shadow.scss +3 -4
  221. data/vendor/assets/scss/prototype/_sizing.scss +2 -2
  222. data/vendor/assets/scss/prototype/_spacing.scss +35 -35
  223. data/vendor/assets/scss/prototype/_text-decoration.scss +2 -2
  224. data/vendor/assets/scss/prototype/_text-transformation.scss +5 -5
  225. data/vendor/assets/scss/prototype/_text-utilities.scss +2 -2
  226. data/vendor/assets/scss/settings/_settings.scss +32 -28
  227. data/vendor/assets/scss/typography/_alignment.scss +2 -2
  228. data/vendor/assets/scss/typography/_base.scss +8 -8
  229. data/vendor/assets/scss/typography/_helpers.scss +12 -4
  230. data/vendor/assets/scss/typography/_print.scss +4 -4
  231. data/vendor/assets/scss/typography/_typography.scss +2 -2
  232. data/vendor/assets/scss/util/_breakpoint.scss +24 -21
  233. data/vendor/assets/scss/util/_color.scss +22 -10
  234. data/vendor/assets/scss/util/_direction.scss +3 -3
  235. data/vendor/assets/scss/util/_flex.scss +1 -1
  236. data/vendor/assets/scss/util/_math.scss +63 -11
  237. data/vendor/assets/scss/util/_mixins.scss +20 -16
  238. data/vendor/assets/scss/util/_selector.scss +3 -17
  239. data/vendor/assets/scss/util/_typography.scss +8 -8
  240. data/vendor/assets/scss/util/_unit.scss +16 -10
  241. data/vendor/assets/scss/util/_util.scss +2 -2
  242. data/vendor/assets/scss/util/_value.scss +5 -20
  243. data/vendor/assets/scss/vendor/normalize.scss +19 -2
  244. data/vendor/assets/scss/xy-grid/_cell.scss +18 -7
  245. data/vendor/assets/scss/xy-grid/_classes.scss +16 -16
  246. data/vendor/assets/scss/xy-grid/_collapse.scss +2 -2
  247. data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
  248. data/vendor/assets/scss/xy-grid/_grid.scss +4 -4
  249. data/vendor/assets/scss/xy-grid/_gutters.scss +4 -4
  250. data/vendor/assets/scss/xy-grid/_layout.scss +3 -3
  251. data/vendor/assets/scss/xy-grid/_position.scss +14 -9
  252. data/vendor/assets/scss/xy-grid/_xy-grid.scss +4 -4
  253. metadata +21 -19
@@ -1,194 +1,48 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("./foundation.core"), require("./foundation.util.imageLoader"), require("./foundation.util.mediaQuery"), require("jquery"));
3
+ module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.util.imageLoader"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["./foundation.core", "./foundation.util.imageLoader", "./foundation.util.mediaQuery", "jquery"], factory);
5
+ define(["./foundation.core", "jquery", "./foundation.util.mediaQuery", "./foundation.util.imageLoader"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["foundation.equalizer"] = factory(require("./foundation.core"), require("./foundation.util.imageLoader"), require("./foundation.util.mediaQuery"), require("jquery"));
7
+ exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.util.imageLoader"));
8
8
  else
9
- root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.equalizer"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.imageLoader"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["jQuery"]);
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__, __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__, __WEBPACK_EXTERNAL_MODULE_jquery__) {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
14
- /******/
15
- /******/ // The require function
16
- /******/ function __webpack_require__(moduleId) {
17
- /******/
18
- /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId]) {
20
- /******/ return installedModules[moduleId].exports;
21
- /******/ }
22
- /******/ // Create a new module (and put it into the cache)
23
- /******/ var module = installedModules[moduleId] = {
24
- /******/ i: moduleId,
25
- /******/ l: false,
26
- /******/ exports: {}
27
- /******/ };
28
- /******/
29
- /******/ // Execute the module function
30
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
- /******/
32
- /******/ // Flag the module as loaded
33
- /******/ module.l = true;
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /******/
40
- /******/ // expose the modules object (__webpack_modules__)
41
- /******/ __webpack_require__.m = modules;
42
- /******/
43
- /******/ // expose the module cache
44
- /******/ __webpack_require__.c = installedModules;
45
- /******/
46
- /******/ // define getter function for harmony exports
47
- /******/ __webpack_require__.d = function(exports, name, getter) {
48
- /******/ if(!__webpack_require__.o(exports, name)) {
49
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
- /******/ }
51
- /******/ };
52
- /******/
53
- /******/ // define __esModule on exports
54
- /******/ __webpack_require__.r = function(exports) {
55
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
- /******/ }
58
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
- /******/ };
60
- /******/
61
- /******/ // create a fake namespace object
62
- /******/ // mode & 1: value is a module id, require it
63
- /******/ // mode & 2: merge all properties of value into the ns
64
- /******/ // mode & 4: return value when already ns object
65
- /******/ // mode & 8|1: behave like require
66
- /******/ __webpack_require__.t = function(value, mode) {
67
- /******/ if(mode & 1) value = __webpack_require__(value);
68
- /******/ if(mode & 8) return value;
69
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
- /******/ var ns = Object.create(null);
71
- /******/ __webpack_require__.r(ns);
72
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
- /******/ return ns;
75
- /******/ };
76
- /******/
77
- /******/ // getDefaultExport function for compatibility with non-harmony modules
78
- /******/ __webpack_require__.n = function(module) {
79
- /******/ var getter = module && module.__esModule ?
80
- /******/ function getDefault() { return module['default']; } :
81
- /******/ function getModuleExports() { return module; };
82
- /******/ __webpack_require__.d(getter, 'a', getter);
83
- /******/ return getter;
84
- /******/ };
85
- /******/
86
- /******/ // Object.prototype.hasOwnProperty.call
87
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
- /******/
89
- /******/ // __webpack_public_path__
90
- /******/ __webpack_require__.p = "";
91
- /******/
92
- /******/
93
- /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 6);
95
- /******/ })
96
- /************************************************************************/
97
- /******/ ({
98
-
99
- /***/ "./foundation.core":
100
- /*!****************************************************************************************************************************************************************!*\
101
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
102
- \****************************************************************************************************************************************************************/
103
- /*! no static exports found */
104
- /***/ (function(module, exports) {
105
-
106
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
107
-
108
- /***/ }),
109
-
110
- /***/ "./foundation.util.imageLoader":
111
- /*!****************************************************************************************************************************************************************************************************************!*\
112
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.imageLoader"],"amd":"./foundation.util.imageLoader","commonjs":"./foundation.util.imageLoader","commonjs2":"./foundation.util.imageLoader"} ***!
113
- \****************************************************************************************************************************************************************************************************************/
114
- /*! no static exports found */
115
- /***/ (function(module, exports) {
116
-
117
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__;
118
-
119
- /***/ }),
120
-
121
- /***/ "./foundation.util.mediaQuery":
122
- /*!************************************************************************************************************************************************************************************************************!*\
123
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
124
- \************************************************************************************************************************************************************************************************************/
125
- /*! no static exports found */
126
- /***/ (function(module, exports) {
127
-
128
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
129
-
130
- /***/ }),
131
-
132
- /***/ "./js/entries/plugins/foundation.equalizer.js":
133
- /*!****************************************************!*\
134
- !*** ./js/entries/plugins/foundation.equalizer.js ***!
135
- \****************************************************/
136
- /*! exports provided: Foundation, Equalizer */
137
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
138
-
139
- "use strict";
140
- __webpack_require__.r(__webpack_exports__);
141
- /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
142
- /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
143
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
144
-
145
- /* harmony import */ var _foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.equalizer */ "./js/foundation.equalizer.js");
146
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Equalizer", function() { return _foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__["Equalizer"]; });
147
-
148
-
149
-
150
- _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__["Equalizer"], 'Equalizer');
151
-
152
-
153
- /***/ }),
9
+ root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.equalizer"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.imageLoader"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__) {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
154
14
 
155
15
  /***/ "./js/foundation.equalizer.js":
156
16
  /*!************************************!*\
157
17
  !*** ./js/foundation.equalizer.js ***!
158
18
  \************************************/
159
- /*! exports provided: Equalizer */
160
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
161
20
 
162
- "use strict";
163
21
  __webpack_require__.r(__webpack_exports__);
164
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Equalizer", function() { return Equalizer; });
22
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
+ /* harmony export */ Equalizer: function() { return /* binding */ Equalizer; }
24
+ /* harmony export */ });
165
25
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
166
26
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
167
27
  /* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.mediaQuery */ "./foundation.util.mediaQuery");
168
28
  /* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__);
169
29
  /* harmony import */ var _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.util.imageLoader */ "./foundation.util.imageLoader");
170
30
  /* harmony import */ var _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_2__);
171
- /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
31
+ /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
172
32
  /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__);
173
-
174
-
175
- function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
176
-
177
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
178
-
179
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
180
-
181
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
182
-
183
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
184
-
185
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
186
-
187
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
188
-
189
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
190
-
191
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
34
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
35
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
36
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
37
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
38
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
39
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
40
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
41
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
42
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
43
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
44
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
45
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
192
46
 
193
47
 
194
48
 
@@ -201,21 +55,15 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
201
55
  * @requires foundation.util.mediaQuery
202
56
  * @requires foundation.util.imageLoader if equalizer contains images
203
57
  */
204
-
205
- var Equalizer =
206
- /*#__PURE__*/
207
- function (_Plugin) {
208
- _inherits(Equalizer, _Plugin);
209
-
58
+ var Equalizer = /*#__PURE__*/function (_Plugin) {
210
59
  function Equalizer() {
211
60
  _classCallCheck(this, Equalizer);
212
-
213
- return _possibleConstructorReturn(this, _getPrototypeOf(Equalizer).apply(this, arguments));
61
+ return _callSuper(this, Equalizer, arguments);
214
62
  }
215
-
216
- _createClass(Equalizer, [{
63
+ _inherits(Equalizer, _Plugin);
64
+ return _createClass(Equalizer, [{
217
65
  key: "_setup",
218
-
66
+ value:
219
67
  /**
220
68
  * Creates a new instance of Equalizer.
221
69
  * @class
@@ -224,29 +72,27 @@ function (_Plugin) {
224
72
  * @param {Object} element - jQuery object to add the trigger to.
225
73
  * @param {Object} options - Overrides to the default plugin settings.
226
74
  */
227
- value: function _setup(element, options) {
75
+ function _setup(element, options) {
228
76
  this.$element = element;
229
- this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.extend({}, Equalizer.defaults, this.$element.data(), options);
77
+ this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, Equalizer.defaults, this.$element.data(), options);
230
78
  this.className = 'Equalizer'; // ie9 back compat
231
79
 
232
80
  this._init();
233
81
  }
82
+
234
83
  /**
235
84
  * Initializes the Equalizer plugin and calls functions to get equalizer functioning on load.
236
85
  * @private
237
86
  */
238
-
239
87
  }, {
240
88
  key: "_init",
241
89
  value: function _init() {
242
90
  var eqId = this.$element.attr('data-equalizer') || '';
243
91
  var $watched = this.$element.find("[data-equalizer-watch=\"".concat(eqId, "\"]"));
244
-
245
- _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__["MediaQuery"]._init();
246
-
92
+ _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery._init();
247
93
  this.$watched = $watched.length ? $watched : this.$element.find('[data-equalizer-watch]');
248
- this.$element.attr('data-resize', eqId || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["GetYoDigits"])(6, 'eq'));
249
- this.$element.attr('data-mutate', eqId || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["GetYoDigits"])(6, 'eq'));
94
+ this.$element.attr('data-resize', eqId || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.GetYoDigits)(6, 'eq'));
95
+ this.$element.attr('data-mutate', eqId || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.GetYoDigits)(6, 'eq'));
250
96
  this.hasNested = this.$element.find('[data-equalizer]').length > 0;
251
97
  this.isNested = this.$element.parentsUntil(document.body, '[data-equalizer]').length > 0;
252
98
  this.isOn = false;
@@ -256,27 +102,25 @@ function (_Plugin) {
256
102
  };
257
103
  var imgs = this.$element.find('img');
258
104
  var tooSmall;
259
-
260
105
  if (this.options.equalizeOn) {
261
106
  tooSmall = this._checkMQ();
262
107
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on('changed.zf.mediaquery', this._checkMQ.bind(this));
263
108
  } else {
264
109
  this._events();
265
110
  }
266
-
267
111
  if (typeof tooSmall !== 'undefined' && tooSmall === false || typeof tooSmall === 'undefined') {
268
112
  if (imgs.length) {
269
- Object(_foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_2__["onImagesLoaded"])(imgs, this._reflow.bind(this));
113
+ (0,_foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_2__.onImagesLoaded)(imgs, this._reflow.bind(this));
270
114
  } else {
271
115
  this._reflow();
272
116
  }
273
117
  }
274
118
  }
119
+
275
120
  /**
276
121
  * Removes event listeners if the breakpoint is too small.
277
122
  * @private
278
123
  */
279
-
280
124
  }, {
281
125
  key: "_pauseEvents",
282
126
  value: function _pauseEvents() {
@@ -287,21 +131,21 @@ function (_Plugin) {
287
131
  'mutateme.zf.trigger': this._bindHandler.onResizeMeBound
288
132
  });
289
133
  }
134
+
290
135
  /**
291
136
  * function to handle $elements resizeme.zf.trigger, with bound this on _bindHandler.onResizeMeBound
292
137
  * @private
293
138
  */
294
-
295
139
  }, {
296
140
  key: "_onResizeMe",
297
- value: function _onResizeMe(e) {
141
+ value: function _onResizeMe() {
298
142
  this._reflow();
299
143
  }
144
+
300
145
  /**
301
146
  * function to handle $elements postequalized.zf.equalizer, with bound this on _bindHandler.onPostEqualizedBound
302
147
  * @private
303
148
  */
304
-
305
149
  }, {
306
150
  key: "_onPostEqualized",
307
151
  value: function _onPostEqualized(e) {
@@ -309,41 +153,35 @@ function (_Plugin) {
309
153
  this._reflow();
310
154
  }
311
155
  }
156
+
312
157
  /**
313
158
  * Initializes events for Equalizer.
314
159
  * @private
315
160
  */
316
-
317
161
  }, {
318
162
  key: "_events",
319
163
  value: function _events() {
320
- var _this = this;
321
-
322
164
  this._pauseEvents();
323
-
324
165
  if (this.hasNested) {
325
166
  this.$element.on('postequalized.zf.equalizer', this._bindHandler.onPostEqualizedBound);
326
167
  } else {
327
168
  this.$element.on('resizeme.zf.trigger', this._bindHandler.onResizeMeBound);
328
169
  this.$element.on('mutateme.zf.trigger', this._bindHandler.onResizeMeBound);
329
170
  }
330
-
331
171
  this.isOn = true;
332
172
  }
173
+
333
174
  /**
334
175
  * Checks the current breakpoint to the minimum required size.
335
176
  * @private
336
177
  */
337
-
338
178
  }, {
339
179
  key: "_checkMQ",
340
180
  value: function _checkMQ() {
341
- var tooSmall = !_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__["MediaQuery"].is(this.options.equalizeOn);
342
-
181
+ var tooSmall = !_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.is(this.options.equalizeOn);
343
182
  if (tooSmall) {
344
183
  if (this.isOn) {
345
184
  this._pauseEvents();
346
-
347
185
  this.$watched.css('height', 'auto');
348
186
  }
349
187
  } else {
@@ -351,24 +189,23 @@ function (_Plugin) {
351
189
  this._events();
352
190
  }
353
191
  }
354
-
355
192
  return tooSmall;
356
193
  }
194
+
357
195
  /**
358
196
  * A noop version for the plugin
359
197
  * @private
360
198
  */
361
-
362
199
  }, {
363
200
  key: "_killswitch",
364
201
  value: function _killswitch() {
365
202
  return;
366
203
  }
204
+
367
205
  /**
368
206
  * Calls necessary functions to update Equalizer upon DOM change
369
207
  * @private
370
208
  */
371
-
372
209
  }, {
373
210
  key: "_reflow",
374
211
  value: function _reflow() {
@@ -378,74 +215,66 @@ function (_Plugin) {
378
215
  return false;
379
216
  }
380
217
  }
381
-
382
218
  if (this.options.equalizeByRow) {
383
219
  this.getHeightsByRow(this.applyHeightByRow.bind(this));
384
220
  } else {
385
221
  this.getHeights(this.applyHeight.bind(this));
386
222
  }
387
223
  }
224
+
388
225
  /**
389
226
  * Manually determines if the first 2 elements are *NOT* stacked.
390
227
  * @private
391
228
  */
392
-
393
229
  }, {
394
230
  key: "_isStacked",
395
231
  value: function _isStacked() {
396
232
  if (!this.$watched[0] || !this.$watched[1]) {
397
233
  return true;
398
234
  }
399
-
400
235
  return this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top;
401
236
  }
237
+
402
238
  /**
403
239
  * Finds the outer heights of children contained within an Equalizer parent and returns them in an array
404
240
  * @param {Function} cb - A non-optional callback to return the heights array to.
405
241
  * @returns {Array} heights - An array of heights of children within Equalizer container
406
242
  */
407
-
408
243
  }, {
409
244
  key: "getHeights",
410
245
  value: function getHeights(cb) {
411
246
  var heights = [];
412
-
413
247
  for (var i = 0, len = this.$watched.length; i < len; i++) {
414
248
  this.$watched[i].style.height = 'auto';
415
249
  heights.push(this.$watched[i].offsetHeight);
416
250
  }
417
-
418
251
  cb(heights);
419
252
  }
253
+
420
254
  /**
421
255
  * Finds the outer heights of children contained within an Equalizer parent and returns them in an array
422
256
  * @param {Function} cb - A non-optional callback to return the heights array to.
423
257
  * @returns {Array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
424
258
  */
425
-
426
259
  }, {
427
260
  key: "getHeightsByRow",
428
261
  value: function getHeightsByRow(cb) {
429
262
  var lastElTopOffset = this.$watched.length ? this.$watched.first().offset().top : 0,
430
- groups = [],
431
- group = 0; //group by Row
432
-
263
+ groups = [],
264
+ group = 0;
265
+ //group by Row
433
266
  groups[group] = [];
434
-
435
267
  for (var i = 0, len = this.$watched.length; i < len; i++) {
436
- this.$watched[i].style.height = 'auto'; //maybe could use this.$watched[i].offsetTop
437
-
268
+ this.$watched[i].style.height = 'auto';
269
+ //maybe could use this.$watched[i].offsetTop
438
270
  var elOffsetTop = jquery__WEBPACK_IMPORTED_MODULE_0___default()(this.$watched[i]).offset().top;
439
-
440
- if (elOffsetTop != lastElTopOffset) {
271
+ if (elOffsetTop !== lastElTopOffset) {
441
272
  group++;
442
273
  groups[group] = [];
443
274
  lastElTopOffset = elOffsetTop;
444
275
  }
445
-
446
276
  groups[group].push([this.$watched[i], this.$watched[i].offsetHeight]);
447
277
  }
448
-
449
278
  for (var j = 0, ln = groups.length; j < ln; j++) {
450
279
  var heights = jquery__WEBPACK_IMPORTED_MODULE_0___default()(groups[j]).map(function () {
451
280
  return this[1];
@@ -453,16 +282,15 @@ function (_Plugin) {
453
282
  var max = Math.max.apply(null, heights);
454
283
  groups[j].push(max);
455
284
  }
456
-
457
285
  cb(groups);
458
286
  }
287
+
459
288
  /**
460
289
  * Changes the CSS height property of each child in an Equalizer parent to match the tallest
461
290
  * @param {array} heights - An array of heights of children within Equalizer container
462
291
  * @fires Equalizer#preequalized
463
292
  * @fires Equalizer#postequalized
464
293
  */
465
-
466
294
  }, {
467
295
  key: "applyHeight",
468
296
  value: function applyHeight(heights) {
@@ -471,16 +299,16 @@ function (_Plugin) {
471
299
  * Fires before the heights are applied
472
300
  * @event Equalizer#preequalized
473
301
  */
474
-
475
302
  this.$element.trigger('preequalized.zf.equalizer');
476
303
  this.$watched.css('height', max);
304
+
477
305
  /**
478
306
  * Fires when the heights have been applied
479
307
  * @event Equalizer#postequalized
480
308
  */
481
-
482
309
  this.$element.trigger('postequalized.zf.equalizer');
483
310
  }
311
+
484
312
  /**
485
313
  * Changes the CSS height property of each child in an Equalizer parent to match the tallest by row
486
314
  * @param {array} groups - An array of heights of children within Equalizer container grouped by row with element,height and max as last child
@@ -489,7 +317,6 @@ function (_Plugin) {
489
317
  * @fires Equalizer#postequalizedrow
490
318
  * @fires Equalizer#postequalized
491
319
  */
492
-
493
320
  }, {
494
321
  key: "applyHeightByRow",
495
322
  value: function applyHeightByRow(groups) {
@@ -497,11 +324,9 @@ function (_Plugin) {
497
324
  * Fires before the heights are applied
498
325
  */
499
326
  this.$element.trigger('preequalized.zf.equalizer');
500
-
501
327
  for (var i = 0, len = groups.length; i < len; i++) {
502
328
  var groupsILength = groups[i].length,
503
- max = groups[i][groupsILength - 1];
504
-
329
+ max = groups[i][groupsILength - 1];
505
330
  if (groupsILength <= 2) {
506
331
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(groups[i][0][0]).css({
507
332
  'height': 'auto'
@@ -512,10 +337,7 @@ function (_Plugin) {
512
337
  * Fires before the heights per row are applied
513
338
  * @event Equalizer#preequalizedrow
514
339
  */
515
-
516
-
517
340
  this.$element.trigger('preequalizedrow.zf.equalizer');
518
-
519
341
  for (var j = 0, lenJ = groupsILength - 1; j < lenJ; j++) {
520
342
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(groups[i][j][0]).css({
521
343
  'height': max
@@ -525,38 +347,29 @@ function (_Plugin) {
525
347
  * Fires when the heights per row have been applied
526
348
  * @event Equalizer#postequalizedrow
527
349
  */
528
-
529
-
530
350
  this.$element.trigger('postequalizedrow.zf.equalizer');
531
351
  }
532
352
  /**
533
353
  * Fires when the heights have been applied
534
354
  */
535
-
536
-
537
355
  this.$element.trigger('postequalized.zf.equalizer');
538
356
  }
357
+
539
358
  /**
540
359
  * Destroys an instance of Equalizer.
541
360
  * @function
542
361
  */
543
-
544
362
  }, {
545
363
  key: "_destroy",
546
364
  value: function _destroy() {
547
365
  this._pauseEvents();
548
-
549
366
  this.$watched.css('height', 'auto');
550
367
  }
551
368
  }]);
552
-
553
- return Equalizer;
554
- }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__["Plugin"]);
369
+ }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_3__.Plugin);
555
370
  /**
556
371
  * Default settings for plugin
557
372
  */
558
-
559
-
560
373
  Equalizer.defaults = {
561
374
  /**
562
375
  * Enable height equalization when stacked on smaller screens.
@@ -565,7 +378,6 @@ Equalizer.defaults = {
565
378
  * @default false
566
379
  */
567
380
  equalizeOnStack: false,
568
-
569
381
  /**
570
382
  * Enable height equalization row by row.
571
383
  * @option
@@ -573,7 +385,6 @@ Equalizer.defaults = {
573
385
  * @default false
574
386
  */
575
387
  equalizeByRow: false,
576
-
577
388
  /**
578
389
  * String representing the minimum breakpoint size the plugin should equalize heights on.
579
390
  * @option
@@ -586,15 +397,33 @@ Equalizer.defaults = {
586
397
 
587
398
  /***/ }),
588
399
 
589
- /***/ 6:
590
- /*!**********************************************************!*\
591
- !*** multi ./js/entries/plugins/foundation.equalizer.js ***!
592
- \**********************************************************/
593
- /*! no static exports found */
594
- /***/ (function(module, exports, __webpack_require__) {
400
+ /***/ "./foundation.core":
401
+ /*!****************************************************************************************************************************************************************!*\
402
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
403
+ \****************************************************************************************************************************************************************/
404
+ /***/ (function(module) {
405
+
406
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
407
+
408
+ /***/ }),
409
+
410
+ /***/ "./foundation.util.imageLoader":
411
+ /*!****************************************************************************************************************************************************************************************************************!*\
412
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.imageLoader"],"amd":"./foundation.util.imageLoader","commonjs":"./foundation.util.imageLoader","commonjs2":"./foundation.util.imageLoader"} ***!
413
+ \****************************************************************************************************************************************************************************************************************/
414
+ /***/ (function(module) {
415
+
416
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_imageLoader__;
417
+
418
+ /***/ }),
595
419
 
596
- module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/foundation-sites/js/entries/plugins/foundation.equalizer.js */"./js/entries/plugins/foundation.equalizer.js");
420
+ /***/ "./foundation.util.mediaQuery":
421
+ /*!************************************************************************************************************************************************************************************************************!*\
422
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
423
+ \************************************************************************************************************************************************************************************************************/
424
+ /***/ (function(module) {
597
425
 
426
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
598
427
 
599
428
  /***/ }),
600
429
 
@@ -602,13 +431,101 @@ module.exports = __webpack_require__(/*! /Volumes/Data/Development/Foundation/fo
602
431
  /*!********************************************************************************************!*\
603
432
  !*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
604
433
  \********************************************************************************************/
605
- /*! no static exports found */
606
- /***/ (function(module, exports) {
434
+ /***/ (function(module) {
607
435
 
608
436
  module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
609
437
 
610
438
  /***/ })
611
439
 
612
- /******/ });
440
+ /******/ });
441
+ /************************************************************************/
442
+ /******/ // The module cache
443
+ /******/ var __webpack_module_cache__ = {};
444
+ /******/
445
+ /******/ // The require function
446
+ /******/ function __webpack_require__(moduleId) {
447
+ /******/ // Check if module is in cache
448
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
449
+ /******/ if (cachedModule !== undefined) {
450
+ /******/ return cachedModule.exports;
451
+ /******/ }
452
+ /******/ // Create a new module (and put it into the cache)
453
+ /******/ var module = __webpack_module_cache__[moduleId] = {
454
+ /******/ // no module.id needed
455
+ /******/ // no module.loaded needed
456
+ /******/ exports: {}
457
+ /******/ };
458
+ /******/
459
+ /******/ // Execute the module function
460
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
461
+ /******/
462
+ /******/ // Return the exports of the module
463
+ /******/ return module.exports;
464
+ /******/ }
465
+ /******/
466
+ /************************************************************************/
467
+ /******/ /* webpack/runtime/compat get default export */
468
+ /******/ !function() {
469
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
470
+ /******/ __webpack_require__.n = function(module) {
471
+ /******/ var getter = module && module.__esModule ?
472
+ /******/ function() { return module['default']; } :
473
+ /******/ function() { return module; };
474
+ /******/ __webpack_require__.d(getter, { a: getter });
475
+ /******/ return getter;
476
+ /******/ };
477
+ /******/ }();
478
+ /******/
479
+ /******/ /* webpack/runtime/define property getters */
480
+ /******/ !function() {
481
+ /******/ // define getter functions for harmony exports
482
+ /******/ __webpack_require__.d = function(exports, definition) {
483
+ /******/ for(var key in definition) {
484
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
485
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
486
+ /******/ }
487
+ /******/ }
488
+ /******/ };
489
+ /******/ }();
490
+ /******/
491
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
492
+ /******/ !function() {
493
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
494
+ /******/ }();
495
+ /******/
496
+ /******/ /* webpack/runtime/make namespace object */
497
+ /******/ !function() {
498
+ /******/ // define __esModule on exports
499
+ /******/ __webpack_require__.r = function(exports) {
500
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
501
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
502
+ /******/ }
503
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
504
+ /******/ };
505
+ /******/ }();
506
+ /******/
507
+ /************************************************************************/
508
+ var __webpack_exports__ = {};
509
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
510
+ !function() {
511
+ /*!****************************************************!*\
512
+ !*** ./js/entries/plugins/foundation.equalizer.js ***!
513
+ \****************************************************/
514
+ __webpack_require__.r(__webpack_exports__);
515
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
516
+ /* harmony export */ Equalizer: function() { return /* reexport safe */ _foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__.Equalizer; },
517
+ /* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; }
518
+ /* harmony export */ });
519
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
520
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
521
+ /* harmony import */ var _foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.equalizer */ "./js/foundation.equalizer.js");
522
+
523
+
524
+ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_equalizer__WEBPACK_IMPORTED_MODULE_1__.Equalizer, 'Equalizer');
525
+
526
+ }();
527
+ /******/ return __webpack_exports__;
528
+ /******/ })()
529
+ ;
613
530
  });
614
531
  //# sourceMappingURL=foundation.equalizer.js.map