@powerhousedao/design-system 6.2.2-dev.5 → 6.2.2-dev.51
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/{command-vPaCve7_.d.ts → command-DzyREnJE.d.ts} +8 -8
- package/dist/{command-vPaCve7_.d.ts.map → command-DzyREnJE.d.ts.map} +1 -1
- package/dist/connect/components/toast/toast.d.ts +2 -1
- package/dist/connect/components/toast/toast.d.ts.map +1 -1
- package/dist/connect/components/toast/toast.js +6 -3
- package/dist/connect/components/toast/toast.js.map +1 -1
- package/dist/connect/index.d.ts +205 -42
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +770 -384
- package/dist/connect/index.js.map +1 -1
- package/dist/{enum-field-UxIet5Lp.d.ts → enum-field-B7cXFUKv.d.ts} +3 -3
- package/dist/{enum-field-UxIet5Lp.d.ts.map → enum-field-B7cXFUKv.d.ts.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{radio-group-field-wlqeiLN3.d.ts → radio-group-field-JewKPpm4.d.ts} +2 -2
- package/dist/{radio-group-field-wlqeiLN3.d.ts.map → radio-group-field-JewKPpm4.d.ts.map} +1 -1
- package/dist/{src-DpUTb0dJ.js → src-CVV6HzQZ.js} +2 -2
- package/dist/src-CVV6HzQZ.js.map +1 -0
- package/dist/ui/components/command/command.d.ts +1 -1
- package/dist/ui/components/enum-field/enum-field.d.ts +1 -1
- package/dist/ui/components/index.d.ts +3 -3
- package/dist/ui/components/radio-group-field/radio-group-field.d.ts +1 -1
- package/dist/ui/index.d.ts +3 -3
- package/package.json +4 -4
- package/theme.css +9 -0
- package/dist/src-DpUTb0dJ.js.map +0 -1
|
@@ -7,7 +7,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
7
7
|
ref?: React.Ref<HTMLDivElement>;
|
|
8
8
|
} & {
|
|
9
9
|
asChild?: boolean;
|
|
10
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
10
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
11
11
|
label?: string;
|
|
12
12
|
shouldFilter?: boolean;
|
|
13
13
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -22,7 +22,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
23
|
} & {
|
|
24
24
|
asChild?: boolean;
|
|
25
|
-
}, "
|
|
25
|
+
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
|
|
26
26
|
value?: string;
|
|
27
27
|
onValueChange?: (search: string) => void;
|
|
28
28
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
@@ -34,7 +34,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
34
34
|
ref?: React.Ref<HTMLDivElement>;
|
|
35
35
|
} & {
|
|
36
36
|
asChild?: boolean;
|
|
37
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
37
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
38
38
|
label?: string;
|
|
39
39
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
40
|
declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -43,7 +43,7 @@ declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
|
|
|
43
43
|
ref?: React.Ref<HTMLDivElement>;
|
|
44
44
|
} & {
|
|
45
45
|
asChild?: boolean;
|
|
46
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
46
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
47
47
|
progress?: number;
|
|
48
48
|
label?: string;
|
|
49
49
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -53,14 +53,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
53
53
|
ref?: React.Ref<HTMLDivElement>;
|
|
54
54
|
} & {
|
|
55
55
|
asChild?: boolean;
|
|
56
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
56
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
57
57
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
58
58
|
children?: React.ReactNode;
|
|
59
59
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
60
60
|
ref?: React.Ref<HTMLDivElement>;
|
|
61
61
|
} & {
|
|
62
62
|
asChild?: boolean;
|
|
63
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
63
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
64
64
|
heading?: React.ReactNode;
|
|
65
65
|
value?: string;
|
|
66
66
|
forceMount?: boolean;
|
|
@@ -71,7 +71,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
71
71
|
ref?: React.Ref<HTMLDivElement>;
|
|
72
72
|
} & {
|
|
73
73
|
asChild?: boolean;
|
|
74
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement
|
|
74
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
|
|
75
75
|
disabled?: boolean;
|
|
76
76
|
onSelect?: (value: string) => void;
|
|
77
77
|
value?: string;
|
|
@@ -80,4 +80,4 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
80
80
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { CommandItem as a, CommandInput as i, CommandEmpty as n, CommandList as o, CommandGroup as r, CommandLoading as s, Command as t };
|
|
83
|
-
//# sourceMappingURL=command-
|
|
83
|
+
//# sourceMappingURL=command-DzyREnJE.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-
|
|
1
|
+
{"version":3,"file":"command-DzyREnJE.d.ts","names":[],"sources":["../src/ui/components/command/command.tsx"],"mappings":";;;cAKM,OAAA,EAAO,KAAA,CAAA,yBAAA,CAAA,IAAA;;;;;;;;;;;;;;;;;cAeP,YAAA,EAAY,KAAA,CAAA,yBAAA,CAAA,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,KAAA,CAAA,iBAAA,CAAA,KAAA,CAAA,mBAAA,CAAA,gBAAA,GAAA,gBAAA,iBAAA,KAAA,CAAA,mBAAA,CAAA,gBAAA;;;;;;;;;;cAyCZ,WAAA,EAAW,KAAA,CAAA,yBAAA,CAAA,IAAA;;;;;;;;;cAoBX,cAAA,EAAc,KAAA,CAAA,yBAAA,CAAA,IAAA;;;;;;;;;;cAMd,YAAA,EAAY,KAAA,CAAA,yBAAA,CAAA,IAAA;;;;;;;cAMZ,YAAA,EAAY,KAAA,CAAA,yBAAA,CAAA,IAAA;;;;;;;;;;;cAgBZ,WAAA,EAAW,KAAA,CAAA,yBAAA,CAAA,IAAA"}
|
|
@@ -10,7 +10,8 @@ type ConnectToastOptions = Omit<ToastOptions, "type"> & {
|
|
|
10
10
|
};
|
|
11
11
|
declare function isConnectTypeOptions(type: ExtendedTypeOptions): type is ConnectTypeOptions;
|
|
12
12
|
declare function toast(content: ToastContent, options?: ConnectToastOptions): react_toastify0.Id;
|
|
13
|
+
declare function dismiss(toastId?: string | number): void;
|
|
13
14
|
declare const ToastContainer: FC<ToastContainerProps>;
|
|
14
15
|
//#endregion
|
|
15
|
-
export { ConnectToastOptions, ConnectTypeOptions, ExtendedTypeOptions, ToastContainer, isConnectTypeOptions, toast };
|
|
16
|
+
export { ConnectToastOptions, ConnectTypeOptions, ExtendedTypeOptions, ToastContainer, dismiss, isConnectTypeOptions, toast };
|
|
16
17
|
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","names":[],"sources":["../../../../src/connect/components/toast/toast.tsx"],"mappings":";;;;;KAYY,kBAAA;AAAA,KAMA,mBAAA,GAAsB,WAAA,GAAc,kBAAA;AAAA,KAEpC,mBAAA,GAAsB,IAAA,CAAK,YAAA;EACrC,IAAA,EAAM,mBAAA;AAAA;AAAA,iBAGQ,oBAAA,CACd,IAAA,EAAM,mBAAA,GACL,IAAA,IAAQ,kBAAA;AAAA,iBA8CK,KAAA,CAAM,OAAA,EAAS,YAAA,EAAc,OAAA,GAAU,mBAAA,GAAmB,eAAA,CAAA,EAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"toast.d.ts","names":[],"sources":["../../../../src/connect/components/toast/toast.tsx"],"mappings":";;;;;KAYY,kBAAA;AAAA,KAMA,mBAAA,GAAsB,WAAA,GAAc,kBAAA;AAAA,KAEpC,mBAAA,GAAsB,IAAA,CAAK,YAAA;EACrC,IAAA,EAAM,mBAAA;AAAA;AAAA,iBAGQ,oBAAA,CACd,IAAA,EAAM,mBAAA,GACL,IAAA,IAAQ,kBAAA;AAAA,iBA8CK,KAAA,CAAM,OAAA,EAAS,YAAA,EAAc,OAAA,GAAU,mBAAA,GAAmB,eAAA,CAAA,EAAA;AAAA,iBAO1D,OAAA,CAAQ,OAAA;AAAA,cAaX,cAAA,EAAgB,EAAA,CAAG,mBAAA"}
|
|
@@ -20,7 +20,7 @@ function getDefaultOptions(type) {
|
|
|
20
20
|
case "connect-warning":
|
|
21
21
|
options.type = "warning";
|
|
22
22
|
options.icon = /* @__PURE__ */ jsx(Icon, {
|
|
23
|
-
className: "text-
|
|
23
|
+
className: "text-warning",
|
|
24
24
|
name: "WarningFill",
|
|
25
25
|
size: 24
|
|
26
26
|
});
|
|
@@ -28,7 +28,7 @@ function getDefaultOptions(type) {
|
|
|
28
28
|
case "connect-loading":
|
|
29
29
|
options.type = "default";
|
|
30
30
|
options.icon = /* @__PURE__ */ jsx(Icon, {
|
|
31
|
-
className: "text-
|
|
31
|
+
className: "text-warning",
|
|
32
32
|
name: "ClockFill",
|
|
33
33
|
size: 24
|
|
34
34
|
});
|
|
@@ -53,6 +53,9 @@ function toast(content, options) {
|
|
|
53
53
|
...restOptions
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
+
function dismiss(toastId) {
|
|
57
|
+
return toast$1.dismiss(toastId);
|
|
58
|
+
}
|
|
56
59
|
const CloseButton = ({ closeToast }) => /* @__PURE__ */ jsx("button", {
|
|
57
60
|
className: "flex items-center text-muted-foreground hover:hover-effect",
|
|
58
61
|
onClick: closeToast,
|
|
@@ -66,6 +69,6 @@ const ToastContainer = (props) => /* @__PURE__ */ jsx(ToastContainer$1, {
|
|
|
66
69
|
...props
|
|
67
70
|
});
|
|
68
71
|
//#endregion
|
|
69
|
-
export { ToastContainer, isConnectTypeOptions, toast };
|
|
72
|
+
export { ToastContainer, dismiss, isConnectTypeOptions, toast };
|
|
70
73
|
|
|
71
74
|
//# sourceMappingURL=toast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.js","names":["Icon","ToastContainer","RToastContainer","toast","rToast","isConnectTypeOptions","type","getDefaultOptions","options","icon","content","restOptions","defaultOptions","CloseButton","closeToast","props"],"sources":["../../../../src/connect/components/toast/toast.tsx"],"sourcesContent":["import { Icon } from \"#design-system\";\nimport type { FC } from \"react\";\nimport type {\n ToastContainerProps,\n ToastContent,\n ToastOptions,\n TypeOptions,\n} from \"react-toastify\";\nimport {\n ToastContainer as RToastContainer,\n toast as rToast,\n} from \"react-toastify\";\nexport type ConnectTypeOptions =\n | \"connect-success\"\n | \"connect-warning\"\n | \"connect-loading\"\n | \"connect-deleted\";\n\nexport type ExtendedTypeOptions = TypeOptions | ConnectTypeOptions;\n\nexport type ConnectToastOptions = Omit<ToastOptions, \"type\"> & {\n type: ExtendedTypeOptions;\n};\n\nexport function isConnectTypeOptions(\n type: ExtendedTypeOptions,\n): type is ConnectTypeOptions {\n return (\n type === \"connect-success\" ||\n type === \"connect-warning\" ||\n type === \"connect-loading\" ||\n type === \"connect-deleted\"\n );\n}\n\nfunction getDefaultOptions(type: ExtendedTypeOptions): ToastOptions {\n if (isConnectTypeOptions(type)) {\n const options: ToastOptions = {};\n\n switch (type) {\n case \"connect-success\":\n options.type = \"success\";\n options.icon = (\n <Icon className=\"text-success\" name=\"CheckCircleFill\" size={24} />\n );\n break;\n case \"connect-warning\":\n options.type = \"warning\";\n options.icon = (\n <Icon className=\"text-
|
|
1
|
+
{"version":3,"file":"toast.js","names":["Icon","ToastContainer","RToastContainer","toast","rToast","isConnectTypeOptions","type","getDefaultOptions","options","icon","content","restOptions","defaultOptions","dismiss","toastId","CloseButton","closeToast","props"],"sources":["../../../../src/connect/components/toast/toast.tsx"],"sourcesContent":["import { Icon } from \"#design-system\";\nimport type { FC } from \"react\";\nimport type {\n ToastContainerProps,\n ToastContent,\n ToastOptions,\n TypeOptions,\n} from \"react-toastify\";\nimport {\n ToastContainer as RToastContainer,\n toast as rToast,\n} from \"react-toastify\";\nexport type ConnectTypeOptions =\n | \"connect-success\"\n | \"connect-warning\"\n | \"connect-loading\"\n | \"connect-deleted\";\n\nexport type ExtendedTypeOptions = TypeOptions | ConnectTypeOptions;\n\nexport type ConnectToastOptions = Omit<ToastOptions, \"type\"> & {\n type: ExtendedTypeOptions;\n};\n\nexport function isConnectTypeOptions(\n type: ExtendedTypeOptions,\n): type is ConnectTypeOptions {\n return (\n type === \"connect-success\" ||\n type === \"connect-warning\" ||\n type === \"connect-loading\" ||\n type === \"connect-deleted\"\n );\n}\n\nfunction getDefaultOptions(type: ExtendedTypeOptions): ToastOptions {\n if (isConnectTypeOptions(type)) {\n const options: ToastOptions = {};\n\n switch (type) {\n case \"connect-success\":\n options.type = \"success\";\n options.icon = (\n <Icon className=\"text-success\" name=\"CheckCircleFill\" size={24} />\n );\n break;\n case \"connect-warning\":\n options.type = \"warning\";\n options.icon = (\n <Icon className=\"text-warning\" name=\"WarningFill\" size={24} />\n );\n break;\n case \"connect-loading\":\n options.type = \"default\";\n options.icon = (\n <Icon className=\"text-warning\" name=\"ClockFill\" size={24} />\n );\n break;\n case \"connect-deleted\":\n options.type = \"error\";\n options.icon = (\n <Icon className=\"text-destructive\" name=\"TrashFill\" size={24} />\n );\n break;\n }\n\n return options;\n }\n\n return { type };\n}\n\nexport function toast(content: ToastContent, options?: ConnectToastOptions) {\n const { type = \"default\", ...restOptions } = options || {};\n const defaultOptions = getDefaultOptions(type);\n\n return rToast(content, { ...defaultOptions, ...restOptions });\n}\n\nexport function dismiss(toastId?: string | number) {\n return rToast.dismiss(toastId);\n}\n\nconst CloseButton: ToastContainerProps[\"closeButton\"] = ({ closeToast }) => (\n <button\n className=\"flex items-center text-muted-foreground hover:hover-effect\"\n onClick={closeToast}\n >\n <Icon name=\"XmarkLight\" size={16} />\n </button>\n);\n\nexport const ToastContainer: FC<ToastContainerProps> = (props) => (\n <RToastContainer closeButton={CloseButton} {...props} />\n);\n"],"mappings":";;;;AAwBA,SAAgBK,qBACdC,MAC4B;AAC5B,QACEA,SAAS,qBACTA,SAAS,qBACTA,SAAS,qBACTA,SAAS;;AAIb,SAASC,kBAAkBD,MAAyC;AAClE,KAAID,qBAAqBC,KAAK,EAAE;EAC9B,MAAME,UAAwB,EAAE;AAEhC,UAAQF,MAAR;GACE,KAAK;AACHE,YAAQF,OAAO;AACfE,YAAQC,OACN,oBAAC,MAAD;KAAM,WAAU;KAAe,MAAK;KAAkB,MAAM;KAC7D,CAAA;AACD;GACF,KAAK;AACHD,YAAQF,OAAO;AACfE,YAAQC,OACN,oBAAC,MAAD;KAAM,WAAU;KAAe,MAAK;KAAc,MAAM;KACzD,CAAA;AACD;GACF,KAAK;AACHD,YAAQF,OAAO;AACfE,YAAQC,OACN,oBAAC,MAAD;KAAM,WAAU;KAAe,MAAK;KAAY,MAAM;KACvD,CAAA;AACD;GACF,KAAK;AACHD,YAAQF,OAAO;AACfE,YAAQC,OACN,oBAAC,MAAD;KAAM,WAAU;KAAmB,MAAK;KAAY,MAAM;KAC3D,CAAA;AACD;;AAGJ,SAAOD;;AAGT,QAAO,EAAEF,MAAM;;AAGjB,SAAgBH,MAAMO,SAAuBF,SAA+B;CAC1E,MAAM,EAAEF,OAAO,WAAW,GAAGK,gBAAgBH,WAAW,EAAE;AAG1D,QAAOJ,QAAOM,SAAS;EAAE,GAFFH,kBAAkBD,KAAK;EAEF,GAAGK;EAAa,CAAC;;AAG/D,SAAgBE,QAAQC,SAA2B;AACjD,QAAOV,QAAOS,QAAQC,QAAQ;;AAGhC,MAAMC,eAAmD,EAAEC,iBACzD,oBAAC,UAAD;CACE,WAAU;CACV,SAASA;WAET,oBAAC,MAAD;EAAM,MAAK;EAAa,MAAM;EAAG,CAAA;CAEpC,CAAA;AAED,MAAaf,kBAA2CgB,UACtD,oBAAC,kBAAD;CAAiB,aAAaF;CAAa,GAAIE;CAChD,CAAA"}
|
package/dist/connect/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as Size, F as SidebarHeader, P as SidebarFooter, S as SelectOption, T as DivProps, X as Icon, Y as Modal, _t as SUCCESS, et as IconName, ft as AppOptions, gt as MISSING, ht as INITIAL_SYNC, mt as ERROR, pt as CONFLICT, ut as SyncStatus$1, vt as SYNCING, yt as syncStatuses } from "../index--hDSfvJT.js";
|
|
2
2
|
import * as react from "react";
|
|
3
|
-
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
3
|
+
import React$1, { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, FC, HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
import * as _radix_ui_react_tooltip0 from "@radix-ui/react-tooltip";
|
|
6
6
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
|
@@ -17,17 +17,42 @@ import { RegistryPackage, RegistryPackageList } from "@powerhousedao/shared/regi
|
|
|
17
17
|
interface AccountPopoverProps {
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
content: ReactNode;
|
|
20
|
+
open?: boolean;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
20
22
|
}
|
|
21
23
|
declare const AccountPopover: ({
|
|
22
24
|
children,
|
|
23
|
-
content
|
|
25
|
+
content,
|
|
26
|
+
open,
|
|
27
|
+
onOpenChange
|
|
24
28
|
}: AccountPopoverProps) => react_jsx_runtime0.JSX.Element;
|
|
25
29
|
//#endregion
|
|
30
|
+
//#region src/connect/components/account-popover/account-popover-login.d.ts
|
|
31
|
+
interface AccountPopoverLoginProps {
|
|
32
|
+
onLogin: (() => void) | undefined;
|
|
33
|
+
}
|
|
34
|
+
declare const AccountPopoverLogin: FC<AccountPopoverLoginProps>;
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/connect/components/renown-login/renown-login-methods.d.ts
|
|
37
|
+
interface RenownLoginOption {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
onSelect: () => void;
|
|
41
|
+
lastUsed?: boolean;
|
|
42
|
+
}
|
|
43
|
+
interface RenownLoginMethodsProps {
|
|
44
|
+
methods: RenownLoginOption[];
|
|
45
|
+
loading?: boolean;
|
|
46
|
+
error?: string | null;
|
|
47
|
+
className?: string;
|
|
48
|
+
}
|
|
49
|
+
declare const RenownLoginMethods: FC<RenownLoginMethodsProps>;
|
|
50
|
+
//#endregion
|
|
26
51
|
//#region src/connect/components/animated-loader/animated-loader.d.ts
|
|
27
|
-
type Props$
|
|
52
|
+
type Props$11 = ComponentPropsWithoutRef<"video"> & {
|
|
28
53
|
readonly size?: Size;
|
|
29
54
|
};
|
|
30
|
-
declare function AnimatedLoader(props: Props$
|
|
55
|
+
declare function AnimatedLoader(props: Props$11): react_jsx_runtime0.JSX.Element;
|
|
31
56
|
//#endregion
|
|
32
57
|
//#region src/connect/components/breadcrumbs/breadcrumbs.d.ts
|
|
33
58
|
declare function Breadcrumbs(): react_jsx_runtime0.JSX.Element;
|
|
@@ -41,13 +66,13 @@ declare function Breadcrumb(props: BreadcrumbProps): react_jsx_runtime0.JSX.Elem
|
|
|
41
66
|
//#endregion
|
|
42
67
|
//#region src/connect/components/combobox/combobox.d.ts
|
|
43
68
|
type SelectProps = ComponentPropsWithoutRef<typeof Select>;
|
|
44
|
-
type Props$
|
|
69
|
+
type Props$10 = Omit<SelectProps, "components" | "styles" | "theme"> & {
|
|
45
70
|
readonly addItemButtonProps?: {
|
|
46
71
|
label?: ReactNode;
|
|
47
72
|
onClick?: () => void;
|
|
48
73
|
};
|
|
49
74
|
};
|
|
50
|
-
declare function Combobox(props: Props$
|
|
75
|
+
declare function Combobox(props: Props$10): react_jsx_runtime0.JSX.Element;
|
|
51
76
|
//#endregion
|
|
52
77
|
//#region src/connect/components/cookie-banner/cookie-banner.d.ts
|
|
53
78
|
type CookieInput = {
|
|
@@ -240,7 +265,7 @@ declare function ToolbarControlsContainer(props: ComponentProps<"div">): react_j
|
|
|
240
265
|
*
|
|
241
266
|
* The order is derived from `defaultControlSlots`.
|
|
242
267
|
*/
|
|
243
|
-
declare const documentToolbarControls: readonly ["undo", "redo", "download", "name", "history", "switchboard", "close"];
|
|
268
|
+
declare const documentToolbarControls: readonly ["undo", "redo", "download", "name", "update", "history", "switchboard", "close"];
|
|
244
269
|
//#endregion
|
|
245
270
|
//#region src/connect/components/document-toolbar/types.d.ts
|
|
246
271
|
/**
|
|
@@ -587,17 +612,12 @@ declare function ToolbarName(props: {
|
|
|
587
612
|
interface DriveAuthGateProps {
|
|
588
613
|
/** Visual state — `"login"` (anonymous) or `"unauthorized"` (already signed in, not the owner). Defaults to `"login"`. */
|
|
589
614
|
readonly mode?: "login" | "unauthorized";
|
|
590
|
-
/**
|
|
615
|
+
/** Opens the login flow (e.g. `showPHModal({ type: "login" })`); the login methods live in that modal, not here. */
|
|
591
616
|
readonly onLogin?: () => void;
|
|
592
617
|
/** Logout action used in `"unauthorized"` mode. */
|
|
593
618
|
readonly onLogout?: () => void;
|
|
594
619
|
readonly className?: string;
|
|
595
620
|
}
|
|
596
|
-
/**
|
|
597
|
-
* Reusable "log in to access this drive" card. Used both as the content of the
|
|
598
|
-
* drive-add auth modal and as the full-page gate shown when the user logs out
|
|
599
|
-
* while inside a protected drive — so the two stay visually identical.
|
|
600
|
-
*/
|
|
601
621
|
declare function DriveAuthGate(props: DriveAuthGateProps): react_jsx_runtime0.JSX.Element;
|
|
602
622
|
//#endregion
|
|
603
623
|
//#region src/connect/components/drop-zone/drop-zone-wrapper.d.ts
|
|
@@ -648,6 +668,10 @@ type UploadTracker = {
|
|
|
648
668
|
duplicateType?: "id" | "name";
|
|
649
669
|
};
|
|
650
670
|
type OnAddFileWithProgress = (file: File, parent: Node | undefined, onProgress?: (progress: FileUploadProgress) => void, resolveConflict?: ConflictResolution) => Promise<Node | undefined> | Node | undefined;
|
|
671
|
+
declare function generateId(): string;
|
|
672
|
+
declare function formatFileSize(bytes: number): string;
|
|
673
|
+
declare function mapProgressStageToStatus(stage: FileUploadProgress["stage"]): UploadTracker["status"];
|
|
674
|
+
declare function mapUploadsToFileItems(uploadsArray: (UploadTracker | undefined)[], removeUpload: (uploadId: string) => void, setSelectedNodeFn?: (nodeOrNodeSlug: Node | string | undefined) => void, onConflictResolution?: (uploadId: string) => void): UploadFileItemProps[];
|
|
651
675
|
//#endregion
|
|
652
676
|
//#region src/connect/components/drop-zone/drop-zone.d.ts
|
|
653
677
|
type DropZoneProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -712,21 +736,21 @@ type EditorUndoRedoButtonsProps = {
|
|
|
712
736
|
declare function EditorUndoRedoButtons(props: EditorUndoRedoButtonsProps): react_jsx_runtime0.JSX.Element;
|
|
713
737
|
//#endregion
|
|
714
738
|
//#region src/connect/components/ens-avatar/ens-avatar.d.ts
|
|
715
|
-
type Props$
|
|
739
|
+
type Props$9 = {
|
|
716
740
|
readonly address: `0x${string}`;
|
|
717
741
|
readonly chainId?: number;
|
|
718
742
|
readonly avatarUrl?: string;
|
|
719
743
|
readonly size?: CSSProperties["width"];
|
|
720
744
|
};
|
|
721
|
-
declare function ENSAvatar(props: Props$
|
|
745
|
+
declare function ENSAvatar(props: Props$9): react_jsx_runtime0.JSX.Element;
|
|
722
746
|
//#endregion
|
|
723
747
|
//#region src/connect/components/file-item/file-item.d.ts
|
|
724
|
-
type Props$
|
|
748
|
+
type Props$8 = {
|
|
725
749
|
fileNode: FileNode;
|
|
726
750
|
className?: string;
|
|
727
751
|
customDocumentIconSrc?: string;
|
|
728
752
|
};
|
|
729
|
-
declare function FileItem(props: Props$
|
|
753
|
+
declare function FileItem(props: Props$8): react_jsx_runtime0.JSX.Element;
|
|
730
754
|
//#endregion
|
|
731
755
|
//#region src/connect/components/folder-item/folder-item.d.ts
|
|
732
756
|
declare function FolderItem(props: {
|
|
@@ -895,6 +919,24 @@ type CreateDocumentModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
|
895
919
|
};
|
|
896
920
|
declare function CreateDocumentModal(props: CreateDocumentModalProps): react_jsx_runtime0.JSX.Element;
|
|
897
921
|
//#endregion
|
|
922
|
+
//#region src/connect/components/modal/create-document-with-type-modal.d.ts
|
|
923
|
+
type DocumentTypeOption = {
|
|
924
|
+
readonly documentType: string;
|
|
925
|
+
readonly name: string;
|
|
926
|
+
readonly version?: number;
|
|
927
|
+
readonly description?: string;
|
|
928
|
+
};
|
|
929
|
+
type CreateDocumentWithTypeModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
930
|
+
readonly documentTypes: readonly DocumentTypeOption[];
|
|
931
|
+
readonly onCreate: (input: {
|
|
932
|
+
name: string;
|
|
933
|
+
documentType: string;
|
|
934
|
+
version?: number;
|
|
935
|
+
}) => void;
|
|
936
|
+
readonly onTypeSelected?: (documentType: string) => void;
|
|
937
|
+
};
|
|
938
|
+
declare function CreateDocumentWithTypeModal(props: CreateDocumentWithTypeModalProps): react_jsx_runtime0.JSX.Element;
|
|
939
|
+
//#endregion
|
|
898
940
|
//#region src/connect/components/modal/delete-drive-modal.d.ts
|
|
899
941
|
interface ConnectDeleteDriveModalProps extends ConfirmationModalProps {
|
|
900
942
|
readonly inputPlaceholder: string;
|
|
@@ -1023,7 +1065,8 @@ type WorkerInfo = {
|
|
|
1023
1065
|
readonly bootedAtMs: number;
|
|
1024
1066
|
readonly connectedClients: number;
|
|
1025
1067
|
readonly appBuildId: string;
|
|
1026
|
-
readonly rpcProtocolVersion: number;
|
|
1068
|
+
readonly rpcProtocolVersion: number; /** Enforcement flags the running worker booted with; empty means none. */
|
|
1069
|
+
readonly featureFlags?: string;
|
|
1027
1070
|
};
|
|
1028
1071
|
type WorkerInspectorProps = {
|
|
1029
1072
|
readonly getInfo: () => Promise<WorkerInfo>;
|
|
@@ -1079,6 +1122,11 @@ type PackageInstallModalProps = ComponentPropsWithoutRef<typeof Modal> & {
|
|
|
1079
1122
|
};
|
|
1080
1123
|
declare function PackageInstallModal(props: PackageInstallModalProps): react_jsx_runtime0.JSX.Element | null;
|
|
1081
1124
|
//#endregion
|
|
1125
|
+
//#region src/connect/components/modal/modal-button.d.ts
|
|
1126
|
+
declare function ModalButton(props: ComponentProps<"button"> & {
|
|
1127
|
+
variant: "confirm" | "cancel";
|
|
1128
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
1129
|
+
//#endregion
|
|
1082
1130
|
//#region src/connect/components/modal/read-required-modal.d.ts
|
|
1083
1131
|
type ModalProps$1 = ComponentPropsWithoutRef<typeof Modal>;
|
|
1084
1132
|
type ReadRequiredModalProps = {
|
|
@@ -1110,11 +1158,11 @@ type ConnectReplaceDuplicateModalProps = {
|
|
|
1110
1158
|
declare function ConnectReplaceDuplicateModal(props: ConnectReplaceDuplicateModalProps): react_jsx_runtime0.JSX.Element;
|
|
1111
1159
|
//#endregion
|
|
1112
1160
|
//#region src/connect/components/modal/settings-modal-v2/about.d.ts
|
|
1113
|
-
type Props$
|
|
1161
|
+
type Props$7 = {
|
|
1114
1162
|
packageJson: unknown;
|
|
1115
1163
|
phCliVersion?: string;
|
|
1116
1164
|
};
|
|
1117
|
-
declare function About(props: Props$
|
|
1165
|
+
declare function About(props: Props$7): react_jsx_runtime0.JSX.Element;
|
|
1118
1166
|
//#endregion
|
|
1119
1167
|
//#region src/connect/components/modal/settings-modal-v2/danger-zone.d.ts
|
|
1120
1168
|
type ModifyDrivesProps = {
|
|
@@ -1126,57 +1174,161 @@ type LocalStorageProps = {
|
|
|
1126
1174
|
onClearStorage: () => void | Promise<void>;
|
|
1127
1175
|
className?: string;
|
|
1128
1176
|
};
|
|
1129
|
-
type Props$
|
|
1130
|
-
declare function DangerZone(props: Props$
|
|
1177
|
+
type Props$6 = ModifyDrivesProps & LocalStorageProps;
|
|
1178
|
+
declare function DangerZone(props: Props$6): react_jsx_runtime0.JSX.Element;
|
|
1131
1179
|
//#endregion
|
|
1132
1180
|
//#region src/connect/components/modal/settings-modal-v2/default-editor.d.ts
|
|
1133
|
-
type Props$
|
|
1181
|
+
type Props$5 = {
|
|
1134
1182
|
documentModelEditor: string;
|
|
1135
1183
|
setDocumentModelEditor: (value: string) => void;
|
|
1136
1184
|
documentModelEditorOptions: SelectOption[];
|
|
1137
1185
|
className?: string;
|
|
1138
1186
|
};
|
|
1139
|
-
declare function DefaultEditor(props: Props$
|
|
1140
|
-
declare function DefaultEditorSelect(props: Props$
|
|
1187
|
+
declare function DefaultEditor(props: Props$5): react_jsx_runtime0.JSX.Element;
|
|
1188
|
+
declare function DefaultEditorSelect(props: Props$5): react_jsx_runtime0.JSX.Element;
|
|
1189
|
+
//#endregion
|
|
1190
|
+
//#region src/connect/components/modal/settings-modal-v2/package-manager/available-packages-panel.d.ts
|
|
1191
|
+
type AvailablePackagesPanelProps = {
|
|
1192
|
+
/**
|
|
1193
|
+
* status: available | dismissed. In server-search mode these are already
|
|
1194
|
+
* filtered by the registry; otherwise they're filtered client-side here.
|
|
1195
|
+
*/
|
|
1196
|
+
packages: RegistryPackageList;
|
|
1197
|
+
/**
|
|
1198
|
+
* Bare names of installed packages — suppresses the npm-fallback row for
|
|
1199
|
+
* packages the user already has (they live on the Installed tab).
|
|
1200
|
+
*/
|
|
1201
|
+
installedNames: string[];
|
|
1202
|
+
query: string;
|
|
1203
|
+
onQueryChange: (query: string) => void;
|
|
1204
|
+
/**
|
|
1205
|
+
* When true, `packages` is already server-filtered for `query` — skip the
|
|
1206
|
+
* client-side `filterPackages`. Set by the connect layer once the paginated
|
|
1207
|
+
* search endpoint is wired.
|
|
1208
|
+
*/
|
|
1209
|
+
serverSearch?: boolean; /** true while the first page / a new search is loading. */
|
|
1210
|
+
isLoading?: boolean; /** true while an additional page is being appended (infinite scroll). */
|
|
1211
|
+
isLoadingMore?: boolean; /** more pages exist on the server. */
|
|
1212
|
+
hasMore?: boolean; /** request the next page (infinite scroll). */
|
|
1213
|
+
onLoadMore?: () => void;
|
|
1214
|
+
/**
|
|
1215
|
+
* Registry fetch failed. Presence-only — the panel never surfaces raw API
|
|
1216
|
+
* messages; see `PackageRegistryError` for the user-facing copy.
|
|
1217
|
+
*/
|
|
1218
|
+
error?: boolean; /** retry the current fetch after an error. */
|
|
1219
|
+
onRetry?: () => void;
|
|
1220
|
+
mutable: boolean;
|
|
1221
|
+
onInstall: (packageSpec: string) => Promise<void>;
|
|
1222
|
+
onUninstall: (packageName: string) => void;
|
|
1223
|
+
disabled?: boolean;
|
|
1224
|
+
};
|
|
1225
|
+
declare const AvailablePackagesPanel: React.FC<AvailablePackagesPanelProps>;
|
|
1141
1226
|
//#endregion
|
|
1142
|
-
//#region src/connect/components/modal/settings-modal-v2/package-manager/
|
|
1143
|
-
type
|
|
1144
|
-
|
|
1227
|
+
//#region src/connect/components/modal/settings-modal-v2/package-manager/installed-packages-panel.d.ts
|
|
1228
|
+
type InstalledPackagesPanelProps = {
|
|
1229
|
+
/** status: local-install | registry-install */packages: RegistryPackageList;
|
|
1230
|
+
query: string;
|
|
1231
|
+
onQueryChange: (query: string) => void;
|
|
1145
1232
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1233
|
+
onUninstall: (packageName: string) => void;
|
|
1146
1234
|
disabled?: boolean;
|
|
1147
|
-
className?: string;
|
|
1148
1235
|
};
|
|
1149
|
-
declare const
|
|
1236
|
+
declare const InstalledPackagesPanel: React.FC<InstalledPackagesPanelProps>;
|
|
1150
1237
|
//#endregion
|
|
1151
1238
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager-list.d.ts
|
|
1152
1239
|
declare const PackageManagerListItem: (props: {
|
|
1153
1240
|
registryPackage: RegistryPackage;
|
|
1154
1241
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1155
1242
|
onUninstall: (packageName: string) => void;
|
|
1243
|
+
/**
|
|
1244
|
+
* Tag/version typed in the search query (`pkg@dev`) — preselects the
|
|
1245
|
+
* matching entry in the version picker.
|
|
1246
|
+
*/
|
|
1247
|
+
preferredTag?: string;
|
|
1156
1248
|
className?: string;
|
|
1157
1249
|
}) => react_jsx_runtime0.JSX.Element;
|
|
1158
|
-
|
|
1159
|
-
|
|
1250
|
+
/**
|
|
1251
|
+
* Scroll region shared by both Package Manager tab panels. Fills the space
|
|
1252
|
+
* the panel gives it and scrolls its overflow. This works because the tab
|
|
1253
|
+
* panel sits inside the settings content card, which has a bounded height
|
|
1254
|
+
* (`m-6 ... h-full flex-1 overflow-hidden`); the flex chain down to here is
|
|
1255
|
+
* unbroken (`min-h-0` + `flex-1`/`h-full` at every level), so no
|
|
1256
|
+
* viewport-measuring hack is needed.
|
|
1257
|
+
*/
|
|
1258
|
+
declare const PackagePanelScrollArea: React.FC<{
|
|
1259
|
+
children: ReactNode;
|
|
1260
|
+
className?: string;
|
|
1261
|
+
/**
|
|
1262
|
+
* Called when the bottom sentinel scrolls into view (infinite scroll). Only
|
|
1263
|
+
* observed while a handler is provided — pass `undefined` to stop paging.
|
|
1264
|
+
*/
|
|
1265
|
+
onReachEnd?: () => void;
|
|
1266
|
+
}>;
|
|
1267
|
+
declare const PackageSubSection: React.FC<{
|
|
1268
|
+
title: string;
|
|
1269
|
+
count: number;
|
|
1270
|
+
children: ReactNode;
|
|
1271
|
+
}>;
|
|
1272
|
+
declare const PackageList: React.FC<{
|
|
1273
|
+
packages: RegistryPackageList;
|
|
1160
1274
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1161
1275
|
onUninstall: (packageName: string) => void;
|
|
1162
|
-
|
|
1163
|
-
}
|
|
1276
|
+
preferredTag?: string;
|
|
1277
|
+
}>;
|
|
1164
1278
|
//#endregion
|
|
1165
1279
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-manager.d.ts
|
|
1166
|
-
type
|
|
1167
|
-
|
|
1280
|
+
type PackageManagerProps = {
|
|
1281
|
+
/** status: local-install | registry-install */installedPackages: RegistryPackageList; /** status: available | dismissed (dismissed grouped at the bottom) */
|
|
1282
|
+
availablePackages: RegistryPackageList; /** true while the first page / a new search is loading. */
|
|
1283
|
+
isAvailableLoading?: boolean; /** true while an additional page is being appended (infinite scroll). */
|
|
1284
|
+
isLoadingMoreAvailable?: boolean; /** more Available pages exist on the server. */
|
|
1285
|
+
hasMoreAvailable?: boolean; /** request the next Available page (infinite scroll). */
|
|
1286
|
+
onLoadMoreAvailable?: () => void;
|
|
1287
|
+
/**
|
|
1288
|
+
* Registry Available fetch failed. Presence-only — never pass raw API
|
|
1289
|
+
* messages; the panel renders friendly copy via `PackageRegistryError`.
|
|
1290
|
+
*/
|
|
1291
|
+
availableError?: boolean; /** retry the Available fetch after an error. */
|
|
1292
|
+
onAvailableRetry?: () => void;
|
|
1293
|
+
/**
|
|
1294
|
+
* When provided, Available search is delegated to the server (the panel
|
|
1295
|
+
* skips client-side filtering). Called with the query on every keystroke.
|
|
1296
|
+
*/
|
|
1297
|
+
onAvailableSearchChange?: (query: string) => void;
|
|
1168
1298
|
mutable: boolean;
|
|
1169
1299
|
/**
|
|
1170
1300
|
* Install handler. The argument is the full spec the user chose — either
|
|
1171
1301
|
* the bare package name, or `name@tag` / `name@version` when they typed
|
|
1172
|
-
* a suffix in the search input or picked one via the
|
|
1302
|
+
* a suffix in the search input or picked one via the version picker.
|
|
1173
1303
|
*/
|
|
1174
1304
|
onInstall: (packageSpec: string) => Promise<void>;
|
|
1175
1305
|
onUninstall: (packageName: string) => void;
|
|
1306
|
+
/**
|
|
1307
|
+
* Fired on every activation of the Available tab (including an initial
|
|
1308
|
+
* `initialTab="available"` mount). The caller dedupes — this is what
|
|
1309
|
+
* makes the registry fetch lazy.
|
|
1310
|
+
*/
|
|
1311
|
+
onAvailableTabOpen?: () => void; /** default "installed"; used by stories/tests */
|
|
1312
|
+
initialTab?: "installed" | "available";
|
|
1176
1313
|
disabled?: boolean;
|
|
1177
1314
|
className?: string;
|
|
1178
1315
|
};
|
|
1179
|
-
declare const PackageManager: React.FC<
|
|
1316
|
+
declare const PackageManager: React.FC<PackageManagerProps>;
|
|
1317
|
+
//#endregion
|
|
1318
|
+
//#region src/connect/components/modal/settings-modal-v2/package-manager/package-registry-error.d.ts
|
|
1319
|
+
type PackageRegistryErrorProps = {
|
|
1320
|
+
/**
|
|
1321
|
+
* `empty` — first load / search failed with nothing to show.
|
|
1322
|
+
* `refresh` — a later fetch failed but previously loaded packages remain.
|
|
1323
|
+
*/
|
|
1324
|
+
variant: "empty" | "refresh";
|
|
1325
|
+
onRetry?: () => void;
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* Friendly registry-error banner. Never surfaces raw API / network messages —
|
|
1329
|
+
* those stay in the console for debugging.
|
|
1330
|
+
*/
|
|
1331
|
+
declare const PackageRegistryError: React.FC<PackageRegistryErrorProps>;
|
|
1180
1332
|
//#endregion
|
|
1181
1333
|
//#region src/connect/components/modal/settings-modal-v2/package-manager/types.d.ts
|
|
1182
1334
|
interface RegistryOption {
|
|
@@ -1302,7 +1454,8 @@ type ConnectSelectProps<TValue extends string> = {
|
|
|
1302
1454
|
menuClassName?: string;
|
|
1303
1455
|
itemClassName?: string;
|
|
1304
1456
|
borderRadius?: CSSProperties["borderRadius"];
|
|
1305
|
-
absolutePositionMenu?: boolean;
|
|
1457
|
+
absolutePositionMenu?: boolean; /** Applied to the expanded options list, e.g. to cap its height and make it scrollable. */
|
|
1458
|
+
listClassName?: string;
|
|
1306
1459
|
};
|
|
1307
1460
|
declare const ConnectSelect: <TValue extends string>(props: ConnectSelectProps<TValue> & RefAttributes<HTMLDivElement>) => ReactNode;
|
|
1308
1461
|
//#endregion
|
|
@@ -1382,7 +1535,13 @@ declare function SyncStatusIcon(props: SyncStatusIconProps): react_jsx_runtime0.
|
|
|
1382
1535
|
//#region src/connect/components/tabs/tab-content.d.ts
|
|
1383
1536
|
type TabContentProps = {
|
|
1384
1537
|
readonly label: ReactNode;
|
|
1385
|
-
|
|
1538
|
+
/**
|
|
1539
|
+
* Stable tab value. Required when `label` is not a plain string (e.g. it
|
|
1540
|
+
* embeds a changing count) — Radix derives aria ids from it. Falls back to
|
|
1541
|
+
* the slugified label.
|
|
1542
|
+
*/
|
|
1543
|
+
readonly value?: string;
|
|
1544
|
+
readonly description?: ReactNode;
|
|
1386
1545
|
readonly children: ReactNode;
|
|
1387
1546
|
readonly disabled?: boolean;
|
|
1388
1547
|
};
|
|
@@ -1391,10 +1550,14 @@ declare function TabContent(props: TabContentProps): react_jsx_runtime0.JSX.Elem
|
|
|
1391
1550
|
//#region src/connect/components/tabs/tabs.d.ts
|
|
1392
1551
|
declare function Tabs({
|
|
1393
1552
|
children,
|
|
1394
|
-
defaultValue
|
|
1553
|
+
defaultValue,
|
|
1554
|
+
onValueChange,
|
|
1555
|
+
listClassName
|
|
1395
1556
|
}: {
|
|
1396
1557
|
children: React$1.ReactNode;
|
|
1397
1558
|
defaultValue: string;
|
|
1559
|
+
onValueChange?: (value: string) => void; /** Applied to the tab list row (not the panel content). */
|
|
1560
|
+
listClassName?: string;
|
|
1398
1561
|
}): react_jsx_runtime0.JSX.Element;
|
|
1399
1562
|
//#endregion
|
|
1400
1563
|
//#region src/connect/components/theme-switch.d.ts
|
|
@@ -1579,5 +1742,5 @@ declare const sortFilesByStatus: (files: FileStatus[]) => FileStatus[];
|
|
|
1579
1742
|
*/
|
|
1580
1743
|
declare const removeSuccessFiles: (files: FileStatus[]) => FileStatus[];
|
|
1581
1744
|
//#endregion
|
|
1582
|
-
export { About, AccountPopover, AccountPopoverProps, AddDriveModal, AddDriveModalProps, AddLocalDriveForm, AddPublicDriveFormProps, AddRemoteDriveForm, AddRemoteDriveInput, AnimatedLoader, AppOptions, Breadcrumb, BreadcrumbProps, Breadcrumbs, CONFLICT, ChannelInspector, ChannelInspectorProps, type ColumnInfo, Combobox, ConfirmationModalProps, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteDriveModalProps, ConnectDeleteItemModal, ConnectDeleteItemModalProps, ConnectDropdownMenu, ConnectDropdownMenuItem, ConnectDropdownMenuProps, ConnectReplaceDuplicateModal, ConnectReplaceDuplicateModalProps, ConnectSearchBar, ConnectSearchBarProps, ConnectSelect, ConnectSelectItem, ConnectSelectProps, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarFooterProps, ConnectSidebarHeader, ConnectSidebarHeaderProps, ConnectSidebarProps, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectUpgradeDriveModalProps, ConnectionStateBadge, ConnectionStateBadgeProps, ConnectionStateSummary, type ContainerComponent, type ControlPosition, type ControlSlot, CookieBanner, CookieBannerProps, CookieInput, CreateDocumentModal, CreateDocumentModalProps, type CustomToolbarControl, type CustomToolbarControlList, type CustomToolbarControls, DBExplorer, DBExplorerProps, DangerZone, DbClient, DebugInspector, DebugInspectorProps, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentTimelineProps, DocumentToolbar, type DocumentToolbarControlName, type DocumentToolbarProps, type DocumentToolbarWithChildrenProps, type DocumentToolbarWithCustomControlsProps, DriveAuthGate, DriveAuthGateProps, DriveSettingsModal, DriveSettingsModalProps, DropZone, DropZoneProps, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorActionButtonsProps, EditorUndoRedoButtons, EditorUndoRedoButtonsProps, FileItem, FileStatus, type FilterClause, type FilterGroup, type FilterOperator, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, GetTableRowsOptions, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, InspectorModal, InspectorModalProps, InspectorTab, InspectorUnavailableTabs, IntegrityInspector, IntegrityInspectorProps, LoadingScreen, LoadingScreenProps, LogoAnimation, MISSING, NodeInput, ObjectInspectorModal, ObjectInspectorModalProps, PackageInstallModal, PackageInstallModalProps, PackageManager,
|
|
1745
|
+
export { About, AccountPopover, AccountPopoverLogin, AccountPopoverLoginProps, AccountPopoverProps, AddDriveModal, AddDriveModalProps, AddLocalDriveForm, AddPublicDriveFormProps, AddRemoteDriveForm, AddRemoteDriveInput, AnimatedLoader, AppOptions, AvailablePackagesPanel, AvailablePackagesPanelProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, CONFLICT, ChannelInspector, ChannelInspectorProps, type ColumnInfo, Combobox, ConfirmationModalProps, ConnectConfirmationModal, ConnectDeleteDriveModal, ConnectDeleteDriveModalProps, ConnectDeleteItemModal, ConnectDeleteItemModalProps, ConnectDropdownMenu, ConnectDropdownMenuItem, ConnectDropdownMenuProps, ConnectReplaceDuplicateModal, ConnectReplaceDuplicateModalProps, ConnectSearchBar, ConnectSearchBarProps, ConnectSelect, ConnectSelectItem, ConnectSelectProps, ConnectSidebar, ConnectSidebarFooter, ConnectSidebarFooterProps, ConnectSidebarHeader, ConnectSidebarHeaderProps, ConnectSidebarProps, ConnectTooltip, ConnectTooltipProvider, ConnectUpgradeDriveModal, ConnectUpgradeDriveModalProps, ConnectionStateBadge, ConnectionStateBadgeProps, ConnectionStateSummary, type ContainerComponent, type ControlPosition, type ControlSlot, CookieBanner, CookieBannerProps, CookieInput, CreateDocumentModal, CreateDocumentModalProps, CreateDocumentWithTypeModal, CreateDocumentWithTypeModalProps, type CustomToolbarControl, type CustomToolbarControlList, type CustomToolbarControls, DBExplorer, DBExplorerProps, DangerZone, DbClient, DebugInspector, DebugInspectorProps, DefaultEditor, DefaultEditorLoader, DefaultEditorSelect, DependencyVersions, Disclosure, Divider, DocumentStateViewer, DocumentTimeline, DocumentTimelineProps, DocumentToolbar, type DocumentToolbarControlName, type DocumentToolbarProps, type DocumentToolbarWithChildrenProps, type DocumentToolbarWithCustomControlsProps, DocumentTypeOption, DriveAuthGate, DriveAuthGateProps, DriveSettingsModal, DriveSettingsModalProps, DropZone, DropZoneProps, DropZoneWrapper, ENSAvatar, ERROR, EditorActionButtons, EditorActionButtonsProps, EditorUndoRedoButtons, EditorUndoRedoButtonsProps, FileItem, FileStatus, type FilterClause, type FilterGroup, type FilterOperator, FolderItem, Footer, FooterLink, FormInput, FormattedJsonViewer, GetTableRowsOptions, HomeBackgroundImage, HomeScreen, HomeScreenAddDriveItem, HomeScreenItem, INITIAL_SYNC, InspectorModal, InspectorModalProps, InspectorTab, InspectorUnavailableTabs, InstalledPackagesPanel, InstalledPackagesPanelProps, IntegrityInspector, IntegrityInspectorProps, LoadingScreen, LoadingScreenProps, LogoAnimation, MISSING, ModalButton, NodeInput, ObjectInspectorModal, ObjectInspectorModalProps, OnAddFileWithProgress, PackageInstallModal, PackageInstallModalProps, PackageList, PackageManager, PackageManagerListItem, PackageManagerProps, PackagePanelScrollArea, PackageRegistryError, PackageRegistryErrorProps, PackageSubSection, PendingPackageInstallation, PgVersionControl, ProcessorInfo, ProcessorsInspector, ProcessorsInspectorProps, QueueInspector, QueueInspectorProps, QueueState, ReadRequiredModal, ReadRequiredModalProps, RegistryOption, RegistryStatus, RemotesInspector, RemotesInspectorProps, RenownLoginMethods, RenownLoginMethodsProps, RenownLoginOption, RevisionHistory, SUCCESS, SYNCING, SettingsModal, SettingsTab, SidebarAddDriveItem, SidebarItem, SidebarLogin, SidebarLoginProps, SidebarUser, SidebarUserProps, type SortOptions, SyncStatusIcon, SyncStatusIconProps, TabContent, TabContentProps, type TableInfo, TablePage, Tabs, ThemeSwitch, TimelineBarItem, TimelineDividerItem, TimelineItem, Toggle, ToolbarButton, type ToolbarButtonClickHandler, type ToolbarButtonProps, ToolbarCloseButton, ToolbarContainer, type ToolbarControlComponent, type ToolbarControlComponents, ToolbarControlsContainer, ToolbarDownloadButton, ToolbarHistoryButton, ToolbarInput, ToolbarName, ToolbarRedoButton, ToolbarSwitchboardButton, ToolbarUndoButton, UploadFileItem, UploadFileItemProps, UploadFileItemStatus, UploadFileList, UploadFileListContainer, UploadFileListContainerProps, UploadFileListProps, UploadTracker, WorkerInfo, WorkerInspector, WorkerInspectorProps, debugNodeOptions, debugNodeOptionsMap, defaultDriveOptions, defaultNodeOptions, fileNodeDropdownOptions, folderNodeDropdownOptions, formatEthAddress, formatFileSize, generateId, getFolderStatus, locationInfoByLocation, mapProgressStageToStatus, mapUploadsToFileItems, nodeOptions, normalNodeOptions, removeSuccessFiles, sharingTypeOptions, sortFilesByStatus, syncStatuses, useEns, verifyPackageJsonFields };
|
|
1583
1746
|
//# sourceMappingURL=index.d.ts.map
|