@devtron-labs/devtron-fe-common-lib 0.0.18-beta-2 → 0.0.18-beta-3
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
CHANGED
|
@@ -14925,7 +14925,7 @@ function Icon(_a) {
|
|
|
14925
14925
|
}
|
|
14926
14926
|
function Body(_a) {
|
|
14927
14927
|
var title = _a.title, _b = _a.subtitle, subtitle = _b === void 0 ? null : _b, _c = _a.children, children = _c === void 0 ? null : _c;
|
|
14928
|
-
return (jsxRuntime.jsxs("div", __assign({ className: "flex left column " }, { children: [jsxRuntime.jsx("h3", __assign({ className: "confirmation-dialog__title lh-1-
|
|
14928
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "flex left column " }, { children: [jsxRuntime.jsx("h3", __assign({ className: "confirmation-dialog__title lh-1-5 dc__break-word w-100" }, { children: title })), subtitle && jsxRuntime.jsx("div", __assign({ className: "confirmation-dialog__subtitle" }, { children: subtitle })), children] })));
|
|
14929
14929
|
}
|
|
14930
14930
|
function ButtonGroup(_a) {
|
|
14931
14931
|
var children = _a.children;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ function Icon({ src, className = '' }: ConfirmationDialogIconType) {
|
|
|
17
17
|
function Body({ title, subtitle = null, children = null }: ConfirmationDialogBodyType) {
|
|
18
18
|
return (
|
|
19
19
|
<div className="flex left column ">
|
|
20
|
-
<h3 className="confirmation-dialog__title lh-1-
|
|
20
|
+
<h3 className="confirmation-dialog__title lh-1-5 dc__break-word w-100">{title}</h3>
|
|
21
21
|
{subtitle && <div className="confirmation-dialog__subtitle">{subtitle}</div>}
|
|
22
22
|
{children}
|
|
23
23
|
</div>
|