morse-react-dialogs
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -34,3 +34,3 @@ "use strict"; | ||
var buttons = props.buttons, title = props.title, icon = props.icon, allowDismiss = props.allowDismiss, onDismissed = props.onDismissed, className = props.className, children = props.children, dialogProps = __rest(props, ["buttons", "title", "icon", "allowDismiss", "onDismissed", "className", "children"]); | ||
var classes = ["c-dialog", props.stretch, className].filter(Boolean); | ||
var classes = [props.stretch, className].filter(Boolean); | ||
return (react_1.default.createElement(Dialog_1.Dialog, __assign({}, dialogProps, { allowDismiss: allowDismiss, onDismissed: onDismissed, className: classes.join(" ") }), | ||
@@ -37,0 +37,0 @@ react_1.default.createElement(Dialog_1.Dialog.Head, { icon: icon, onDismissed: onDismissed, showClose: allowDismiss }, title && react_1.default.createElement(Dialog_1.Dialog.Title, null, title)), |
{ | ||
"name": "morse-react-dialogs", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Dialog patterns in React built for Morse", | ||
@@ -25,4 +25,4 @@ "repository": { | ||
"@types/react-dom": "^18.0.0", | ||
"morse-css": "4.0.3", | ||
"morse-react": "4.1.1", | ||
"morse-css": "4.1.2", | ||
"morse-react": "4.1.2", | ||
"react": "^18.0.0", | ||
@@ -49,3 +49,3 @@ "react-dom": "^18.0.0", | ||
], | ||
"gitHead": "37a21d5963f726731e31a0276727c9762c275a0b" | ||
"gitHead": "14c2d78bec51e728957d2a0d578c12b4efa5e86b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100195