opus-toolkit-components 1.1.8 → 1.2.0
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.
|
@@ -12,6 +12,46 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
+
/***/ 40:
|
|
16
|
+
/***/ ((module) => {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var memo = {};
|
|
21
|
+
|
|
22
|
+
/* istanbul ignore next */
|
|
23
|
+
function getTarget(target) {
|
|
24
|
+
if (typeof memo[target] === "undefined") {
|
|
25
|
+
var styleTarget = document.querySelector(target);
|
|
26
|
+
|
|
27
|
+
// Special case to return head of iframe instead of iframe itself
|
|
28
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
29
|
+
try {
|
|
30
|
+
// This will throw an exception if access to iframe is blocked
|
|
31
|
+
// due to cross-origin restrictions
|
|
32
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
33
|
+
} catch (e) {
|
|
34
|
+
// istanbul ignore next
|
|
35
|
+
styleTarget = null;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
memo[target] = styleTarget;
|
|
39
|
+
}
|
|
40
|
+
return memo[target];
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* istanbul ignore next */
|
|
44
|
+
function insertBySelector(insert, style) {
|
|
45
|
+
var target = getTarget(insert);
|
|
46
|
+
if (!target) {
|
|
47
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
48
|
+
}
|
|
49
|
+
target.appendChild(style);
|
|
50
|
+
}
|
|
51
|
+
module.exports = insertBySelector;
|
|
52
|
+
|
|
53
|
+
/***/ }),
|
|
54
|
+
|
|
15
55
|
/***/ 56:
|
|
16
56
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17
57
|
|
|
@@ -449,46 +489,6 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.navbar .nav-logo{max-height:40px}`, "
|
|
|
449
489
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
450
490
|
|
|
451
491
|
|
|
452
|
-
/***/ }),
|
|
453
|
-
|
|
454
|
-
/***/ 659:
|
|
455
|
-
/***/ ((module) => {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
var memo = {};
|
|
460
|
-
|
|
461
|
-
/* istanbul ignore next */
|
|
462
|
-
function getTarget(target) {
|
|
463
|
-
if (typeof memo[target] === "undefined") {
|
|
464
|
-
var styleTarget = document.querySelector(target);
|
|
465
|
-
|
|
466
|
-
// Special case to return head of iframe instead of iframe itself
|
|
467
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
468
|
-
try {
|
|
469
|
-
// This will throw an exception if access to iframe is blocked
|
|
470
|
-
// due to cross-origin restrictions
|
|
471
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
472
|
-
} catch (e) {
|
|
473
|
-
// istanbul ignore next
|
|
474
|
-
styleTarget = null;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
memo[target] = styleTarget;
|
|
478
|
-
}
|
|
479
|
-
return memo[target];
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
/* istanbul ignore next */
|
|
483
|
-
function insertBySelector(insert, style) {
|
|
484
|
-
var target = getTarget(insert);
|
|
485
|
-
if (!target) {
|
|
486
|
-
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
487
|
-
}
|
|
488
|
-
target.appendChild(style);
|
|
489
|
-
}
|
|
490
|
-
module.exports = insertBySelector;
|
|
491
|
-
|
|
492
492
|
/***/ }),
|
|
493
493
|
|
|
494
494
|
/***/ 705:
|
|
@@ -789,7 +789,7 @@ const Pill = _ref => {
|
|
|
789
789
|
}), text);
|
|
790
790
|
};
|
|
791
791
|
/* harmony default export */ const Pills_Pill = (Pill);
|
|
792
|
-
;// ./src/components/Accordions/Accordion.
|
|
792
|
+
;// ./src/components/Accordions/Accordion.jsx
|
|
793
793
|
|
|
794
794
|
|
|
795
795
|
|
|
@@ -835,8 +835,7 @@ const Accordion = _ref => {
|
|
|
835
835
|
className: "accordion-item",
|
|
836
836
|
key: index
|
|
837
837
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
838
|
-
className: "\n accordion-header\n flex justify-between items-center cursor-pointer\n bg-[--color-accordion-header]\n rounded-t-lg\n ".concat(isActive || isPreview ? "" : "rounded-b-lg", "\n ")
|
|
839
|
-
onClick: toggle
|
|
838
|
+
className: "\n accordion-header\n flex justify-between items-center cursor-pointer\n bg-[--color-accordion-header]\n rounded-t-lg\n ".concat(isActive || isPreview ? "" : "rounded-b-lg", "\n ")
|
|
840
839
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
841
840
|
className: "flex items-center gap-2 justify-between cursor-pointer"
|
|
842
841
|
}, /*#__PURE__*/external_react_default().createElement("h2", {
|
|
@@ -848,7 +847,8 @@ const Accordion = _ref => {
|
|
|
848
847
|
status: pillStatus,
|
|
849
848
|
icon: pillIcon
|
|
850
849
|
}) : null, /*#__PURE__*/external_react_default().createElement("div", {
|
|
851
|
-
className: "border-0 border-l-2 border-solid border-[--color-stroke] p-4"
|
|
850
|
+
className: "border-0 border-l-2 border-solid border-[--color-stroke] p-4",
|
|
851
|
+
onClick: toggle
|
|
852
852
|
}, isPreview ? /*#__PURE__*/external_react_default().createElement(esm_PencilSquareIcon, {
|
|
853
853
|
className: "w-5 h-5 text-[--color-text-strong]",
|
|
854
854
|
onClick: e => {
|
|
@@ -871,7 +871,7 @@ var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(inject
|
|
|
871
871
|
var styleDomAPI = __webpack_require__(825);
|
|
872
872
|
var styleDomAPI_default = /*#__PURE__*/__webpack_require__.n(styleDomAPI);
|
|
873
873
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/insertBySelector.js
|
|
874
|
-
var insertBySelector = __webpack_require__(
|
|
874
|
+
var insertBySelector = __webpack_require__(40);
|
|
875
875
|
var insertBySelector_default = /*#__PURE__*/__webpack_require__.n(insertBySelector);
|
|
876
876
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js
|
|
877
877
|
var setAttributesWithoutAttributes = __webpack_require__(56);
|
|
@@ -12774,7 +12774,7 @@ function Dropdown(_ref) {
|
|
|
12774
12774
|
className: "-mr-1 h-5 w-5 text-[--color-text-weak] transition-transform duration-200 ".concat(isOpen ? 'rotate-180' : 'rotate-0')
|
|
12775
12775
|
}))), !disabled && /*#__PURE__*/external_react_default().createElement(Pt, {
|
|
12776
12776
|
transition: true,
|
|
12777
|
-
className: "absolute
|
|
12777
|
+
className: "absolute left-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-[--color-primary-bg] shadow-lg ring-1 ring-black ring-opacity-5 transition focus:outline-none max-h-48 overflow-y-auto",
|
|
12778
12778
|
onClick: () => setIsOpen(false)
|
|
12779
12779
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
12780
12780
|
className: "py-1"
|
|
@@ -12968,7 +12968,6 @@ const CookieBanner = _ref => {
|
|
|
12968
12968
|
}
|
|
12969
12969
|
}, [imageLoaded, render]);
|
|
12970
12970
|
if (!render) return null;
|
|
12971
|
-
console.log("DefaultLogo:", (footer_logos_svg_default()));
|
|
12972
12971
|
return /*#__PURE__*/external_react_default().createElement(Card, {
|
|
12973
12972
|
intent: "brandSecondary",
|
|
12974
12973
|
className: "\n md:flex items-center justify-between p-4 space-x-4\n transition-all duration-300 ease-in-out\n ".concat(show ? "opacity-100 translate-y-0" : "opacity-0 translate-y-3", "\n ")
|
|
@@ -13018,4 +13017,4 @@ const CookieBanner = _ref => {
|
|
|
13018
13017
|
/******/ })()
|
|
13019
13018
|
;
|
|
13020
13019
|
});
|
|
13021
|
-
//# sourceMappingURL=main.
|
|
13020
|
+
//# sourceMappingURL=main.bd844f5846ffd24b3273.js.map
|