Skip to content

Commit

Permalink
Release v3.1.2 (#1080)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Nov 1, 2024
1 parent d2322e2 commit 17073d7
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 97 deletions.
200 changes: 104 additions & 96 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27286,7 +27286,7 @@ const AN = sT({
width: 190,
paddingRight: 8,
textWrap: "wrap",
"&.noMinWidthLabel": { minWidth: "initial" },
"&.noMinWidthLabel": { minWidth: "initial", width: "initial" },
},
};
},
Expand Down Expand Up @@ -27677,98 +27677,99 @@ const AN = sT({
o ||
((_ = Vt(N ? cd : sd, {})), (A = N ? "text" : "password"));
const [Z, I] = a(!1);
return (
L || "error" !== h || Z || !m || ((m = ""), (h = "normal")),
St("div", {
css: [
T,
"small" === g ? KN : {},
o || "password" === r ? XN : {},
sT({ flexDirection: "vertical" === v ? "column" : "row" }),
V,
],
className: `inputItem inputdiv Base_Normal ${p}`,
children: [
"" !== c &&
St(FN, {
htmlFor: e,
noMinWidth: l,
className:
"inputLabel " + ("vertical" === v ? "verticalMode" : ""),
orientation: v,
inputSizeMode: g,
L || "error" !== h || Z || !m || ((m = ""), (h = "normal"));
const k = "normal" !== h;
return St("div", {
css: [
T,
"small" === g ? KN : {},
o || "password" === r ? XN : {},
sT({ flexDirection: "vertical" === v ? "column" : "row" }),
V,
],
className: `inputItem inputdiv Base_Normal ${p}`,
children: [
"" !== c &&
St(FN, {
htmlFor: e,
noMinWidth: l,
className:
"inputLabel " + ("vertical" === v ? "verticalMode" : ""),
orientation: v,
inputSizeMode: g,
children: [
c,
d ? "*" : "",
"" !== t &&
Vt("div", {
className: "tooltipContainer",
children: Vt(WN, {
tooltip: t,
placement: "top",
children: Vt("div", {
className: t,
children: Vt(Ga, {}),
}),
}),
}),
],
}),
St("div", {
className: "textdivContainer",
children: [
St("div", {
css: { position: "relative" },
children: [
c,
d ? "*" : "",
"" !== t &&
u &&
Vt("div", { className: "startOverlayIcon", children: u }),
Vt("input", {
id: e,
css: [
S,
"small" === g ? qN : {},
u ? { paddingLeft: 35 } : {},
k ? { paddingRight: 30 } : {},
k && (s || _) ? { paddingRight: 60 } : {},
],
type: A,
className: `Base_Normal inputRebase ${h}State ${M && "" !== M ? "filled" : ""}`,
value: M,
"data-index": n,
onFocus: (e) => {
I(!0), w && w(e);
},
ref: E,
...H,
}),
"error" === h &&
Vt(wa, { className: "accessoryIcon errorState" }),
"warning" === h &&
Vt(vV, { className: "accessoryIcon warningState" }),
"success" === h &&
Vt(Ta, { className: "accessoryIcon successState" }),
_ &&
Vt("div", {
className: "tooltipContainer",
children: Vt(WN, {
tooltip: t,
placement: "top",
children: Vt("div", {
className: t,
children: Vt(Ga, {}),
}),
className: "overlayAction",
children: Vt(ON, {
onClick: C
? (e) => {
C(e);
}
: () => x(!N),
id: `${e}-button`,
type: "button",
icon: _,
}),
}),
s && Vt("div", { className: "overlayAction", children: s }),
],
}),
St("div", {
className: "textdivContainer",
children: [
St("div", {
css: { position: "relative" },
children: [
u &&
Vt("div", { className: "startOverlayIcon", children: u }),
Vt("input", {
id: e,
css: [
S,
"small" === g ? qN : {},
u ? { paddingLeft: 35 } : {},
],
type: A,
className: `Base_Normal inputRebase ${h}State ${M && "" !== M ? "filled" : ""}`,
value: M,
"data-index": n,
onFocus: (e) => {
I(!0), w && w(e);
},
ref: E,
...H,
}),
"error" === h &&
Vt(wa, { className: "accessoryIcon errorState" }),
"warning" === h &&
Vt(vV, { className: "accessoryIcon warningState" }),
"success" === h &&
Vt(Ta, { className: "accessoryIcon successState" }),
_ &&
Vt("div", {
className: "overlayAction",
children: Vt(ON, {
onClick: C
? (e) => {
C(e);
}
: () => x(!N),
id: `${e}-button`,
type: "button",
icon: _,
}),
}),
s && Vt("div", { className: "overlayAction", children: s }),
],
}),
void 0 !== m && Vt(DN, { state: h, children: m }),
b,
],
}),
],
})
);
void 0 !== m && Vt(DN, { state: h, children: m }),
b,
],
}),
],
});
},
),
JN = sT({
Expand Down Expand Up @@ -28763,11 +28764,12 @@ const AN = sT({
checked: a,
helper: C,
disabled: s,
...c
noLabelMinWidth: c,
...d
}) => {
const d = gt(),
u = i(() => (o ? sT({ ...R(o, d) }) : {}), [o, d]),
p = ((e) => ({
const u = gt(),
p = i(() => (o ? sT({ ...R(o, u) }) : {}), [o, u]),
m = ((e) => ({
position: "relative",
"& input": { display: "none" },
"& .checkbox": {
Expand Down Expand Up @@ -28824,7 +28826,7 @@ const AN = sT({
color: e.colors["Color/Neutral/Text/colorTextDisabled"],
},
},
}))(d);
}))(u);
return St(px, {
className: `inputItem ${l || ""}`,
sx: {
Expand All @@ -28845,8 +28847,9 @@ const AN = sT({
"" !== t &&
St(FN, {
htmlFor: n,
noMinWidth: !0,
noMinWidth: c,
className: `${r || ""}`,
sx: { alignSelf: "flex-start" },
children: [
t,
e &&
Expand All @@ -28862,15 +28865,15 @@ const AN = sT({
],
}),
St("label", {
css: [p, u],
css: [m, p],
onClick: (e) => e.stopPropagation(),
children: [
Vt("input", {
type: "checkbox",
id: n,
checked: a,
disabled: s,
...c,
...d,
}),
Vt("span", {
className: "checkbox",
Expand Down Expand Up @@ -76736,7 +76739,12 @@ const f6 = ({
backgroundColor: "transparent",
},
"& .accessoryIcon": { display: "none" },
...S,
"& input": {
paddingRight: 25,
textOverflow: "ellipsis",
whiteSpace: "nowrap",
overflow: "hidden",
},
},
disabled: p,
disableErrorUntilFocus: !0,
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/src/components/Checkbox/Checkbox.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
label?: string;
tooltip?: string;
overrideLabelClasses?: string;
noLabelMinWidth?: boolean;
sx?: OverrideTheme;
helper?: string;
}
1 change: 1 addition & 0 deletions dist/esm/src/components/InputLabel/InputLabel.styles.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export declare const customLabelStyles: (
textWrap: string;
"&.noMinWidthLabel": {
minWidth: string;
width: string;
};
};
};
1 change: 1 addition & 0 deletions dist/mds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6592,6 +6592,7 @@ interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
label?: string;
tooltip?: string;
overrideLabelClasses?: string;
noLabelMinWidth?: boolean;
sx?: OverrideTheme;
helper?: string;
}
Expand Down

0 comments on commit 17073d7

Please sign in to comment.