@homebound/beam 4.57.1 → 4.57.2
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 +40 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +48 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15864,7 +15864,10 @@ function BlueprintAiLogo(props) {
|
|
|
15864
15864
|
|
|
15865
15865
|
// src/components/AiPanel.tsx
|
|
15866
15866
|
var import_runtime49 = require("@homebound/truss/runtime");
|
|
15867
|
-
var import_jsx_runtime61 =
|
|
15867
|
+
var import_jsx_runtime61 = (
|
|
15868
|
+
// Capped to the visible column so a page widened by an open right pane doesn't stretch it
|
|
15869
|
+
require("react/jsx-runtime")
|
|
15870
|
+
);
|
|
15868
15871
|
function AiPanel(props) {
|
|
15869
15872
|
const {
|
|
15870
15873
|
rounded = false,
|
|
@@ -15875,8 +15878,10 @@ function AiPanel(props) {
|
|
|
15875
15878
|
const tid = useTestIds(others, "aiPanel");
|
|
15876
15879
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { ...(0, import_runtime49.trussProps)({
|
|
15877
15880
|
...{
|
|
15878
|
-
width: "w100",
|
|
15879
15881
|
backgroundImage: "aiBackground",
|
|
15882
|
+
width: "w_min_100_calc_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px_2_var_beam_layout_content_padding_x_0px",
|
|
15883
|
+
left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
|
|
15884
|
+
position: "sticky",
|
|
15880
15885
|
...rounded ? {
|
|
15881
15886
|
borderRadius: "br12"
|
|
15882
15887
|
} : {}
|
|
@@ -15896,34 +15901,39 @@ function AiCard(props) {
|
|
|
15896
15901
|
gapCss
|
|
15897
15902
|
} = aiCardChrome[size];
|
|
15898
15903
|
const tid = useTestIds(others, "aiCard");
|
|
15899
|
-
return
|
|
15900
|
-
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
|
|
15904
|
-
|
|
15905
|
-
|
|
15906
|
-
width: "
|
|
15907
|
-
|
|
15908
|
-
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
|
|
15920
|
-
|
|
15921
|
-
|
|
15922
|
-
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
|
|
15904
|
+
return (
|
|
15905
|
+
// Same cap as `AiPanel`, so a wide page does not stretch the card column
|
|
15906
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { ...(0, import_runtime49.trussProps)({
|
|
15907
|
+
...{
|
|
15908
|
+
display: "df",
|
|
15909
|
+
flexDirection: "fdc",
|
|
15910
|
+
alignItems: "aifs",
|
|
15911
|
+
width: "w_min_100_calc_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px_2_var_beam_layout_content_padding_x_0px",
|
|
15912
|
+
left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
|
|
15913
|
+
position: "sticky",
|
|
15914
|
+
...!fullWidth ? {
|
|
15915
|
+
width: "wfc",
|
|
15916
|
+
maxWidth: "maxw100",
|
|
15917
|
+
marginLeft: "mla",
|
|
15918
|
+
marginRight: "mra"
|
|
15919
|
+
} : {}
|
|
15920
|
+
},
|
|
15921
|
+
...gapCss
|
|
15922
|
+
}), ...tid.column, children: [
|
|
15923
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BlueprintAiLogo, { height: logoHeight }),
|
|
15924
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { ...(0, import_runtime49.trussProps)({
|
|
15925
|
+
display: "df",
|
|
15926
|
+
flexDirection: "fdc",
|
|
15927
|
+
width: "w100",
|
|
15928
|
+
minWidth: "mw0",
|
|
15929
|
+
borderRadius: "br12",
|
|
15930
|
+
backgroundColor: ["bgColor_var", {
|
|
15931
|
+
"--backgroundColor": "var(--b-surface)"
|
|
15932
|
+
}],
|
|
15933
|
+
boxShadow: "bshBasic"
|
|
15934
|
+
}), ...others, ...tid.card, children })
|
|
15935
|
+
] })
|
|
15936
|
+
);
|
|
15927
15937
|
}
|
|
15928
15938
|
var aiBackgroundPaddingCss = {
|
|
15929
15939
|
lg: {
|