@powerhousedao/design-system 6.0.0-dev.50 → 6.0.0-dev.52
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/src/connect/components/animated-loader/animated-loader.js +1 -1
- package/dist/src/connect/components/animated-loader/animated-loader.js.map +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.js +1 -1
- package/dist/src/connect/components/ens-avatar/ens-avatar.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.js +2 -2
- package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js +2 -2
- package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getDimensions } from "@powerhousedao/design-system";
|
|
3
|
-
const ConnectLoaderVideo = new URL("
|
|
3
|
+
const ConnectLoaderVideo = new URL("../../../../assets/connect-loader.mp4", import.meta.url).href;
|
|
4
4
|
export function AnimatedLoader(props) {
|
|
5
5
|
const { style, size = 100, ...delegatedProps } = props;
|
|
6
6
|
const dimensions = getDimensions(size);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animated-loader.js","sourceRoot":"","sources":["../../../../../src/connect/components/animated-loader/animated-loader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAG7D,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAChC,
|
|
1
|
+
{"version":3,"file":"animated-loader.js","sourceRoot":"","sources":["../../../../../src/connect/components/animated-loader/animated-loader.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAG7D,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAChC,uCAAuC,EACvC,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC;AAKP,MAAM,UAAU,cAAc,CAAC,KAAY;IACzC,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK,CAAC;IAEvD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,MAAM,GAAkB;QAC5B,SAAS,EAAE,SAAS;QACpB,aAAa,EAAE,MAAM;QACrB,GAAG,UAAU;QACb,GAAG,KAAK;KACT,CAAC;IAEF,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAEpD,OAAO,CACL,gBACE,QAAQ,QACR,MAAM,EAAE,MAAM,EACd,IAAI,QACJ,KAAK,QACL,WAAW,QACX,KAAK,EAAE,KAAK,KACR,cAAc,EAClB,KAAK,EAAE,MAAM,YAEb,iBAAQ,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAC,WAAW,GAAG,GAC9C,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEnsAvatar, useEnsName } from "wagmi";
|
|
3
|
-
const ImgPowerhouse = new URL("
|
|
3
|
+
const ImgPowerhouse = new URL("../../../../assets/powerhouse-rounded.png", import.meta.url).href;
|
|
4
4
|
export function ENSAvatar(props) {
|
|
5
5
|
const { address, chainId = 1, size = "14px" } = props;
|
|
6
6
|
const style = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ens-avatar.js","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,aAAa,GAAG,IAAI,GAAG,CAC3B,
|
|
1
|
+
{"version":3,"file":"ens-avatar.js","sourceRoot":"","sources":["../../../../../src/connect/components/ens-avatar/ens-avatar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,aAAa,GAAG,IAAI,GAAG,CAC3B,2CAA2C,EAC3C,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC;AAOP,MAAM,UAAU,SAAS,CAAC,KAAY;IACpC,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,CAAC,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IACtD,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;KACb,CAAC;IACF,MAAM,aAAa,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,IAAI,SAAS,CAAC;IAC7C,MAAM,eAAe,GAAG,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,MAAM,SAAS,GAAG,eAAe,CAAC,IAAI,IAAI,aAAa,CAAC;IACxD,MAAM,SAAS,GAAG,aAAa,CAAC,SAAS,IAAI,eAAe,CAAC,SAAS,CAAC;IAEvE,IAAI,SAAS;QACX,OAAO,CACL,cACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;IAEJ,OAAO,CACL,cACE,GAAG,EAAC,YAAY,EAChB,SAAS,EAAC,uCAAuC,EACjD,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"home-background-image.d.ts","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,4CAOlC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const HomeBgAvif = new URL("
|
|
3
|
-
const HomeBg = new URL("../../../../../assets/home-bg.png", import.meta.url)
|
|
2
|
+
const HomeBgAvif = new URL("../../../../assets/home-bg.avif", import.meta.url)
|
|
4
3
|
.href;
|
|
4
|
+
const HomeBg = new URL("../../../../assets/home-bg.png", import.meta.url).href;
|
|
5
5
|
export function HomeBackgroundImage() {
|
|
6
6
|
return (_jsxs("picture", { className: "pointer-events-none absolute inset-8 z-0 size-[calc(100%-32px)] object-contain", children: [_jsx("source", { srcSet: HomeBgAvif, type: "image/avif" }), _jsx("img", { src: HomeBg, alt: "background", className: "object-contain" })] }));
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"home-background-image.js","sourceRoot":"","sources":["../../../../../src/connect/components/home-screen/home-background-image.tsx"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;KAC3E,IAAI,CAAC;AACR,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;AAE/E,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,mBAAS,SAAS,EAAC,gFAAgF,aACjG,iBAAQ,MAAM,EAAE,UAAU,EAAE,IAAI,EAAC,YAAY,GAAG,EAChD,cAAK,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,YAAY,EAAC,SAAS,EAAC,gBAAgB,GAAG,IACxD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { twMerge } from "tailwind-merge";
|
|
3
3
|
import { AccountPopoverLogin } from "../account-popover/account-popover-login.js";
|
|
4
4
|
import { AccountPopover } from "../account-popover/account-popover.js";
|
|
5
|
-
const renownShort = new URL("
|
|
6
|
-
const renownShortHover = new URL("
|
|
5
|
+
const renownShort = new URL("../../../../assets/renown-short.png", import.meta.url).href;
|
|
6
|
+
const renownShortHover = new URL("../../../../assets/renown-short-hover.png", import.meta.url).href;
|
|
7
7
|
export const SidebarLogin = ({ onLogin }) => {
|
|
8
8
|
const content = _jsx(AccountPopoverLogin, { onLogin: onLogin });
|
|
9
9
|
return (_jsx(AccountPopover, { content: content, children: _jsxs("div", { className: twMerge("group/sidebar-footer flex w-full items-baseline justify-start text-sm font-semibold leading-10 text-gray-600", onLogin ? "cursor-pointer" : "cursor-wait"), children: [_jsx("img", { width: 42, height: 42, loading: "lazy", className: "group-hover/sidebar-footer:hidden", src: renownShort, alt: "Renown Login" }), _jsx("img", { width: 42, height: 42, loading: "lazy", className: "hidden group-hover/sidebar-footer:block", src: renownShortHover, alt: "Renown Login Hover" })] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-login.js","sourceRoot":"","sources":["../../../../../src/connect/components/sidebar/sidebar-login.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,GAAG,IAAI,GAAG,CACzB,
|
|
1
|
+
{"version":3,"file":"sidebar-login.js","sourceRoot":"","sources":["../../../../../src/connect/components/sidebar/sidebar-login.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,MAAM,WAAW,GAAG,IAAI,GAAG,CACzB,qCAAqC,EACrC,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC;AACP,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAC9B,2CAA2C,EAC3C,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAC;AAMP,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACvE,MAAM,OAAO,GAAG,KAAC,mBAAmB,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC;IAE1D,OAAO,CACL,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,YAC9B,eACE,SAAS,EAAE,OAAO,CAChB,8GAA8G,EAC9G,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAC3C,aAED,cACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAC,MAAM,EACd,SAAS,EAAC,mCAAmC,EAC7C,GAAG,EAAE,WAAW,EAChB,GAAG,EAAC,cAAc,GAClB,EACF,cACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAC,MAAM,EACd,SAAS,EAAC,yCAAyC,EACnD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAC,oBAAoB,GACxB,IACE,GACS,CAClB,CAAC;AACJ,CAAC,CAAC"}
|