@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.js CHANGED
@@ -9618,7 +9618,7 @@ var disabledSelectedBoxStyles = Css.bgGray400.bcGray400.$;
9618
9618
  var disabledColor = Css.gray300.$;
9619
9619
  var focusRingStyles = Css.bshFocus.$;
9620
9620
  var hoverBorderStyles = Css.bcBlue900.$;
9621
- var markStyles = { ">svg": Css.absolute.topPx(-1).leftPx(-1).$ };
9621
+ var markSvgStyles = Css.absolute.topPx(-1).leftPx(-1).$;
9622
9622
  var labelStyles = Css.sm.$;
9623
9623
  var descStyles = Css.sm.gray700.$;
9624
9624
  function StyledCheckbox(props) {
@@ -9637,8 +9637,7 @@ function StyledCheckbox(props) {
9637
9637
  ...isDisabled && disabledBoxStyles,
9638
9638
  ...isDisabled && isSelected && disabledSelectedBoxStyles,
9639
9639
  ...isFocusVisible && focusRingStyles,
9640
- ...isHovered && hoverBorderStyles,
9641
- ...markStyles
9640
+ ...isHovered && hoverBorderStyles
9642
9641
  },
9643
9642
  "aria-hidden": "true",
9644
9643
  "data-checked": isSelected ? true : isIndeterminate ? "mixed" : false,
@@ -9647,14 +9646,14 @@ function StyledCheckbox(props) {
9647
9646
  }
9648
9647
  );
9649
9648
  }
9650
- var checkmarkSmall = /* @__PURE__ */ jsx49("svg", { width: "16", height: "16", children: /* @__PURE__ */ jsx49(
9649
+ var checkmarkSmall = /* @__PURE__ */ jsx49("svg", { width: "16", height: "16", css: markSvgStyles, children: /* @__PURE__ */ jsx49(
9651
9650
  "path",
9652
9651
  {
9653
9652
  d: "M6.66669 10.3907L4.47135 8.19533L3.52869 9.138L6.66669 12.276L13.138 5.80467L12.1954 4.862L6.66669 10.3907Z",
9654
9653
  fill: "rgba(255,255,255,1)" /* White */
9655
9654
  }
9656
9655
  ) });
9657
- var dashSmall = /* @__PURE__ */ jsx49("svg", { width: "16", height: "16", children: /* @__PURE__ */ jsx49("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
9656
+ var dashSmall = /* @__PURE__ */ jsx49("svg", { width: "16", height: "16", css: markSvgStyles, children: /* @__PURE__ */ jsx49("rect", { x: "4", y: "7.5", width: "8", height: "1.35", fill: "rgba(255,255,255,1)" /* White */ }) });
9658
9657
 
9659
9658
  // src/inputs/TreeSelectField/TreeOption.tsx
9660
9659
  import { jsx as jsx50, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
@@ -15578,30 +15577,17 @@ function FormLines(props) {
15578
15577
  ..."labelLeftFieldWidth" in props ? { labelLeftFieldWidth } : {},
15579
15578
  ...width2 === "full" ? { fullWidth: true } : {}
15580
15579
  };
15581
- return /* @__PURE__ */ jsx114(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ jsx114(
15582
- "div",
15583
- {
15584
- css: {
15585
- // Note that we're purposefully not using display:flex so that our children's margins will collapse.
15586
- ...Css.w(sizes[width2]).$
15587
- },
15588
- children: Children.map(children, (child) => {
15589
- if (child === null || child === void 0 || typeof child === "boolean") {
15590
- return child;
15591
- }
15592
- if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
15593
- const clone = cloneElement(child, { isFirst: firstFormHeading });
15594
- firstFormHeading = false;
15595
- return /* @__PURE__ */ jsx114("div", { css: Css.mb(gap).$, children: clone });
15596
- } else {
15597
- return /* @__PURE__ */ jsx114("div", { css: Css.mb(gap).$, children: child });
15598
- }
15599
- })
15580
+ return /* @__PURE__ */ jsx114(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ jsx114("div", { css: Css.df.fdc.gap(gap).pb(gap).w(sizes[width2]).$, children: Children.map(children, (child) => {
15581
+ if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
15582
+ const clone = cloneElement(child, { isFirst: firstFormHeading });
15583
+ firstFormHeading = false;
15584
+ return clone;
15600
15585
  }
15601
- ) });
15586
+ return child;
15587
+ }) }) });
15602
15588
  }
15603
15589
  function FormDivider() {
15604
- return /* @__PURE__ */ jsx114("div", { css: Css.hPx(1).my2.bgGray200.$ });
15590
+ return /* @__PURE__ */ jsx114("div", { css: Css.hPx(1).bgGray200.$ });
15605
15591
  }
15606
15592
  function FieldGroup(props) {
15607
15593
  const { title, children, widths: widths2 = [] } = props;
@@ -15840,18 +15826,9 @@ function BoundSelectAndTextField(props) {
15840
15826
  import { jsx as jsx118 } from "@emotion/react/jsx-runtime";
15841
15827
  function FormHeading(props) {
15842
15828
  const { title, xss, isFirst = false, ...others } = props;
15843
- return /* @__PURE__ */ jsx118(
15844
- "h3",
15845
- {
15846
- css: {
15847
- ...Css.md.$,
15848
- // Add space before the heading, but only if it's not first.
15849
- ...!isFirst && Css.mt4.$,
15850
- ...xss
15851
- },
15852
- ...others,
15853
- children: title
15854
- }
15829
+ return (
15830
+ // Add space before the heading, but only if it's not first.
15831
+ /* @__PURE__ */ jsx118("h3", { css: { ...Css.md.if(!isFirst).mt1.$, ...xss }, ...others, children: title })
15855
15832
  );
15856
15833
  }
15857
15834
  FormHeading.isFormHeading = true;