@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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. 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: "Toast Toast--".concat(typeMap[type].className, " ").concat(animationClass)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-react",
3
- "version": "5.0.0-canary.e5711729",
3
+ "version": "5.0.0-canary.f147108b",
4
4
  "description": "Fully accessible react components library for Deque Cauldron",
5
5
  "homepage": "https://cauldron.dequelabs.com/",
6
6
  "publishConfig": {