@7shifts/sous-chef 3.86.0 → 3.86.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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9339,9 +9339,9 @@ const PersistentBanner = ({
|
|
|
9339
9339
|
justifyContent: "center",
|
|
9340
9340
|
space: 8
|
|
9341
9341
|
}, primaryButton && React__default.cloneElement(primaryButton, _extends({
|
|
9342
|
-
theme: BUTTON_THEMES.HOLLOW_CONTRAST
|
|
9342
|
+
theme: _theme === PERSISTENT_BANNER_THEME.WARNING ? BUTTON_THEMES.DEFAULT : BUTTON_THEMES.HOLLOW_CONTRAST
|
|
9343
9343
|
}, primaryButton.props)), secondaryButton && React__default.cloneElement(secondaryButton, _extends({
|
|
9344
|
-
theme: BUTTON_THEMES.LINK_CONTRAST
|
|
9344
|
+
theme: _theme === PERSISTENT_BANNER_THEME.WARNING ? BUTTON_THEMES.LINK_PRIMARY : BUTTON_THEMES.LINK_CONTRAST
|
|
9345
9345
|
}, secondaryButton.props))));
|
|
9346
9346
|
return React__default.createElement("div", {
|
|
9347
9347
|
className: classnames(styles$K['persistent-banner'], {
|
|
@@ -9355,7 +9355,7 @@ const PersistentBanner = ({
|
|
|
9355
9355
|
flex: [1],
|
|
9356
9356
|
alignItems: "center"
|
|
9357
9357
|
}, React__default.createElement(BannerContent, null), React__default.createElement(Button, {
|
|
9358
|
-
theme: "link-contrast",
|
|
9358
|
+
theme: _theme === PERSISTENT_BANNER_THEME.WARNING ? "link-primary" : "link-contrast",
|
|
9359
9359
|
onClick: onDismiss
|
|
9360
9360
|
}, React__default.createElement(IconTimes, null))) : React__default.createElement(BannerContent, null));
|
|
9361
9361
|
};
|