opus-toolkit-components 0.6.9 → 0.7.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.
|
@@ -689,15 +689,16 @@ const Accordion = _ref => {
|
|
|
689
689
|
}
|
|
690
690
|
}, [activeIndex]);
|
|
691
691
|
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
692
|
+
id: "accordion-".concat(index),
|
|
692
693
|
className: "accordion rounded-md bg-[--color-primary-bg] border border-[--color-stroke] w-full"
|
|
693
694
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
694
695
|
className: "accordion-item rounded-lg",
|
|
695
696
|
key: index
|
|
696
697
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
697
|
-
className: "accordion-header flex justify-between items-center
|
|
698
|
+
className: "accordion-header flex justify-between items-center py-2 px-4 cursor-pointer",
|
|
698
699
|
onClick: toggle
|
|
699
700
|
}, /*#__PURE__*/external_react_default().createElement("h2", {
|
|
700
|
-
className: "text-
|
|
701
|
+
className: "text-h4 text-[--color-text-strong]"
|
|
701
702
|
}, title), isPreview ? /*#__PURE__*/external_react_default().createElement(esm_PencilSquareIcon, {
|
|
702
703
|
className: "w-5 h-5 text-[--color-text-strong]"
|
|
703
704
|
}) : /*#__PURE__*/external_react_default().createElement(esm_ChevronDownIcon, {
|
|
@@ -12399,4 +12400,4 @@ function Loader(_ref) {
|
|
|
12399
12400
|
/******/ })()
|
|
12400
12401
|
;
|
|
12401
12402
|
});
|
|
12402
|
-
//# sourceMappingURL=main.
|
|
12403
|
+
//# sourceMappingURL=main.9756d83ef5ec8bb54c1e.js.map
|