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,232 +1,71 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("./foundation.accordion"), require("./foundation.core"), require("./foundation.tabs"), require("./foundation.util.mediaQuery"), require("jquery"));
3
+ module.exports = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.accordion"), require("./foundation.tabs"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["./foundation.accordion", "./foundation.core", "./foundation.tabs", "./foundation.util.mediaQuery", "jquery"], factory);
5
+ define(["./foundation.core", "jquery", "./foundation.util.mediaQuery", "./foundation.accordion", "./foundation.tabs"], factory);
6
6
  else if(typeof exports === 'object')
7
- exports["foundation.responsiveAccordionTabs"] = factory(require("./foundation.accordion"), require("./foundation.core"), require("./foundation.tabs"), require("./foundation.util.mediaQuery"), require("jquery"));
7
+ exports["__FOUNDATION_EXTERNAL__"] = factory(require("./foundation.core"), require("jquery"), require("./foundation.util.mediaQuery"), require("./foundation.accordion"), require("./foundation.tabs"));
8
8
  else
9
- root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.responsiveAccordionTabs"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.accordion"], root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["__FOUNDATION_EXTERNAL__"]["foundation.tabs"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["jQuery"]);
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__foundation_accordion__, __WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE__foundation_tabs__, __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 = 11);
95
- /******/ })
96
- /************************************************************************/
97
- /******/ ({
98
-
99
- /***/ "./foundation.accordion":
100
- /*!************************************************************************************************************************************************************************************!*\
101
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.accordion"],"amd":"./foundation.accordion","commonjs":"./foundation.accordion","commonjs2":"./foundation.accordion"} ***!
102
- \************************************************************************************************************************************************************************************/
103
- /*! no static exports found */
104
- /***/ (function(module, exports) {
105
-
106
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_accordion__;
107
-
108
- /***/ }),
109
-
110
- /***/ "./foundation.core":
111
- /*!****************************************************************************************************************************************************************!*\
112
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
113
- \****************************************************************************************************************************************************************/
114
- /*! no static exports found */
115
- /***/ (function(module, exports) {
116
-
117
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
118
-
119
- /***/ }),
120
-
121
- /***/ "./foundation.tabs":
122
- /*!****************************************************************************************************************************************************************!*\
123
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.tabs"],"amd":"./foundation.tabs","commonjs":"./foundation.tabs","commonjs2":"./foundation.tabs"} ***!
124
- \****************************************************************************************************************************************************************/
125
- /*! no static exports found */
126
- /***/ (function(module, exports) {
127
-
128
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_tabs__;
129
-
130
- /***/ }),
131
-
132
- /***/ "./foundation.util.mediaQuery":
133
- /*!************************************************************************************************************************************************************************************************************!*\
134
- !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
135
- \************************************************************************************************************************************************************************************************************/
136
- /*! no static exports found */
137
- /***/ (function(module, exports) {
138
-
139
- module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
140
-
141
- /***/ }),
142
-
143
- /***/ "./js/entries/plugins/foundation.responsiveAccordionTabs.js":
144
- /*!******************************************************************!*\
145
- !*** ./js/entries/plugins/foundation.responsiveAccordionTabs.js ***!
146
- \******************************************************************/
147
- /*! exports provided: Foundation, ResponsiveAccordionTabs */
148
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
149
-
150
- "use strict";
151
- __webpack_require__.r(__webpack_exports__);
152
- /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
153
- /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
154
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Foundation", function() { return _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"]; });
155
-
156
- /* harmony import */ var _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.responsiveAccordionTabs */ "./js/foundation.responsiveAccordionTabs.js");
157
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResponsiveAccordionTabs", function() { return _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__["ResponsiveAccordionTabs"]; });
158
-
159
-
160
-
161
- _foundation_core__WEBPACK_IMPORTED_MODULE_0__["Foundation"].plugin(_foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__["ResponsiveAccordionTabs"], 'ResponsiveAccordionTabs');
162
-
163
-
164
- /***/ }),
9
+ root["__FOUNDATION_EXTERNAL__"] = root["__FOUNDATION_EXTERNAL__"] || {}, root["__FOUNDATION_EXTERNAL__"]["foundation.responsiveAccordionTabs"] = factory(root["__FOUNDATION_EXTERNAL__"]["foundation.core"], root["jQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.util.mediaQuery"], root["__FOUNDATION_EXTERNAL__"]["foundation.accordion"], root["__FOUNDATION_EXTERNAL__"]["foundation.tabs"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__foundation_core__, __WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__, __WEBPACK_EXTERNAL_MODULE__foundation_accordion__, __WEBPACK_EXTERNAL_MODULE__foundation_tabs__) {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
165
14
 
166
15
  /***/ "./js/foundation.responsiveAccordionTabs.js":
167
16
  /*!**************************************************!*\
168
17
  !*** ./js/foundation.responsiveAccordionTabs.js ***!
169
18
  \**************************************************/
170
- /*! exports provided: ResponsiveAccordionTabs */
171
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
19
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
172
20
 
173
- "use strict";
174
21
  __webpack_require__.r(__webpack_exports__);
175
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponsiveAccordionTabs", function() { return ResponsiveAccordionTabs; });
22
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23
+ /* harmony export */ ResponsiveAccordionTabs: function() { return /* binding */ ResponsiveAccordionTabs; }
24
+ /* harmony export */ });
176
25
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jquery */ "jquery");
177
26
  /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
