@homebound/beam 3.108.0 → 3.108.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
@@ -7562,6 +7562,7 @@ declare function AiLoader<X extends Only<Xss<Margin>, X>>(props: AiLoaderProps<X
7562
7562
  type AiLoadingPanelProps = {
7563
7563
  title?: string;
7564
7564
  message?: ReactNode;
7565
+ omitBg?: boolean;
7565
7566
  };
7566
7567
  /**
7567
7568
  * Tells the user AI work is running, and that they're free to go do something else.
@@ -7576,8 +7577,6 @@ type AiPanelProps = {
7576
7577
  /** Background padding. `lg` = 24 all around; `sm` = 24 horizontal, 16 vertical. */
7577
7578
  padding?: AiPanelPadding;
7578
7579
  children?: ReactNode;
7579
- } & AriaAttributes & {
7580
- role?: AriaRole;
7581
7580
  };
7582
7581
  /**
7583
7582
  * Escape hatch for one-off AI chrome — prefer a pre-composed component. See {@link AiBanner}, {@link AiLoadingPanel}, {@link AiSlimBanner}, or `aiMode` on {@link FormSectionLayout} / {@link StepperLayout} / {@link FocusedFormLayout} / {@link Modal}.
@@ -7590,6 +7589,8 @@ type AiCardProps = {
7590
7589
  /** Logo height and logo-to-card gap. */
7591
7590
  size?: AiCardSize;
7592
7591
  children?: ReactNode;
7592
+ } & AriaAttributes & {
7593
+ role?: AriaRole;
7593
7594
  };
7594
7595
  /**
7595
7596
  * Escape hatch for one-off AI chrome — prefer a pre-composed component. See {@link AiBanner}, {@link AiLoadingPanel}, {@link AiSlimBanner}, or `aiMode` on {@link FormSectionLayout} / {@link StepperLayout} / {@link FocusedFormLayout} / {@link Modal}.
package/dist/index.d.ts CHANGED
@@ -7562,6 +7562,7 @@ declare function AiLoader<X extends Only<Xss<Margin>, X>>(props: AiLoaderProps<X
7562
7562
  type AiLoadingPanelProps = {
7563
7563
  title?: string;
7564
7564
  message?: ReactNode;
7565
+ omitBg?: boolean;
7565
7566
  };
7566
7567
  /**
7567
7568
  * Tells the user AI work is running, and that they're free to go do something else.
@@ -7576,8 +7577,6 @@ type AiPanelProps = {
7576
7577
  /** Background padding. `lg` = 24 all around; `sm` = 24 horizontal, 16 vertical. */
7577
7578
  padding?: AiPanelPadding;
7578
7579
  children?: ReactNode;
7579
- } & AriaAttributes & {
7580
- role?: AriaRole;
7581
7580
  };
7582
7581
  /**
7583
7582
  * Escape hatch for one-off AI chrome — prefer a pre-composed component. See {@link AiBanner}, {@link AiLoadingPanel}, {@link AiSlimBanner}, or `aiMode` on {@link FormSectionLayout} / {@link StepperLayout} / {@link FocusedFormLayout} / {@link Modal}.
@@ -7590,6 +7589,8 @@ type AiCardProps = {
7590
7589
  /** Logo height and logo-to-card gap. */
7591
7590
  size?: AiCardSize;
7592
7591
  children?: ReactNode;
7592
+ } & AriaAttributes & {
7593
+ role?: AriaRole;
7593
7594
  };
7594
7595
  /**
7595
7596
  * Escape hatch for one-off AI chrome — prefer a pre-composed component. See {@link AiBanner}, {@link AiLoadingPanel}, {@link AiSlimBanner}, or `aiMode` on {@link FormSectionLayout} / {@link StepperLayout} / {@link FocusedFormLayout} / {@link Modal}.
package/dist/index.js CHANGED
@@ -19033,7 +19033,7 @@ function AiCard(props) {
19033
19033
  "--backgroundColor": "var(--b-surface)"
19034
19034
  }],
19035
19035
  boxShadow: "bshBasic"
19036
- }), ...tid.card, children })
19036
+ }), ...others, ...tid.card, children })
19037
19037
  ] });
19038
19038
  }
19039
19039
  var aiBackgroundPaddingCss = {
@@ -19219,13 +19219,14 @@ import { jsx as jsx113, jsxs as jsxs62 } from "react/jsx-runtime";
19219
19219
  function AiLoadingPanel(props) {
19220
19220
  const {
19221
19221
  title = "Importing Details...",
19222
- message = defaultMessage
19222
+ message = defaultMessage,
19223
+ omitBg = false
19223
19224
  } = props;
19224
19225
  const tid = useTestIds(props, "aiLoadingPanel");
19225
- return (
19226
+ const card = (
19226
19227
  // `status` rather than `alert` so assistive tech waits for a pause instead of interrupting, and
19227
19228
  // `aria-busy` so it knows the surrounding content is still settling.
19228
- /* @__PURE__ */ jsx113(AiPanel, { role: "status", "aria-busy": true, padding: "lg", ...tid, children: /* @__PURE__ */ jsx113(AiCard, { size: "lg", ...tid, children: /* @__PURE__ */ jsxs62("div", { className: "df fdc aic gap1 w100 pt2 pb2 pl3 pr3", children: [
19229
+ /* @__PURE__ */ jsx113(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ jsxs62("div", { className: "df fdc aic gap1 w100 pt2 pb2 pl3 pr3", children: [
19229
19230
  /* @__PURE__ */ jsx113(AiLoader, {}),
19230
19231
  /* @__PURE__ */ jsx113("span", { className: "fw6 fz_18px lh_28px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
19231
19232
  /* @__PURE__ */ jsx113("span", { ...trussProps77({
@@ -19237,8 +19238,9 @@ function AiLoadingPanel(props) {
19237
19238
  }],
19238
19239
  textAlign: "tac"
19239
19240
  }), ...tid.message, children: message })
19240
- ] }) }) })
19241
+ ] }) })
19241
19242
  );
19243
+ return omitBg ? card : /* @__PURE__ */ jsx113(AiPanel, { padding: "lg", ...tid, children: card });
19242
19244
  }
19243
19245
  var defaultMessage = "This process can take a few minutes. Feel free to keep working in another tab. Once imported, you may edit or add to content before saving.";
19244
19246