Skip to content

Commit 610d9a6

Browse files
committed
Deploying to gh-pages from @ 982492a 🚀
1 parent b88ee4b commit 610d9a6

183 files changed

Lines changed: 576 additions & 467 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 112 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278478,6 +278478,105 @@ module.exports = {
278478278478

278479278479
/***/ }),
278480278480

278481+
/***/ 9786:
278482+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
278483+
278484+
"use strict";
278485+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
278486+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
278487+
/* harmony export */ });
278488+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3696);
278489+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2688);
278490+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
278491+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2540);
278492+
278493+
278494+
278495+
const Tooltip = _ref => {
278496+
let {
278497+
children,
278498+
content,
278499+
position = 'bottom',
278500+
delay = 300,
278501+
className = ''
278502+
} = _ref;
278503+
const [isVisible, setIsVisible] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);
278504+
const [isDelayed, setIsDelayed] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);
278505+
const showTooltip = () => {
278506+
const timer = setTimeout(() => {
278507+
setIsDelayed(true);
278508+
}, delay);
278509+
setIsVisible(true);
278510+
return () => clearTimeout(timer);
278511+
};
278512+
const hideTooltip = () => {
278513+
setIsVisible(false);
278514+
setIsDelayed(false);
278515+
};
278516+
// Position classes - increase the margins to create more space
278517+
const positions = {
278518+
top: 'bottom-full left-1/2 -translate-x-1/2 mb-8',
278519+
bottom: 'top-full left-1/2 -translate-x-1/2 mt-10',
278520+
left: 'right-full top-1/2 -translate-y-1/2 mr-8',
278521+
right: 'left-full top-1/2 -translate-y-1/2 ml-8'
278522+
};
278523+
// Custom background color for both tooltip and triangle
278524+
const bgColor = '#526B78';
278525+
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", {
278526+
className: `relative ${className}`,
278527+
onMouseEnter: showTooltip,
278528+
onMouseLeave: hideTooltip,
278529+
onFocus: showTooltip,
278530+
onBlur: hideTooltip,
278531+
children: [children, isVisible && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
278532+
className: `
278533+
absolute z-[9999]
278534+
${positions[position]}
278535+
${isDelayed ? 'opacity-100' : 'opacity-0'}
278536+
transition-opacity duration-200
278537+
pointer-events-none
278538+
`,
278539+
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", {
278540+
className: "text-white text-xs font-medium p-10 rounded-md whitespace-nowrap shadow-xl",
278541+
style: {
278542+
backgroundColor: bgColor
278543+
},
278544+
children: [content, position === 'top' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
278545+
className: "absolute top-full left-1/2 -translate-x-1/2 border-solid border-l-[6px] border-r-[6px] border-t-[6px] border-l-transparent border-r-transparent",
278546+
style: {
278547+
borderTopColor: bgColor
278548+
}
278549+
}), position === 'bottom' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
278550+
className: "absolute -top-[6px] left-1/2 -translate-x-1/2 border-solid border-l-[6px] border-r-[6px] border-b-[6px] border-l-transparent border-r-transparent",
278551+
style: {
278552+
borderBottomColor: bgColor
278553+
}
278554+
}), position === 'left' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
278555+
className: "absolute top-1/2 -translate-y-1/2 right-[-6px] border-solid border-t-[6px] border-b-[6px] border-l-[6px] border-t-transparent border-b-transparent",
278556+
style: {
278557+
borderLeftColor: bgColor
278558+
}
278559+
}), position === 'right' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
278560+
className: "absolute top-1/2 -translate-y-1/2 left-[-6px] border-solid border-t-[6px] border-b-[6px] border-r-[6px] border-t-transparent border-b-transparent",
278561+
style: {
278562+
borderRightColor: bgColor
278563+
}
278564+
})]
278565+
})
278566+
})]
278567+
});
278568+
};
278569+
Tooltip.propTypes = {
278570+
children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node).isRequired,
278571+
content: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node).isRequired,
278572+
position: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['top', 'right', 'bottom', 'left']),
278573+
delay: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
278574+
className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
278575+
};
278576+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);
278577+
278578+
/***/ }),
278579+
278481278580
/***/ 3317:
278482278581
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
278483278582

@@ -283959,7 +284058,7 @@ module.exports = require("stream");
283959284058
/******/ // This function allow to reference async chunks
283960284059
/******/ __webpack_require__.u = (chunkId) => {
283961284060
/******/ // return url for filenames based on template
283962-
/******/ return ".server/" + chunkId + "." + {"321":"70eb3d890cbcde47","562":"1c332fc57e74f083","652":"2ca335054388be0d","703":"6b02234447c0a227"}[chunkId] + ".js";
284061+
/******/ return ".server/" + chunkId + "." + {"321":"70eb3d890cbcde47","562":"1c332fc57e74f083","652":"78158c218f03efcf","703":"6b02234447c0a227"}[chunkId] + ".js";
283963284062
/******/ };
283964284063
/******/ })();
283965284064
/******/
@@ -284472,6 +284571,8 @@ _defineProperty(Dropdown, "propTypes", {
284472284571
className: (prop_types_default()).string,
284473284572
items: (prop_types_default()).array
284474284573
});
284574+
// EXTERNAL MODULE: ./components/Tooltip/Tooltip.jsx
284575+
var Tooltip = __webpack_require__(9786);
284475284576
;// ./styles/icons/github.svg
284476284577
var _path;
284477284578
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
@@ -284698,6 +284799,7 @@ function HelloDarkness() {
284698284799

284699284800

284700284801

284802+
284701284803
// Load Styling
284702284804

284703284805

@@ -284762,12 +284864,14 @@ function NavigationIcon(_ref3) {
284762284864
to,
284763284865
title
284764284866
} = _ref3;
284765-
return /*#__PURE__*/(0,jsx_runtime.jsx)(Link_Link, {
284766-
to: to,
284767-
className: "inline-flex items-center text-gray-100 dark:text-gray-200 hover:text-blue-200",
284768-
title: `webpack on ${title}`,
284769-
"aria-label": `webpack on ${title}`,
284770-
children: children
284867+
return /*#__PURE__*/(0,jsx_runtime.jsx)(Tooltip/* default */.A, {
284868+
content: `webpack on ${title}`,
284869+
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Link_Link, {
284870+
to: to,
284871+
className: "inline-flex items-center text-gray-100 dark:text-gray-200 hover:text-blue-200",
284872+
"aria-label": `webpack on ${title}`,
284873+
children: children
284874+
})
284771284875
});
284772284876
}
284773284877
const navigationIconProps = {
@@ -287651,7 +287755,7 @@ function PrintScript() {
287651287755
});
287652287756
}
287653287757
;// ../dist/prod-assets-manifest.json
287654-
const prod_assets_manifest_namespaceObject = /*#__PURE__*/JSON.parse('{"js":["/vendor.817bc9c70027aefa.js","/index.8cca330f93fd7bfc.js"],"A":["/index.9e6bd440e3104850.css","/4513.869f0846a132527b.css"]}');
287758+
const prod_assets_manifest_namespaceObject = /*#__PURE__*/JSON.parse('{"js":["/vendor.817bc9c70027aefa.js","/index.90ee6ad24d3eda38.js"],"A":["/index.93d749b6c038c22c.css","/4513.869f0846a132527b.css"]}');
287655287759
;// ./server.jsx
287656287760
// Import External Dependencies
287657287761

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cli/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/compilation-hooks/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/compilation-object/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/compiler-hooks/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/contextmodulefactory-hooks/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/hot-module-replacement/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/index.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)