chore: delete dist
This commit is contained in:
parent
f2f6c44803
commit
e3236b557c
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"src/main.ts": {
|
||||
"file": "lib.umd.js",
|
||||
"isEntry": true,
|
||||
"src": "src/main.ts"
|
||||
},
|
||||
"style.css": {
|
||||
"file": "style.css",
|
||||
"src": "style.css"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
{"name":"@lume-sdk/components","version":"0.0.0","main":"./lib.umd.js","module":"./lib.es.js","types":"./src/main.d.ts","files":["./src","./style.css"],"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"}}
|
|
@ -1,19 +0,0 @@
|
|||
import React from "react";
|
||||
export declare const SwitchableComponentProvider: ({ children }: React.PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
||||
export declare function useSwitchableComponent(initialValue?: SwitchableComponentType): SwitchableComponentContextType<unknown>;
|
||||
export declare const SwitchableComponent: ({ children, index }: React.PropsWithChildren<{
|
||||
index: string;
|
||||
}>) => import("react/jsx-runtime").JSX.Element;
|
||||
type SwitchableComponentType<T extends {} = {}> = {
|
||||
index: string;
|
||||
render: (props: T | any) => ReturnType<React.FC>;
|
||||
};
|
||||
type SwitchableComponentContextType<T = unknown> = {
|
||||
visibleComponent: SwitchableComponentType<T extends {} ? T : any>;
|
||||
setVisibleComponent: React.Dispatch<React.SetStateAction<SwitchableComponentType<T extends {} ? T : any> | undefined>>;
|
||||
};
|
||||
export declare function makeSwitchable<T extends {}>(Component: React.FC<T>, index: string): {
|
||||
render(props: T): import("react/jsx-runtime").JSX.Element;
|
||||
index: string;
|
||||
};
|
||||
export {};
|
|
@ -1,2 +0,0 @@
|
|||
declare const LumeDashboard: () => import("react/jsx-runtime").JSX.Element;
|
||||
export default LumeDashboard;
|
|
@ -1 +0,0 @@
|
|||
export default function Wrapped(): import("react/jsx-runtime").JSX.Element;
|
|
@ -1,11 +0,0 @@
|
|||
import React from "react";
|
||||
export type Session = string;
|
||||
export declare const LumeIdentityContext: React.Context<{
|
||||
session: Session | undefined;
|
||||
setSession: React.Dispatch<React.SetStateAction<Session | undefined>>;
|
||||
} | undefined>;
|
||||
export declare function useLumeIndentity(): {
|
||||
isSignedIn: boolean;
|
||||
signIn: (key: string) => void;
|
||||
signOut: () => void;
|
||||
};
|
|
@ -1,18 +0,0 @@
|
|||
export declare const SubmitButton: {
|
||||
render(props: {}): import("react/jsx-runtime").JSX.Element;
|
||||
index: string;
|
||||
};
|
||||
export declare const SeedPhraseInput: {
|
||||
render(props: {}): import("react/jsx-runtime").JSX.Element;
|
||||
index: string;
|
||||
};
|
||||
export declare const SetupAccountKey: {
|
||||
render(props: {}): import("react/jsx-runtime").JSX.Element;
|
||||
index: string;
|
||||
};
|
||||
export declare const SeedPhraseGeneration: {
|
||||
render(props: {
|
||||
phraseLength?: number | undefined;
|
||||
}): import("react/jsx-runtime").JSX.Element;
|
||||
index: string;
|
||||
};
|
|
@ -1,21 +0,0 @@
|
|||
import React from 'react';
|
||||
type LumeSyncState = 'syncing' | 'done' | 'error';
|
||||
export type Chain = {
|
||||
syncState: LumeSyncState;
|
||||
name: string;
|
||||
chainId: string;
|
||||
active: boolean;
|
||||
progress: number;
|
||||
logs: string[];
|
||||
type: 'blockchain' | 'content';
|
||||
peerCount?: number;
|
||||
};
|
||||
type LumeObject = {
|
||||
chains: Chain[];
|
||||
activeResolver: 'local' | 'rpc';
|
||||
};
|
||||
declare const LumeProvider: ({ children }: {
|
||||
children: React.ReactNode;
|
||||
}) => import("react/jsx-runtime").JSX.Element;
|
||||
export default LumeProvider;
|
||||
export declare function useLume(): LumeObject;
|
|
@ -1,11 +0,0 @@
|
|||
import * as React from "react";
|
||||
import { type VariantProps } from "class-variance-authority";
|
||||
declare const buttonVariants: (props?: ({
|
||||
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
||||
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
||||
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
||||
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
||||
asChild?: boolean;
|
||||
}
|
||||
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
export { Button, buttonVariants };
|
|
@ -1,5 +0,0 @@
|
|||
import * as React from "react";
|
||||
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
}
|
||||
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
||||
export { Input };
|
|
@ -1,2 +0,0 @@
|
|||
import { type ClassValue } from "clsx";
|
||||
export declare function cn(...inputs: ClassValue[]): string;
|
|
@ -1,3 +0,0 @@
|
|||
export * from './components/lume/LumeProvider';
|
||||
export * from './components/lume/LumeDashboard/LumeDashboard';
|
||||
export * from './components/lume/LumeIdentity/LumeIdentity';
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue