@homebound/beam 3.17.0 → 3.17.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.d.cts CHANGED
@@ -4593,9 +4593,9 @@ declare const Icons: {
4593
4593
  finances: JSX.Element;
4594
4594
  templates: JSX.Element;
4595
4595
  tradePartners: JSX.Element;
4596
- menu: JSX.Element;
4597
- tile: JSX.Element;
4598
4596
  list: JSX.Element;
4597
+ tile: JSX.Element;
4598
+ menu: JSX.Element;
4599
4599
  cloudy: JSX.Element;
4600
4600
  fog: JSX.Element;
4601
4601
  hail: JSX.Element;
@@ -8589,6 +8589,7 @@ type NavbarProps = {
8589
8589
  * should navigate (e.g. react-router `Link`, plain `<a href>`, or `NavLink`).
8590
8590
  */
8591
8591
  brand: ReactNode;
8592
+ hideBrandOnMobile?: boolean;
8592
8593
  /** Primary nav entries — same shape as {@link SideNav} `items`. */
8593
8594
  items: AppNavItem[];
8594
8595
  /**
package/dist/index.d.ts CHANGED
@@ -4593,9 +4593,9 @@ declare const Icons: {
4593
4593
  finances: JSX.Element;
4594
4594
  templates: JSX.Element;
4595
4595
  tradePartners: JSX.Element;
4596
- menu: JSX.Element;
4597
- tile: JSX.Element;
4598
4596
  list: JSX.Element;
4597
+ tile: JSX.Element;
4598
+ menu: JSX.Element;
4599
4599
  cloudy: JSX.Element;
4600
4600
  fog: JSX.Element;
4601
4601
  hail: JSX.Element;
@@ -8589,6 +8589,7 @@ type NavbarProps = {
8589
8589
  * should navigate (e.g. react-router `Link`, plain `<a href>`, or `NavLink`).
8590
8590
  */
8591
8591
  brand: ReactNode;
8592
+ hideBrandOnMobile?: boolean;
8592
8593
  /** Primary nav entries — same shape as {@link SideNav} `items`. */
8593
8594
  items: AppNavItem[];
8594
8595
  /**
package/dist/index.js CHANGED
@@ -4711,12 +4711,12 @@ var Icons = {
4711
4711
  /* @__PURE__ */ jsx3("path", { d: "M6 12H12V14H6V12ZM6 16H12V18H6V16Z" })
4712
4712
  ] }),
4713
4713
  tradePartners: /* @__PURE__ */ jsx3("path", { d: "M5.12204 21C5.50004 21.378 6.00204 21.586 6.53604 21.586C7.07004 21.586 7.57204 21.378 7.95004 21L12.286 16.664C13.002 16.885 13.745 16.997 14.503 16.997C16.506 16.997 18.39 16.218 19.805 14.802C21.951 12.655 22.592 9.453 21.437 6.644L20.867 5.256L16.623 9.499L14.502 7.377L18.745 3.134L17.356 2.563C16.446 2.189 15.485 2 14.499 2C12.496 2 10.613 2.78 9.19804 4.196C7.21304 6.18 6.51604 9.068 7.33604 11.714L3.00004 16.05C2.22004 16.829 2.22004 18.099 3.00004 18.878L5.12204 21ZM9.67004 12.209L9.41604 11.593C8.56804 9.532 9.03804 7.183 10.612 5.61C11.65 4.572 13.03 4 14.499 4C14.676 4 14.851 4.008 15.025 4.025L11.672 7.378L16.621 12.328L19.976 8.973C20.132 10.581 19.573 12.204 18.389 13.389C16.839 14.939 14.425 15.416 12.405 14.585L11.79 14.33L6.53604 19.586H6.53704L6.53604 20.586V19.586L4.41404 17.464L9.67004 12.209Z" }),
