@homebound/beam 4.58.0 → 4.58.1
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.cjs +9 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +220 -217
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12017,15 +12017,18 @@ function InlineLabel({
|
|
|
12017
12017
|
labelProps,
|
|
12018
12018
|
label,
|
|
12019
12019
|
multiline = false,
|
|
12020
|
+
disabled = false,
|
|
12020
12021
|
...others
|
|
12021
12022
|
}) {
|
|
12022
12023
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("label", { ...labelProps, ...others, ...(0, import_runtime29.trussProps)({
|
|
12023
|
-
fontWeight: "
|
|
12024
|
+
fontWeight: "fw6",
|
|
12024
12025
|
fontSize: "fz_14px",
|
|
12025
12026
|
lineHeight: "lh_20px",
|
|
12026
12027
|
whiteSpace: "wsnw",
|
|
12027
12028
|
paddingRight: "pr_4px",
|
|
12028
|
-
color: "
|
|
12029
|
+
color: ["color_var", {
|
|
12030
|
+
"--color": (0, import_runtime29.maybeCssVar)(disabled ? "currentColor" : "--b-on-surface" /* OnSurface */)
|
|
12031
|
+
}],
|
|
12029
12032
|
alignSelf: "asc",
|
|
12030
12033
|
...multiline ? {
|
|
12031
12034
|
alignSelf: "asfs",
|
|
@@ -12599,7 +12602,7 @@ function TextFieldBase(props) {
|
|
|
12599
12602
|
},
|
|
12600
12603
|
...xss
|
|
12601
12604
|
}), "data-readonly": "true", "data-ai-mode": showProposal ? "true" : void 0, ...tid, children: [
|
|
12602
|
-
labelStyle === "inline" && label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(InlineLabel, { multiline, labelProps, label, ...tid.label }),
|
|
12605
|
+
labelStyle === "inline" && label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(InlineLabel, { multiline, labelProps, label, disabled: !!inputProps.disabled, ...tid.label }),
|
|
12603
12606
|
showProposal ? (
|
|
12604
12607
|
// Read-only renders no input at all, so both halves are drawn as text here. Checked
|
|
12605
12608
|
// before `multiline` so a read-only TextAreaField still shows the struck-through original.
|
|
@@ -12632,7 +12635,7 @@ function TextFieldBase(props) {
|
|
|
12632
12635
|
ref: inputWrapRef,
|
|
12633
12636
|
onClick: unfocusedPlaceholder ? handleUnfocusedPlaceholderClick : void 0,
|
|
12634
12637
|
children: [
|
|
12635
|
-
labelStyle === "inline" && label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(InlineLabel, { multiline, labelProps, label, ...tid.label }),
|
|
12638
|
+
labelStyle === "inline" && label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(InlineLabel, { multiline, labelProps, label, disabled: !!inputProps.disabled, ...tid.label }),
|
|
12636
12639
|
startAdornment && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "df aic asc fs0 br4 pr1", children: startAdornment }),
|
|
12637
12640
|
unfocusedPlaceholder && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
12638
12641
|
"div",
|
|
@@ -19789,13 +19792,13 @@ function MenuSelectTrigger(props) {
|
|
|
19789
19792
|
const hasSupporting = !!(originalBelow || showErrorAndHelper && (errorMsg || helperText));
|
|
19790
19793
|
const valueNode = /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_jsx_runtime111.Fragment, { children: [
|
|
19791
19794
|
labelStyle === "inline" && /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("span", { id: trigger.labelId, ...(0, import_runtime82.trussProps)({
|
|
19792
|
-
fontWeight: "
|
|
19795
|
+
fontWeight: "fw6",
|
|
19793
19796
|
fontSize: "fz_14px",
|
|
19794
19797
|
lineHeight: "lh_20px",
|
|
19795
19798
|
whiteSpace: "wsnw",
|
|
19796
19799
|
paddingRight: "pr_4px",
|
|
19797
19800
|
color: ["color_var", {
|
|
19798
|
-
"--color": (0, import_runtime82.maybeCssVar)(trigger.isDisabled && visuallyDisabled ? "currentColor" : "--b-
|
|
19801
|
+
"--color": (0, import_runtime82.maybeCssVar)(trigger.isDisabled && visuallyDisabled ? "currentColor" : "--b-on-surface" /* OnSurface */)
|
|
19799
19802
|
}]
|
|
19800
19803
|
}), children: [
|
|
19801
19804
|
label,
|