@7shifts/sous-chef 3.57.2-beta2 → 3.57.3-beta0

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.
@@ -6293,7 +6293,7 @@ const useBackgroundColor = () => {
6293
6293
  setBackgroundColor(bodyStyles.getPropertyValue('background-color'));
6294
6294
  }
6295
6295
  }, [isInsideModal, isInsideAccordion, isInsideCard]);
6296
- return backgroundColor;
6296
+ return `var(--background-color, ${backgroundColor})`;
6297
6297
  };
6298
6298
 
6299
6299
  const DataTableHeader = ({
@@ -9586,7 +9586,7 @@ const AccordionItem = props => {
9586
9586
  }))), React__default.createElement("div", {
9587
9587
  "data-testid": `${isOpen ? 'accordion-item-' + id + '-open' : 'accordion-item-' + id + '-closed'}`,
9588
9588
  className: styles$y[`accordion-item__content${isOpen ? '--active' : ''}`]
9589
- }, React__default.createElement(Text, {
9589
+ }, isOpen && React__default.createElement(Text, {
9590
9590
  color: "grey-500"
9591
9591
  }, content)));
9592
9592
  };