@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.
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -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
|
};
|