@hyperbridge/ui 0.0.20 → 0.0.21
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.mjs +8 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4188,7 +4188,7 @@ var WalletHeaderTabsContent = React14.forwardRef((_a, ref) => {
|
|
|
4188
4188
|
WalletHeaderTabsContent.displayName = "WalletHeaderTabsContent";
|
|
4189
4189
|
var WalletHeaderContentBlur = React14.forwardRef((_a, ref) => {
|
|
4190
4190
|
var _b = _a, { className, children, asChild = false } = _b, props = __objRest(_b, ["className", "children", "asChild"]);
|
|
4191
|
-
const { show: open } = useWalletHeader();
|
|
4191
|
+
const { show: open, setShow } = useWalletHeader();
|
|
4192
4192
|
const Comp = asChild ? Slot10 : "div";
|
|
4193
4193
|
return /* @__PURE__ */ jsx41(
|
|
4194
4194
|
Comp,
|
|
@@ -4197,10 +4197,15 @@ var WalletHeaderContentBlur = React14.forwardRef((_a, ref) => {
|
|
|
4197
4197
|
className: cn(
|
|
4198
4198
|
"transition-all pt-[1rem]",
|
|
4199
4199
|
{
|
|
4200
|
-
"opacity-15
|
|
4200
|
+
"opacity-15 filter blur-[2px]": open
|
|
4201
4201
|
},
|
|
4202
4202
|
className
|
|
4203
|
-
)
|
|
4203
|
+
),
|
|
4204
|
+
onClick: (e) => {
|
|
4205
|
+
var _a2;
|
|
4206
|
+
if (open) setShow(false);
|
|
4207
|
+
(_a2 = props.onClick) == null ? void 0 : _a2.call(props, e);
|
|
4208
|
+
}
|
|
4204
4209
|
}, props), {
|
|
4205
4210
|
children
|
|
4206
4211
|
})
|