@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.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -19541,7 +19541,7 @@ function AiCard(props) {
|
|
|
19541
19541
|
"--backgroundColor": "var(--b-surface)"
|
|
19542
19542
|
}],
|
|
19543
19543
|
boxShadow: "bshBasic"
|
|
19544
|
-
}), ...tid.card, children })
|
|
19544
|
+
}), ...others, ...tid.card, children })
|
|
19545
19545
|
] });
|
|
19546
19546
|
}
|
|
19547
19547
|
var aiBackgroundPaddingCss = {
|
|
@@ -19727,13 +19727,14 @@ var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
|
19727
19727
|
function AiLoadingPanel(props) {
|
|
19728
19728
|
const {
|
|
19729
19729
|
title = "Importing Details...",
|
|
19730
|
-
message = defaultMessage
|
|
19730
|
+
message = defaultMessage,
|
|
19731
|
+
omitBg = false
|
|
19731
19732
|
} = props;
|
|
19732
19733
|
const tid = useTestIds(props, "aiLoadingPanel");
|
|
19733
|
-
|
|
19734
|
+
const card = (
|
|
19734
19735
|
// `status` rather than `alert` so assistive tech waits for a pause instead of interrupting, and
|
|
19735
19736
|
// `aria-busy` so it knows the surrounding content is still settling.
|
|
19736
|
-
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
19737
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(AiCard, { role: "status", "aria-busy": true, size: "lg", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { className: "df fdc aic gap1 w100 pt2 pb2 pl3 pr3", children: [
|
|
19737
19738
|
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(AiLoader, {}),
|
|
19738
19739
|
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { className: "fw6 fz_18px lh_28px purple700 aiBoldBg bgcl_text WebkitBackgroundClip_text wktfc_transparent", ...tid.title, children: title }),
|
|
19739
19740
|
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { ...(0, import_runtime85.trussProps)({
|
|
@@ -19745,8 +19746,9 @@ function AiLoadingPanel(props) {
|
|
|
19745
19746
|
}],
|
|
19746
19747
|
textAlign: "tac"
|
|
19747
19748
|
}), ...tid.message, children: message })
|
|
19748
|
-
] }) })
|
|
19749
|
+
] }) })
|
|
19749
19750
|
);
|
|
19751
|
+
return omitBg ? card : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(AiPanel, { padding: "lg", ...tid, children: card });
|
|
19750
19752
|
}
|
|
19751
19753
|
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.";
|
|
19752
19754
|
|