178
27
  /* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation.util.mediaQuery */ "./foundation.util.mediaQuery");
179
28
  /* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__);
180
- /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.utils */ "./foundation.core");
29
+ /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation.core.plugin */ "./foundation.core");
181
30
  /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__);
182
31
  /* harmony import */ var _foundation_accordion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation.accordion */ "./foundation.accordion");
183
32
  /* harmony import */ var _foundation_accordion__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_foundation_accordion__WEBPACK_IMPORTED_MODULE_3__);
184
33
  /* harmony import */ var _foundation_tabs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation.tabs */ "./foundation.tabs");
185
34
  /* harmony import */ var _foundation_tabs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_foundation_tabs__WEBPACK_IMPORTED_MODULE_4__);
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 _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
46
+ 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); }
47
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
186
48
 
187
49
 
188
- 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); }
189
-
190
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
191
-
192
- 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); } }
193
-
194
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
195
-
196
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
197
-
198
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
199
-
200
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
201
-
202
- 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); }
203
50
 
204
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
205
51
 
206
52
 
207
53
 
208
54
 
209
-
210
-
211
- // The plugin matches the plugin classes with these plugin instances.
212
-
55
+ // The plugin matches the plugin classes with these plugin instances.
213
56
  var MenuPlugins = {
214
57
  tabs: {
215
58
  cssClass: 'tabs',
216
- plugin: _foundation_tabs__WEBPACK_IMPORTED_MODULE_4__["Tabs"],
59
+ plugin: _foundation_tabs__WEBPACK_IMPORTED_MODULE_4__.Tabs,
217
60
  open: function open(plugin, target) {
218
61
  return plugin.selectTab(target);
219
62
  },
220
- close: null
221
- /* not supported */
222
- ,
223
- toggle: null
224
- /* not supported */
225
-
63
+ close: null /* not supported */,
64
+ toggle: null /* not supported */
226
65
  },
227
66
  accordion: {
228
67
  cssClass: 'accordion',
229
- plugin: _foundation_accordion__WEBPACK_IMPORTED_MODULE_3__["Accordion"],
68
+ plugin: _foundation_accordion__WEBPACK_IMPORTED_MODULE_3__.Accordion,
230
69
  open: function open(plugin, target) {
231
70
  return plugin.down(jquery__WEBPACK_IMPORTED_MODULE_0___default()(target));
232
71
  },
@@ -238,6 +77,7 @@ var MenuPlugins = {
238
77
  }
239
78
  }
240
79
  };
