@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.js
CHANGED
|
@@ -15358,16 +15358,21 @@ function AiPanel(props) {
|
|
|
15358
15358
|
...others
|
|
15359
15359
|
} = props;
|
|
15360
15360
|
const tid = useTestIds(others, "aiPanel");
|
|
15361
|
-
return
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15361
|
+
return (
|
|
15362
|
+
// Capped to the visible column so a page widened by an open right pane doesn't stretch it
|
|
15363
|
+
/* @__PURE__ */ jsx61("div", { ...trussProps40({
|
|
15364
|
+
...{
|
|
15365
|
+
backgroundImage: "aiBackground",
|
|
15366
|
+
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",
|
|
15367
|
+
left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
|
|
15368
|
+
position: "sticky",
|
|
15369
|
+
...rounded ? {
|
|
15370
|
+
borderRadius: "br12"
|
|
15371
|
+
} : {}
|
|
15372
|
+
},
|
|
15373
|
+
...aiBackgroundPaddingCss[padding]
|
|
15374
|
+
}), ...others, ...tid, children })
|
|
15375
|
+
);
|
|
15371
15376
|
}
|
|
15372
15377
|
function AiCard(props) {
|
|
15373
15378
|
const {
|
|
@@ -15381,34 +15386,39 @@ function AiCard(props) {
|
|
|
15381
15386
|
gapCss
|
|
15382
15387
|
} = aiCardChrome[size];
|
|
15383
15388
|
const tid = useTestIds(others, "aiCard");
|
|
15384
|
-
return
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
width: "
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15389
|
+
return (
|
|
15390
|
+
// Same cap as `AiPanel`, so a wide page does not stretch the card column
|
|
15391
|
+
/* @__PURE__ */ jsxs38("div", { ...trussProps40({
|
|
15392
|
+
...{
|
|
15393
|
+
display: "df",
|
|
15394
|
+
flexDirection: "fdc",
|
|
15395
|
+
alignItems: "aifs",
|
|
15396
|
+
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",
|
|
15397
|
+
left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
|
|
15398
|
+
position: "sticky",
|
|
15399
|
+
...!fullWidth ? {
|
|
15400
|
+
width: "wfc",
|
|
15401
|
+
maxWidth: "maxw100",
|
|
15402
|
+
marginLeft: "mla",
|
|
15403
|
+
marginRight: "mra"
|
|
15404
|
+
} : {}
|
|
15405
|
+
},
|
|
15406
|
+
...gapCss
|
|
15407
|
+
}), ...tid.column, children: [
|
|
15408
|
+
/* @__PURE__ */ jsx61(BlueprintAiLogo, { height: logoHeight }),
|
|
15409
|
+
/* @__PURE__ */ jsx61("div", { ...trussProps40({
|
|
15410
|
+
display: "df",
|
|
15411
|
+
flexDirection: "fdc",
|
|
15412
|
+
width: "w100",
|
|
15413
|
+
minWidth: "mw0",
|
|
15414
|
+
borderRadius: "br12",
|
|
15415
|
+
backgroundColor: ["bgColor_var", {
|
|
15416
|
+
"--backgroundColor": "var(--b-surface)"
|
|
15417
|
+
}],
|
|
15418
|
+
boxShadow: "bshBasic"
|
|
15419
|
+
}), ...others, ...tid.card, children })
|
|
15420
|
+
] })
|
|
15421
|
+
);
|
|
15412
15422
|
}
|
|
15413
15423
|
var aiBackgroundPaddingCss = {
|
|
15414
15424
|
lg: {
|