@homebound/beam 3.15.0 → 3.16.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 +241 -161
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -8
- package/dist/index.d.ts +22 -8
- package/dist/index.js +233 -153
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5766,7 +5766,7 @@ function IconButton(props) {
|
|
|
5766
5766
|
openInNew,
|
|
5767
5767
|
active = false,
|
|
5768
5768
|
compact = false,
|
|
5769
|
-
|
|
5769
|
+
variant = "default",
|
|
5770
5770
|
download = false,
|
|
5771
5771
|
forceFocusStyles = false,
|
|
5772
5772
|
label,
|
|
@@ -5796,20 +5796,22 @@ function IconButton(props) {
|
|
|
5796
5796
|
isHovered
|
|
5797
5797
|
} = (0, import_react_aria2.useHover)(ariaProps);
|
|
5798
5798
|
const testIds = useTestIds(props, icon);
|
|
5799
|
+
const isCircle = variant === "circle";
|
|
5800
|
+
const isOutline = variant === "outline";
|
|
5799
5801
|
const styles = (0, import_react10.useMemo)(() => ({
|
|
5800
5802
|
...iconButtonStylesReset,
|
|
5801
|
-
...
|
|
5802
|
-
...isHovered && (
|
|
5803
|
-
...isFocusVisible || forceFocusStyles ?
|
|
5804
|
-
...active && (
|
|
5803
|
+
...isCircle ? iconButtonCircle : isOutline ? iconButtonOutline : compact ? iconButtonCompact : iconButtonNormal,
|
|
5804
|
+
...isHovered && (isCircle || isOutline ? iconButtonCircleStylesHover : iconButtonTokenHover),
|
|
5805
|
+
...isFocusVisible || forceFocusStyles ? isCircle ? iconButtonCircleStylesFocus : iconButtonStylesFocus : {},
|
|
5806
|
+
...active && (isCircle || isOutline ? activeStylesCircle : iconButtonTokenHover),
|
|
5805
5807
|
...isDisabled && iconButtonStylesDisabled,
|
|
5806
5808
|
...bgColor && {
|
|
5807
5809
|
backgroundColor: ["bgColor_var", {
|
|
5808
5810
|
"--backgroundColor": (0, import_runtime9.maybeCssVar)(bgColor)
|
|
5809
5811
|
}]
|
|
5810
5812
|
}
|
|
5811
|
-
}), [isHovered, isFocusVisible, isDisabled, compact,
|
|
5812
|
-
const iconColor =
|
|
5813
|
+
}), [isHovered, isFocusVisible, isDisabled, compact, isCircle, isOutline, active, bgColor, forceFocusStyles]);
|
|
5814
|
+
const iconColor = isCircle ? circleIconColor : defaultIconColor;
|
|
5813
5815
|
const buttonAttrs = {
|
|
5814
5816
|
...testIds,
|
|
5815
5817
|
...buttonProps,
|
|
@@ -5819,7 +5821,7 @@ function IconButton(props) {
|
|
|
5819
5821
|
...(0, import_runtime9.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles),
|
|
5820
5822
|
"aria-label": label
|
|
5821
5823
|
};
|
|
5822
|
-
const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ :
|
|
5824
|
+
const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : isCircle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : isCircle ? 2.5 : inc });
|
|
5823
5825
|
return maybeTooltip({
|
|
5824
5826
|
title: resolveTooltip(disabled ?? (preventTooltip ? void 0 : label), tooltip),
|
|
5825
5827
|
placement: "top",
|
|
@@ -5862,6 +5864,17 @@ var iconButtonCircle = {
|
|
|
5862
5864
|
justifyContent: "jcc",
|
|
5863
5865
|
alignItems: "aic"
|
|
5864
5866
|
};
|
|
5867
|
+
var iconButtonOutline = {
|
|
5868
|
+
borderRadius: "br8",
|
|
5869
|
+
width: "w_48px",
|
|
5870
|
+
height: "h_40px",
|
|
5871
|
+
borderColor: "bcGray300",
|
|
5872
|
+
borderStyle: "bss",
|
|
5873
|
+
borderWidth: "bw1",
|
|
5874
|
+
display: "df",
|
|
5875
|
+
justifyContent: "jcc",
|
|
5876
|
+
alignItems: "aic"
|
|
5877
|
+
};
|
|
5865
5878
|
var iconButtonTokenHover = {
|
|
5866
5879
|
backgroundColor: ["bgColor_var", {
|
|
5867
5880
|
"--backgroundColor": "var(--b-neutral-fill-hover-strong)"
|
|
@@ -13510,6 +13523,7 @@ function RadioGroupField(props) {
|
|
|
13510
13523
|
onChange,
|
|
13511
13524
|
options,
|
|
13512
13525
|
disabled = false,
|
|
13526
|
+
required,
|
|
13513
13527
|
errorMsg,
|
|
13514
13528
|
helperText,
|
|
13515
13529
|
layout = "vertical",
|
|
@@ -13524,12 +13538,14 @@ function RadioGroupField(props) {
|
|
|
13524
13538
|
isReadOnly: false
|
|
13525
13539
|
});
|
|
13526
13540
|
const tid = useTestIds(props, defaultTestId(label));
|
|
13541
|
+
const labelSuffix = useLabelSuffix(required, false);
|
|
13527
13542
|
const {
|
|
13528
13543
|
labelProps,
|
|
13529
13544
|
radioGroupProps
|
|
13530
13545
|
} = (0, import_react_aria34.useRadioGroup)({
|
|
13531
13546
|
label,
|
|
13532
|
-
isDisabled: disabled
|
|
13547
|
+
isDisabled: disabled,
|
|
13548
|
+
isRequired: required
|
|
13533
13549
|
}, state);
|
|
13534
13550
|
return (
|
|
13535
13551
|
// default styling to position `<Label />` above.
|
|
@@ -13544,7 +13560,7 @@ function RadioGroupField(props) {
|
|
|
13544
13560
|
justifyContent: "jcsb"
|
|
13545
13561
|
} : {}
|
|
13546
13562
|
}), children: [
|
|
13547
|
-
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label, { label, ...labelProps, ...tid.label, hidden: labelStyle === "hidden" }),
|
|
13563
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, hidden: labelStyle === "hidden" }),
|
|
13548
13564
|
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { ...radioGroupProps, children: [
|
|
13549
13565
|
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { ...(0, import_runtime47.trussProps)({
|
|
13550
13566
|
display: "df",
|
|
@@ -14870,17 +14886,26 @@ var ColumnStorage = class {
|
|
|
14870
14886
|
}
|
|
14871
14887
|
expandedIds;
|
|
14872
14888
|
visibleIds;
|
|
14889
|
+
// `loadExpanded`/`loadVisible` can be called multiple times (i.e. when `props.columns`
|
|
14890
|
+
// change, which also changes the auto-derived storage key). Each call wires up a mobx
|
|
14891
|
+
// autorun/reaction that writes to its key, so we must dispose the previous one. Otherwise
|
|
14892
|
+
// a stale writer keeps firing against an old key and clobbers it with the current visible
|
|
14893
|
+
// set, e.g. a conditional column's key gets overwritten while that column isn't rendered.
|
|
14894
|
+
disposeExpanded;
|
|
14895
|
+
disposeVisible;
|
|
14873
14896
|
loadExpanded(persistCollapse) {
|
|
14897
|
+
this.disposeExpanded?.();
|
|
14874
14898
|
const key = `expandedColumn_${persistCollapse}`;
|
|
14875
14899
|
this.expandedIds = loadArrayOrUndefined(key);
|
|
14876
|
-
(0, import_mobx4.reaction)(
|
|
14900
|
+
this.disposeExpanded = (0, import_mobx4.reaction)(
|
|
14877
14901
|
() => this.states.expandedColumns.map((cs) => cs.column.id),
|
|
14878
14902
|
(columnIds) => sessionStorage.setItem(key, JSON.stringify(columnIds))
|
|
14879
14903
|
);
|
|
14880
14904
|
}
|
|
14881
14905
|
loadVisible(storageKey) {
|
|
14906
|
+
this.disposeVisible?.();
|
|
14882
14907
|
this.visibleIds = loadArrayOrUndefined(storageKey);
|
|
14883
|
-
(0, import_mobx4.autorun)(() => {
|
|
14908
|
+
this.disposeVisible = (0, import_mobx4.autorun)(() => {
|
|
14884
14909
|
const columnIds = this.states.allVisibleColumns("web").map((cs) => cs.column.id);
|
|
14885
14910
|
sessionStorage.setItem(storageKey, JSON.stringify(columnIds));
|
|
14886
14911
|
});
|
|
@@ -17811,6 +17836,7 @@ function BoundRadioGroupField(props) {
|
|
|
17811
17836
|
RadioGroupField,
|
|
17812
17837
|
{
|
|
17813
17838
|
label,
|
|
17839
|
+
required: field.required,
|
|
17814
17840
|
value: field.value || void 0,
|
|
17815
17841
|
onChange: (value) => {
|
|
17816
17842
|
onChange(value);
|
|
@@ -18619,7 +18645,7 @@ function RightSidebar({
|
|
|
18619
18645
|
flexDirection: "fdc",
|
|
18620
18646
|
alignItems: "aic"
|
|
18621
18647
|
}), children: [
|
|
18622
|
-
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */,
|
|
18648
|
+
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
|
|
18623
18649
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: "absolute top_48px h_calc_100vh_168px w_1px bgGray300" })
|
|
18624
18650
|
] }),
|
|
18625
18651
|
/* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: "df aic jcfe gap2 mb3", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButtonList, { content, selectedIcon, onIconClick: setSelectedIcon }) })
|
|
@@ -18638,7 +18664,7 @@ function IconButtonList({
|
|
|
18638
18664
|
}) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
|
|
18639
18665
|
IconButton,
|
|
18640
18666
|
{
|
|
18641
|
-
|
|
18667
|
+
variant: "circle",
|
|
18642
18668
|
active: icon === selectedIcon,
|
|
18643
18669
|
onClick: () => onIconClick(icon),
|
|
18644
18670
|
icon,
|
|
@@ -19722,35 +19748,109 @@ function updateFilter(currentFilter, key, value) {
|
|
|
19722
19748
|
var filterTestIdPrefix = "filter";
|
|
19723
19749
|
|
|
19724
19750
|
// src/components/Filters/FilterDropdownMenu.tsx
|
|
19751
|
+
var import_use_debounce7 = require("use-debounce");
|
|
19752
|
+
var import_use_query_params3 = require("use-query-params");
|
|
19753
|
+
var import_runtime74 = require("@homebound/truss/runtime");
|
|
19725
19754
|
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
19726
19755
|
function FilterDropdownMenu(props) {
|
|
19727
19756
|
const {
|
|
19728
19757
|
filter,
|
|
19729
19758
|
onChange,
|
|
19730
19759
|
filterDefs,
|
|
19731
|
-
groupBy
|
|
19760
|
+
groupBy,
|
|
19761
|
+
searchProps
|
|
19732
19762
|
} = props;
|
|
19733
19763
|
const testId = useTestIds(props, filterTestIdPrefix);
|
|
19764
|
+
const {
|
|
19765
|
+
sm
|
|
19766
|
+
} = useBreakpoint();
|
|
19734
19767
|
const [isOpen, setIsOpen] = (0, import_react98.useState)(false);
|
|
19735
|
-
const
|
|
19736
|
-
const
|
|
19768
|
+
const [searchIsOpen, setSearchIsOpen] = (0, import_react98.useState)(false);
|
|
19769
|
+
const [{
|
|
19770
|
+
search: initialValue
|
|
19771
|
+
}, setQueryParams] = (0, import_use_query_params3.useQueryParams)({
|
|
19772
|
+
search: import_use_query_params3.StringParam
|
|
19773
|
+
});
|
|
19774
|
+
const [searchValue, setSearchValue] = (0, import_react98.useState)(initialValue || "");
|
|
19775
|
+
const [debouncedSearch] = (0, import_use_debounce7.useDebounce)(searchValue, 300);
|
|
19776
|
+
(0, import_react98.useEffect)(() => {
|
|
19777
|
+
if (searchProps) {
|
|
19778
|
+
searchProps.onSearch(debouncedSearch);
|
|
19779
|
+
setQueryParams({
|
|
19780
|
+
search: debouncedSearch || void 0
|
|
19781
|
+
}, "replaceIn");
|
|
19782
|
+
}
|
|
19783
|
+
}, [debouncedSearch, searchProps, setQueryParams]);
|
|
19784
|
+
const hasSearch = !!searchProps;
|
|
19785
|
+
const hasFilters = !!filterDefs && Object.keys(filterDefs ?? {}).length > 0;
|
|
19786
|
+
const activeFilterCount = (0, import_react98.useMemo)(() => filter ? getActiveFilterCount(filter) : 0, [filter]);
|
|
19787
|
+
const filterImpls = (0, import_react98.useMemo)(() => filterDefs ? buildFilterImpls(filterDefs) : {}, [filterDefs]);
|
|
19737
19788
|
const renderFilters = () => {
|
|
19789
|
+
if (!filter || !onChange) return null;
|
|
19738
19790
|
const entries = safeEntries(filterImpls);
|
|
19739
19791
|
const nonCheckbox = entries.filter(([_, f]) => !f.hideLabelInModal);
|
|
19740
19792
|
const checkbox = entries.filter(([_, f]) => f.hideLabelInModal);
|
|
19741
19793
|
return [...nonCheckbox, ...checkbox].map(([key, f]) => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { children: f.render(filter[key], (value) => onChange(updateFilter(filter, key, value)), testId, false, false) }, key));
|
|
19742
19794
|
};
|
|
19795
|
+
const searchTextField = /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(TextField, { label: "Search", labelStyle: "hidden", value: searchValue, onChange: (v) => setSearchValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) });
|
|
19743
19796
|
return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
|
|
19744
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
|
|
19797
|
+
hasSearch && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { ...(0, import_runtime74.trussProps)({
|
|
19798
|
+
width: "w_244px",
|
|
19799
|
+
...sm ? {
|
|
19800
|
+
position: "absolute",
|
|
19801
|
+
overflow: "oh",
|
|
19802
|
+
clip: "cli_inset_50",
|
|
19803
|
+
clipPath: "clp_none",
|
|
19804
|
+
border: "bd_0",
|
|
19805
|
+
height: "h_1px",
|
|
19806
|
+
margin: "m_neg1px",
|
|
19807
|
+
width: "w_1px",
|
|
19808
|
+
padding: "p_0",
|
|
19809
|
+
whiteSpace: "wsnw",
|
|
19810
|
+
opacity: "o0"
|
|
19811
|
+
} : {}
|
|
19812
|
+
}), children: searchTextField }),
|
|
19813
|
+
sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "", "aria-label": "Search", icon: "search", onClick: () => setSearchIsOpen(!searchIsOpen), active: searchIsOpen, variant: "secondaryBlack", ...testId.searchButton }),
|
|
19814
|
+
hasFilters && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: sm ? "" : "Filter", "aria-label": "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic gap1", children: [
|
|
19745
19815
|
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(CountBadge, { count: activeFilterCount }),
|
|
19746
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, {
|
|
19816
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { xss: {
|
|
19817
|
+
...sm ? {
|
|
19818
|
+
position: "absolute",
|
|
19819
|
+
overflow: "oh",
|
|
19820
|
+
clip: "cli_inset_50",
|
|
19821
|
+
clipPath: "clp_none",
|
|
19822
|
+
border: "bd_0",
|
|
19823
|
+
height: "h_1px",
|
|
19824
|
+
margin: "m_neg1px",
|
|
19825
|
+
width: "w_1px",
|
|
19826
|
+
padding: "p_0",
|
|
19827
|
+
whiteSpace: "wsnw",
|
|
19828
|
+
opacity: "o0"
|
|
19829
|
+
} : {}
|
|
19830
|
+
}, icon: isOpen ? "chevronUp" : "chevronDown" })
|
|
19747
19831
|
] }), variant: "secondaryBlack", onClick: () => setIsOpen(!isOpen), active: isOpen, ...testId.button }),
|
|
19748
|
-
|
|
19832
|
+
searchIsOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { ...(0, import_runtime74.trussProps)({
|
|
19833
|
+
width: "w100",
|
|
19834
|
+
...!sm ? {
|
|
19835
|
+
position: "absolute",
|
|
19836
|
+
overflow: "oh",
|
|
19837
|
+
clip: "cli_inset_50",
|
|
19838
|
+
clipPath: "clp_none",
|
|
19839
|
+
border: "bd_0",
|
|
19840
|
+
height: "h_1px",
|
|
19841
|
+
margin: "m_neg1px",
|
|
19842
|
+
width: "w_1px",
|
|
19843
|
+
padding: "p_0",
|
|
19844
|
+
whiteSpace: "wsnw",
|
|
19845
|
+
opacity: "o0"
|
|
19846
|
+
} : {}
|
|
19847
|
+
}), children: searchTextField }),
|
|
19848
|
+
hasFilters && isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic fww gap1 w100", children: [
|
|
19749
19849
|
groupBy && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(SelectField, { label: "Group by", labelStyle: "inline", sizeToContent: true, options: groupBy.options, getOptionValue: (o) => o.id, getOptionLabel: (o) => o.name, value: groupBy.value, onSelect: (g) => g && groupBy.setValue(g) }),
|
|
19750
19850
|
renderFilters(),
|
|
19751
|
-
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
|
|
19851
|
+
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange?.({}), ...testId.clearBtn })
|
|
19752
19852
|
] }),
|
|
19753
|
-
!isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
|
|
19853
|
+
hasFilters && !isOpen && filter && onChange && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
|
|
19754
19854
|
] });
|
|
19755
19855
|
}
|
|
19756
19856
|
function FilterChips({
|
|
@@ -19884,6 +19984,9 @@ function EditColumnsButton(props) {
|
|
|
19884
19984
|
isDisabled: !!disabled
|
|
19885
19985
|
}, state, buttonRef);
|
|
19886
19986
|
const tid = useTestIds(props, isTextButton(trigger) ? labelOr(trigger, "editColumnsButton") : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
|
|
19987
|
+
const {
|
|
19988
|
+
sm
|
|
19989
|
+
} = useBreakpoint();
|
|
19887
19990
|
const options = (0, import_react99.useMemo)(() => columns.filter((column2) => column2.canHide).filter((column2) => {
|
|
19888
19991
|
if (!column2.name || column2.name.length === 0 || !column2.id || column2.id.length === 0) {
|
|
19889
19992
|
console.warn("Column is missing 'name' and/or 'id' property required by the Edit Columns button", column2);
|
|
@@ -19899,7 +20002,7 @@ function EditColumnsButton(props) {
|
|
|
19899
20002
|
api.resetColumnWidths();
|
|
19900
20003
|
api.setVisibleColumns(columns.filter((column2) => column2.canHide ? ids.includes(column2.id) : true).map((c) => c.id));
|
|
19901
20004
|
}, [columns, api]);
|
|
19902
|
-
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
|
|
20005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, hideEndAdornment: sm, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
|
|
19903
20006
|
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_react99.Fragment, { children: [
|
|
19904
20007
|
/* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
|
|
19905
20008
|
/* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Switch, { compact: true, selected: selectedValues.includes(option.value), onChange: (value) => setSelectedValues(value ? [...selectedValues, option.value] : selectedValues.filter((v) => v !== option.value)), labelStyle: "hidden", label: option.label, ...tid[`option${option.value}`] })
|
|
@@ -19909,7 +20012,7 @@ function EditColumnsButton(props) {
|
|
|
19909
20012
|
}
|
|
19910
20013
|
|
|
19911
20014
|
// src/components/Table/TableActions.tsx
|
|
19912
|
-
var
|
|
20015
|
+
var import_runtime75 = require("@homebound/truss/runtime");
|
|
19913
20016
|
var import_jsx_runtime143 = require("react/jsx-runtime");
|
|
19914
20017
|
function TableActions(props) {
|
|
19915
20018
|
const {
|
|
@@ -19917,7 +20020,7 @@ function TableActions(props) {
|
|
|
19917
20020
|
children,
|
|
19918
20021
|
right
|
|
19919
20022
|
} = props;
|
|
19920
|
-
return /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { ...(0,
|
|
20023
|
+
return /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { ...(0, import_runtime75.trussProps)({
|
|
19921
20024
|
...{
|
|
19922
20025
|
display: "df",
|
|
19923
20026
|
gap: "gap1",
|
|
@@ -19932,10 +20035,6 @@ function TableActions(props) {
|
|
|
19932
20035
|
] });
|
|
19933
20036
|
}
|
|
19934
20037
|
|
|
19935
|
-
// src/components/Layout/GridTableLayout/GridTableLayout.tsx
|
|
19936
|
-
var import_use_debounce7 = require("use-debounce");
|
|
19937
|
-
var import_use_query_params3 = require("use-query-params");
|
|
19938
|
-
|
|
19939
20038
|
// src/components/Layout/layoutTypes.ts
|
|
19940
20039
|
function isGridTableProps(props) {
|
|
19941
20040
|
return "rows" in props;
|
|
@@ -19945,7 +20044,7 @@ function isGridTableProps(props) {
|
|
|
19945
20044
|
var import_react100 = require("react");
|
|
19946
20045
|
|
|
19947
20046
|
// src/components/LoadingSkeleton.tsx
|
|
19948
|
-
var
|
|
20047
|
+
var import_runtime76 = require("@homebound/truss/runtime");
|
|
19949
20048
|
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
19950
20049
|
function LoadingSkeleton({
|
|
19951
20050
|
rows = 1,
|
|
@@ -19958,18 +20057,18 @@ function LoadingSkeleton({
|
|
|
19958
20057
|
const rowHeight = sizeToPixels2[size];
|
|
19959
20058
|
const rowCells = (rowNumber) => {
|
|
19960
20059
|
const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
|
|
19961
|
-
return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0,
|
|
20060
|
+
return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime76.trussProps)({
|
|
19962
20061
|
borderRadius: "br4",
|
|
19963
20062
|
animation: "animation_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
|
|
19964
20063
|
flexGrow: ["flexGrow_var", {
|
|
19965
|
-
"--flexGrow": (0,
|
|
20064
|
+
"--flexGrow": (0, import_runtime76.maybeCssVar)(flexGrowForCell)
|
|
19966
20065
|
}],
|
|
19967
20066
|
backgroundColor: ["bgColor_var", {
|
|
19968
20067
|
"--backgroundColor": "var(--b-loader-fill)"
|
|
19969
20068
|
}]
|
|
19970
20069
|
}) }, `row-${rowNumber}-cell-${i}`));
|
|
19971
20070
|
};
|
|
19972
|
-
return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0,
|
|
20071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime76.trussProps)({
|
|
19973
20072
|
display: "df",
|
|
19974
20073
|
gap: "gap1",
|
|
19975
20074
|
marginBottom: "mb1",
|
|
@@ -20010,7 +20109,7 @@ function LoadingTable(props) {
|
|
|
20010
20109
|
}
|
|
20011
20110
|
|
|
20012
20111
|
// src/components/Layout/GridTableLayout/GridTableLayout.tsx
|
|
20013
|
-
var
|
|
20112
|
+
var import_runtime77 = require("@homebound/truss/runtime");
|
|
20014
20113
|
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
20015
20114
|
function GridTableLayoutComponent(props) {
|
|
20016
20115
|
const {
|
|
@@ -20044,16 +20143,15 @@ function GridTableLayoutComponent(props) {
|
|
|
20044
20143
|
}, [visibleColumnIds, layoutState]);
|
|
20045
20144
|
const visibleColumnsStorageKey = layoutState?.persistedColumnsStorageKey;
|
|
20046
20145
|
return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_jsx_runtime146.Fragment, { children: [
|
|
20047
|
-
/* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
|
|
20048
|
-
showTableActions && /* @__PURE__ */ (0, import_jsx_runtime146.
|
|
20146
|
+
pageTitle && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
|
|
20147
|
+
showTableActions && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(TableActions, { right: hasHideableColumns && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(EditColumnsButton, { columns, api, tooltip: "Display columns", trigger: {
|
|
20049
20148
|
icon: "kanban",
|
|
20050
20149
|
size: "md",
|
|
20051
20150
|
label: "",
|
|
20052
20151
|
variant: "secondaryBlack"
|
|
20053
|
-
}, ...tid.editColumnsButton }), children:
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
] }),
|
|
20152
|
+
}, ...tid.editColumnsButton }), children: layoutState && (layoutState.filterDefs || layoutState.search) && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(_FilterDropdownMenu, { filterDefs: layoutState.filterDefs, filter: layoutState.filter, onChange: layoutState.setFilter, groupBy: layoutState.groupBy, searchProps: layoutState.search ? {
|
|
20153
|
+
onSearch: layoutState.setSearchString
|
|
20154
|
+
} : void 0 }) }),
|
|
20057
20155
|
/* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(ScrollableContent, { virtualized: isVirtualized, children: [
|
|
20058
20156
|
isGridTableProps(tableProps) ? /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(GridTable, { ...tableProps, api, filter: clientSearch, style: {
|
|
20059
20157
|
allWhite: true
|
|
@@ -20141,7 +20239,7 @@ function Header2(props) {
|
|
|
20141
20239
|
actionMenu
|
|
20142
20240
|
} = props;
|
|
20143
20241
|
const tids = useTestIds(props);
|
|
20144
|
-
return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("header", { ...(0,
|
|
20242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("header", { ...(0, import_runtime77.trussProps)({
|
|
20145
20243
|
...{
|
|
20146
20244
|
paddingTop: "pt3",
|
|
20147
20245
|
paddingBottom: "pb3",
|
|
@@ -20169,24 +20267,6 @@ function Header2(props) {
|
|
|
20169
20267
|
] })
|
|
20170
20268
|
] }) });
|
|
20171
20269
|
}
|
|
20172
|
-
function SearchBox({
|
|
20173
|
-
onSearch
|
|
20174
|
-
}) {
|
|
20175
|
-
const [{
|
|
20176
|
-
search: initialValue
|
|
20177
|
-
}, setQueryParams] = (0, import_use_query_params3.useQueryParams)({
|
|
20178
|
-
search: import_use_query_params3.StringParam
|
|
20179
|
-
});
|
|
20180
|
-
const [value, setValue] = (0, import_react101.useState)(initialValue || "");
|
|
20181
|
-
const [debouncedSearch] = (0, import_use_debounce7.useDebounce)(value, 300);
|
|
20182
|
-
(0, import_react101.useEffect)(() => {
|
|
20183
|
-
onSearch(debouncedSearch);
|
|
20184
|
-
setQueryParams({
|
|
20185
|
-
search: debouncedSearch || void 0
|
|
20186
|
-
}, "replaceIn");
|
|
20187
|
-
}, [debouncedSearch, onSearch, setQueryParams]);
|
|
20188
|
-
return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "w_244px", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(TextField, { label: "Search", labelStyle: "hidden", value, onChange: (v) => setValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) }) });
|
|
20189
|
-
}
|
|
20190
20270
|
|
|
20191
20271
|
// src/components/Layout/PreventBrowserScroll.tsx
|
|
20192
20272
|
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
@@ -20239,7 +20319,7 @@ function useRightPaneContext() {
|
|
|
20239
20319
|
// src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
|
|
20240
20320
|
var import_framer_motion3 = require("framer-motion");
|
|
20241
20321
|
var import_react103 = require("react");
|
|
20242
|
-
var
|
|
20322
|
+
var import_runtime78 = require("@homebound/truss/runtime");
|
|
20243
20323
|
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
20244
20324
|
var __maybeInc11 = (inc) => {
|
|
20245
20325
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -20259,10 +20339,10 @@ function RightPaneLayout(props) {
|
|
|
20259
20339
|
} = useRightPaneContext();
|
|
20260
20340
|
(0, import_react103.useEffect)(() => closePane, [closePane]);
|
|
20261
20341
|
return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "h100 df oxh", children: /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)(import_jsx_runtime149.Fragment, { children: [
|
|
20262
|
-
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0,
|
|
20342
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime78.trussProps)({
|
|
20263
20343
|
...{
|
|
20264
20344
|
width: ["w_var", {
|
|
20265
|
-
"--width": (0,
|
|
20345
|
+
"--width": (0, import_runtime78.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
|
|
20266
20346
|
}],
|
|
20267
20347
|
transition: "transition_width_2s_linear",
|
|
20268
20348
|
height: "h100",
|
|
@@ -20278,13 +20358,13 @@ function RightPaneLayout(props) {
|
|
|
20278
20358
|
...{
|
|
20279
20359
|
...!!defaultPaneContent ? {
|
|
20280
20360
|
width: ["w_var", {
|
|
20281
|
-
"--width": (0,
|
|
20361
|
+
"--width": (0, import_runtime78.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
|
|
20282
20362
|
}],
|
|
20283
20363
|
marginRight: "mr3"
|
|
20284
20364
|
} : {}
|
|
20285
20365
|
}
|
|
20286
20366
|
}), children }),
|
|
20287
|
-
/* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { ...(0,
|
|
20367
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { ...(0, import_runtime78.trussProps)({
|
|
20288
20368
|
position: "relative",
|
|
20289
20369
|
...!!defaultPaneContent ? {
|
|
20290
20370
|
width: ["w_var", {
|
|
@@ -20292,7 +20372,7 @@ function RightPaneLayout(props) {
|
|
|
20292
20372
|
}]
|
|
20293
20373
|
} : {}
|
|
20294
20374
|
}), children: [
|
|
20295
|
-
defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0,
|
|
20375
|
+
defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime78.trussProps)({
|
|
20296
20376
|
height: "h100",
|
|
20297
20377
|
width: ["w_var", {
|
|
20298
20378
|
"--width": `${paneWidth}px`
|
|
@@ -20310,9 +20390,9 @@ function RightPaneLayout(props) {
|
|
|
20310
20390
|
{
|
|
20311
20391
|
layout: "position",
|
|
20312
20392
|
"data-testid": "rightPaneContent",
|
|
20313
|
-
...(0,
|
|
20393
|
+
...(0, import_runtime78.trussProps)({
|
|
20314
20394
|
backgroundColor: ["bgColor_var", {
|
|
20315
|
-
"--backgroundColor": (0,
|
|
20395
|
+
"--backgroundColor": (0, import_runtime78.maybeCssVar)(paneBgColor)
|
|
20316
20396
|
}],
|
|
20317
20397
|
height: "h100",
|
|
20318
20398
|
width: ["w_var", {
|
|
@@ -20393,7 +20473,7 @@ function SidePanel(props) {
|
|
|
20393
20473
|
}
|
|
20394
20474
|
|
|
20395
20475
|
// src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
|
|
20396
|
-
var
|
|
20476
|
+
var import_runtime79 = require("@homebound/truss/runtime");
|
|
20397
20477
|
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
20398
20478
|
var defaultRightPaneWidth = 450;
|
|
20399
20479
|
function TableReviewLayout(props) {
|
|
@@ -20435,14 +20515,14 @@ function TableReviewLayout(props) {
|
|
|
20435
20515
|
bordered: true
|
|
20436
20516
|
}, stickyHeader: true });
|
|
20437
20517
|
}
|
|
20438
|
-
return /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0,
|
|
20518
|
+
return /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime79.trussProps)({
|
|
20439
20519
|
position: "fixed",
|
|
20440
20520
|
top: "top0",
|
|
20441
20521
|
bottom: "bottom0",
|
|
20442
20522
|
left: "left0",
|
|
20443
20523
|
right: "right0",
|
|
20444
20524
|
zIndex: ["z_var", {
|
|
20445
|
-
"--zIndex": (0,
|
|
20525
|
+
"--zIndex": (0, import_runtime79.maybeCssVar)(zIndices.pageOverlay)
|
|
20446
20526
|
}],
|
|
20447
20527
|
backgroundColor: "bgWhite",
|
|
20448
20528
|
display: "df",
|
|
@@ -20460,7 +20540,7 @@ function TableReviewLayout(props) {
|
|
|
20460
20540
|
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "fw4 fz_14px lh_20px gray700 mt2", ...tid.description, children: description })
|
|
20461
20541
|
] }),
|
|
20462
20542
|
/* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { className: "fg1 df mh0", ...tid.content, children: [
|
|
20463
|
-
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { ...(0,
|
|
20543
|
+
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { ...(0, import_runtime79.trussProps)({
|
|
20464
20544
|
...{
|
|
20465
20545
|
flexGrow: "fg1",
|
|
20466
20546
|
overflowY: "oya",
|
|
@@ -20483,7 +20563,7 @@ function TableReviewLayout(props) {
|
|
|
20483
20563
|
ease: "linear",
|
|
20484
20564
|
duration: 0.2
|
|
20485
20565
|
}, className: "df fdc fs0 relative", children: [
|
|
20486
|
-
/* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0,
|
|
20566
|
+
/* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime79.trussProps)({
|
|
20487
20567
|
position: "absolute",
|
|
20488
20568
|
top: ["top_var", {
|
|
20489
20569
|
"--top": `${-32}px`
|
|
@@ -20496,7 +20576,7 @@ function TableReviewLayout(props) {
|
|
|
20496
20576
|
}],
|
|
20497
20577
|
zIndex: "z1"
|
|
20498
20578
|
}), children: [
|
|
20499
|
-
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */,
|
|
20579
|
+
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
|
|
20500
20580
|
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "w_1px bgGray300 vh100" })
|
|
20501
20581
|
] }),
|
|
20502
20582
|
/* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "fg1 oh mh0", children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(SidePanel, { ...panelContent }) })
|
|
@@ -20606,7 +20686,7 @@ function ButtonDatePicker(props) {
|
|
|
20606
20686
|
// src/components/ButtonGroup.tsx
|
|
20607
20687
|
var import_react107 = require("react");
|
|
20608
20688
|
var import_react_aria48 = require("react-aria");
|
|
20609
|
-
var
|
|
20689
|
+
var import_runtime80 = require("@homebound/truss/runtime");
|
|
20610
20690
|
var import_jsx_runtime155 = (
|
|
20611
20691
|
// Disable the button if the ButtonGroup is disabled or if the current button is disabled.
|
|
20612
20692
|
require("react/jsx-runtime")
|
|
@@ -20620,7 +20700,7 @@ function ButtonGroup(props) {
|
|
|
20620
20700
|
const tid = useTestIds(props, "buttonGroup");
|
|
20621
20701
|
return (
|
|
20622
20702
|
// Adding `line-height: 0` prevent inheriting line-heights that might throw off sizing within the button group.
|
|
20623
|
-
/* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ...tid, ...(0,
|
|
20703
|
+
/* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ...tid, ...(0, import_runtime80.trussProps)({
|
|
20624
20704
|
...{
|
|
20625
20705
|
display: "df",
|
|
20626
20706
|
lineHeight: "lh_0"
|
|
@@ -20666,10 +20746,10 @@ function GroupButton(props) {
|
|
|
20666
20746
|
isHovered
|
|
20667
20747
|
} = (0, import_react_aria48.useHover)(ariaProps);
|
|
20668
20748
|
const tid = useTestIds(props);
|
|
20669
|
-
return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("span", { ...(0,
|
|
20749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("span", { ...(0, import_runtime80.trussProps)(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
|
|
20670
20750
|
title: resolveTooltip(disabled, tooltip),
|
|
20671
20751
|
placement: "top",
|
|
20672
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0,
|
|
20752
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime80.trussProps)({
|
|
20673
20753
|
...{
|
|
20674
20754
|
fontWeight: "fw6",
|
|
20675
20755
|
fontSize: "fz_14px",
|
|
@@ -20776,7 +20856,7 @@ var import_react_aria49 = require("react-aria");
|
|
|
20776
20856
|
// src/components/Tag.tsx
|
|
20777
20857
|
var import_utils121 = require("@react-aria/utils");
|
|
20778
20858
|
var import_react108 = require("react");
|
|
20779
|
-
var
|
|
20859
|
+
var import_runtime81 = require("@homebound/truss/runtime");
|
|
20780
20860
|
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
20781
20861
|
function Tag(props) {
|
|
20782
20862
|
const {
|
|
@@ -20800,7 +20880,7 @@ function Tag(props) {
|
|
|
20800
20880
|
});
|
|
20801
20881
|
return maybeTooltip({
|
|
20802
20882
|
title: !preventTooltip && showTooltip ? text : void 0,
|
|
20803
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("span", { ...tid, ...(0,
|
|
20883
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("span", { ...tid, ...(0, import_runtime81.trussProps)({
|
|
20804
20884
|
...{
|
|
20805
20885
|
display: "dif",
|
|
20806
20886
|
fontWeight: "fw6",
|
|
@@ -20850,7 +20930,7 @@ function getStyles(type) {
|
|
|
20850
20930
|
}
|
|
20851
20931
|
|
|
20852
20932
|
// src/components/Card.tsx
|
|
20853
|
-
var
|
|
20933
|
+
var import_runtime82 = require("@homebound/truss/runtime");
|
|
20854
20934
|
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
20855
20935
|
function Card(props) {
|
|
20856
20936
|
const {
|
|
@@ -20881,8 +20961,8 @@ function Card(props) {
|
|
|
20881
20961
|
...isHovered && cardHoverStyles,
|
|
20882
20962
|
...isDisabled && disabledStyles3
|
|
20883
20963
|
}), [isDisabled, isHovered, bordered, type, isList]);
|
|
20884
|
-
return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...(0,
|
|
20885
|
-
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0,
|
|
20964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...(0, import_runtime82.trussProps)(styles), ...hoverProps, ...tid, children: [
|
|
20965
|
+
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
|
|
20886
20966
|
...{
|
|
20887
20967
|
height: ["h_var", {
|
|
20888
20968
|
"--height": `${imgHeight}px`
|
|
@@ -20899,14 +20979,14 @@ function Card(props) {
|
|
|
20899
20979
|
filter: "filter_brightness_1"
|
|
20900
20980
|
},
|
|
20901
20981
|
...isHovered && !isList && imageHoverStyles
|
|
20902
|
-
}), children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("img", { ...(0,
|
|
20982
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("img", { ...(0, import_runtime82.trussProps)({
|
|
20903
20983
|
width: "w100",
|
|
20904
20984
|
height: "h100",
|
|
20905
20985
|
objectFit: ["objectFit_var", {
|
|
20906
|
-
"--objectFit": (0,
|
|
20986
|
+
"--objectFit": (0, import_runtime82.maybeCssVar)(imageFit)
|
|
20907
20987
|
}]
|
|
20908
20988
|
}), src: imgSrc, alt: title, ...tid.img }) }),
|
|
20909
|
-
isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0,
|
|
20989
|
+
isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
|
|
20910
20990
|
position: "absolute",
|
|
20911
20991
|
right: "right1",
|
|
20912
20992
|
top: "top1",
|
|
@@ -20922,7 +21002,7 @@ function Card(props) {
|
|
|
20922
21002
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { className: "df fdc aifs gap1", children: [
|
|
20923
21003
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { children: [
|
|
20924
21004
|
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "fw6 fz_12px lh_16px gray700", ...tid.subtitle, children: subtitle }),
|
|
20925
|
-
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0,
|
|
21005
|
+
/* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
|
|
20926
21006
|
fontWeight: "fw6",
|
|
20927
21007
|
fontSize: "fz_14px",
|
|
20928
21008
|
lineHeight: "lh_20px",
|
|
@@ -20980,10 +21060,10 @@ var imageHoverStyles = {
|
|
|
20980
21060
|
};
|
|
20981
21061
|
|
|
20982
21062
|
// src/components/Copy.tsx
|
|
20983
|
-
var
|
|
21063
|
+
var import_runtime83 = require("@homebound/truss/runtime");
|
|
20984
21064
|
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
20985
21065
|
function Copy(props) {
|
|
20986
|
-
return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0,
|
|
21066
|
+
return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0, import_runtime83.mergeProps)("beam-copy", void 0, {
|
|
20987
21067
|
...{
|
|
20988
21068
|
fontWeight: "fw4",
|
|
20989
21069
|
fontSize: "fz_14px",
|
|
@@ -21012,7 +21092,7 @@ function useDnDGridContext() {
|
|
|
21012
21092
|
}
|
|
21013
21093
|
|
|
21014
21094
|
// src/components/DnDGrid/DnDGrid.tsx
|
|
21015
|
-
var
|
|
21095
|
+
var import_runtime84 = require("@homebound/truss/runtime");
|
|
21016
21096
|
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
21017
21097
|
function DnDGrid(props) {
|
|
21018
21098
|
const {
|
|
@@ -21195,7 +21275,7 @@ function DnDGrid(props) {
|
|
|
21195
21275
|
return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(DnDGridContext.Provider, { value: {
|
|
21196
21276
|
dragEl,
|
|
21197
21277
|
onDragHandleKeyDown
|
|
21198
|
-
}, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("div", { ref: gridEl, ...(0,
|
|
21278
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("div", { ref: gridEl, ...(0, import_runtime84.trussProps)({
|
|
21199
21279
|
...{
|
|
21200
21280
|
containerType: "ctis",
|
|
21201
21281
|
display: "dg"
|
|
@@ -21208,7 +21288,7 @@ var gridCloneKey = "dndgrid-clone";
|
|
|
21208
21288
|
|
|
21209
21289
|
// src/components/DnDGrid/DnDGridItemHandle.tsx
|
|
21210
21290
|
var import_react_aria50 = require("react-aria");
|
|
21211
|
-
var
|
|
21291
|
+
var import_runtime85 = require("@homebound/truss/runtime");
|
|
21212
21292
|
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
21213
21293
|
function DnDGridItemHandle(props) {
|
|
21214
21294
|
const {
|
|
@@ -21238,7 +21318,7 @@ function DnDGridItemHandle(props) {
|
|
|
21238
21318
|
borderRadius: "br4",
|
|
21239
21319
|
borderWidth: "bw1"
|
|
21240
21320
|
};
|
|
21241
|
-
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("button", { ...(0,
|
|
21321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("button", { ...(0, import_runtime85.trussProps)({
|
|
21242
21322
|
...compact ? iconButtonCompact2 : iconButtonNormal2,
|
|
21243
21323
|
...{
|
|
21244
21324
|
cursor: "cursor_grab",
|
|
@@ -21300,7 +21380,7 @@ var gridItemDataAttribute = "data-grid-item-span";
|
|
|
21300
21380
|
var ResponsiveGridContext = (0, import_react113.createContext)(void 0);
|
|
21301
21381
|
|
|
21302
21382
|
// src/components/Grid/ResponsiveGrid.tsx
|
|
21303
|
-
var
|
|
21383
|
+
var import_runtime86 = require("@homebound/truss/runtime");
|
|
21304
21384
|
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
21305
21385
|
function ResponsiveGrid(props) {
|
|
21306
21386
|
const {
|
|
@@ -21321,12 +21401,12 @@ function ResponsiveGrid(props) {
|
|
|
21321
21401
|
gap,
|
|
21322
21402
|
columns
|
|
21323
21403
|
}), [minColumnWidth, gap, columns]);
|
|
21324
|
-
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0,
|
|
21404
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime86.trussProps)(gridStyles), children }) });
|
|
21325
21405
|
}
|
|
21326
21406
|
|
|
21327
21407
|
// src/components/Grid/ResponsiveGridItem.tsx
|
|
21328
21408
|
var import_react_aria51 = require("react-aria");
|
|
21329
|
-
var
|
|
21409
|
+
var import_runtime87 = require("@homebound/truss/runtime");
|
|
21330
21410
|
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
21331
21411
|
function ResponsiveGridItem(props) {
|
|
21332
21412
|
const {
|
|
@@ -21339,12 +21419,12 @@ function ResponsiveGridItem(props) {
|
|
|
21339
21419
|
} = useResponsiveGridItem({
|
|
21340
21420
|
colSpan
|
|
21341
21421
|
});
|
|
21342
|
-
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0,
|
|
21422
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0, import_runtime87.trussProps)(gridItemStyles)), children });
|
|
21343
21423
|
}
|
|
21344
21424
|
|
|
21345
21425
|
// src/components/Grid/useResponsiveGrid.ts
|
|
21346
21426
|
var import_react115 = require("react");
|
|
21347
|
-
var
|
|
21427
|
+
var import_runtime88 = require("@homebound/truss/runtime");
|
|
21348
21428
|
var __maybeInc12 = (inc) => {
|
|
21349
21429
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
21350
21430
|
};
|
|
@@ -21363,11 +21443,11 @@ function useResponsiveGrid(props) {
|
|
|
21363
21443
|
return {
|
|
21364
21444
|
display: "dg",
|
|
21365
21445
|
gridTemplateColumns: ["gtc_var", {
|
|
21366
|
-
"--gridTemplateColumns": (0,
|
|
21446
|
+
"--gridTemplateColumns": (0, import_runtime88.maybeCssVar)(gridTemplateColumns)
|
|
21367
21447
|
}],
|
|
21368
21448
|
containerType: "ctis",
|
|
21369
21449
|
gap: ["gap_var", {
|
|
21370
|
-
"--gap": (0,
|
|
21450
|
+
"--gap": (0, import_runtime88.maybeCssVar)(__maybeInc12(gridGap))
|
|
21371
21451
|
}]
|
|
21372
21452
|
};
|
|
21373
21453
|
}, [minColumnWidth, gap, columns]);
|
|
@@ -21490,7 +21570,7 @@ function HbSpinnerProvider({
|
|
|
21490
21570
|
}
|
|
21491
21571
|
|
|
21492
21572
|
// src/components/HomeboundLogo.tsx
|
|
21493
|
-
var
|
|
21573
|
+
var import_runtime89 = require("@homebound/truss/runtime");
|
|
21494
21574
|
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
21495
21575
|
var __maybeInc13 = (inc) => {
|
|
21496
21576
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -21501,15 +21581,15 @@ function HomeboundLogo(props) {
|
|
|
21501
21581
|
width: width2 = "auto",
|
|
21502
21582
|
height = "auto"
|
|
21503
21583
|
} = props;
|
|
21504
|
-
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0,
|
|
21584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime89.trussProps)({
|
|
21505
21585
|
fill: ["fill_var", {
|
|
21506
|
-
"--fill": (0,
|
|
21586
|
+
"--fill": (0, import_runtime89.maybeCssVar)(fill)
|
|
21507
21587
|
}],
|
|
21508
21588
|
width: ["w_var", {
|
|
21509
|
-
"--width": (0,
|
|
21589
|
+
"--width": (0, import_runtime89.maybeCssVar)(__maybeInc13(width2))
|
|
21510
21590
|
}],
|
|
21511
21591
|
height: ["h_var", {
|
|
21512
|
-
"--height": (0,
|
|
21592
|
+
"--height": (0, import_runtime89.maybeCssVar)(__maybeInc13(height))
|
|
21513
21593
|
}]
|
|
21514
21594
|
}), children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
|
|
21515
21595
|
}
|
|
@@ -21517,7 +21597,7 @@ function HomeboundLogo(props) {
|
|
|
21517
21597
|
// src/components/MaxLines.tsx
|
|
21518
21598
|
var import_utils129 = require("@react-aria/utils");
|
|
21519
21599
|
var import_react118 = require("react");
|
|
21520
|
-
var
|
|
21600
|
+
var import_runtime90 = require("@homebound/truss/runtime");
|
|
21521
21601
|
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
21522
21602
|
function MaxLines({
|
|
21523
21603
|
maxLines,
|
|
@@ -21542,10 +21622,10 @@ function MaxLines({
|
|
|
21542
21622
|
onResize
|
|
21543
21623
|
});
|
|
21544
21624
|
return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)("div", { children: [
|
|
21545
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { ref: elRef, ...(0,
|
|
21625
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { ref: elRef, ...(0, import_runtime90.trussProps)({
|
|
21546
21626
|
...!expanded ? {
|
|
21547
21627
|
WebkitLineClamp: ["lineClamp_var", {
|
|
21548
|
-
"--WebkitLineClamp": (0,
|
|
21628
|
+
"--WebkitLineClamp": (0, import_runtime90.maybeCssVar)(maxLines)
|
|
21549
21629
|
}],
|
|
21550
21630
|
overflow: "oh",
|
|
21551
21631
|
display: "d_negwebkit_box",
|
|
@@ -21568,7 +21648,7 @@ var import_react121 = require("react");
|
|
|
21568
21648
|
// src/components/AppNav/AppNavGroupTrigger.tsx
|
|
21569
21649
|
var import_react119 = require("react");
|
|
21570
21650
|
var import_react_aria52 = require("react-aria");
|
|
21571
|
-
var
|
|
21651
|
+
var import_runtime91 = require("@homebound/truss/runtime");
|
|
21572
21652
|
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
21573
21653
|
function AppNavGroupTrigger(props) {
|
|
21574
21654
|
const {
|
|
@@ -21604,7 +21684,7 @@ function AppNavGroupTrigger(props) {
|
|
|
21604
21684
|
ref,
|
|
21605
21685
|
"aria-expanded": expanded,
|
|
21606
21686
|
"aria-controls": navGroupId,
|
|
21607
|
-
...(0,
|
|
21687
|
+
...(0, import_runtime91.mergeProps)(navLink, void 0, {
|
|
21608
21688
|
...baseStyles5,
|
|
21609
21689
|
...isFocusVisible && focusRingStyles2,
|
|
21610
21690
|
...isHovered && hoverStyles4,
|
|
@@ -21612,7 +21692,7 @@ function AppNavGroupTrigger(props) {
|
|
|
21612
21692
|
})
|
|
21613
21693
|
}), children: [
|
|
21614
21694
|
label,
|
|
21615
|
-
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { ...(0,
|
|
21695
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { ...(0, import_runtime91.trussProps)({
|
|
21616
21696
|
...{
|
|
21617
21697
|
display: "df",
|
|
21618
21698
|
alignItems: "aic",
|
|
@@ -21765,7 +21845,7 @@ function useAppNavGroupExpanded(linkGroup) {
|
|
|
21765
21845
|
}
|
|
21766
21846
|
|
|
21767
21847
|
// src/components/AppNav/AppNavGroup.tsx
|
|
21768
|
-
var
|
|
21848
|
+
var import_runtime92 = require("@homebound/truss/runtime");
|
|
21769
21849
|
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
21770
21850
|
var __maybeInc14 = (inc) => {
|
|
21771
21851
|
return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
|
|
@@ -21810,11 +21890,11 @@ function AppNavGroupDisclosure(props) {
|
|
|
21810
21890
|
});
|
|
21811
21891
|
return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { className: "df fdc", ...tid, children: [
|
|
21812
21892
|
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, onClick: onToggle, ...tid }),
|
|
21813
|
-
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0,
|
|
21893
|
+
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime92.trussProps)({
|
|
21814
21894
|
overflow: "oh",
|
|
21815
21895
|
transition: "transitionHeight",
|
|
21816
21896
|
height: ["h_var", {
|
|
21817
|
-
"--height": (0,
|
|
21897
|
+
"--height": (0, import_runtime92.maybeCssVar)(__maybeInc14(contentHeight))
|
|
21818
21898
|
}]
|
|
21819
21899
|
}), ...tid.panel, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { ref: setContentEl, className: "df fdc pl2", children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(AppNavItems, { items: linkGroup.items, panelCollapsed: false, ...tid }) }) })
|
|
21820
21900
|
] });
|
|
@@ -21842,7 +21922,7 @@ function AppNavGroupMenu({
|
|
|
21842
21922
|
}
|
|
21843
21923
|
|
|
21844
21924
|
// src/components/AppNav/AppNavSectionView.tsx
|
|
21845
|
-
var
|
|
21925
|
+
var import_runtime93 = require("@homebound/truss/runtime");
|
|
21846
21926
|
var import_jsx_runtime169 = require("react/jsx-runtime");
|
|
21847
21927
|
function AppNavSectionView(props) {
|
|
21848
21928
|
const {
|
|
@@ -21868,7 +21948,7 @@ function AppNavSectionView(props) {
|
|
|
21868
21948
|
"--borderColor": "var(--b-surface-separator)"
|
|
21869
21949
|
}]
|
|
21870
21950
|
};
|
|
21871
|
-
return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("div", { ...(0,
|
|
21951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("div", { ...(0, import_runtime93.trussProps)({
|
|
21872
21952
|
...{
|
|
21873
21953
|
display: "df",
|
|
21874
21954
|
flexDirection: "fdc",
|
|
@@ -21876,7 +21956,7 @@ function AppNavSectionView(props) {
|
|
|
21876
21956
|
},
|
|
21877
21957
|
...showDivider ? dividerStyles : {}
|
|
21878
21958
|
}), ...tid, children: [
|
|
21879
|
-
section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...(0,
|
|
21959
|
+
section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...(0, import_runtime93.trussProps)({
|
|
21880
21960
|
fontWeight: "fw6",
|
|
21881
21961
|
fontSize: "fz_10px",
|
|
21882
21962
|
lineHeight: "lh_14px",
|
|
@@ -21944,7 +22024,7 @@ var import_react122 = require("react");
|
|
|
21944
22024
|
var import_react_aria53 = require("react-aria");
|
|
21945
22025
|
var import_react_dom6 = require("react-dom");
|
|
21946
22026
|
var import_react_router_dom5 = require("react-router-dom");
|
|
21947
|
-
var
|
|
22027
|
+
var import_runtime94 = require("@homebound/truss/runtime");
|
|
21948
22028
|
var import_jsx_runtime171 = require("react/jsx-runtime");
|
|
21949
22029
|
function NavbarMobileMenu(props) {
|
|
21950
22030
|
const {
|
|
@@ -21974,14 +22054,14 @@ function NavbarMobileDrawer({
|
|
|
21974
22054
|
tid
|
|
21975
22055
|
}) {
|
|
21976
22056
|
return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_jsx_runtime171.Fragment, { children: [
|
|
21977
|
-
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_framer_motion5.motion.div, { ...(0,
|
|
22057
|
+
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_framer_motion5.motion.div, { ...(0, import_runtime94.trussProps)({
|
|
21978
22058
|
position: "fixed",
|
|
21979
22059
|
top: "top0",
|
|
21980
22060
|
right: "right0",
|
|
21981
22061
|
bottom: "bottom0",
|
|
21982
22062
|
left: "left0",
|
|
21983
22063
|
zIndex: ["z_var", {
|
|
21984
|
-
"--zIndex": (0,
|
|
22064
|
+
"--zIndex": (0, import_runtime94.maybeCssVar)(zIndices.modalUnderlay)
|
|
21985
22065
|
}],
|
|
21986
22066
|
backgroundColor: "backgroundColor_rgba_36_36_36_0_2"
|
|
21987
22067
|
}), initial: {
|
|
@@ -21994,7 +22074,7 @@ function NavbarMobileDrawer({
|
|
|
21994
22074
|
ease: "linear",
|
|
21995
22075
|
duration: 0.2
|
|
21996
22076
|
}, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
|
|
21997
|
-
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_react_aria53.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_framer_motion5.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0,
|
|
22077
|
+
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_react_aria53.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_framer_motion5.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime94.trussProps)({
|
|
21998
22078
|
position: "fixed",
|
|
21999
22079
|
top: "top0",
|
|
22000
22080
|
bottom: "bottom0",
|
|
@@ -22005,7 +22085,7 @@ function NavbarMobileDrawer({
|
|
|
22005
22085
|
width: "w100",
|
|
22006
22086
|
overflow: "oh",
|
|
22007
22087
|
zIndex: ["z_var", {
|
|
22008
|
-
"--zIndex": (0,
|
|
22088
|
+
"--zIndex": (0, import_runtime94.maybeCssVar)(zIndices.sideNav)
|
|
22009
22089
|
}],
|
|
22010
22090
|
backgroundColor: ["bgColor_var", {
|
|
22011
22091
|
"--backgroundColor": "var(--b-surface)"
|
|
@@ -22039,7 +22119,7 @@ function NavbarMobileDrawer({
|
|
|
22039
22119
|
}
|
|
22040
22120
|
|
|
22041
22121
|
// src/components/Navbar/Navbar.tsx
|
|
22042
|
-
var
|
|
22122
|
+
var import_runtime95 = require("@homebound/truss/runtime");
|
|
22043
22123
|
var import_jsx_runtime172 = require("react/jsx-runtime");
|
|
22044
22124
|
function Navbar(props) {
|
|
22045
22125
|
const {
|
|
@@ -22058,7 +22138,7 @@ function Navbar(props) {
|
|
|
22058
22138
|
overflows
|
|
22059
22139
|
} = useContentOverflow(!sm);
|
|
22060
22140
|
const showMobile = sm || overflows;
|
|
22061
|
-
return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("nav", { ...(0,
|
|
22141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("nav", { ...(0, import_runtime95.trussProps)({
|
|
22062
22142
|
backgroundColor: "bgGray800",
|
|
22063
22143
|
flexShrink: "fs0",
|
|
22064
22144
|
display: "df",
|
|
@@ -22082,7 +22162,7 @@ function Navbar(props) {
|
|
|
22082
22162
|
] }),
|
|
22083
22163
|
!sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
|
|
22084
22164
|
// can expand again as space frees up.
|
|
22085
|
-
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ref: containerRef, ...(0,
|
|
22165
|
+
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ref: containerRef, ...(0, import_runtime95.trussProps)({
|
|
22086
22166
|
display: "df",
|
|
22087
22167
|
alignItems: "aic",
|
|
22088
22168
|
flexGrow: "fg1",
|
|
@@ -22117,7 +22197,7 @@ var import_react123 = require("react");
|
|
|
22117
22197
|
var import_react_aria54 = require("react-aria");
|
|
22118
22198
|
var import_react_router = require("react-router");
|
|
22119
22199
|
var import_react_router_dom6 = require("react-router-dom");
|
|
22120
|
-
var
|
|
22200
|
+
var import_runtime96 = require("@homebound/truss/runtime");
|
|
22121
22201
|
var import_jsx_runtime173 = require("react/jsx-runtime");
|
|
22122
22202
|
function TabsWithContent(props) {
|
|
22123
22203
|
const styles = hideTabs(props) ? {} : {
|
|
@@ -22150,7 +22230,7 @@ function TabContent(props) {
|
|
|
22150
22230
|
return (
|
|
22151
22231
|
// Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
|
|
22152
22232
|
// Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
|
|
22153
|
-
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0,
|
|
22233
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime96.trussProps)(contentXss), children: selectedTab.render() }) })
|
|
22154
22234
|
);
|
|
22155
22235
|
}
|
|
22156
22236
|
function Tabs(props) {
|
|
@@ -22192,7 +22272,7 @@ function Tabs(props) {
|
|
|
22192
22272
|
setActive(selected);
|
|
22193
22273
|
}
|
|
22194
22274
|
}
|
|
22195
|
-
return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("div", { ...(0,
|
|
22275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("div", { ...(0, import_runtime96.trussProps)({
|
|
22196
22276
|
...{
|
|
22197
22277
|
display: "df",
|
|
22198
22278
|
alignItems: "aic",
|
|
@@ -22256,7 +22336,7 @@ function TabImpl(props) {
|
|
|
22256
22336
|
role: "tab",
|
|
22257
22337
|
tabIndex: active ? 0 : -1,
|
|
22258
22338
|
...others,
|
|
22259
|
-
...(0,
|
|
22339
|
+
...(0, import_runtime96.trussProps)({
|
|
22260
22340
|
...baseStyles5,
|
|
22261
22341
|
...active && activeStyles3,
|
|
22262
22342
|
...isDisabled && disabledStyles4,
|
|
@@ -22293,7 +22373,7 @@ function getTabStyles() {
|
|
|
22293
22373
|
const borderBottomStyles = {
|
|
22294
22374
|
borderBottomStyle: "bbs_solid",
|
|
22295
22375
|
borderBottomWidth: ["borderBottomWidth_var", {
|
|
22296
|
-
"--borderBottomWidth": (0,
|
|
22376
|
+
"--borderBottomWidth": (0, import_runtime96.maybeCssVar)(`${borderBottomWidthPx}px`)
|
|
22297
22377
|
}],
|
|
22298
22378
|
paddingBottom: ["pb_var", {
|
|
22299
22379
|
"--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
|
|
@@ -22377,7 +22457,7 @@ function hideTabs(props) {
|
|
|
22377
22457
|
}
|
|
22378
22458
|
|
|
22379
22459
|
// src/components/PageHeader.tsx
|
|
22380
|
-
var
|
|
22460
|
+
var import_runtime97 = require("@homebound/truss/runtime");
|
|
22381
22461
|
var import_jsx_runtime174 = require("react/jsx-runtime");
|
|
22382
22462
|
function PageHeader2(props) {
|
|
22383
22463
|
const {
|
|
@@ -22387,7 +22467,7 @@ function PageHeader2(props) {
|
|
|
22387
22467
|
...otherProps
|
|
22388
22468
|
} = props;
|
|
22389
22469
|
const tid = useTestIds(otherProps, "pageHeader");
|
|
22390
|
-
return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("header", { ...tid, ...(0,
|
|
22470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("header", { ...tid, ...(0, import_runtime97.trussProps)({
|
|
22391
22471
|
display: "df",
|
|
22392
22472
|
flexDirection: "fdc",
|
|
22393
22473
|
paddingTop: "pt3",
|
|
@@ -22413,7 +22493,7 @@ function PageHeader2(props) {
|
|
|
22413
22493
|
// src/components/ScrollShadows.tsx
|
|
22414
22494
|
var import_utils139 = require("@react-aria/utils");
|
|
22415
22495
|
var import_react124 = require("react");
|
|
22416
|
-
var
|
|
22496
|
+
var import_runtime98 = require("@homebound/truss/runtime");
|
|
22417
22497
|
var import_jsx_runtime175 = require("react/jsx-runtime");
|
|
22418
22498
|
function ScrollShadows(props) {
|
|
22419
22499
|
const {
|
|
@@ -22438,7 +22518,7 @@ function ScrollShadows(props) {
|
|
|
22438
22518
|
const commonStyles = {
|
|
22439
22519
|
position: "absolute",
|
|
22440
22520
|
zIndex: ["z_var", {
|
|
22441
|
-
"--zIndex": (0,
|
|
22521
|
+
"--zIndex": (0, import_runtime98.maybeCssVar)(zIndices.scrollShadow)
|
|
22442
22522
|
}],
|
|
22443
22523
|
pointerEvents: "pointerEvents_none"
|
|
22444
22524
|
};
|
|
@@ -22471,7 +22551,7 @@ function ScrollShadows(props) {
|
|
|
22471
22551
|
...startShadowStyles2,
|
|
22472
22552
|
...{
|
|
22473
22553
|
background: ["background_var", {
|
|
22474
|
-
"--background": (0,
|
|
22554
|
+
"--background": (0, import_runtime98.maybeCssVar)(startGradient)
|
|
22475
22555
|
}]
|
|
22476
22556
|
}
|
|
22477
22557
|
}, {
|
|
@@ -22479,7 +22559,7 @@ function ScrollShadows(props) {
|
|
|
22479
22559
|
...endShadowStyles2,
|
|
22480
22560
|
...{
|
|
22481
22561
|
background: ["background_var", {
|
|
22482
|
-
"--background": (0,
|
|
22562
|
+
"--background": (0, import_runtime98.maybeCssVar)(endGradient)
|
|
22483
22563
|
}]
|
|
22484
22564
|
}
|
|
22485
22565
|
}];
|
|
@@ -22504,10 +22584,10 @@ function ScrollShadows(props) {
|
|
|
22504
22584
|
ref: scrollRef,
|
|
22505
22585
|
onResize
|
|
22506
22586
|
});
|
|
22507
|
-
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0,
|
|
22587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime98.trussProps)({
|
|
22508
22588
|
display: "df",
|
|
22509
22589
|
flexDirection: ["fd_var", {
|
|
22510
|
-
"--flexDirection": (0,
|
|
22590
|
+
"--flexDirection": (0, import_runtime98.maybeCssVar)(!horizontal ? "column" : "row")
|
|
22511
22591
|
}],
|
|
22512
22592
|
position: "relative",
|
|
22513
22593
|
overflow: "oh",
|
|
@@ -22520,23 +22600,23 @@ function ScrollShadows(props) {
|
|
|
22520
22600
|
width: width2
|
|
22521
22601
|
}
|
|
22522
22602
|
}), ...tid, children: [
|
|
22523
|
-
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0,
|
|
22603
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
|
|
22524
22604
|
...startShadowStyles,
|
|
22525
22605
|
...{
|
|
22526
22606
|
opacity: ["o_var", {
|
|
22527
|
-
"--opacity": (0,
|
|
22607
|
+
"--opacity": (0, import_runtime98.maybeCssVar)(showStartShadow ? 1 : 0)
|
|
22528
22608
|
}]
|
|
22529
22609
|
}
|
|
22530
22610
|
}), "data-chromatic": "ignore" }),
|
|
22531
|
-
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0,
|
|
22611
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
|
|
22532
22612
|
...endShadowStyles,
|
|
22533
22613
|
...{
|
|
22534
22614
|
opacity: ["o_var", {
|
|
22535
|
-
"--opacity": (0,
|
|
22615
|
+
"--opacity": (0, import_runtime98.maybeCssVar)(showEndShadow ? 1 : 0)
|
|
22536
22616
|
}]
|
|
22537
22617
|
}
|
|
22538
22618
|
}), "data-chromatic": "ignore" }),
|
|
22539
|
-
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0,
|
|
22619
|
+
/* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
|
|
22540
22620
|
...xss,
|
|
22541
22621
|
...{
|
|
22542
22622
|
overflow: "oa",
|
|
@@ -22607,7 +22687,7 @@ function useHasSideNavLayoutProvider() {
|
|
|
22607
22687
|
}
|
|
22608
22688
|
|
|
22609
22689
|
// src/components/SideNav/SideNav.tsx
|
|
22610
|
-
var
|
|
22690
|
+
var import_runtime99 = require("@homebound/truss/runtime");
|
|
22611
22691
|
var import_jsx_runtime177 = require("react/jsx-runtime");
|
|
22612
22692
|
function SideNav(props) {
|
|
22613
22693
|
const {
|
|
@@ -22622,7 +22702,7 @@ function SideNav(props) {
|
|
|
22622
22702
|
const panelCollapsed = navState === "collapse";
|
|
22623
22703
|
const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
|
|
22624
22704
|
return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
|
|
22625
|
-
top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0,
|
|
22705
|
+
top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
|
|
22626
22706
|
flexShrink: "fs0",
|
|
22627
22707
|
paddingLeft: "pl2",
|
|
22628
22708
|
paddingRight: "pr2",
|
|
@@ -22633,7 +22713,7 @@ function SideNav(props) {
|
|
|
22633
22713
|
paddingBottom: "pb4"
|
|
22634
22714
|
} : {}
|
|
22635
22715
|
}), ...tid.top, children: top }),
|
|
22636
|
-
/* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0,
|
|
22716
|
+
/* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
|
|
22637
22717
|
flexGrow: "fg1",
|
|
22638
22718
|
overflowY: "oya",
|
|
22639
22719
|
display: "df",
|
|
@@ -22646,7 +22726,7 @@ function SideNav(props) {
|
|
|
22646
22726
|
paddingTop: "pt5"
|
|
22647
22727
|
} : {}
|
|
22648
22728
|
}), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(AppNavItems, { items, panelCollapsed }) }),
|
|
22649
|
-
footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0,
|
|
22729
|
+
footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
|
|
22650
22730
|
flexShrink: "fs0",
|
|
22651
22731
|
paddingLeft: "pl2",
|
|
22652
22732
|
paddingRight: "pr2",
|
|
@@ -22723,7 +22803,7 @@ var snackbarId = 1;
|
|
|
22723
22803
|
// src/components/Stepper.tsx
|
|
22724
22804
|
var import_react127 = require("react");
|
|
22725
22805
|
var import_react_aria55 = require("react-aria");
|
|
22726
|
-
var
|
|
22806
|
+
var import_runtime100 = require("@homebound/truss/runtime");
|
|
22727
22807
|
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
22728
22808
|
var import_react128 = require("react");
|
|
22729
22809
|
var __maybeInc15 = (inc) => {
|
|
@@ -22744,7 +22824,7 @@ function Stepper(props) {
|
|
|
22744
22824
|
const minStepWidth = 100;
|
|
22745
22825
|
const gap = 8;
|
|
22746
22826
|
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
|
|
22747
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)("ol", { ...(0,
|
|
22827
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)("ol", { ...(0, import_runtime100.trussProps)({
|
|
22748
22828
|
padding: "p_0",
|
|
22749
22829
|
margin: "m_0",
|
|
22750
22830
|
listStyle: "lis_none",
|
|
@@ -22754,7 +22834,7 @@ function Stepper(props) {
|
|
|
22754
22834
|
}]
|
|
22755
22835
|
}), children: steps.map((step) => {
|
|
22756
22836
|
const isCurrent = currentStep === step.value;
|
|
22757
|
-
return /* @__PURE__ */ (0, import_react128.createElement)("li", { ...(0,
|
|
22837
|
+
return /* @__PURE__ */ (0, import_react128.createElement)("li", { ...(0, import_runtime100.trussProps)({
|
|
22758
22838
|
display: "df",
|
|
22759
22839
|
flexGrow: "fg1",
|
|
22760
22840
|
flexDirection: "fdc",
|
|
@@ -22766,7 +22846,7 @@ function Stepper(props) {
|
|
|
22766
22846
|
}]
|
|
22767
22847
|
}), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
|
|
22768
22848
|
}) }),
|
|
22769
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0,
|
|
22849
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
|
|
22770
22850
|
marginTop: "mt1",
|
|
22771
22851
|
backgroundColor: "bgGray300",
|
|
22772
22852
|
height: "h_4px",
|
|
@@ -22777,12 +22857,12 @@ function Stepper(props) {
|
|
|
22777
22857
|
"--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
|
|
22778
22858
|
}],
|
|
22779
22859
|
width: "w100"
|
|
22780
|
-
}), children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0,
|
|
22860
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
|
|
22781
22861
|
backgroundColor: "bgBlue600",
|
|
22782
22862
|
transition: "transition_width_200ms",
|
|
22783
22863
|
height: "h100",
|
|
22784
22864
|
width: ["w_var", {
|
|
22785
|
-
"--width": (0,
|
|
22865
|
+
"--width": (0, import_runtime100.maybeCssVar)(__maybeInc15(`${(lastCompletedStep + 1) / steps.length * 100}%`))
|
|
22786
22866
|
}]
|
|
22787
22867
|
}) }) })
|
|
22788
22868
|
] });
|
|
@@ -22818,7 +22898,7 @@ function StepButton(props) {
|
|
|
22818
22898
|
boxShadow: "bshFocus"
|
|
22819
22899
|
};
|
|
22820
22900
|
const tid = useTestIds(props, "stepButton");
|
|
22821
|
-
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0,
|
|
22901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime100.trussProps)({
|
|
22822
22902
|
...{
|
|
22823
22903
|
fontWeight: "fw6",
|
|
22824
22904
|
fontSize: "fz_14px",
|
|
@@ -22886,7 +22966,7 @@ function StepIcon({
|
|
|
22886
22966
|
if (state === "complete") {
|
|
22887
22967
|
return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Icon, { icon: "check" });
|
|
22888
22968
|
}
|
|
22889
|
-
return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0,
|
|
22969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
|
|
22890
22970
|
width: "w_10px",
|
|
22891
22971
|
height: "h_10px",
|
|
22892
22972
|
borderStyle: "bss",
|
|
@@ -22901,7 +22981,7 @@ function StepIcon({
|
|
|
22901
22981
|
|
|
22902
22982
|
// src/components/SuperDrawer/components/SuperDrawerHeader.tsx
|
|
22903
22983
|
var import_react_dom7 = require("react-dom");
|
|
22904
|
-
var
|
|
22984
|
+
var import_runtime101 = require("@homebound/truss/runtime");
|
|
22905
22985
|
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
22906
22986
|
function SuperDrawerHeader(props) {
|
|
22907
22987
|
const {
|
|
@@ -22927,7 +23007,7 @@ function SuperDrawerHeader(props) {
|
|
|
22927
23007
|
] }),
|
|
22928
23008
|
props.right && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "fs0", children: props.right })
|
|
22929
23009
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "fg1", children: props.children }),
|
|
22930
|
-
!hideControls && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0,
|
|
23010
|
+
!hideControls && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime101.trussProps)({
|
|
22931
23011
|
flexShrink: "fs0",
|
|
22932
23012
|
...isDetail ? {
|
|
22933
23013
|
visibility: "vh"
|
|
@@ -23107,7 +23187,7 @@ function canClose(canCloseCheck) {
|
|
|
23107
23187
|
}
|
|
23108
23188
|
|
|
23109
23189
|
// src/components/SuperDrawer/SuperDrawerContent.tsx
|
|
23110
|
-
var
|
|
23190
|
+
var import_runtime102 = require("@homebound/truss/runtime");
|
|
23111
23191
|
var import_jsx_runtime182 = require("react/jsx-runtime");
|
|
23112
23192
|
var SuperDrawerContent = ({
|
|
23113
23193
|
children,
|
|
@@ -23156,7 +23236,7 @@ var SuperDrawerContent = ({
|
|
|
23156
23236
|
}, className: "pt2", children: children2 })
|
|
23157
23237
|
] }, "content");
|
|
23158
23238
|
} else {
|
|
23159
|
-
return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_framer_motion6.motion.div, { ...(0,
|
|
23239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime102.mergeProps)(void 0, {
|
|
23160
23240
|
overflow: "auto"
|
|
23161
23241
|
}, {
|
|
23162
23242
|
paddingTop: "pt3",
|
|
@@ -23200,7 +23280,7 @@ function useToast() {
|
|
|
23200
23280
|
}
|
|
23201
23281
|
|
|
23202
23282
|
// src/layouts/SideNavLayout/SideNavLayout.tsx
|
|
23203
|
-
var
|
|
23283
|
+
var import_runtime103 = require("@homebound/truss/runtime");
|
|
23204
23284
|
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
23205
23285
|
function SideNavLayout(props) {
|
|
23206
23286
|
const hasProvider = useHasSideNavLayoutProvider();
|
|
@@ -23225,7 +23305,7 @@ function SideNavLayoutContent(props) {
|
|
|
23225
23305
|
const railCollapsedWidthPx = 56;
|
|
23226
23306
|
const collapsed = navState === "collapse";
|
|
23227
23307
|
const showRail = sideNav !== void 0 && navState !== "hidden";
|
|
23228
|
-
const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0,
|
|
23308
|
+
const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime103.trussProps)({
|
|
23229
23309
|
...{
|
|
23230
23310
|
position: "absolute",
|
|
23231
23311
|
top: "top0",
|
|
@@ -23249,7 +23329,7 @@ function SideNavLayoutContent(props) {
|
|
|
23249
23329
|
overflow: "oh",
|
|
23250
23330
|
transition: "transitionWidth",
|
|
23251
23331
|
zIndex: ["zIndex_var", {
|
|
23252
|
-
"--zIndex": (0,
|
|
23332
|
+
"--zIndex": (0, import_runtime103.maybeCssVar)(zIndices.sideNav)
|
|
23253
23333
|
}]
|
|
23254
23334
|
},
|
|
23255
23335
|
...collapsed ? {
|