well-petal 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/petal.js +2 -119
- package/package.json +1 -1
package/dist/petal.js
CHANGED
|
@@ -20,96 +20,6 @@ return /******/ (() => { // webpackBootstrap
|
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
22
22
|
|
|
23
|
-
/***/ "./node_modules/css-loader/dist/cjs.js!./src/petal.css":
|
|
24
|
-
/*!*************************************************************!*\
|
|
25
|
-
!*** ./node_modules/css-loader/dist/cjs.js!./src/petal.css ***!
|
|
26
|
-
\*************************************************************/
|
|
27
|
-
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
28
|
-
|
|
29
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/**---------- GENERAL -------------**/\n.wf-design-mode [data-show-in-designer=\"true\"] {\n display: block;\n}\n/**----------- BANNER -------------**/\n.petal-hide-banner {\n display: none !important;\n}\n\n/**---------- BREAKPOINTS ---------**/\n/* Desktop */\n@media (min-width: 992px) {\n [petal-hide-desktop] {\n display: none !important;\n }\n}\n\n/* Tablet */\n@media (max-width: 991px) and (min-width: 768px) {\n [petal-hide-tablet] {\n display: none !important;\n }\n}\n\n/* Mobile Landscape */\n@media (max-width: 767px) and (min-width: 480px) {\n [petal-hide-mobile-landscape] {\n display: none !important;\n }\n}\n\n/* Mobile */\n@media (max-width: 479px) {\n [petal-hide-mobile] {\n display: none !important;\n }\n}\n\n/**------------- NAV --------------**/\n\n/* Set position based on petal-position attribute */\n[petal-el=\"banner\"][petal-position=\"sticky\"],\n[petal-el=\"nav-secondary\"][petal-position=\"sticky\"],\n[petal-el=\"nav\"][petal-position=\"sticky\"] {\n position: sticky !important;\n}\n\n[petal-el=\"banner\"][petal-position=\"static\"],\n[petal-el=\"nav-secondary\"][petal-position=\"static\"],\n[petal-el=\"nav\"][petal-position=\"static\"] {\n position: static !important;\n top: 0 !important;\n}\n\n[petal-el=\"banner\"][petal-position=\"relative\"],\n[petal-el=\"nav-secondary\"][petal-position=\"relative\"],\n[petal-el=\"nav\"][petal-position=\"relative\"] {\n position: relative !important;\n top: 0 !important;\n}\n\n/* Initialize individual height variables */\n:root {\n --nav--banner-contribution: 0px;\n --nav--secondary-nav-contribution: 0px;\n --nav--nav-contribution: 0px;\n}\n\n/* Banner height contribution - set on :root using :has() */\n/* Visible + Sticky */\n@media (min-width: 992px) {\n :root:has([petal-el=\"banner\"]:not(.w-condition-invisible):not(.petal-hide-banner):not([petal-hide-desktop])[petal-position=\"sticky\"]) {\n --nav--banner-contribution: var(--nav--nav-banner-height, 0px);\n }\n :root:has([petal-el=\"banner\"][petal-position=\"static\"]),\n :root:has([petal-el=\"banner\"].w-condition-invisible),\n :root:has([petal-el=\"banner\"].petal-hide-banner),\n :root:has([petal-el=\"banner\"][petal-hide-desktop]) {\n --nav--banner-contribution: 0px;\n }\n}\n\n@media (max-width: 991px) and (min-width: 768px) {\n :root:has([petal-el=\"banner\"]:not(.w-condition-invisible):not(.petal-hide-banner):not([petal-hide-tablet])[petal-position=\"sticky\"]) {\n --nav--banner-contribution: var(--nav--nav-banner-height, 0px);\n }\n :root:has([petal-el=\"banner\"][petal-position=\"static\"]),\n :root:has([petal-el=\"banner\"].w-condition-invisible),\n :root:has([petal-el=\"banner\"].petal-hide-banner),\n :root:has([petal-el=\"banner\"][petal-hide-tablet]) {\n --nav--banner-contribution: 0px;\n }\n}\n\n@media (max-width: 767px) and (min-width: 480px) {\n :root:has([petal-el=\"banner\"]:not(.w-condition-invisible):not(.petal-hide-banner):not([petal-hide-mobile-landscape])[petal-position=\"sticky\"]) {\n --nav--banner-contribution: var(--nav--nav-banner-height, 0px);\n }\n :root:has([petal-el=\"banner\"][petal-position=\"static\"]),\n :root:has([petal-el=\"banner\"].w-condition-invisible),\n :root:has([petal-el=\"banner\"].petal-hide-banner),\n :root:has([petal-el=\"banner\"][petal-hide-mobile-landscape]) {\n --nav--banner-contribution: 0px;\n }\n}\n\n@media (max-width: 479px) {\n :root:has([petal-el=\"banner\"]:not(.w-condition-invisible):not(.petal-hide-banner):not([petal-hide-mobile])[petal-position=\"sticky\"]) {\n --nav--banner-contribution: var(--nav--nav-banner-height, 0px);\n }\n :root:has([petal-el=\"banner\"][petal-position=\"static\"]),\n :root:has([petal-el=\"banner\"].w-condition-invisible),\n :root:has([petal-el=\"banner\"].petal-hide-banner),\n :root:has([petal-el=\"banner\"][petal-hide-mobile]) {\n --nav--banner-contribution: 0px;\n }\n}\n\n/* Secondary Nav height contribution - set on :root using :has() */\n/* Visible + Sticky */\n@media (min-width: 992px) {\n :root:has([petal-el=\"nav-secondary\"]:not(.w-condition-invisible):not([petal-hide-desktop])[petal-position=\"sticky\"]) {\n --nav--secondary-nav-contribution: var(--nav--nav-secondary-height, 0px);\n }\n :root:has([petal-el=\"nav-secondary\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav-secondary\"].w-condition-invisible),\n :root:has([petal-el=\"nav-secondary\"][petal-hide-desktop]) {\n --nav--secondary-nav-contribution: 0px;\n }\n}\n\n@media (max-width: 991px) and (min-width: 768px) {\n :root:has([petal-el=\"nav-secondary\"]:not(.w-condition-invisible):not([petal-hide-tablet])[petal-position=\"sticky\"]) {\n --nav--secondary-nav-contribution: var(--nav--nav-secondary-height, 0px);\n }\n :root:has([petal-el=\"nav-secondary\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav-secondary\"].w-condition-invisible),\n :root:has([petal-el=\"nav-secondary\"][petal-hide-tablet]) {\n --nav--secondary-nav-contribution: 0px;\n }\n}\n\n@media (max-width: 767px) and (min-width: 480px) {\n :root:has([petal-el=\"nav-secondary\"]:not(.w-condition-invisible):not([petal-hide-mobile-landscape])[petal-position=\"sticky\"]) {\n --nav--secondary-nav-contribution: var(--nav--nav-secondary-height, 0px);\n }\n :root:has([petal-el=\"nav-secondary\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav-secondary\"].w-condition-invisible),\n :root:has([petal-el=\"nav-secondary\"][petal-hide-mobile-landscape]) {\n --nav--secondary-nav-contribution: 0px;\n }\n}\n\n@media (max-width: 479px) {\n :root:has([petal-el=\"nav-secondary\"]:not(.w-condition-invisible):not([petal-hide-mobile])[petal-position=\"sticky\"]) {\n --nav--secondary-nav-contribution: var(--nav--nav-secondary-height, 0px);\n }\n :root:has([petal-el=\"nav-secondary\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav-secondary\"].w-condition-invisible),\n :root:has([petal-el=\"nav-secondary\"][petal-hide-mobile]) {\n --nav--secondary-nav-contribution: 0px;\n }\n}\n\n/* Nav height contribution - set on :root using :has() */\n/* Sticky */\n@media (min-width: 992px) {\n :root:has([petal-el=\"nav\"]:not([petal-hide-desktop])[petal-position=\"sticky\"]) {\n --nav--nav-contribution: var(--nav--nav-height, 0px);\n }\n :root:has([petal-el=\"nav\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav\"][petal-hide-desktop]) {\n --nav--nav-contribution: 0px;\n }\n}\n\n@media (max-width: 991px) and (min-width: 768px) {\n :root:has([petal-el=\"nav\"]:not([petal-hide-tablet])[petal-position=\"sticky\"]) {\n --nav--nav-contribution: var(--nav--nav-height, 0px);\n }\n :root:has([petal-el=\"nav\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav\"][petal-hide-tablet]) {\n --nav--nav-contribution: 0px;\n }\n}\n\n@media (max-width: 767px) and (min-width: 480px) {\n :root:has([petal-el=\"nav\"]:not([petal-hide-mobile-landscape])[petal-position=\"sticky\"]) {\n --nav--nav-contribution: var(--nav--nav-height, 0px);\n }\n :root:has([petal-el=\"nav\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav\"][petal-hide-mobile-landscape]) {\n --nav--nav-contribution: 0px;\n }\n}\n\n@media (max-width: 479px) {\n :root:has([petal-el=\"nav\"]:not([petal-hide-mobile])[petal-position=\"sticky\"]) {\n --nav--nav-contribution: var(--nav--nav-height, 0px);\n }\n :root:has([petal-el=\"nav\"][petal-position=\"static\"]),\n :root:has([petal-el=\"nav\"][petal-hide-mobile]) {\n --nav--nav-contribution: 0px;\n }\n}\n\n/* Calculate total nav height */\n:root {\n --nav--nav-secondary-offset: var(--nav--banner-contribution);\n --nav--nav-offset: calc(var(--nav--banner-contribution) + var(--nav--secondary-nav-contribution));\n --nav--nav-height-total: calc(var(--nav--banner-contribution) + var(--nav--secondary-nav-contribution) + var(--nav--nav-contribution));\n}\n`, \"\"]);\n// Exports\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://petal/./src/petal.css?./node_modules/css-loader/dist/cjs.js");
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./node_modules/css-loader/dist/runtime/api.js":
|
|
34
|
-
/*!*****************************************************!*\
|
|
35
|
-
!*** ./node_modules/css-loader/dist/runtime/api.js ***!
|
|
36
|
-
\*****************************************************/
|
|
37
|
-
/***/ ((module) => {
|
|
38
|
-
|
|
39
|
-
eval("\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};\n\n//# sourceURL=webpack://petal/./node_modules/css-loader/dist/runtime/api.js?");
|
|
40
|
-
|
|
41
|
-
/***/ }),
|
|
42
|
-
|
|
43
|
-
/***/ "./node_modules/css-loader/dist/runtime/noSourceMaps.js":
|
|
44
|
-
/*!**************************************************************!*\
|
|
45
|
-
!*** ./node_modules/css-loader/dist/runtime/noSourceMaps.js ***!
|
|
46
|
-
\**************************************************************/
|
|
47
|
-
/***/ ((module) => {
|
|
48
|
-
|
|
49
|
-
eval("\n\nmodule.exports = function (i) {\n return i[1];\n};\n\n//# sourceURL=webpack://petal/./node_modules/css-loader/dist/runtime/noSourceMaps.js?");
|
|
50
|
-
|
|
51
|
-
/***/ }),
|
|
52
|
-
|
|
53
|
-
/***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
54
|
-
/*!****************************************************************************!*\
|
|
55
|
-
!*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
56
|
-
\****************************************************************************/
|
|
57
|
-
/***/ ((module) => {
|
|
58
|
-
|
|
59
|
-
eval("\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js?");
|
|
60
|
-
|
|
61
|
-
/***/ }),
|
|
62
|
-
|
|
63
|
-
/***/ "./node_modules/style-loader/dist/runtime/insertBySelector.js":
|
|
64
|
-
/*!********************************************************************!*\
|
|
65
|
-
!*** ./node_modules/style-loader/dist/runtime/insertBySelector.js ***!
|
|
66
|
-
\********************************************************************/
|
|
67
|
-
/***/ ((module) => {
|
|
68
|
-
|
|
69
|
-
eval("\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/insertBySelector.js?");
|
|
70
|
-
|
|
71
|
-
/***/ }),
|
|
72
|
-
|
|
73
|
-
/***/ "./node_modules/style-loader/dist/runtime/insertStyleElement.js":
|
|
74
|
-
/*!**********************************************************************!*\
|
|
75
|
-
!*** ./node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
76
|
-
\**********************************************************************/
|
|
77
|
-
/***/ ((module) => {
|
|
78
|
-
|
|
79
|
-
eval("\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/insertStyleElement.js?");
|
|
80
|
-
|
|
81
|
-
/***/ }),
|
|
82
|
-
|
|
83
|
-
/***/ "./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":
|
|
84
|
-
/*!**********************************************************************************!*\
|
|
85
|
-
!*** ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
|
|
86
|
-
\**********************************************************************************/
|
|
87
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
88
|
-
|
|
89
|
-
eval("\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = true ? __webpack_require__.nc : 0;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js?");
|
|
90
|
-
|
|
91
|
-
/***/ }),
|
|
92
|
-
|
|
93
|
-
/***/ "./node_modules/style-loader/dist/runtime/styleDomAPI.js":
|
|
94
|
-
/*!***************************************************************!*\
|
|
95
|
-
!*** ./node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
96
|
-
\***************************************************************/
|
|
97
|
-
/***/ ((module) => {
|
|
98
|
-
|
|
99
|
-
eval("\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/styleDomAPI.js?");
|
|
100
|
-
|
|
101
|
-
/***/ }),
|
|
102
|
-
|
|
103
|
-
/***/ "./node_modules/style-loader/dist/runtime/styleTagTransform.js":
|
|
104
|
-
/*!*********************************************************************!*\
|
|
105
|
-
!*** ./node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
|
|
106
|
-
\*********************************************************************/
|
|
107
|
-
/***/ ((module) => {
|
|
108
|
-
|
|
109
|
-
eval("\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;\n\n//# sourceURL=webpack://petal/./node_modules/style-loader/dist/runtime/styleTagTransform.js?");
|
|
110
|
-
|
|
111
|
-
/***/ }),
|
|
112
|
-
|
|
113
23
|
/***/ "./src/lib/attributes.ts":
|
|
114
24
|
/*!*******************************!*\
|
|
115
25
|
!*** ./src/lib/attributes.ts ***!
|
|
@@ -200,23 +110,13 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
200
110
|
|
|
201
111
|
/***/ }),
|
|
202
112
|
|
|
203
|
-
/***/ "./src/petal.css":
|
|
204
|
-
/*!***********************!*\
|
|
205
|
-
!*** ./src/petal.css ***!
|
|
206
|
-
\***********************/
|
|
207
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
208
|
-
|
|
209
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleDomAPI.js */ \"./node_modules/style-loader/dist/runtime/styleDomAPI.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertBySelector.js */ \"./node_modules/style-loader/dist/runtime/insertBySelector.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ \"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/insertStyleElement.js */ \"./node_modules/style-loader/dist/runtime/insertStyleElement.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../node_modules/style-loader/dist/runtime/styleTagTransform.js */ \"./node_modules/style-loader/dist/runtime/styleTagTransform.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _node_modules_css_loader_dist_cjs_js_petal_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../node_modules/css-loader/dist/cjs.js!./petal.css */ \"./node_modules/css-loader/dist/cjs.js!./src/petal.css\");\n\n \n \n \n \n \n \n \n \n \n\nvar options = {};\n\noptions.styleTagTransform = (_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());\noptions.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());\noptions.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, \"head\");\noptions.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());\noptions.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());\n\nvar update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_petal_css__WEBPACK_IMPORTED_MODULE_6__[\"default\"], options);\n\n\n\n\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_petal_css__WEBPACK_IMPORTED_MODULE_6__[\"default\"] && _node_modules_css_loader_dist_cjs_js_petal_css__WEBPACK_IMPORTED_MODULE_6__[\"default\"].locals ? _node_modules_css_loader_dist_cjs_js_petal_css__WEBPACK_IMPORTED_MODULE_6__[\"default\"].locals : undefined);\n\n\n//# sourceURL=webpack://petal/./src/petal.css?");
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
113
|
/***/ "./src/petal.ts":
|
|
214
114
|
/*!**********************!*\
|
|
215
115
|
!*** ./src/petal.ts ***!
|
|
216
116
|
\**********************/
|
|
217
117
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
218
118
|
|
|
219
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _modules_modal_modal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modules/modal/modal */ \"./src/modules/modal/modal.ts\");\n/* harmony import */ var _modules_banner_banner__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules/banner/banner */ \"./src/modules/banner/banner.ts\");\n
|
|
119
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _modules_modal_modal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modules/modal/modal */ \"./src/modules/modal/modal.ts\");\n/* harmony import */ var _modules_banner_banner__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules/banner/banner */ \"./src/modules/banner/banner.ts\");\n\n\nconsole.log(`🌸 Hello from Wellflow Petal v${\"0.1.1\"}`);\n(0,_modules_modal_modal__WEBPACK_IMPORTED_MODULE_0__.initializeAllModals)();\n(0,_modules_banner_banner__WEBPACK_IMPORTED_MODULE_1__.initializeBanner)();\n\n\n//# sourceURL=webpack://petal/./src/petal.ts?");
|
|
220
120
|
|
|
221
121
|
/***/ })
|
|
222
122
|
|
|
@@ -234,7 +134,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mod
|
|
|
234
134
|
/******/ }
|
|
235
135
|
/******/ // Create a new module (and put it into the cache)
|
|
236
136
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
237
|
-
/******/ id
|
|
137
|
+
/******/ // no module.id needed
|
|
238
138
|
/******/ // no module.loaded needed
|
|
239
139
|
/******/ exports: {}
|
|
240
140
|
/******/ };
|
|
@@ -247,18 +147,6 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mod
|
|
|
247
147
|
/******/ }
|
|
248
148
|
/******/
|
|
249
149
|
/************************************************************************/
|
|
250
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
251
|
-
/******/ (() => {
|
|
252
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
253
|
-
/******/ __webpack_require__.n = (module) => {
|
|
254
|
-
/******/ var getter = module && module.__esModule ?
|
|
255
|
-
/******/ () => (module['default']) :
|
|
256
|
-
/******/ () => (module);
|
|
257
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
258
|
-
/******/ return getter;
|
|
259
|
-
/******/ };
|
|
260
|
-
/******/ })();
|
|
261
|
-
/******/
|
|
262
150
|
/******/ /* webpack/runtime/define property getters */
|
|
263
151
|
/******/ (() => {
|
|
264
152
|
/******/ // define getter functions for harmony exports
|
|
@@ -287,11 +175,6 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mod
|
|
|
287
175
|
/******/ };
|
|
288
176
|
/******/ })();
|
|
289
177
|
/******/
|
|
290
|
-
/******/ /* webpack/runtime/nonce */
|
|
291
|
-
/******/ (() => {
|
|
292
|
-
/******/ __webpack_require__.nc = undefined;
|
|
293
|
-
/******/ })();
|
|
294
|
-
/******/
|
|
295
178
|
/************************************************************************/
|
|
296
179
|
/******/
|
|
297
180
|
/******/ // startup
|