Skip to content

Commit

Permalink
Release v2.4.14 (#1035)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Valdivia <[email protected]>
  • Loading branch information
dvaldivia authored Oct 17, 2024
1 parent fb72b3b commit e3190b4
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 39 deletions.
87 changes: 51 additions & 36 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7366,7 +7366,9 @@ const kr = m.div(() => ({
display: "flex",
alignItems: "center",
lineHeight: o,
minWidth: 180,
width: 190,
paddingRight: 8,
textWrap: "wrap",
"&.noMinWidthLabel": { minWidth: "initial" },
},
...V(r, e),
Expand Down Expand Up @@ -9099,8 +9101,9 @@ const kr = m.div(() => ({
helpTip: i,
helpTipPlacement: C,
checked: s,
disabled: c,
...d
checkLabel: c,
disabled: d,
...u
}) =>
t.createElement(
Yo,
Expand All @@ -9112,34 +9115,16 @@ const kr = m.div(() => ({
alignItems: "center",
flexBasis: "initial",
flexWrap: "nowrap",
"& .checkArea": { display: "flex", gap: 16, alignItems: "center" },
},
},
t.createElement(
Xo,
{ sx: a, onClick: (e) => e.stopPropagation() },
t.createElement("input", {
type: "checkbox",
id: r,
checked: s,
disabled: c,
...d,
}),
t.createElement(
"span",
{ className: "checkbox" },
t.createElement(Ko, {
className: (c ? "disabled" : "") + " icon-overlay",
}),
),
),
"" !== n &&
t.createElement(
fo,
{
htmlFor: r,
noMinWidth: !0,
className: `${o || ""}`,
sx: { marginLeft: 10 },
helpTip: i,
helpTipPlacement: C,
},
Expand All @@ -9156,6 +9141,25 @@ const kr = m.div(() => ({
),
),
),
t.createElement(
Xo,
{ className: "checkArea", sx: a, onClick: (e) => e.stopPropagation() },
t.createElement("input", {
type: "checkbox",
id: r,
checked: s,
disabled: d,
...u,
}),
t.createElement(
"span",
{ className: "checkbox" },
t.createElement(Ko, {
className: (d ? "disabled" : "") + " icon-overlay",
}),
),
c && t.createElement("span", null, c),
),
);
function Jo() {
return (
Expand Down Expand Up @@ -60517,13 +60521,15 @@ const RT = m.div(({ theme: e, sx: t, marginTop: n, separator: r }) => ({
"& .subTitle, .superTitle": {
color: e.colors["Color/Neutral/Text/colorTextQuaternary"],
},
"& .superTitle": { position: "absolute", marginTop: -44 },
},
"& .leftItems": {
flexGrow: 1,
display: "flex",
justifyContent: "space-between",
gap: 16,
"& .titleColumn": { flexGrow: "1" },
"& .badges": { display: "flex", alignItems: "center", gap: 4 },
"& .options": {
display: "flex",
alignItems: "center",
Expand Down Expand Up @@ -60557,20 +60563,21 @@ const RT = m.div(({ theme: e, sx: t, marginTop: n, separator: r }) => ({
superTitle: n = "",
subTitle: r = "",
title: o,
actions: a,
sx: l,
titleOptions: i,
...C
actions: l,
sx: i,
titleOptions: C,
titleBadges: s,
...c
}) =>
t.createElement(
_T,
{
className: "screen-title",
sx: l,
sx: i,
superTitle: n,
subTitle: r,
titleOptions: i,
...C,
titleOptions: C,
...c,
},
t.createElement(
yn,
Expand All @@ -60597,18 +60604,26 @@ const RT = m.div(({ theme: e, sx: t, marginTop: n, separator: r }) => ({
yn,
{ className: "titleColumn" },
n &&
t.createElement("span", { className: "superTitle SM_Normal" }, n),
t.createElement("div", { className: "superTitle SM_Normal" }, n),
t.createElement(yn, { className: "titleElement Heading3" }, o),
r &&
t.createElement("span", { className: "subTitle SM_Normal" }, r),
),
i &&
s &&
t.createElement(
yn,
{ className: "badges" },
null == s
? void 0
: s.map((e, n) => t.createElement(a, { key: `badge-${n}` }, e)),
),
C &&
t.createElement(
yn,
{ className: "options" },
null == i
null == C
? void 0
: i.map((e, n) =>
: C.map((e, n) =>
t.createElement(
yn,
{ className: "optionElement", key: `option-${n}` },
Expand All @@ -60626,7 +60641,7 @@ const RT = m.div(({ theme: e, sx: t, marginTop: n, separator: r }) => ({
),
),
),
a && t.createElement(yn, { className: "rightItems" }, a),
l && t.createElement(yn, { className: "rightItems" }, l),
),
),
kT = ({ icon: e, title: n, help: r, ...o }) =>
Expand Down Expand Up @@ -63376,9 +63391,9 @@ const XT = ({
},
},
})),
pS = m.div(() => ({ display: "flex", alignItems: "center", gap: 5 })),
pS = m.div(() => ({ display: "flex", alignItems: "center", gap: 16 })),
hS = m.div(() => ({
"& .descriptionLabel": { display: "block", marginLeft: 21, marginTop: 4 },
"& .descriptionLabel": { display: "block", paddingLeft: 32, marginTop: 4 },
})),
gS = ({
tooltip: e,
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/esm/types/src/components/Checkbox/Checkbox.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
sx?: OverrideTheme;
helpTip?: React.ReactNode;
helpTipPlacement?: CommonHelpTipPlacement;
checkLabel?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface ScreenTitleProps {
subTitle?: React.ReactNode;
title: string;
actions?: React.ReactNode;
titleBadges?: React.ReactNode[];
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
}
Expand All @@ -17,6 +18,6 @@ export interface ScreenTitleContainerProps {
bottomBorder?: boolean;
}
export interface ScreenTitleOptions {
title: string;
title?: string;
value?: string;
}
4 changes: 3 additions & 1 deletion dist/mds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
sx?: OverrideTheme;
helpTip?: React__default.ReactNode;
helpTipPlacement?: CommonHelpTipPlacement;
checkLabel?: string;
}

declare const Checkbox: FC<
Expand Down Expand Up @@ -1702,6 +1703,7 @@ interface ScreenTitleProps {
subTitle?: React__default.ReactNode;
title: string;
actions?: React__default.ReactNode;
titleBadges?: React__default.ReactNode[];
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
}
Expand All @@ -1713,7 +1715,7 @@ interface ScreenTitleContainerProps {
bottomBorder?: boolean;
}
interface ScreenTitleOptions {
title: string;
title?: string;
value?: string;
}

Expand Down

0 comments on commit e3190b4

Please sign in to comment.