@homebound/beam 2.413.0-alpha.1 → 2.413.0-alpha.3
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7202,7 +7202,7 @@ var variantStyles = (contrast) => ({
|
|
|
7202
7202
|
}
|
|
7203
7203
|
});
|
|
7204
7204
|
var sizeStyles = {
|
|
7205
|
-
sm: Css.hPx(
|
|
7205
|
+
sm: Css.hPx(40).pxPx(12).$,
|
|
7206
7206
|
md: Css.hPx(40).px1.$,
|
|
7207
7207
|
lg: Css.hPx(48).px3.$
|
|
7208
7208
|
};
|
|
@@ -17016,6 +17016,7 @@ function Filters(props) {
|
|
|
17016
17016
|
Button,
|
|
17017
17017
|
{
|
|
17018
17018
|
label: "More Filters",
|
|
17019
|
+
size: "md",
|
|
17019
17020
|
endAdornment: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(CountBadge, { count: numModalFilters, hideIfZero: true }),
|
|
17020
17021
|
variant: "secondary",
|
|
17021
17022
|
onClick: () => openModal({
|
|
@@ -17025,7 +17026,7 @@ function Filters(props) {
|
|
|
17025
17026
|
...testId.moreFiltersBtn
|
|
17026
17027
|
}
|
|
17027
17028
|
),
|
|
17028
|
-
Object.keys(filter).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
|
|
17029
|
+
Object.keys(filter).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
|
|
17029
17030
|
]
|
|
17030
17031
|
}
|
|
17031
17032
|
);
|
|
@@ -17132,7 +17133,7 @@ function FilterDropdownMenu(props) {
|
|
|
17132
17133
|
}
|
|
17133
17134
|
),
|
|
17134
17135
|
renderFilters(),
|
|
17135
|
-
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
|
|
17136
|
+
activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
|
|
17136
17137
|
] }),
|
|
17137
17138
|
!isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
|
|
17138
17139
|
FilterChips,
|
|
@@ -17184,7 +17185,7 @@ function FilterChips({
|
|
|
17184
17185
|
if (chips.length === 0) return null;
|
|
17185
17186
|
return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { css: Css.df.gap1.fww.aic.order(1).$, children: [
|
|
17186
17187
|
chips,
|
|
17187
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
|
|
17188
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
|
|
17188
17189
|
] });
|
|
17189
17190
|
}
|
|
17190
17191
|
function buildFilterImpls(filterDefs) {
|