@homebound/beam 4.3.1 → 4.4.0
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 +14 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/dist/truss.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5439,10 +5439,10 @@ function Loader({
|
|
|
5439
5439
|
borderWidth: ["bw_var", {
|
|
5440
5440
|
"--borderWidth": maybeCssVar6(`${borderSize}px`)
|
|
5441
5441
|
}],
|
|
5442
|
-
height: ["
|
|
5442
|
+
height: ["sq_var", {
|
|
5443
5443
|
"--height": `${dimensions}px`
|
|
5444
5444
|
}],
|
|
5445
|
-
width: ["
|
|
5445
|
+
width: ["sq_var", {
|
|
5446
5446
|
"--width": `${dimensions}px`
|
|
5447
5447
|
}],
|
|
5448
5448
|
borderColor: ["bc_var", {
|
|
@@ -5688,8 +5688,8 @@ var variantStyles = {
|
|
|
5688
5688
|
// Blue100/200 hover fills have no semantic tokens — keep palette for those.
|
|
5689
5689
|
base: {
|
|
5690
5690
|
borderRadius: "br100",
|
|
5691
|
-
width: "w_48px",
|
|
5692
5691
|
height: "h_48px",
|
|
5692
|
+
width: "w_48px",
|
|
5693
5693
|
borderColor: ["bc_var", {
|
|
5694
5694
|
"--borderColor": "var(--b-field-border-default)"
|
|
5695
5695
|
}],
|
|
@@ -10096,12 +10096,12 @@ function Avatar({
|
|
|
10096
10096
|
const [showFallback, setShowFallback] = useState10(src === void 0);
|
|
10097
10097
|
const styles = {
|
|
10098
10098
|
borderRadius: "br100",
|
|
10099
|
-
|
|
10100
|
-
"--width": `${px2}px`
|
|
10101
|
-
}],
|
|
10102
|
-
height: ["h_var", {
|
|
10099
|
+
height: ["sq_var", {
|
|
10103
10100
|
"--height": `${px2}px`
|
|
10104
10101
|
}],
|
|
10102
|
+
width: ["sq_var", {
|
|
10103
|
+
"--width": `${px2}px`
|
|
10104
|
+
}],
|
|
10105
10105
|
minWidth: ["mw_var", {
|
|
10106
10106
|
"--minWidth": `${px2}px`
|
|
10107
10107
|
}],
|
|
@@ -14765,8 +14765,8 @@ function Day(props) {
|
|
|
14765
14765
|
...trussProps47({
|
|
14766
14766
|
position: "absolute",
|
|
14767
14767
|
bottom: "bot_4px",
|
|
14768
|
-
width: "w_4px",
|
|
14769
14768
|
height: "h_4px",
|
|
14769
|
+
width: "w_4px",
|
|
14770
14770
|
backgroundColor: ["bgColor_var", {
|
|
14771
14771
|
"--backgroundColor": "var(--b-primary)"
|
|
14772
14772
|
}],
|
|
@@ -25509,9 +25509,9 @@ function StepIcon({
|
|
|
25509
25509
|
if (state === "complete") {
|
|
25510
25510
|
return /* @__PURE__ */ jsx195(Icon, { icon: "check" });
|
|
25511
25511
|
}
|
|
25512
|
-
return /* @__PURE__ */ jsx195("div", { className: "w_24px
|
|
25513
|
-
width: "w_10px",
|
|
25512
|
+
return /* @__PURE__ */ jsx195("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ jsx195("div", { ...trussProps113({
|
|
25514
25513
|
height: "h_10px",
|
|
25514
|
+
width: "w_10px",
|
|
25515
25515
|
borderStyle: "bss",
|
|
25516
25516
|
borderWidth: "bw2",
|
|
25517
25517
|
borderRadius: "br100",
|
|
@@ -28457,7 +28457,7 @@ function BaseHeader(props) {
|
|
|
28457
28457
|
|
|
28458
28458
|
// src/components/Headers/PageHeader.tsx
|
|
28459
28459
|
import { trussProps as trussProps133 } from "@homebound/truss/runtime";
|
|
28460
|
-
import {
|
|
28460
|
+
import { jsx as jsx231, jsxs as jsxs123 } from "react/jsx-runtime";
|
|
28461
28461
|
function PageHeader2(props) {
|
|
28462
28462
|
const {
|
|
28463
28463
|
tabs,
|
|
@@ -28466,9 +28466,11 @@ function PageHeader2(props) {
|
|
|
28466
28466
|
...otherProps
|
|
28467
28467
|
} = props;
|
|
28468
28468
|
const tid = useTestIds(otherProps, "header");
|
|
28469
|
-
|
|
28469
|
+
const hasActions = !!actions && actions.length > 0;
|
|
28470
|
+
return /* @__PURE__ */ jsx231(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs123("div", { className: "df gap1 fs0", ...tid.actions, children: [
|
|
28471
|
+
/* @__PURE__ */ jsx231(AutoSaveIndicator, { hideOnIdle: true }),
|
|
28470
28472
|
rightSlot,
|
|
28471
|
-
|
|
28473
|
+
hasActions && /* @__PURE__ */ jsx231(HeaderActions, { actions, collapseOnSm: true })
|
|
28472
28474
|
] }), bottomSlot: tabs && /* @__PURE__ */ jsx231("div", { ...trussProps133(pageContentPaddingX), children: /* @__PURE__ */ jsx231(Tabs, { ...tabs, ...tid.tabs }) }) });
|
|
28473
28475
|
}
|
|
28474
28476
|
|
|
@@ -29015,7 +29017,7 @@ function useFilter4({ filterDefs }) {
|
|
|
29015
29017
|
import { useCallback as useCallback44, useRef as useRef75 } from "react";
|
|
29016
29018
|
import { useComboBox as useComboBox3, useOverlayPosition as useOverlayPosition6 } from "react-aria";
|
|
29017
29019
|
import { Item as Item5, useComboBoxState as useComboBoxState3 } from "react-stately";
|
|
29018
|
-
import { Fragment as
|
|
29020
|
+
import { Fragment as Fragment52, jsx as jsx243, jsxs as jsxs129 } from "react/jsx-runtime";
|
|
29019
29021
|
function Autocomplete(props) {
|
|
29020
29022
|
const {
|
|
29021
29023
|
onSelect,
|
|
@@ -29086,7 +29088,7 @@ function Autocomplete(props) {
|
|
|
29086
29088
|
// Ensures the menu never gets too small.
|
|
29087
29089
|
minWidth: 200
|
|
29088
29090
|
};
|
|
29089
|
-
return /* @__PURE__ */ jsxs129(
|
|
29091
|
+
return /* @__PURE__ */ jsxs129(Fragment52, { children: [
|
|
29090
29092
|
/* @__PURE__ */ jsx243(
|
|
29091
29093
|
TextFieldBase,
|
|
29092
29094
|
{
|