@homebound/beam 2.417.9 → 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 +21 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +17 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +19 -47
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5557,15 +5557,10 @@ function Day(props) {
|
|
|
5557
5557
|
...otherProps,
|
|
5558
5558
|
ref: buttonRef,
|
|
5559
5559
|
type: "button",
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
"&:hover:not(:active) > div": Css.bgGray100.$
|
|
5565
|
-
},
|
|
5566
|
-
...!disabled && { "&:active > div": Css.bgGray400.gray900.$ },
|
|
5567
|
-
"&:focus:not(:active) > div": Css.ba.bcBlue700.if(selected).bcBlue900.$
|
|
5568
|
-
},
|
|
5560
|
+
className: "beam-day-button",
|
|
5561
|
+
css: Css.relative.pbPx(4).outline0.if(disabled).cursorNotAllowed.$,
|
|
5562
|
+
...selected && { "data-selected": "" },
|
|
5563
|
+
...disabled && { "data-disabled": "" },
|
|
5569
5564
|
...tid,
|
|
5570
5565
|
children: [
|
|
5571
5566
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
@@ -10006,7 +10001,7 @@ var disabledSelectedBoxStyles = Css.bgGray400.bcGray400.$;
|
|
|
10006
10001
|
var disabledColor = Css.gray300.$;
|
|
10007
10002
|
var focusRingStyles = Css.bshFocus.$;
|
|
10008
10003
|
var hoverBorderStyles = Css.bcBlue900.$;
|
|
10009
|
-
var
|
|
10004
|
+
var markSvgStyles = Css.absolute.topPx(-1).leftPx(-1).$;
|
|
10010
10005
|
var labelStyles = Css.sm.$;
|
|
10011
10006
|
var descStyles = Css.sm.gray700.$;
|
|
10012
10007
|
function StyledCheckbox(props) {
|
|
@@ -10025,8 +10020,7 @@ function StyledCheckbox(props) {
|
|
|
10025
10020
|
...isDisabled && disabledBoxStyles,
|
|
10026
10021
|
...isDisabled && isSelected && disabledSelectedBoxStyles,
|
|
10027
10022
|
...isFocusVisible && focusRingStyles,
|
|
10028
|
-
...isHovered && hoverBorderStyles
|
|
10029
|
-
...markStyles
|
|
10023
|
+
...isHovered && hoverBorderStyles
|
|
10030
10024
|
},
|
|
10031
10025
|
"aria-hidden": "true",
|
|
10032
10026
|
"data-checked": isSelected ? true : isIndeterminate ? "mixed" : false,
|
|
@@ -10035,14 +10029,14 @@ function StyledCheckbox(props) {
|
|
|
10035
10029
|
}
|
|
10036
10030
|
);
|
|
10037
10031
|
}
|
|
10038
|
-
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)(
|
|
10039
10033
|
"path",
|
|
10040
10034
|
{
|
|
10041
10035
|
d: "M6.66669 10.3907L4.47135 8.19533L3.52869 9.138L6.66669 12.276L13.138 5.80467L12.1954 4.862L6.66669 10.3907Z",
|
|
10042
10036
|
fill: "rgba(255,255,255,1)" /* White */
|
|
10043
10037
|
}
|
|
10044
10038
|
) });
|
|
10045
|
-
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 */ }) });
|
|
10046
10040
|
|
|
10047
10041
|
// src/inputs/TreeSelectField/TreeOption.tsx
|
|
10048
10042
|
var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
|
|
@@ -15966,30 +15960,17 @@ function FormLines(props) {
|
|
|
15966
15960
|
..."labelLeftFieldWidth" in props ? { labelLeftFieldWidth } : {},
|
|
15967
15961
|
...width2 === "full" ? { fullWidth: true } : {}
|
|
15968
15962
|
};
|
|
15969
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
15970
|
-
"
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
15974
|
-
...Css.w(sizes[width2]).$
|
|
15975
|
-
},
|
|
15976
|
-
children: import_react85.Children.map(children, (child) => {
|
|
15977
|
-
if (child === null || child === void 0 || typeof child === "boolean") {
|
|
15978
|
-
return child;
|
|
15979
|
-
}
|
|
15980
|
-
if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
|
|
15981
|
-
const clone = (0, import_react85.cloneElement)(child, { isFirst: firstFormHeading });
|
|
15982
|
-
firstFormHeading = false;
|
|
15983
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.mb(gap).$, children: clone });
|
|
15984
|
-
} else {
|
|
15985
|
-
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: Css.mb(gap).$, children: child });
|
|
15986
|
-
}
|
|
15987
|
-
})
|
|
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;
|
|
15988
15968
|
}
|
|
15989
|
-
|
|
15969
|
+
return child;
|
|
15970
|
+
}) }) });
|
|
15990
15971
|
}
|
|
15991
15972
|
function FormDivider() {
|
|
15992
|
-
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.$ });
|
|
15993
15974
|
}
|
|
15994
15975
|
function FieldGroup(props) {
|
|
15995
15976
|
const { title, children, widths: widths2 = [] } = props;
|
|
@@ -16225,22 +16206,13 @@ function BoundSelectAndTextField(props) {
|
|
|
16225
16206
|
}
|
|
16226
16207
|
|
|
16227
16208
|
// src/forms/FormHeading.tsx
|
|
16228
|
-
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
|
+
);
|
|
16229
16213
|
function FormHeading(props) {
|
|
16230
16214
|
const { title, xss, isFirst = false, ...others } = props;
|
|
16231
|
-
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
16232
|
-
"h3",
|
|
16233
|
-
{
|
|
16234
|
-
css: {
|
|
16235
|
-
...Css.md.$,
|
|
16236
|
-
// Add space before the heading, but only if it's not first.
|
|
16237
|
-
...!isFirst && Css.mt4.$,
|
|
16238
|
-
...xss
|
|
16239
|
-
},
|
|
16240
|
-
...others,
|
|
16241
|
-
children: title
|
|
16242
|
-
}
|
|
16243
|
-
);
|
|
16215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("h3", { css: { ...Css.md.if(!isFirst).mt1.$, ...xss }, ...others, children: title });
|
|
16244
16216
|
}
|
|
16245
16217
|
FormHeading.isFormHeading = true;
|
|
16246
16218
|
|