4714
- menu: /* @__PURE__ */ jsxs2(Fragment2, { children: [
4714
+ list: /* @__PURE__ */ jsxs2(Fragment2, { children: [
4715
4715
  /* @__PURE__ */ jsx3("path", { d: "M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12V12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12V12ZM4 18C4 17.4477 4.44772 17 5 17H10H15C15.5523 17 16 17.4477 16 18V18C16 18.5523 15.5523 19 15 19H5C4.44772 19 4 18.5523 4 18V18Z" }),
4716
4716
  /* @__PURE__ */ jsx3("path", { d: "M20 6C20 5.44772 19.5523 5 19 5H5C4.44772 5 4 5.44772 4 6V6C4 6.55228 4.44772 7 5 7H19C19.5523 7 20 6.55228 20 6V6Z" })
4717
4717
  ] }),
4718
4718
  tile: /* @__PURE__ */ jsx3(Fragment2, { children: /* @__PURE__ */ jsx3("path", { d: "M5 6H10.2V11.2H5V6ZM5 13.8H10.2V19H5V13.8ZM12.8 6H18V11.2H12.8V6ZM12.8 13.8H18V19H12.8V13.8Z" }) }),
4719
- list: /* @__PURE__ */ jsx3(Fragment2, { children: /* @__PURE__ */ jsx3("path", { d: "M4 6H20V8H4V6ZM4 11H20V13H4V11ZM4 16H20V18H4V16Z" }) }),
4719
+ menu: /* @__PURE__ */ jsx3(Fragment2, { children: /* @__PURE__ */ jsx3("path", { d: "M4 6H20V8H4V6ZM4 11H20V13H4V11ZM4 16H20V18H4V16Z" }) }),
4720
4720
  // Weather
4721
4721
  cloudy: /* @__PURE__ */ jsx3(Fragment2, { children: /* @__PURE__ */ jsx3("path", { d: "M 16.832031 18.316406 L 6.191406 18.316406 C 4.265625 18.316406 2.589844 16.707031 2.527344 14.808594 C 2.496094 13.832031 2.84375 12.914062 3.507812 12.222656 C 4.042969 11.652344 4.769531 11.273438 5.527344 11.148438 C 5.527344 11.050781 5.527344 10.988281 5.527344 10.894531 C 5.527344 7.832031 7.992188 5.367188 10.992188 5.367188 C 13.328125 5.367188 15.414062 6.882812 16.171875 9.09375 C 16.519531 9.03125 16.898438 9.03125 17.246094 9.0625 C 19.582031 9.253906 21.414062 11.179688 21.476562 13.515625 C 21.507812 14.808594 21.066406 16.011719 20.179688 16.925781 C 19.296875 17.808594 18.128906 18.316406 16.832031 18.316406 Z M 10.992188 6.316406 C 8.496094 6.316406 6.476562 8.367188 6.476562 10.894531 C 6.476562 11.085938 6.476562 11.304688 6.507812 11.527344 C 6.539062 11.652344 6.476562 11.777344 6.414062 11.90625 C 6.347656 12.03125 6.191406 12.0625 6.066406 12.0625 C 5.339844 12.09375 4.675781 12.378906 4.203125 12.882812 C 3.726562 13.390625 3.445312 14.085938 3.476562 14.777344 C 3.507812 16.167969 4.738281 17.367188 6.191406 17.367188 L 16.863281 17.367188 C 17.875 17.367188 18.824219 16.957031 19.519531 16.261719 C 20.210938 15.535156 20.589844 14.589844 20.558594 13.546875 C 20.496094 11.683594 19.042969 10.167969 17.210938 9.980469 C 16.800781 9.949219 16.390625 9.980469 16.011719 10.074219 C 15.761719 10.136719 15.507812 9.980469 15.445312 9.726562 C 14.875 7.738281 13.074219 6.316406 10.992188 6.316406 Z M 10.992188 6.316406" }) }),
4722
4722
  fog: /* @__PURE__ */ jsxs2(Fragment2, { children: [
@@ -21780,6 +21780,7 @@ import { jsx as jsx173, jsxs as jsxs89 } from "react/jsx-runtime";
21780
21780
  function Navbar(props) {
21781
21781
  const {
21782
21782
  brand,
21783
+ hideBrandOnMobile = false,
21783
21784
  items,
21784
21785
  rightSlot,
21785
21786
  user
@@ -21814,7 +21815,12 @@ function Navbar(props) {
21814
21815
  /* @__PURE__ */ jsxs89("div", { className: "df aic gap3 fg1 mw0", children: [
21815
21816
  /* @__PURE__ */ jsxs89("div", { className: "df aic fs0 gap2", children: [
21816
21817
  showMobile && /* @__PURE__ */ jsx173(NavbarMobileMenu, { items, ...tid }),
21817
- /* @__PURE__ */ jsx173("div", { className: "fs0", ...tid.brand, children: brand })
21818
+ /* @__PURE__ */ jsx173("div", { ...trussProps88({
21819
+ flexShrink: "fs0",
21820
+ ...hideBrandOnMobile && showMobile ? {
21821
+ display: "dn"
21822
+ } : {}
21823
+ }), ...tid.brand, children: brand })
21818
21824
  ] }),
21819
21825
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
21820
21826
  // can expand again as space frees up.