@homebound/beam 2.417.10 → 2.417.11
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 +17 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10001,7 +10001,7 @@ var disabledSelectedBoxStyles = Css.bgGray400.bcGray400.$;
|
|
|
10001
10001
|
var disabledColor = Css.gray300.$;
|
|
10002
10002
|
var focusRingStyles = Css.bshFocus.$;
|
|
10003
10003
|
var hoverBorderStyles = Css.bcBlue900.$;
|
|
10004
|
-
var
|
|
10004
|
+
var markSvgStyles = Css.absolute.topPx(-1).leftPx(-1).$;
|
|
10005
10005
|
var labelStyles = Css.sm.$;
|
|
10006
10006
|
var descStyles = Css.sm.gray700.$;
|
|
10007
10007
|
function StyledCheckbox(props) {
|
|
@@ -10020,8 +10020,7 @@ function StyledCheckbox(props) {
|
|
|
10020
10020
|
...isDisabled && disabledBoxStyles,
|
|
10021
10021
|
...isDisabled && isSelected && disabledSelectedBoxStyles,
|
|
10022
10022
|
...isFocusVisible && focusRingStyles,
|
|
10023
|
-
...isHovered && hoverBorderStyles
|
|
10024
|
-
...markStyles
|
|
10023
|
+
...isHovered && hoverBorderStyles
|
|
10025
10024
|
},
|
|
10026
10025
|
"aria-hidden": "true",
|
|
10027
10026
|
"data-checked": isSelected ? true : isIndeterminate ? "mixed" : false,
|
|
@@ -10030,14 +10029,14 @@ function StyledCheckbox(props) {
|
|
|
10030
10029
|
}
|
|
10031
10030
|
);
|
|
10032
10031
|
}
|
|
10033
|
-
var checkmarkSmall = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { width: "16", height: "16", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
10032
|
+
var checkmarkSmall = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { width: "16", height: "16", css: markSvgStyles, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
10034
10033
|
"path",
|
|
10035
10034
|
{
|
|
10036
10035
|
d: "M6.66669 10.3907L4.47135 8.19533L3.52869 9.138L6.66669 12.276L13.138 5.80467L12.1954 4.862L6.66669 10.3907Z",
|
|
10037
10036
|
fill: "rgba(255,255,255,1)" /* White */
|
|
10038
10037
|
}
|
|
10039
10038
|
) });
|
|
10040
|
-
var dashSmall = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { width: "16", height: "16", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
|
|
10039
|
+
var dashSmall = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("svg", { width: "16", height: "16", css: markSvgStyles, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
|
|
10041
10040
|
|
|
10042
10041
|
// src/inputs/TreeSelectField/TreeOption.tsx
|
|
10043
10042
|
var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
|
|
@@ -15961,30 +15960,17 @@ function FormLines(props) {
|
|
|
15961
15960
|
..."labelLeftFieldWidth" in props ? { labelLeftFieldWidth } : {},
|
|
15962
15961
|
...width2 === "full" ? { fullWidth: true } : {}
|
|
15963
15962
|
};
|
|
15964
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
15965
|
-
"
|
|
15966
|
-
|
|
15967
|
-
|
|
15968
|
-
|
|
15969
|
-
...Css.w(sizes[width2]).$
|
|
15970
|
-
},
|
|
15971
|
-
children: import_react85.Children.map(children, (child) => {
|
|
15972
|
-
if (child === null || child === void 0 || typeof child === "boolean") {
|
|
15973
|
-
return child;
|
|
15974
|
-
}
|
|
15975
|
-
if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
|
|
15976
|
-
const clone = (0, import_react85.cloneElement)(child, { isFirst: firstFormHeading });
|
|
15977
|
-
firstFormHeading = false;
|
|
15978
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.mb(gap).$, children: clone });
|
|
15979
|
-
} else {
|
|
15980
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.mb(gap).$, children: child });
|
|
15981
|
-
}
|
|
15982
|
-
})
|
|
15963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.df.fdc.gap(gap).pb(gap).w(sizes[width2]).$, children: import_react85.Children.map(children, (child) => {
|
|
15964
|
+
if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
|
|
15965
|
+
const clone = (0, import_react85.cloneElement)(child, { isFirst: firstFormHeading });
|
|
15966
|
+
firstFormHeading = false;
|
|
15967
|
+
return clone;
|
|
15983
15968
|
}
|
|
15984
|
-
|
|
15969
|
+
return child;
|
|
15970
|
+
}) }) });
|
|
15985
15971
|
}
|
|
15986
15972
|
function FormDivider() {
|
|
15987
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.hPx(1).
|
|
15973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.hPx(1).bgGray200.$ });
|
|
15988
15974
|
}
|
|
15989
15975
|
function FieldGroup(props) {
|
|
15990
15976
|
const { title, children, widths: widths2 = [] } = props;
|
|
@@ -16220,22 +16206,13 @@ function BoundSelectAndTextField(props) {
|
|
|
16220
16206
|
}
|
|
16221
16207
|
|
|
16222
16208
|
// src/forms/FormHeading.tsx
|
|
16223
|
-
var import_jsx_runtime118 =
|
|
16209
|
+
var import_jsx_runtime118 = (
|
|
16210
|
+
// Add space before the heading, but only if it's not first.
|
|
16211
|
+
require("@emotion/react/jsx-runtime")
|
|
16212
|
+
);
|
|
16224
16213
|
function FormHeading(props) {
|
|
16225
16214
|
const { title, xss, isFirst = false, ...others } = props;
|
|
16226
|
-
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
16227
|
-
"h3",
|
|
16228
|
-
{
|
|
16229
|
-
css: {
|
|
16230
|
-
...Css.md.$,
|
|
16231
|
-
// Add space before the heading, but only if it's not first.
|
|
16232
|
-
...!isFirst && Css.mt4.$,
|
|
16233
|
-
...xss
|
|
16234
|
-
},
|
|
16235
|
-
...others,
|
|
16236
|
-
children: title
|
|
16237
|
-
}
|
|
16238
|
-
);
|
|
16215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("h3", { css: { ...Css.md.if(!isFirst).mt1.$, ...xss }, ...others, children: title });
|
|
16239
16216
|
}
|
|
16240
16217
|
FormHeading.isFormHeading = true;
|
|
16241
16218
|
|