opus-toolkit-components 1.0.2 → 1.0.3

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.
@@ -802,7 +802,8 @@ const Accordion = _ref => {
802
802
  isPill = false,
803
803
  pillText,
804
804
  pillStatus,
805
- pillIcon
805
+ pillIcon,
806
+ disabled = false
806
807
  } = _ref;
807
808
  const [internalActiveIndex, setInternalActiveIndex] = (0,external_react_.useState)(null);
808
809
 
@@ -826,7 +827,14 @@ const Accordion = _ref => {
826
827
  }, [activeIndex]);
827
828
  return /*#__PURE__*/external_react_default().createElement("div", {
828
829
  id: `accordion-${index}`,
829
- className: "accordion rounded-md bg-[--color-primary-bg] border border-[--color-stroke] w-full"
830
+ className: `
831
+ accordion
832
+ rounded-md
833
+ bg-[--color-primary-bg]
834
+ border border-[--color-stroke]
835
+ w-full
836
+ ${disabled ? "opacity-50 pointer-events-none" : ""}
837
+ `
830
838
  }, /*#__PURE__*/external_react_default().createElement("div", {
831
839
  className: "accordion-item rounded-lg",
832
840
  key: index
@@ -12924,4 +12932,4 @@ function Loader(_ref) {
12924
12932
  /******/ })()
12925
12933
  ;
12926
12934
  });
12927
- //# sourceMappingURL=main.376fb82d8586e6a8460b.js.map
12935
+ //# sourceMappingURL=main.f38c49804e7248368b68.js.map