80
+
241
81
  /**
242
82
  * ResponsiveAccordionTabs module.
243
83
  * @module foundation.responsiveAccordionTabs
@@ -245,20 +85,14 @@ var MenuPlugins = {
245
85
  * @requires foundation.accordion
246
86
  * @requires foundation.tabs
247
87
  */
248
-
249
- var ResponsiveAccordionTabs =
250
- /*#__PURE__*/
251
- function (_Plugin) {
252
- _inherits(ResponsiveAccordionTabs, _Plugin);
253
-
88
+ var ResponsiveAccordionTabs = /*#__PURE__*/function (_Plugin) {
254
89
  function ResponsiveAccordionTabs(element, options) {
255
90
  var _this2;
256
-
257
91
  _classCallCheck(this, ResponsiveAccordionTabs);
258
-
259
- _this2 = _possibleConstructorReturn(this, _getPrototypeOf(ResponsiveAccordionTabs).call(this, element, options));
260
- return _possibleConstructorReturn(_this2, _this2.options.reflow && _this2.storezfData || _assertThisInitialized(_this2));
92
+ _this2 = _callSuper(this, ResponsiveAccordionTabs, [element, options]);
93
+ return _possibleConstructorReturn(_this2, _this2.options.reflow && _this2.storezfData || _this2);
261
94
  }
95
+
262
96
  /**
263
97
  * Creates a new instance of a responsive accordion tabs.
264
98
  * @class
@@ -267,61 +101,55 @@ function (_Plugin) {
267
101
  * @param {jQuery} element - jQuery object to make into Responsive Accordion Tabs.
268
102
  * @param {Object} options - Overrides to the default plugin settings.
269
103
  */
270
-
271
-
272
- _createClass(ResponsiveAccordionTabs, [{
104
+ _inherits(ResponsiveAccordionTabs, _Plugin);
105
+ return _createClass(ResponsiveAccordionTabs, [{
273
106
  key: "_setup",
274
107
  value: function _setup(element, options) {
275
108
  this.$element = jquery__WEBPACK_IMPORTED_MODULE_0___default()(element);
276
109
  this.$element.data('zfPluginBase', this);
277
- this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.extend({}, ResponsiveAccordionTabs.defaults, this.$element.data(), options);
110
+ this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default().extend({}, ResponsiveAccordionTabs.defaults, this.$element.data(), options);
278
111
  this.rules = this.$element.data('responsive-accordion-tabs');
279
112
  this.currentMq = null;
280
113
  this.currentRule = null;
281
114
  this.currentPlugin = null;
282
115
  this.className = 'ResponsiveAccordionTabs'; // ie9 back compat
283
-
284
116
  if (!this.$element.attr('id')) {
285
- this.$element.attr('id', Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"])(6, 'responsiveaccordiontabs'));
117
+ this.$element.attr('id', (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.GetYoDigits)(6, 'responsiveaccordiontabs'));
286
118
  }
287
-
288
119
  this._init();
289
-
290
120
  this._events();
291
121
  }
122
+
292
123
  /**
293
124
  * Initializes the Menu by parsing the classes from the 'data-responsive-accordion-tabs' attribute on the element.
294
125
  * @function
295
126
  * @private
296
127
  */
297
-
298
128
  }, {
299
129
  key: "_init",
300
130
  value: function _init() {
301
- _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__["MediaQuery"]._init(); // The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
302
-
131
+ _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery._init();
303
132
 
133
+ // The first time an Interchange plugin is initialized, this.rules is converted from a string of "classes" to an object of rules
304
134
  if (typeof this.rules === 'string') {
305
- var rulesTree = {}; // Parse rules from "classes" pulled from data attribute
135
+ var rulesTree = {};
306
136
 
307
- var rules = this.rules.split(' '); // Iterate through every rule found
137
+ // Parse rules from "classes" pulled from data attribute
138
+ var rules = this.rules.split(' ');
308
139
 
140
+ // Iterate through every rule found
309
141
  for (var i = 0; i < rules.length; i++) {
310
142
  var rule = rules[i].split('-');
311
143
  var ruleSize = rule.length > 1 ? rule[0] : 'small';
312
144
  var rulePlugin = rule.length > 1 ? rule[1] : rule[0];
313
-
314
145
  if (MenuPlugins[rulePlugin] !== null) {
315
146
  rulesTree[ruleSize] = MenuPlugins[rulePlugin];
316
147
  }
317
148
  }
318
-
319
149
  this.rules = rulesTree;
320
150
  }
321
-
322
151
  this._getAllOptions();
323
-
324
- if (!jquery__WEBPACK_IMPORTED_MODULE_0___default.a.isEmptyObject(this.rules)) {
152
+ if (!jquery__WEBPACK_IMPORTED_MODULE_0___default().isEmptyObject(this.rules)) {
325
153
  this._checkMediaQueries();
326
154
  }
327
155
  }
@@ -330,78 +158,77 @@ function (_Plugin) {
330
158
  value: function _getAllOptions() {
331
159
  //get all defaults and options
332
160
  var _this = this;
333
-
334
161
  _this.allOptions = {};
335
-
336
162
  for (var key in MenuPlugins) {
337
163
  if (MenuPlugins.hasOwnProperty(key)) {
338
164
  var obj = MenuPlugins[key];
339
-
340
165
  try {
341
166
  var dummyPlugin = jquery__WEBPACK_IMPORTED_MODULE_0___default()('<ul></ul>');
342
167
  var tmpPlugin = new obj.plugin(dummyPlugin, _this.options);
343
-
344
168
  for (var keyKey in tmpPlugin.options) {
345
169
  if (tmpPlugin.options.hasOwnProperty(keyKey) && keyKey !== 'zfPlugin') {
346
170
  var objObj = tmpPlugin.options[keyKey];
347
171
  _this.allOptions[keyKey] = objObj;
348
172
  }
349
173
  }
350
-
351
174
  tmpPlugin.destroy();
352
- } catch (e) {}
175
+ } catch (e) {
176
+ console.warn("Warning: Problems getting Accordion/Tab options: ".concat(e));
177
+ }
353
178
  }
354
179
  }
355
180
  }
181
+
356
182
  /**
357
183
  * Initializes events for the Menu.
358
184
  * @function
359
185
  * @private
360
186
  */
361
-
362
187
  }, {
363
188
  key: "_events",
364
189
  value: function _events() {
365
190
  this._changedZfMediaQueryHandler = this._checkMediaQueries.bind(this);
366
191
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).on('changed.zf.mediaquery', this._changedZfMediaQueryHandler);
367
192
  }
193
+
368
194
  /**
369
195
  * Checks the current screen width against available media queries. If the media query has changed, and the plugin needed has changed, the plugins will swap out.
370
196
  * @function
371
197
  * @private
372
198
  */
373
-
374
199
  }, {
375
200
  key: "_checkMediaQueries",
376
201
  value: function _checkMediaQueries() {
377
202
  var matchedMq,
378
- _this = this; // Iterate through each rule and find the last matching rule
379
-
380
-
381
- jquery__WEBPACK_IMPORTED_MODULE_0___default.a.each(this.rules, function (key) {
382
- if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__["MediaQuery"].atLeast(key)) {
203
+ _this = this;
204
+ // Iterate through each rule and find the last matching rule
205
+ jquery__WEBPACK_IMPORTED_MODULE_0___default().each(this.rules, function (key) {
206
+ if (_foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_1__.MediaQuery.atLeast(key)) {
383
207
  matchedMq = key;
384
208
  }
385
- }); // No match? No dice
209
+ });
386
210
 
387
- if (!matchedMq) return; // Plugin already initialized? We good
211
+ // No match? No dice
212
+ if (!matchedMq) return;
388
213
 
389
- if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return; // Remove existing plugin-specific CSS classes
214
+ // Plugin already initialized? We good
215
+ if (this.currentPlugin instanceof this.rules[matchedMq].plugin) return;
390
216
 
391
- jquery__WEBPACK_IMPORTED_MODULE_0___default.a.each(MenuPlugins, function (key, value) {
217
+ // Remove existing plugin-specific CSS classes
218
+ jquery__WEBPACK_IMPORTED_MODULE_0___default().each(MenuPlugins, function (key, value) {
392
219
  _this.$element.removeClass(value.cssClass);
393
- }); // Add the CSS class for the new plugin
220
+ });
394
221
 
395
- this.$element.addClass(this.rules[matchedMq].cssClass); // Create an instance of the new plugin
222
+ // Add the CSS class for the new plugin
223
+ this.$element.addClass(this.rules[matchedMq].cssClass);
396
224
 
225
+ // Create an instance of the new plugin
397
226
  if (this.currentPlugin) {
398
227
  //don't know why but on nested elements data zfPlugin get's lost
399
228
  if (!this.currentPlugin.$element.data('zfPlugin') && this.storezfData) this.currentPlugin.$element.data('zfPlugin', this.storezfData);
400
229
  this.currentPlugin.destroy();
401
230
  }
402
-
403
231
  this._handleMarkup(this.rules[matchedMq].cssClass);
404
-
405
232
  this.currentRule = this.rules[matchedMq];
406
233
  this.currentPlugin = new this.currentRule.plugin(this.$element, this.options);
407
234
  this.storezfData = this.currentPlugin.$element.data('zfPlugin');
@@ -410,28 +237,23 @@ function (_Plugin) {
410
237
  key: "_handleMarkup",
411
238
  value: function _handleMarkup(toSet) {
412
239
  var _this = this,
413
- fromString = 'accordion';
414
-
240
+ fromString = 'accordion';
415
241
  var $panels = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-tabs-content=' + this.$element.attr('id') + ']');
416
242
  if ($panels.length) fromString = 'tabs';
417
-
418
243
  if (fromString === toSet) {
419
244
  return;
420
245
  }
421
-
422
246
  var tabsTitle = _this.allOptions.linkClass ? _this.allOptions.linkClass : 'tabs-title';
423
247
  var tabsPanel = _this.allOptions.panelClass ? _this.allOptions.panelClass : 'tabs-panel';
424
248
  this.$element.removeAttr('role');
425
249
  var $liHeads = this.$element.children('.' + tabsTitle + ',[data-accordion-item]').removeClass(tabsTitle).removeClass('accordion-item').removeAttr('data-accordion-item');
426
250
  var $liHeadsA = $liHeads.children('a').removeClass('accordion-title');
427
-
428
251
  if (fromString === 'tabs') {
429
252
  $panels = $panels.children('.' + tabsPanel).removeClass(tabsPanel).removeAttr('role').removeAttr('aria-hidden').removeAttr('aria-labelledby');
430
253
  $panels.children('a').removeAttr('role').removeAttr('aria-controls').removeAttr('aria-selected');
431
254
  } else {
432
255
  $panels = $liHeads.children('[data-tab-content]').removeClass('accordion-content');
433
256
  }
434
-
435
257
  $panels.css({
436
258
  display: '',
437
259
  visibility: ''
@@ -440,7 +262,6 @@ function (_Plugin) {
440
262
  display: '',
441
263
  visibility: ''
442
264
  });
443
-
444
265
  if (toSet === 'accordion') {
445
266
  $panels.each(function (key, value) {
446
267
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(value).appendTo($liHeads.get(key)).addClass('accordion-content').attr('data-tab-content', '').removeClass('is-active').css({
@@ -453,19 +274,16 @@ function (_Plugin) {
453
274
  } else if (toSet === 'tabs') {
454
275
  var $tabsContent = jquery__WEBPACK_IMPORTED_MODULE_0___default()('[data-tabs-content=' + _this.$element.attr('id') + ']');
455
276
  var $placeholder = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#tabs-placeholder-' + _this.$element.attr('id'));
456
-
457
277
  if ($placeholder.length) {
458
278
  $tabsContent = jquery__WEBPACK_IMPORTED_MODULE_0___default()('<div class="tabs-content"></div>').insertAfter($placeholder).attr('data-tabs-content', _this.$element.attr('id'));
459
279
  $placeholder.remove();
460
280
  } else {
461
281
  $tabsContent = jquery__WEBPACK_IMPORTED_MODULE_0___default()('<div class="tabs-content"></div>').insertAfter(_this.$element).attr('data-tabs-content', _this.$element.attr('id'));
462
282
  }
463
-
464
283
  $panels.each(function (key, value) {
465
284
  var tempValue = jquery__WEBPACK_IMPORTED_MODULE_0___default()(value).appendTo($tabsContent).addClass(tabsPanel);
466
285
  var hash = $liHeadsA.get(key).hash.slice(1);
467
- var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(value).attr('id') || Object(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"])(6, 'accordion');
468
-
286
+ var id = jquery__WEBPACK_IMPORTED_MODULE_0___default()(value).attr('id') || (0,_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.GetYoDigits)(6, 'accordion');
469
287
  if (hash !== id) {
470
288
  if (hash !== '') {
471
289
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(value).attr('id', hash);
@@ -475,18 +293,16 @@ function (_Plugin) {
475
293
  jquery__WEBPACK_IMPORTED_MODULE_0___default()($liHeadsA.get(key)).attr('href', jquery__WEBPACK_IMPORTED_MODULE_0___default()($liHeadsA.get(key)).attr('href').replace('#', '') + '#' + hash);
476
294
  }
477
295
  }
478
-
479
296
  var isActive = jquery__WEBPACK_IMPORTED_MODULE_0___default()($liHeads.get(key)).hasClass('is-active');
480
-
481
297
  if (isActive) {
482
298
  tempValue.addClass('is-active');
483
299
  }
484
300
  });
485
301
  $liHeads.addClass(tabsTitle);
486
302
  }
487
-
488
303
  ;
489
304
  }
305
+
490
306
  /**
491
307
  * Opens the plugin pane defined by `target`.
492
308
  * @param {jQuery | String} target - jQuery object or string of the id of the pane to open.
@@ -494,53 +310,49 @@ function (_Plugin) {
494
310
  * @see Tabs.selectTab
495
311
  * @function
496
312
  */
497
-
498
313
  }, {
499
314
  key: "open",
500
- value: function open(_target) {
315
+ value: function open() {
501
316
  if (this.currentRule && typeof this.currentRule.open === 'function') {
502
317
  var _this$currentRule;
503
-
504
318
  return (_this$currentRule = this.currentRule).open.apply(_this$currentRule, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
505
319
  }
506
320
  }
321
+
507
322
  /**
508
323
  * Closes the plugin pane defined by `target`. Not availaible for Tabs.
509
324
  * @param {jQuery | String} target - jQuery object or string of the id of the pane to close.
510
325
  * @see Accordion.up
511
326
  * @function
512
327
  */
513
-
514
328
  }, {
515
329
  key: "close",
516
- value: function close(_target) {
330
+ value: function close() {
517
331
  if (this.currentRule && typeof this.currentRule.close === 'function') {
518
332
  var _this$currentRule2;
519
-
520
333
  return (_this$currentRule2 = this.currentRule).close.apply(_this$currentRule2, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
521
334
  }
522
335
  }
336
+
523
337
  /**
524
338
  * Toggles the plugin pane defined by `target`. Not availaible for Tabs.
525
339
  * @param {jQuery | String} target - jQuery object or string of the id of the pane to toggle.
526
340
  * @see Accordion.toggle
527
341
  * @function
528
342
  */
529
-
530
343
  }, {
531
344
  key: "toggle",
532
- value: function toggle(_target) {
345
+ value: function toggle() {
533
346
  if (this.currentRule && typeof this.currentRule.toggle === 'function') {
534
347
  var _this$currentRule3;
535
-
536
348
  return (_this$currentRule3 = this.currentRule).toggle.apply(_this$currentRule3, [this.currentPlugin].concat(Array.prototype.slice.call(arguments)));
537
349
  }
538
350
  }
351
+
539
352
  /**
540
353
  * Destroys the instance of the current plugin on this element, as well as the window resize handler that switches the plugins out.
541
354
  * @function
542
355
  */
543
-
544
356
  }, {
545
357
  key: "_destroy",
546
358
  value: function _destroy() {
@@ -548,24 +360,49 @@ function (_Plugin) {
548
360
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(window).off('changed.zf.mediaquery', this._changedZfMediaQueryHandler);
549
361
  }
550
362
  }]);
363
+ }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__.Plugin);
364
+ ResponsiveAccordionTabs.defaults = {};
551
365
 
552
- return ResponsiveAccordionTabs;
553
- }(_foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["Plugin"]);
554
366
 
555
- ResponsiveAccordionTabs.defaults = {};
367
+ /***/ }),
368
+
369
+ /***/ "./foundation.accordion":
370
+ /*!************************************************************************************************************************************************************************************!*\
371
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.accordion"],"amd":"./foundation.accordion","commonjs":"./foundation.accordion","commonjs2":"./foundation.accordion"} ***!
372
+ \************************************************************************************************************************************************************************************/
373
+ /***/ (function(module) {
374
+
375
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_accordion__;
556
376
 
377
+ /***/ }),
378
+
379
+ /***/ "./foundation.core":
380
+ /*!****************************************************************************************************************************************************************!*\
381
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.core"],"amd":"./foundation.core","commonjs":"./foundation.core","commonjs2":"./foundation.core"} ***!
382
+ \****************************************************************************************************************************************************************/
383
+ /***/ (function(module) {
384
+
385
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_core__;
557
386
 
558
387
  /***/ }),
559
388
 
560
- /***/ 11:
561
- /*!************************************************************************!*\
562
- !*** multi ./js/entries/plugins/foundation.responsiveAccordionTabs.js ***!
563
- \************************************************************************/
564
- /*! no static exports found */
565
- /***/ (function(module, exports, __webpack_require__) {
389
+ /***/ "./foundation.tabs":
390
+ /*!****************************************************************************************************************************************************************!*\
391
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.tabs"],"amd":"./foundation.tabs","commonjs":"./foundation.tabs","commonjs2":"./foundation.tabs"} ***!
392
+ \****************************************************************************************************************************************************************/
393
+ /***/ (function(module) {
566
394
 
567
- module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundation-sites/js/entries/plugins/foundation.responsiveAccordionTabs.js */"./js/entries/plugins/foundation.responsiveAccordionTabs.js");
395
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_tabs__;
568
396
 
397
+ /***/ }),
398
+
399
+ /***/ "./foundation.util.mediaQuery":
400
+ /*!************************************************************************************************************************************************************************************************************!*\
401
+ !*** external {"root":["__FOUNDATION_EXTERNAL__","foundation.util.mediaQuery"],"amd":"./foundation.util.mediaQuery","commonjs":"./foundation.util.mediaQuery","commonjs2":"./foundation.util.mediaQuery"} ***!
402
+ \************************************************************************************************************************************************************************************************************/
403
+ /***/ (function(module) {
404
+
405
+ module.exports = __WEBPACK_EXTERNAL_MODULE__foundation_util_mediaQuery__;
569
406
 
570
407
  /***/ }),
571
408
 
@@ -573,13 +410,101 @@ module.exports = __webpack_require__(/*! /Users/joeworkman/Development/foundatio
573
410
  /*!********************************************************************************************!*\
574
411
  !*** external {"root":["jQuery"],"amd":"jquery","commonjs":"jquery","commonjs2":"jquery"} ***!
575
412
  \********************************************************************************************/
576
- /*! no static exports found */
577
- /***/ (function(module, exports) {
413
+ /***/ (function(module) {
578
414
 
579
415
  module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
580
416
 
581
417
  /***/ })
582
418
 
583
- /******/ });
419
+ /******/ });
420
+ /************************************************************************/
421
+ /******/ // The module cache
422
+ /******/ var __webpack_module_cache__ = {};
423
+ /******/
424
+ /******/ // The require function
425
+ /******/ function __webpack_require__(moduleId) {
426
+ /******/ // Check if module is in cache
427
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
428
+ /******/ if (cachedModule !== undefined) {
429
+ /******/ return cachedModule.exports;
430
+ /******/ }
431
+ /******/ // Create a new module (and put it into the cache)
432
+ /******/ var module = __webpack_module_cache__[moduleId] = {
433
+ /******/ // no module.id needed
434
+ /******/ // no module.loaded needed
435
+ /******/ exports: {}
436
+ /******/ };
437
+ /******/
438
+ /******/ // Execute the module function
439
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
440
+ /******/
441
+ /******/ // Return the exports of the module
442
+ /******/ return module.exports;
443
+ /******/ }
444
+ /******/
445
+ /************************************************************************/
446
+ /******/ /* webpack/runtime/compat get default export */
447
+ /******/ !function() {
448
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
449
+ /******/ __webpack_require__.n = function(module) {
450
+ /******/ var getter = module && module.__esModule ?
451
+ /******/ function() { return module['default']; } :
452
+ /******/ function() { return module; };
453
+ /******/ __webpack_require__.d(getter, { a: getter });
454
+ /******/ return getter;
455
+ /******/ };
456
+ /******/ }();
457
+ /******/
458
+ /******/ /* webpack/runtime/define property getters */
459
+ /******/ !function() {
460
+ /******/ // define getter functions for harmony exports
461
+ /******/ __webpack_require__.d = function(exports, definition) {
462
+ /******/ for(var key in definition) {
463
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
464
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
465
+ /******/ }
466
+ /******/ }
467
+ /******/ };
468
+ /******/ }();
469
+ /******/
470
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
471
+ /******/ !function() {
472
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
473
+ /******/ }();
474
+ /******/
475
+ /******/ /* webpack/runtime/make namespace object */
476
+ /******/ !function() {
477
+ /******/ // define __esModule on exports
478
+ /******/ __webpack_require__.r = function(exports) {
479
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
480
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
481
+ /******/ }
482
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
483
+ /******/ };
484
+ /******/ }();
485
+ /******/
486
+ /************************************************************************/
487
+ var __webpack_exports__ = {};
488
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
489
+ !function() {
490
+ /*!******************************************************************!*\
491
+ !*** ./js/entries/plugins/foundation.responsiveAccordionTabs.js ***!
492
+ \******************************************************************/
493
+ __webpack_require__.r(__webpack_exports__);
494
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
495
+ /* harmony export */ Foundation: function() { return /* reexport safe */ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation; },
496
+ /* harmony export */ ResponsiveAccordionTabs: function() { return /* reexport safe */ _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__.ResponsiveAccordionTabs; }
497
+ /* harmony export */ });
498
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation.core */ "./foundation.core");
499
+ /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_foundation_core__WEBPACK_IMPORTED_MODULE_0__);
500
+ /* harmony import */ var _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../foundation.responsiveAccordionTabs */ "./js/foundation.responsiveAccordionTabs.js");
501
+
502
+
503
+ _foundation_core__WEBPACK_IMPORTED_MODULE_0__.Foundation.plugin(_foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_1__.ResponsiveAccordionTabs, 'ResponsiveAccordionTabs');
504
+
505
+ }();
506
+ /******/ return __webpack_exports__;
507
+ /******/ })()
508
+ ;
584
509
  });
585
510
  //# sourceMappingURL=foundation.responsiveAccordionTabs.js.map