@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.js
CHANGED
|
@@ -6169,7 +6169,7 @@ var useBackgroundColor = function useBackgroundColor() {
|
|
|
6169
6169
|
setBackgroundColor(bodyStyles.getPropertyValue('background-color'));
|
|
6170
6170
|
}
|
|
6171
6171
|
}, [isInsideModal, isInsideAccordion, isInsideCard]);
|
|
6172
|
-
return backgroundColor;
|
|
6172
|
+
return "var(--background-color, " + backgroundColor + ")";
|
|
6173
6173
|
};
|
|
6174
6174
|
|
|
6175
6175
|
var DataTableHeader = function DataTableHeader(_ref) {
|
|
@@ -9403,7 +9403,7 @@ var AccordionItem = function AccordionItem(props) {
|
|
|
9403
9403
|
}))), React__default["default"].createElement("div", {
|
|
9404
9404
|
"data-testid": "" + (isOpen ? 'accordion-item-' + id + '-open' : 'accordion-item-' + id + '-closed'),
|
|
9405
9405
|
className: styles$y["accordion-item__content" + (isOpen ? '--active' : '')]
|
|
9406
|
-
}, React__default["default"].createElement(Text, {
|
|
9406
|
+
}, isOpen && React__default["default"].createElement(Text, {
|
|
9407
9407
|
color: "grey-500"
|
|
9408
9408
|
}, content)));
|
|
9409
9409
|
};
|