Skip to content

Commit

Permalink
Release v0.10.1 (#553)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Oct 24, 2023
1 parent d81094e commit 83a5533
Show file tree
Hide file tree
Showing 10 changed files with 225 additions and 105 deletions.
50 changes: 49 additions & 1 deletion dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46738,10 +46738,12 @@ var Wy,
},
"& .wizardModal": {
overflowY: "auto",
overflowX: "hidden",
margin: "10px 0",
minHeight: 350,
maxHeight: "calc(100vh - 515px)",
padding: "15px",
position: "relative",
},
"& .buttonsContainer": {
display: "flex",
Expand Down Expand Up @@ -46836,7 +46838,7 @@ var Wy,
color: Sa(t, "fontColor", h),
fontWeight: 600,
margin: "10px 12px",
"&.stepsModalTitle": { textAlign: "center", width: "100%" },
"&.stepsModalTitle": { textAlign: "center" },
},
"& .buttonList": {
backgroundColor: "transparent",
Expand Down Expand Up @@ -46896,6 +46898,36 @@ var Wy,
},
n,
);
}),
vA = l.default.div(function (e) {
var t = e.theme,
n = e.sx,
a = e.variant;
return Ve(
{
backgroundColor: Sa(
t,
"informativeMessage.".concat(a, ".backgroundColor"),
C,
),
border: "1px solid ".concat(
Sa(t, "informativeMessage.".concat(a, ".borderColor"), C),
),
borderRadius: 3,
padding: "10px 20px",
"& .labelHeadline": {
color: Sa(t, "informativeMessage.".concat(a, ".textColor"), m),
fontSize: 14,
fontWeight: "bold",
marginBottom: 10,
},
"& .messageText": {
color: Sa(t, "informativeMessage.".concat(a, ".textColor"), m),
fontSize: 14,
},
},
n,
);
});
(exports.AGPLV3DarkLogo = function (e) {
return i.createElement(
Expand Down Expand Up @@ -52760,6 +52792,22 @@ var Wy,
}),
);
}),
(exports.InformativeMessage = function (e) {
var t = e.title,
n = e.message,
a = e.sx,
r = e.variant,
i = void 0 === r ? "default" : r;
return (
Ze(e, ["title", "message", "sx", "variant"]),
o.default.createElement(
vA,
{ sx: a, variant: i, className: "informative-message" },
o.default.createElement("div", { className: "labelHeadline" }, t),
o.default.createElement("div", { className: "messageText" }, n),
)
);
}),
(exports.InputBox = function (t) {
var n = t.id,
a = t.tooltip,
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ export interface InformativeMessageMain {
title: React.ReactNode;
message: React.ReactNode;
}
export interface ConstructProps {
export interface InformativeConstructProps {
variant?: "default" | "success" | "warning" | "error";
sx?: CSSObject;
}
export type InformativeMessageProps = InformativeMessageMain & ConstructProps;
export type InformativeMessageProps = InformativeMessageMain &
InformativeConstructProps;
2 changes: 2 additions & 0 deletions dist/cjs/types/components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export { default as HelpTip } from "./HelpTip/HelpTip";
export { default as Autocomplete } from "./Autocomplete/Autocomplete";
export { default as Badge } from "./Badge/Badge";
export { default as Wizard } from "./Wizard/Wizard";
export { default as InformativeMessage } from "./InformativeMessage/InformativeMessage";
export * from "./Icons";
export * from "./Icons/SidebarMenus";
export * from "./Icons/FileIcons";
Expand Down Expand Up @@ -95,3 +96,4 @@ export * from "./HelpTip/HelpTip.types";
export * from "./Autocomplete/Autocomplete.types";
export * from "./Badge/Badge.types";
export * from "./Wizard/Wizard.types";
export * from "./InformativeMessage/InformativeMessage.types";
Loading

0 comments on commit 83a5533

Please sign in to comment.