@powerhousedao/design-system 6.2.3-dev.70 → 6.2.3-dev.71
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/connect/index.d.ts +79 -2
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +168 -14
- package/dist/connect/index.js.map +1 -1
- package/package.json +4 -4
package/dist/connect/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { $ as PowerhouseButton, A as SidebarFooter, G as Modal, K as Icon, S as
|
|
|
2
2
|
import { i as Size, n as DivProps, o as IconName } from "../types-TZijOYrE.js";
|
|
3
3
|
import { t as Checkbox } from "../checkbox-BIhO-KB2.js";
|
|
4
4
|
import "../ui/index.js";
|
|
5
|
-
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
5
|
+
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, PropsWithChildren, ReactNode, RefAttributes } from "react";
|
|
6
6
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
|
7
7
|
import { SubmitHandler } from "react-hook-form";
|
|
8
8
|
import { ConflictResolution, DocumentTypeIcon, DriveSystemInfoState, FileUploadProgress, IChannel, IPeerAgreement, Job, PHNavigationTarget, RebuildResult, Remote, RemotePeer, SyncHold, ValidationResult } from "@powerhousedao/reactor-browser";
|
|
@@ -11,6 +11,7 @@ import { DocumentDriveDocument, FileNode, FolderNode, Node, SharingType } from "
|
|
|
11
11
|
import Select from "react-select";
|
|
12
12
|
import { JsonViewProps } from "@uiw/react-json-view";
|
|
13
13
|
import { ArrayElement, Simplify } from "type-fest";
|
|
14
|
+
import { PHBackground } from "@powerhousedao/shared/clis";
|
|
14
15
|
import { RegistryPackage, RegistryPackageList } from "@powerhousedao/shared/registry";
|
|
15
16
|
//#region src/connect/components/account-popover/account-popover.d.ts
|
|
16
17
|
export interface AccountPopoverProps {
|
|
@@ -848,10 +849,66 @@ declare function FormattedJsonViewer$1(props: JsonViewProps<object>): import("re
|
|
|
848
849
|
//#region src/connect/components/formatted-json-viewer.d.ts
|
|
849
850
|
export declare const FormattedJsonViewer: typeof FormattedJsonViewer$1;
|
|
850
851
|
//#endregion
|
|
852
|
+
//#region src/connect/components/branding/background-layers.d.ts
|
|
853
|
+
/**
|
|
854
|
+
* A decorated pane: the configured page colour with the background's layers
|
|
855
|
+
* painted over it, in order, and the children above them all. Each layer is
|
|
856
|
+
* placed by the shared `layerStyle`, the same declarations the desktop
|
|
857
|
+
* loading page emits as static CSS, so a background configured once looks
|
|
858
|
+
* the same in both hosts. Images come resolved (data URIs or URLs); a
|
|
859
|
+
* light/dark pair follows the `.dark` theme class, not the OS scheme.
|
|
860
|
+
* Without a background the pane is the theme's page colour and nothing more.
|
|
861
|
+
*/
|
|
862
|
+
export declare function BackgroundLayers(props: PropsWithChildren<{
|
|
863
|
+
background: PHBackground | null | undefined;
|
|
864
|
+
className?: string;
|
|
865
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
866
|
+
//#endregion
|
|
867
|
+
//#region src/connect/components/branding/connect-branding.d.ts
|
|
868
|
+
/**
|
|
869
|
+
* Connect's branding as the components see it: the host app provides it once
|
|
870
|
+
* at its root (images already resolved to data URIs) and the components read
|
|
871
|
+
* it from here instead of reaching into configuration. `icons` are the drive
|
|
872
|
+
* explorer's, which the generic plugin owns; `appName`, `icon` and
|
|
873
|
+
* `homeBackground` are Connect's identity (`connect.branding`). Without a
|
|
874
|
+
* provider every built-in icon renders.
|
|
875
|
+
*/
|
|
876
|
+
export type ConnectExplorerIcons = {
|
|
877
|
+
/** Local drives without an icon of their own. */
|
|
878
|
+
localDrive?: string | null;
|
|
879
|
+
/** Remote drives without an icon of their own. */
|
|
880
|
+
remoteDrive?: string | null;
|
|
881
|
+
folder?: string | null;
|
|
882
|
+
/** Documents whose type has no icon in `documents`. */
|
|
883
|
+
document?: string | null;
|
|
884
|
+
/** Per document type, e.g. "acme/invoice". */
|
|
885
|
+
documents?: Record<string, string> | null;
|
|
886
|
+
};
|
|
887
|
+
export type ConnectBranding = {
|
|
888
|
+
appName?: string | null;
|
|
889
|
+
/** The in-app logo (the 64 px app icon). */
|
|
890
|
+
icon?: string | null;
|
|
891
|
+
/** The home screen's background (images resolved). */
|
|
892
|
+
homeBackground?: PHBackground | null;
|
|
893
|
+
icons?: ConnectExplorerIcons | null;
|
|
894
|
+
};
|
|
895
|
+
export declare function ConnectBrandingProvider(props: PropsWithChildren<{
|
|
896
|
+
branding: ConnectBranding | null | undefined;
|
|
897
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
898
|
+
/** The provided branding; `{}` (built-in look) without a provider. */
|
|
899
|
+
export declare function useConnectBranding(): ConnectBranding;
|
|
900
|
+
/** The icon for a document of `documentType`: the explorer's icon for that
|
|
901
|
+
* type, else its default document icon, else undefined (the icon the package
|
|
902
|
+
* ships, or the built-in one). */
|
|
903
|
+
export declare function brandedDocumentIcon(branding: ConnectBranding, documentType: string): string | undefined;
|
|
904
|
+
//#endregion
|
|
851
905
|
//#region src/connect/components/home-screen/home-background-image.d.ts
|
|
852
906
|
type HomeBackgroundImageProps = {
|
|
853
907
|
src?: string;
|
|
854
908
|
};
|
|
909
|
+
/** The default home-screen gradient. A custom `src` is kept for callers that
|
|
910
|
+
* still pass one, sized to its box; HomeScreen itself renders custom images
|
|
911
|
+
* as a hero below the drive tiles instead. */
|
|
855
912
|
export declare const HomeBackgroundImage: ({ src }?: HomeBackgroundImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
856
913
|
//#endregion
|
|
857
914
|
//#region src/connect/components/home-screen/home-screen-add-drive-item.d.ts
|
|
@@ -881,7 +938,9 @@ export declare const HomeScreenItem: (props: HomeScreenItemProps) => import("rea
|
|
|
881
938
|
type HomeScreenProps = {
|
|
882
939
|
readonly children: React.ReactNode;
|
|
883
940
|
readonly containerClassName?: string;
|
|
884
|
-
|
|
941
|
+
/** The project's background (`connect.branding.homeBackground`, images
|
|
942
|
+
* resolved); null or undefined keeps the bundled gradient. */
|
|
943
|
+
readonly homeBackground?: PHBackground | null;
|
|
885
944
|
};
|
|
886
945
|
export declare const HomeScreen: (props: HomeScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
887
946
|
//#endregion
|
|
@@ -903,6 +962,24 @@ export interface LoadingScreenProps {
|
|
|
903
962
|
export declare const LoadingScreen: React.FC<LoadingScreenProps>;
|
|
904
963
|
//#endregion
|
|
905
964
|
//#region src/connect/components/logo-animation.d.ts
|
|
965
|
+
/** A project's loading image, declared by the build as
|
|
966
|
+
* `<meta name="ph-loader" content="<file>" data-animation data-size>`
|
|
967
|
+
* (powerhouse.config.json `icons.loader`). */
|
|
968
|
+
export type ProjectLoader = {
|
|
969
|
+
src: string;
|
|
970
|
+
animation: "pulse" | "spin" | "none";
|
|
971
|
+
size: number;
|
|
972
|
+
};
|
|
973
|
+
/** The page's project loader, or null when Connect's logo stays. Read once:
|
|
974
|
+
* the meta tag is static in index.html. */
|
|
975
|
+
export declare function getProjectLoader(): ProjectLoader | null;
|
|
976
|
+
/** The project's loading image with its motion. */
|
|
977
|
+
export declare function ProjectLoaderImage({ loader, className }: {
|
|
978
|
+
loader: ProjectLoader;
|
|
979
|
+
className?: string;
|
|
980
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
981
|
+
/** Connect's loading animation: the project's loader when one is
|
|
982
|
+
* configured, else the animated Powerhouse logo. */
|
|
906
983
|
export declare function LogoAnimation({ size, className }: {
|
|
907
984
|
className?: string | undefined;
|
|
908
985
|
size?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAAG;;;KCpE/B,WAAQ;WACF,OAAO;;wBAEF,eAAe,OAAO,uCAAK,IAAA;;;wBCe3B,2CAAW,IAAA;YAkGf;EACV;EACA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K,eAAe,OAAO,oCAAK,IAAA;qBAuC9B,wCAAsB,qCAAA;;;YC/CvB,sBAAsB;WACvB,OAAO,cAAc;WACrB;WACA;WACA;;wBAGK,eAAe,OAAO,kDAAmB,IAAA;;;qBCf5C;qBAOA;qBAEA;qBAOA;qBAMA;qBAEA;WAET;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;;WAGA;WACA,kCAAI,IAAA;WACJ;WACA;;qBAIS;WACX;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;WAEN;aACE;aACA;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;;qBAIK;WACX;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;;WAEN;aACE;aACA,kCAAI,IAAA;aACJ;;;qBAIS;;aAdT;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;;;aAGJ;aACA,kCAAI,IAAA;aACJ;;;IAOA;IACA,kCAAI,IAAA;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/connect/components/account-popover/account-popover.tsx","../../src/connect/components/account-popover/account-popover-login.tsx","../../src/connect/components/renown-login/renown-login-methods.tsx","../../src/connect/components/animated-loader/animated-loader.tsx","../../src/connect/components/breadcrumbs/breadcrumbs.tsx","../../src/connect/components/catch-up-inspector/catch-up-inspector.tsx","../../src/connect/components/combobox/combobox.impl.tsx","../../src/connect/components/combobox/combobox.tsx","../../src/connect/components/consent-banner/consent-banner.tsx","../../src/connect/components/db-explorer/components/table-view.tsx","../../src/connect/components/db-explorer/components/schema-tree-sidebar.tsx","../../src/connect/components/db-explorer/db-explorer.tsx","../../src/connect/components/debug-inspector/debug-inspector.tsx","../../src/connect/components/default-editor-loader/default-editor-loader.tsx","../../src/connect/components/disclosure/disclosure.tsx","../../src/connect/components/divider/divider.tsx","../../src/connect/components/document-state-viewer/document-state-viewer.tsx","../../src/connect/components/document-timeline/document-timeline.impl.tsx","../../src/connect/components/document-timeline/document-timeline.tsx","../../src/connect/components/document-toolbar/containers.tsx","../../src/connect/components/document-toolbar/constants.ts","../../src/connect/components/document-toolbar/types.ts","../../src/connect/components/document-toolbar/document-toolbar.tsx","../../src/connect/components/document-toolbar/toolbar-button.tsx","../../src/connect/components/document-toolbar/toolbar-input.tsx","../../src/connect/components/document-toolbar/toolbar-name.tsx","../../src/connect/components/drive-auth-gate/drive-auth-gate.tsx","../../src/connect/components/drop-zone/drop-zone-wrapper.tsx","../../src/connect/components/upload-file-item/upload-file-item.tsx","../../src/connect/components/drop-zone/utils.ts","../../src/connect/components/drop-zone/drop-zone.tsx","../../src/connect/components/drop-zone/upload-file-list-container.tsx","../../src/connect/components/dropdown-menu/dropdown-menu.tsx","../../src/connect/components/editor-action-buttons/editor-action-buttons.tsx","../../src/connect/components/editor-undo-redo-buttons/editor-undo-redo-buttons.tsx","../../src/connect/components/ens-avatar/ens-avatar.tsx","../../src/connect/components/file-item/file-item.tsx","../../src/connect/components/folder-item/folder-item.tsx","../../src/connect/components/footer/footer-link.tsx","../../src/connect/components/footer/footer.tsx","../../src/connect/components/form-input/form-input.tsx","../../src/connect/components/form/add-local-drive-form.impl.tsx","../../src/connect/components/form/add-local-drive-form.tsx","../../src/connect/components/form/add-remote-drive-form.impl.tsx","../../src/connect/components/form/add-remote-drive-form.tsx","../../src/connect/components/formatted-json-viewer.impl.tsx","../../src/connect/components/formatted-json-viewer.tsx","../../src/connect/components/branding/background-layers.tsx","../../src/connect/components/branding/connect-branding.tsx","../../src/connect/components/home-screen/home-background-image.tsx","../../src/connect/components/home-screen/home-screen-add-drive-item.tsx","../../src/connect/components/home-screen/home-screen-item.tsx","../../src/connect/components/home-screen/home-screen.tsx","../../src/connect/components/integrity-inspector/integrity-inspector.tsx","../../src/connect/components/loading-screen/loading-screen.tsx","../../src/connect/components/logo-animation.tsx","../../src/connect/components/modal/add-drive-modal/add-drive-modal.tsx","../../src/connect/components/modal/confirmation-modal.tsx","../../src/connect/components/modal/create-document-modal.tsx","../../src/connect/components/modal/create-document-with-type-modal.tsx","../../src/connect/components/modal/delete-drive-modal.tsx","../../src/connect/components/modal/delete-item-modal.tsx","../../src/connect/components/modal/drive-settings-modal.tsx","../../src/connect/components/processors-inspector/processors-inspector.tsx","../../src/connect/components/queue-inspector/queue-inspector.tsx","../../src/connect/components/remotes-inspector/remotes-inspector.tsx","../../src/connect/components/remotes-inspector/components/channel-inspector.tsx","../../src/connect/components/remotes-inspector/components/connection-state-badge.tsx","../../src/connect/components/remotes-inspector/components/peer-agreement-panel.tsx","../../src/connect/components/worker-inspector/worker-inspector.tsx","../../src/connect/components/modal/inspector-modal/inspector-modal.tsx","../../src/connect/components/modal/missing-package-modal.tsx","../../src/connect/components/modal/modal-button.tsx","../../src/connect/components/modal/read-required-modal.tsx","../../src/connect/components/modal/replace-duplicate-modal.tsx","../../src/connect/components/modal/settings-modal-v2/about.tsx","../../src/connect/components/modal/settings-modal-v2/danger-zone.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.impl.tsx","../../src/connect/components/modal/settings-modal-v2/default-editor.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-manager.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.tsx","../../src/connect/components/modal/settings-modal-v2/package-manager/types.ts","../../src/connect/components/modal/settings-modal-v2/settings-modal.tsx","../../src/connect/components/modal/settings-modal/dependency-versions/dependency-versions.tsx","../../src/connect/components/modal/upgrade-drive-modal.tsx","../../src/connect/components/node-input/node-input.tsx","../../src/connect/components/object-inspector-modal/object-inspector-modal.tsx","../../src/connect/components/revision-history/revision-history.impl.tsx","../../src/connect/components/revision-history/revision-history.tsx","../../src/connect/components/search-bar/filter-item.tsx","../../src/connect/components/search-bar/search-bar.tsx","../../src/connect/components/select/select.tsx","../../src/connect/components/sidebar/sidebar-add-drive-item.tsx","../../src/connect/components/sidebar/sidebar-footer.tsx","../../src/connect/components/sidebar/sidebar-header.tsx","../../src/connect/components/sidebar/sidebar-item.tsx","../../src/connect/components/sidebar/sidebar-login.tsx","../../src/connect/components/sidebar/sidebar-user.tsx","../../src/connect/components/sidebar/sidebar.tsx","../../src/connect/components/status-icon/sync-status-icon.tsx","../../src/connect/components/tabs/tab-content.tsx","../../src/connect/components/tabs/tabs.tsx","../../src/connect/components/theme-switch.tsx","../../src/connect/components/toggle/toggle.tsx","../../src/connect/components/tooltip/tooltip.tsx","../../src/connect/components/upload-file-list/upload-file-list.tsx","../../src/connect/constants/options.tsx","../../src/connect/hooks/use-ens.ts","../../src/connect/utils/address.ts","../../src/connect/utils/get-folder-status.ts"],"mappings":";;;;;;;;;;;;;;;;iBAGiB;EACf,UAAU;EACV,SAAS;EAET;EACA,gBAAgB;;qBAGL,mBAAc,UAAA,SAAA,MAAA,gBAKxB,oDAAmB,IAAA;;;iBCbL;EAGf;;qBAGW,qBAAqB,GAAG;;;iBCHpB;EACf;EACA;EACA;EACA;;iBAGe;EACf,SAAS;EAGT;EACA;EACA;;qBAsDW,oBAAoB,GAA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A;;;;;KCpGH;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;KAGG;EACH,MAAM;EACN;EACA,OAAO;;wBAuBO,OAAO,qCAAqC;;;wBClD5C,iBAAiB;;;KCA5B;YAQO;EAAe;EAAc,SAAS;;;;;;;;;qBASrC,kBAAe,oBACR,aACL,iBACZ;;;;;;;;;;;;;qBAsBU,oBAAiB,OAAW,iBAAY;;;;;;qBAuBxC,qBAAkB,OAAW,iBAAY"}
|
package/dist/connect/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { JsonViewer } from "../ui/components/json-viewer/json-viewer.js";
|
|
|
7
7
|
import "../ui/index.js";
|
|
8
8
|
import { a as lazyComponent, i as ENSAvatar, n as useEns, r as FormattedJsonViewer, t as formatEthAddress } from "../address-DfZqD6IM.js";
|
|
9
9
|
import { t as Label } from "../label-nH2HoKfI.js";
|
|
10
|
-
import React, { Fragment, createElement, forwardRef, useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
10
|
+
import React, { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { twJoin, twMerge } from "tailwind-merge";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Content, Portal, Provider, Root, Trigger } from "@radix-ui/react-tooltip";
|
|
@@ -18,6 +18,7 @@ import { Content as Content$1, List, Root as Root$1, Trigger as Trigger$1 } from
|
|
|
18
18
|
import { addProp, defaultTo, entries, filter, hasAtLeast, isArray, isDefined, isIncludedIn, isTruthy, keys, map, pipe, prop, values } from "remeda";
|
|
19
19
|
import { redo, undo } from "@powerhousedao/shared/document-model";
|
|
20
20
|
import { RenownLogo } from "@powerhousedao/reactor-browser/renown";
|
|
21
|
+
import { colorVariants, imageVariants, layerStyle, normalizeBackground } from "@powerhousedao/shared/connect";
|
|
21
22
|
import { isValidName } from "@powerhousedao/shared/document-drive";
|
|
22
23
|
import { capitalCase } from "change-case";
|
|
23
24
|
import { getUpdateTarget, parseInstallSpec } from "@powerhousedao/shared/registry/updates";
|
|
@@ -1859,7 +1860,63 @@ const PATHS = {
|
|
|
1859
1860
|
b9: "M18.0156 9.8918C18.0156 9.61566 18.2394 9.39181 18.5155 9.39181L43.0627 9.39138C44.9475 11.8519 46.3659 14.6855 47.1892 17.7635L18.5154 17.7641C18.2392 17.7641 18.0154 17.5402 18.0154 17.2641L18.0156 9.8918Z",
|
|
1860
1861
|
b10: "M25.0158 -2.51999e-05C31.418 0.265176 37.1737 3.03916 41.3227 7.36511L25.5156 7.36547C25.2395 7.36547 25.0156 7.14161 25.0156 6.86546L25.0158 -2.51999e-05Z"
|
|
1861
1862
|
};
|
|
1863
|
+
/** A project's loading image, declared by the build as
|
|
1864
|
+
* `<meta name="ph-loader" content="<file>" data-animation data-size>`
|
|
1865
|
+
* (powerhouse.config.json `icons.loader`). */
|
|
1866
|
+
const LOADER_MOTION = {
|
|
1867
|
+
pulse: "ph-loader-pulse 1.6s ease-in-out infinite",
|
|
1868
|
+
spin: "ph-loader-spin 1.4s linear infinite",
|
|
1869
|
+
none: "none"
|
|
1870
|
+
};
|
|
1871
|
+
const LOADER_KEYFRAMES = "@keyframes ph-loader-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.94)}}@keyframes ph-loader-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){[data-ph-loader-img]{animation:none!important}}";
|
|
1872
|
+
let projectLoader;
|
|
1873
|
+
/** The page's project loader, or null when Connect's logo stays. Read once:
|
|
1874
|
+
* the meta tag is static in index.html. */
|
|
1875
|
+
function getProjectLoader() {
|
|
1876
|
+
if (projectLoader !== void 0) return projectLoader;
|
|
1877
|
+
if (typeof document === "undefined") return null;
|
|
1878
|
+
const meta = document.querySelector("meta[name=\"ph-loader\"]");
|
|
1879
|
+
const file = meta?.content;
|
|
1880
|
+
if (!meta || !file) return projectLoader = null;
|
|
1881
|
+
const animation = meta.dataset.animation;
|
|
1882
|
+
const size = Number(meta.dataset.size);
|
|
1883
|
+
projectLoader = {
|
|
1884
|
+
src: new URL(file, document.baseURI).toString(),
|
|
1885
|
+
animation: animation === "spin" || animation === "none" ? animation : "pulse",
|
|
1886
|
+
size: Number.isFinite(size) && size > 0 ? size : 96
|
|
1887
|
+
};
|
|
1888
|
+
return projectLoader;
|
|
1889
|
+
}
|
|
1890
|
+
/** The project's loading image with its motion. */
|
|
1891
|
+
function ProjectLoaderImage({ loader, className = "" }) {
|
|
1892
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("style", { children: LOADER_KEYFRAMES }), /* @__PURE__ */ jsx("img", {
|
|
1893
|
+
"data-ph-loader-img": "",
|
|
1894
|
+
src: loader.src,
|
|
1895
|
+
alt: "",
|
|
1896
|
+
"aria-label": "Loading",
|
|
1897
|
+
width: loader.size,
|
|
1898
|
+
className,
|
|
1899
|
+
style: {
|
|
1900
|
+
width: loader.size,
|
|
1901
|
+
height: "auto",
|
|
1902
|
+
animation: LOADER_MOTION[loader.animation]
|
|
1903
|
+
}
|
|
1904
|
+
})] });
|
|
1905
|
+
}
|
|
1906
|
+
/** Connect's loading animation: the project's loader when one is
|
|
1907
|
+
* configured, else the animated Powerhouse logo. */
|
|
1862
1908
|
function LogoAnimation({ size = 48, className = "" }) {
|
|
1909
|
+
const loader = getProjectLoader();
|
|
1910
|
+
if (loader) return /* @__PURE__ */ jsx(ProjectLoaderImage, {
|
|
1911
|
+
loader,
|
|
1912
|
+
className
|
|
1913
|
+
});
|
|
1914
|
+
return /* @__PURE__ */ jsx(PowerhouseLogoAnimation, {
|
|
1915
|
+
size,
|
|
1916
|
+
className
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
function PowerhouseLogoAnimation({ size = 48, className = "" }) {
|
|
1863
1920
|
const refsMap = useRef({});
|
|
1864
1921
|
const timers = useRef([]);
|
|
1865
1922
|
function getEls(id) {
|
|
@@ -3373,6 +3430,33 @@ function EditorUndoRedoButtons(props) {
|
|
|
3373
3430
|
});
|
|
3374
3431
|
}
|
|
3375
3432
|
//#endregion
|
|
3433
|
+
//#region src/connect/components/branding/connect-branding.tsx
|
|
3434
|
+
/**
|
|
3435
|
+
* Connect's branding as the components see it: the host app provides it once
|
|
3436
|
+
* at its root (images already resolved to data URIs) and the components read
|
|
3437
|
+
* it from here instead of reaching into configuration. `icons` are the drive
|
|
3438
|
+
* explorer's, which the generic plugin owns; `appName`, `icon` and
|
|
3439
|
+
* `homeBackground` are Connect's identity (`connect.branding`). Without a
|
|
3440
|
+
* provider every built-in icon renders.
|
|
3441
|
+
*/
|
|
3442
|
+
const ConnectBrandingContext = /*#__PURE__*/ createContext({});
|
|
3443
|
+
function ConnectBrandingProvider(props) {
|
|
3444
|
+
return /* @__PURE__ */ jsx(ConnectBrandingContext.Provider, {
|
|
3445
|
+
value: props.branding ?? {},
|
|
3446
|
+
children: props.children
|
|
3447
|
+
});
|
|
3448
|
+
}
|
|
3449
|
+
/** The provided branding; `{}` (built-in look) without a provider. */
|
|
3450
|
+
function useConnectBranding() {
|
|
3451
|
+
return useContext(ConnectBrandingContext);
|
|
3452
|
+
}
|
|
3453
|
+
/** The icon for a document of `documentType`: the explorer's icon for that
|
|
3454
|
+
* type, else its default document icon, else undefined (the icon the package
|
|
3455
|
+
* ships, or the built-in one). */
|
|
3456
|
+
function brandedDocumentIcon(branding, documentType) {
|
|
3457
|
+
return branding.icons?.documents?.[documentType] ?? branding.icons?.document ?? void 0;
|
|
3458
|
+
}
|
|
3459
|
+
//#endregion
|
|
3376
3460
|
//#region src/connect/constants/options.tsx
|
|
3377
3461
|
const defaultDriveOptions = [
|
|
3378
3462
|
"DOWNLOAD",
|
|
@@ -3653,13 +3737,15 @@ function FileItem(props) {
|
|
|
3653
3737
|
handler();
|
|
3654
3738
|
setIsDropdownMenuOpen(false);
|
|
3655
3739
|
}
|
|
3740
|
+
const branding = useConnectBranding();
|
|
3741
|
+
const documentIconSrc = customDocumentIconSrc ?? brandedDocumentIcon(branding, fileNode.documentType);
|
|
3656
3742
|
const iconNode = /* @__PURE__ */ jsxs("div", {
|
|
3657
3743
|
className: "relative",
|
|
3658
|
-
children: [
|
|
3744
|
+
children: [documentIconSrc ? /* @__PURE__ */ jsx("img", {
|
|
3659
3745
|
alt: "file icon",
|
|
3660
|
-
className: "max-w-none",
|
|
3746
|
+
className: "max-w-none object-contain",
|
|
3661
3747
|
height: 34,
|
|
3662
|
-
src:
|
|
3748
|
+
src: documentIconSrc,
|
|
3663
3749
|
width: 32,
|
|
3664
3750
|
draggable: false
|
|
3665
3751
|
}) : /* @__PURE__ */ jsx(DefaultFileIcon, {}), isReadMode && syncStatus && /* @__PURE__ */ jsx("div", {
|
|
@@ -3843,6 +3929,7 @@ function DefaultFileIcon() {
|
|
|
3843
3929
|
//#region src/connect/components/folder-item/folder-item.tsx
|
|
3844
3930
|
function FolderItem(props) {
|
|
3845
3931
|
const { folderNode, className } = props;
|
|
3932
|
+
const folderIconSrc = useConnectBranding().icons?.folder;
|
|
3846
3933
|
const setSelectedNode = useSetSelectedNode();
|
|
3847
3934
|
const preloadNode = usePreloadNode();
|
|
3848
3935
|
const target = useNodeTarget(folderNode);
|
|
@@ -3914,7 +4001,14 @@ function FolderItem(props) {
|
|
|
3914
4001
|
className: "p-1",
|
|
3915
4002
|
children: /* @__PURE__ */ jsx("div", {
|
|
3916
4003
|
className: "relative text-foreground",
|
|
3917
|
-
children: /* @__PURE__ */ jsx(
|
|
4004
|
+
children: folderIconSrc ? /* @__PURE__ */ jsx("img", {
|
|
4005
|
+
alt: "folder icon",
|
|
4006
|
+
className: "object-contain",
|
|
4007
|
+
src: folderIconSrc,
|
|
4008
|
+
width: 24,
|
|
4009
|
+
height: 24,
|
|
4010
|
+
draggable: false
|
|
4011
|
+
}) : /* @__PURE__ */ jsx(Icon, {
|
|
3918
4012
|
name: "FolderClose",
|
|
3919
4013
|
size: 24
|
|
3920
4014
|
})
|
|
@@ -3988,14 +4082,61 @@ const AddLocalDriveForm = lazyComponent(() => import("../add-local-drive-form.im
|
|
|
3988
4082
|
//#region src/connect/components/form/add-remote-drive-form.tsx
|
|
3989
4083
|
const AddRemoteDriveForm = lazyComponent(() => import("../add-remote-drive-form.impl-B2DxdWGF.js").then((m) => m.AddRemoteDriveForm));
|
|
3990
4084
|
//#endregion
|
|
4085
|
+
//#region src/connect/components/branding/background-layers.tsx
|
|
4086
|
+
/**
|
|
4087
|
+
* A decorated pane: the configured page colour with the background's layers
|
|
4088
|
+
* painted over it, in order, and the children above them all. Each layer is
|
|
4089
|
+
* placed by the shared `layerStyle`, the same declarations the desktop
|
|
4090
|
+
* loading page emits as static CSS, so a background configured once looks
|
|
4091
|
+
* the same in both hosts. Images come resolved (data URIs or URLs); a
|
|
4092
|
+
* light/dark pair follows the `.dark` theme class, not the OS scheme.
|
|
4093
|
+
* Without a background the pane is the theme's page colour and nothing more.
|
|
4094
|
+
*/
|
|
4095
|
+
function BackgroundLayers(props) {
|
|
4096
|
+
const background = normalizeBackground(props.background);
|
|
4097
|
+
const color = colorVariants(background?.color);
|
|
4098
|
+
const style = color ? {
|
|
4099
|
+
"--ph-pane-bg": color.light,
|
|
4100
|
+
"--ph-pane-bg-dark": color.dark ?? color.light
|
|
4101
|
+
} : void 0;
|
|
4102
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
4103
|
+
className: twMerge("relative size-full overflow-hidden", color ? "bg-(--ph-pane-bg) dark:bg-(--ph-pane-bg-dark)" : "bg-background", props.className),
|
|
4104
|
+
style,
|
|
4105
|
+
children: [background?.layers.map((layer, index) => /* @__PURE__ */ jsx(BackgroundLayer, { layer }, index)), props.children]
|
|
4106
|
+
});
|
|
4107
|
+
}
|
|
4108
|
+
function BackgroundLayer({ layer }) {
|
|
4109
|
+
const { light, dark } = imageVariants(layer.src);
|
|
4110
|
+
const style = layerStyle(layer);
|
|
4111
|
+
if (!dark) return /* @__PURE__ */ jsx("img", {
|
|
4112
|
+
src: light,
|
|
4113
|
+
alt: "",
|
|
4114
|
+
style
|
|
4115
|
+
});
|
|
4116
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("img", {
|
|
4117
|
+
src: light,
|
|
4118
|
+
alt: "",
|
|
4119
|
+
style,
|
|
4120
|
+
className: "dark:hidden"
|
|
4121
|
+
}), /* @__PURE__ */ jsx("img", {
|
|
4122
|
+
src: dark,
|
|
4123
|
+
alt: "",
|
|
4124
|
+
style,
|
|
4125
|
+
className: "hidden dark:block"
|
|
4126
|
+
})] });
|
|
4127
|
+
}
|
|
4128
|
+
//#endregion
|
|
3991
4129
|
//#region src/connect/components/home-screen/home-background-image.tsx
|
|
4130
|
+
/** The default home-screen gradient. A custom `src` is kept for callers that
|
|
4131
|
+
* still pass one, sized to its box; HomeScreen itself renders custom images
|
|
4132
|
+
* as a hero below the drive tiles instead. */
|
|
3992
4133
|
const HomeBackgroundImage = ({ src } = {}) => {
|
|
3993
4134
|
if (src) return /* @__PURE__ */ jsx("picture", {
|
|
3994
|
-
className: "pointer-events-none absolute inset-8 z-0
|
|
4135
|
+
className: "pointer-events-none absolute inset-8 z-0",
|
|
3995
4136
|
children: /* @__PURE__ */ jsx("img", {
|
|
3996
4137
|
src,
|
|
3997
|
-
alt: "
|
|
3998
|
-
className: "object-contain"
|
|
4138
|
+
alt: "",
|
|
4139
|
+
className: "size-full object-contain"
|
|
3999
4140
|
})
|
|
4000
4141
|
});
|
|
4001
4142
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -4142,14 +4283,20 @@ const HomeScreenAddDriveItem = function HomeScreenAddDriveItem(props) {
|
|
|
4142
4283
|
//#endregion
|
|
4143
4284
|
//#region src/connect/components/home-screen/home-screen.tsx
|
|
4144
4285
|
const HomeScreen = function HomeScreen(props) {
|
|
4145
|
-
const { children, containerClassName
|
|
4146
|
-
|
|
4286
|
+
const { children, containerClassName } = props;
|
|
4287
|
+
const background = normalizeBackground(props.homeBackground);
|
|
4288
|
+
const content = /* @__PURE__ */ jsx("div", {
|
|
4147
4289
|
className: twMerge("relative container mx-auto flex h-full flex-col", containerClassName),
|
|
4148
4290
|
children: /* @__PURE__ */ jsxs("div", {
|
|
4149
|
-
className: "m-8 flex flex-wrap justify-center gap-4 bg-background
|
|
4150
|
-
children: [/* @__PURE__ */ jsx(HomeBackgroundImage, {
|
|
4291
|
+
className: twMerge("m-8 flex flex-wrap justify-center gap-4 pt-12", background ? "rounded-2xl bg-background/75 px-6 pb-6 backdrop-blur-sm" : "bg-background"),
|
|
4292
|
+
children: [!background && /* @__PURE__ */ jsx(HomeBackgroundImage, {}), children]
|
|
4151
4293
|
})
|
|
4152
4294
|
});
|
|
4295
|
+
if (!background) return content;
|
|
4296
|
+
return /* @__PURE__ */ jsx(BackgroundLayers, {
|
|
4297
|
+
background,
|
|
4298
|
+
children: content
|
|
4299
|
+
});
|
|
4153
4300
|
};
|
|
4154
4301
|
//#endregion
|
|
4155
4302
|
//#region src/connect/components/integrity-inspector/integrity-inspector.tsx
|
|
@@ -8640,6 +8787,7 @@ const SidebarUser = ({ address, ensName, avatarUrl, etherscanUrl, onDisconnect }
|
|
|
8640
8787
|
//#endregion
|
|
8641
8788
|
//#region src/connect/components/sidebar/sidebar-footer.tsx
|
|
8642
8789
|
const ConnectSidebarFooter = ({ address, ensName, avatarUrl, className, onLogin, onClickSettings, settingsHref, settingsCurrent, onDisconnect, onHomeClick, showDebug, onDebugClick, etherscanUrl = "", ...props }) => {
|
|
8790
|
+
const appLogoSrc = useConnectBranding().icon;
|
|
8643
8791
|
const settingsIcon = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Settings, {
|
|
8644
8792
|
className: "text-foreground",
|
|
8645
8793
|
size: 24,
|
|
@@ -8657,7 +8805,13 @@ const ConnectSidebarFooter = ({ address, ensName, avatarUrl, className, onLogin,
|
|
|
8657
8805
|
type: "button",
|
|
8658
8806
|
className: "cursor-pointer",
|
|
8659
8807
|
onClick: onHomeClick,
|
|
8660
|
-
children: /* @__PURE__ */ jsx(
|
|
8808
|
+
children: appLogoSrc ? /* @__PURE__ */ jsx("img", {
|
|
8809
|
+
alt: "",
|
|
8810
|
+
className: "object-contain",
|
|
8811
|
+
src: appLogoSrc,
|
|
8812
|
+
width: 24,
|
|
8813
|
+
height: 24
|
|
8814
|
+
}) : /* @__PURE__ */ jsx(Icon, {
|
|
8661
8815
|
className: "text-muted-foreground",
|
|
8662
8816
|
name: "ConnectSmall",
|
|
8663
8817
|
size: 24
|
|
@@ -8867,6 +9021,6 @@ const removeSuccessFiles = (files) => {
|
|
|
8867
9021
|
return files.filter((file) => file.status !== "SUCCESS");
|
|
8868
9022
|
};
|
|
8869
9023
|
//#endregion
|
|
8870
|
-
export { About, AccountPopover, AccountPopoverLogin, AddDriveModal, AddLocalDriveForm, AddRemoteDriveForm, AnimatedLoader, AvailablePackagesPanel, Breadcrumb, Breadcrumbs, CONFLICT, CatchUpInspector, ChannelInspector, Checkbox, Combobox, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteItemModal, ConnectDropdownMenu, ConnectReplaceDuplicateModal, ConnectSearchBar, ConnectSelect, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarHeader, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectionStateBadge, CookieBanner, CreateDocumentModal, CreateDocumentWithTypeModal, DBExplorer, DangerZone, DebugInspector, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentToolbar, DriveAuthGate, DriveSettingsModal, DropZone, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorUndoRedoButtons, FileItem, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, Icon, InspectorModal, InstalledPackagesPanel, IntegrityInspector, LoadingScreen, LogoAnimation, MISSING, Modal, ModalButton, NodeInput, ObjectInspectorModal, PackageInstallModal, PackageList, PackageManager, PackageManagerListItem, PackagePanelScrollArea, PackageRegistryError, PackageSubSection, PeerAgreementPanel, PowerhouseButton, ProcessorsInspector, QueueInspector, ReadRequiredModal, RemotesInspector, RenownLoginMethods, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarUser, SyncStatusIcon, TabContent, Tabs, ThemeSwitch, Toggle, ToolbarButton, ToolbarCloseButton, ToolbarContainer, ToolbarControlsContainer, ToolbarDownloadButton, ToolbarHistoryButton, ToolbarInput, ToolbarName, ToolbarRedoButton, ToolbarSwitchboardButton, ToolbarUndoButton, UploadFileItem, UploadFileList, UploadFileListContainer, WorkerInspector, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, formatFileSize, generateId, getFolderStatus, locationInfoByLocation, mapProgressStageToStatus, mapUploadsToFileItems, nodeOptions, normalNodeOptions, peerManifestLabel, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useEns, useWindowSize, verifyPackageJsonFields };
|
|
9024
|
+
export { About, AccountPopover, AccountPopoverLogin, AddDriveModal, AddLocalDriveForm, AddRemoteDriveForm, AnimatedLoader, AvailablePackagesPanel, BackgroundLayers, Breadcrumb, Breadcrumbs, CONFLICT, CatchUpInspector, ChannelInspector, Checkbox, Combobox, ConnectBrandingProvider, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteItemModal, ConnectDropdownMenu, ConnectReplaceDuplicateModal, ConnectSearchBar, ConnectSelect, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarHeader, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectionStateBadge, CookieBanner, CreateDocumentModal, CreateDocumentWithTypeModal, DBExplorer, DangerZone, DebugInspector, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentToolbar, DriveAuthGate, DriveSettingsModal, DropZone, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorUndoRedoButtons, FileItem, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, Icon, InspectorModal, InstalledPackagesPanel, IntegrityInspector, LoadingScreen, LogoAnimation, MISSING, Modal, ModalButton, NodeInput, ObjectInspectorModal, PackageInstallModal, PackageList, PackageManager, PackageManagerListItem, PackagePanelScrollArea, PackageRegistryError, PackageSubSection, PeerAgreementPanel, PowerhouseButton, ProcessorsInspector, ProjectLoaderImage, QueueInspector, ReadRequiredModal, RemotesInspector, RenownLoginMethods, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarUser, SyncStatusIcon, TabContent, Tabs, ThemeSwitch, Toggle, ToolbarButton, ToolbarCloseButton, ToolbarContainer, ToolbarControlsContainer, ToolbarDownloadButton, ToolbarHistoryButton, ToolbarInput, ToolbarName, ToolbarRedoButton, ToolbarSwitchboardButton, ToolbarUndoButton, UploadFileItem, UploadFileList, UploadFileListContainer, WorkerInspector, brandedDocumentIcon, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, formatFileSize, generateId, getFolderStatus, getProjectLoader, locationInfoByLocation, mapProgressStageToStatus, mapUploadsToFileItems, nodeOptions, normalNodeOptions, peerManifestLabel, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useConnectBranding, useEns, useWindowSize, verifyPackageJsonFields };
|
|
8871
9025
|
|
|
8872
9026
|
//# sourceMappingURL=index.js.map
|