@deque/cauldron-react 5.0.0-canary.e5711729 → 5.0.0-canary.f147108b
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2364,7 +2364,7 @@ var Toast = /** @class */ (function (_super) {
|
|
|
2364
2364
|
var scrim = type === 'action-needed' && show ? (React__default.createElement("div", { className: "Scrim--light Scrim--show Scrim--fade-in" })) : null;
|
|
2365
2365
|
var defaultProps = {
|
|
2366
2366
|
tabIndex: -1,
|
|
2367
|
-
className:
|
|
2367
|
+
className: classNames('Toast', "Toast--".concat(typeMap[type].className), animationClass, { 'Toast--non-dismissible': !dismissible })
|
|
2368
2368
|
};
|
|
2369
2369
|
if (!focus) {
|
|
2370
2370
|
defaultProps.role = 'alert';
|
package/package.json
CHANGED