eddev 0.2.2-beta.11 → 0.2.2-beta.12
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/admin/components/ImageWell.d.ts +1 -0
- package/admin/{defineFIeld.d.ts → defineField.d.ts} +0 -0
- package/admin/{defineFIeld.js → defineField.js} +0 -0
- package/cli/display/components/BundleDisplay.d.ts +1 -0
- package/cli/display/components/CodegenDisplay.d.ts +1 -0
- package/cli/display/components/DevCLIDisplay.d.ts +1 -0
- package/cli/display/components/ServerlessDisplay.d.ts +1 -0
- package/cli/display/components/StatusIcon.d.ts +1 -0
- package/components/AdminBar.d.ts +1 -0
- package/dev-ui/components/BreakpointColumnHeader.d.ts +1 -0
- package/dev-ui/components/BreakpointIndicator.d.ts +1 -0
- package/dev-ui/components/DevUI.d.ts +1 -0
- package/dev-ui/components/ResponsiveLerpControl.d.ts +1 -0
- package/dev-ui/components/ResponsiveScaleEditor.d.ts +1 -0
- package/dev-ui/components/atoms/NumberField.d.ts +1 -0
- package/dev-ui/components/panels/PageDataDebugger.d.ts +1 -0
- package/dev-ui/components/panels/SpacingEditor.d.ts +1 -0
- package/dev-ui/components/panels/TypographyEditor.d.ts +1 -0
- package/dev-ui/icons.d.ts +1 -0
- package/dev-ui/loader.d.ts +1 -0
- package/dev-ui/theme.d.ts +151 -0
- package/dynamic/dynamic-component.d.ts +10 -0
- package/entry/Root.d.ts +1 -0
- package/hooks/useRPC.d.ts +32 -0
- package/package.json +1 -1
- package/style/createStitches.d.ts +1056 -0
|
File without changes
|
|
File without changes
|
package/components/AdminBar.d.ts
CHANGED
package/dev-ui/icons.d.ts
CHANGED
package/dev-ui/loader.d.ts
CHANGED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const styled: <Type extends import("react").ComponentType<any> | keyof JSX.IntrinsicElements | import("@stitches/react/types/util").Function, Composers extends (string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function | {
|
|
3
|
+
[name: string]: unknown;
|
|
4
|
+
})[], CSS = import("@stitches/react/types/css-util").CSS<{}, {
|
|
5
|
+
space: {
|
|
6
|
+
smallButtonHeight: string;
|
|
7
|
+
buttonHeight: string;
|
|
8
|
+
0: string;
|
|
9
|
+
1: string;
|
|
10
|
+
2: string;
|
|
11
|
+
3: string;
|
|
12
|
+
4: string;
|
|
13
|
+
5: string;
|
|
14
|
+
6: string;
|
|
15
|
+
};
|
|
16
|
+
colors: {
|
|
17
|
+
bg: string;
|
|
18
|
+
bgHover: string;
|
|
19
|
+
bgHoverLight: string;
|
|
20
|
+
bgLine: string;
|
|
21
|
+
bgLineStrong: string;
|
|
22
|
+
button: string;
|
|
23
|
+
buttonHover: string;
|
|
24
|
+
fg: string;
|
|
25
|
+
fgFaded: string;
|
|
26
|
+
};
|
|
27
|
+
fontSizes: {
|
|
28
|
+
sm: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
xl: string;
|
|
32
|
+
};
|
|
33
|
+
fonts: {
|
|
34
|
+
body: string;
|
|
35
|
+
mono: string;
|
|
36
|
+
};
|
|
37
|
+
radii: {
|
|
38
|
+
sm: string;
|
|
39
|
+
md: string;
|
|
40
|
+
lg: string;
|
|
41
|
+
};
|
|
42
|
+
transitions: {
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>(type: Type, ...composers: { [K in keyof Composers]: Composers[K] extends string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function ? Composers[K] : import("@stitches/react/types/stitches").RemoveIndex<CSS> & {
|
|
46
|
+
variants?: {
|
|
47
|
+
[x: string]: {
|
|
48
|
+
[x: string]: CSS;
|
|
49
|
+
[x: number]: CSS;
|
|
50
|
+
};
|
|
51
|
+
} | undefined;
|
|
52
|
+
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("@stitches/react/types/util").String | import("@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]> | undefined; } : import("@stitches/react/types/util").WideObject) & {
|
|
53
|
+
css: CSS;
|
|
54
|
+
})[] | undefined;
|
|
55
|
+
defaultVariants?: ("variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("@stitches/react/types/util").String | import("@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]> | undefined; } : import("@stitches/react/types/util").WideObject) | undefined;
|
|
56
|
+
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("@stitches/react/types/styled-component").StyledComponent<Type, import("@stitches/react/types/styled-component").StyledComponentProps<Composers>, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
57
|
+
space: {
|
|
58
|
+
smallButtonHeight: string;
|
|
59
|
+
buttonHeight: string;
|
|
60
|
+
0: string;
|
|
61
|
+
1: string;
|
|
62
|
+
2: string;
|
|
63
|
+
3: string;
|
|
64
|
+
4: string;
|
|
65
|
+
5: string;
|
|
66
|
+
6: string;
|
|
67
|
+
};
|
|
68
|
+
colors: {
|
|
69
|
+
bg: string;
|
|
70
|
+
bgHover: string;
|
|
71
|
+
bgHoverLight: string;
|
|
72
|
+
bgLine: string;
|
|
73
|
+
bgLineStrong: string;
|
|
74
|
+
button: string;
|
|
75
|
+
buttonHover: string;
|
|
76
|
+
fg: string;
|
|
77
|
+
fgFaded: string;
|
|
78
|
+
};
|
|
79
|
+
fontSizes: {
|
|
80
|
+
sm: string;
|
|
81
|
+
md: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
xl: string;
|
|
84
|
+
};
|
|
85
|
+
fonts: {
|
|
86
|
+
body: string;
|
|
87
|
+
mono: string;
|
|
88
|
+
};
|
|
89
|
+
radii: {
|
|
90
|
+
sm: string;
|
|
91
|
+
md: string;
|
|
92
|
+
lg: string;
|
|
93
|
+
};
|
|
94
|
+
transitions: {
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>, css: <Composers extends (string | import("react").JSXElementConstructor<any> | import("react").ExoticComponent<any> | import("@stitches/react/types/util").Function | {
|
|
98
|
+
[name: string]: unknown;
|
|
99
|
+
})[], CSS = import("@stitches/react/types/css-util").CSS<{}, {
|
|
100
|
+
space: {
|
|
101
|
+
smallButtonHeight: string;
|
|
102
|
+
buttonHeight: string;
|
|
103
|
+
0: string;
|
|
104
|
+
1: string;
|
|
105
|
+
2: string;
|
|
106
|
+
3: string;
|
|
107
|
+
4: string;
|
|
108
|
+
5: string;
|
|
109
|
+
6: string;
|
|
110
|
+
};
|
|
111
|
+
colors: {
|
|
112
|
+
bg: string;
|
|
113
|
+
bgHover: string;
|
|
114
|
+
bgHoverLight: string;
|
|
115
|
+
bgLine: string;
|
|
116
|
+
bgLineStrong: string;
|
|
117
|
+
button: string;
|
|
118
|
+
buttonHover: string;
|
|
119
|
+
fg: string;
|
|
120
|
+
fgFaded: string;
|
|
121
|
+
};
|
|
122
|
+
fontSizes: {
|
|
123
|
+
sm: string;
|
|
124
|
+
md: string;
|
|
125
|
+
lg: string;
|
|
126
|
+
xl: string;
|
|
127
|
+
};
|
|
128
|
+
fonts: {
|
|
129
|
+
body: string;
|
|
130
|
+
mono: string;
|
|
131
|
+
};
|
|
132
|
+
radii: {
|
|
133
|
+
sm: string;
|
|
134
|
+
md: string;
|
|
135
|
+
lg: string;
|
|
136
|
+
};
|
|
137
|
+
transitions: {
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>(...composers: { [K in keyof Composers]: Composers[K] extends string | import("react").JSXElementConstructor<any> | import("react").ExoticComponent<any> | import("@stitches/react/types/util").Function ? Composers[K] : import("@stitches/react/types/stitches").RemoveIndex<CSS> & {
|
|
141
|
+
variants?: {
|
|
142
|
+
[x: string]: {
|
|
143
|
+
[x: string]: CSS;
|
|
144
|
+
[x: number]: CSS;
|
|
145
|
+
};
|
|
146
|
+
} | undefined;
|
|
147
|
+
compoundVariants?: (("variants" extends keyof Composers[K] ? { [Name in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("@stitches/react/types/util").String | import("@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name]> | undefined; } : import("@stitches/react/types/util").WideObject) & {
|
|
148
|
+
css: CSS;
|
|
149
|
+
})[] | undefined;
|
|
150
|
+
defaultVariants?: ("variants" extends keyof Composers[K] ? { [Name_1 in keyof Composers[K][keyof Composers[K] & "variants"]]?: import("@stitches/react/types/util").String | import("@stitches/react/types/util").Widen<keyof Composers[K][keyof Composers[K] & "variants"][Name_1]> | undefined; } : import("@stitches/react/types/util").WideObject) | undefined;
|
|
151
|
+
} & CSS & { [K2 in keyof Composers[K]]: K2 extends "compoundVariants" | "defaultVariants" | "variants" ? unknown : K2 extends keyof CSS ? CSS[K2] : unknown; }; }) => import("@stitches/react/types/styled-component").CssComponent<import("@stitches/react/types/styled-component").StyledComponentType<Composers>, import("@stitches/react/types/styled-component").StyledComponentProps<Composers>, {}, CSS>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const dynamic: {
|
|
3
|
+
<Props, Module = import("@loadable/component").DefaultComponent<Props>>(loadFn: (props: Props) => Promise<Module>, options: import("@loadable/component").OptionsWithResolver<Props, Module>): import("@loadable/component").LoadableComponent<Props>;
|
|
4
|
+
<Props_1>(loadFn: (props: Props_1) => Promise<import("@loadable/component").DefaultComponent<Props_1>>, options?: import("@loadable/component").OptionsWithoutResolver<Props_1> | undefined): import("@loadable/component").LoadableComponent<Props_1>;
|
|
5
|
+
<Component extends import("react").ComponentClass<any, any>>(loadFn: (props: import("react").ComponentProps<Component>) => Promise<Component | {
|
|
6
|
+
default: Component;
|
|
7
|
+
}>, options?: import("@loadable/component").Options<import("react").ComponentProps<Component>, Component> | undefined): import("@loadable/component").LoadableClassComponent<Component>;
|
|
8
|
+
} & {
|
|
9
|
+
lib: <Props_2, Module_1>(loadFn: (props: Props_2) => Promise<Module_1>, options?: import("@loadable/component").OptionsWithoutResolver<Props_2> | undefined) => import("@loadable/component").LoadableLibrary<Module_1>;
|
|
10
|
+
};
|
package/entry/Root.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TRPCClientError } from "@trpc/client";
|
|
3
|
+
declare const trpc: {
|
|
4
|
+
Provider: ({ client, queryClient, children, isPrepass, ssrContext, }: {
|
|
5
|
+
queryClient: import("react-query").QueryClient;
|
|
6
|
+
client: import("@trpc/react").TRPCClient<import("@trpc/server").AnyRouter<any>>;
|
|
7
|
+
children: import("react").ReactNode;
|
|
8
|
+
isPrepass?: boolean | undefined;
|
|
9
|
+
ssrContext?: unknown;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
createClient: (opts: import("@trpc/react").CreateTRPCClientOptions<import("@trpc/server").AnyRouter<any>>) => import("@trpc/react").TRPCClient<import("@trpc/server").AnyRouter<any>>;
|
|
12
|
+
useContext: () => import("@trpc/react/dist/declarations/src/internals/context").TRPCContextState<import("@trpc/server").AnyRouter<any>, unknown>;
|
|
13
|
+
useQuery: <TPath extends string>(pathAndInput: [TPath, (null | undefined)?], opts?: import("@trpc/react").UseTRPCQueryOptions<TPath, unknown, any, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>> | undefined) => import("react-query").UseQueryResult<any, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>>;
|
|
14
|
+
useMutation: <TPath_1 extends string>(path: TPath_1 | [TPath_1], opts?: import("@trpc/react").UseTRPCMutationOptions<unknown, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>, any> | undefined) => import("react-query").UseMutationResult<any, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>, unknown, unknown>;
|
|
15
|
+
useSubscription: <TPath_2 extends string, TOutput extends any>(pathAndInput: [TPath_2, (null | undefined)?], opts: {
|
|
16
|
+
enabled?: boolean | undefined;
|
|
17
|
+
onError?: ((err: import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>) => void) | undefined;
|
|
18
|
+
onNext: (data: TOutput) => void;
|
|
19
|
+
}) => void;
|
|
20
|
+
useDehydratedState: (client: import("@trpc/react").TRPCClient<import("@trpc/server").AnyRouter<any>>, trpcState: import("react-query").DehydratedState | undefined) => import("react-query").DehydratedState | undefined;
|
|
21
|
+
useInfiniteQuery: <TPath_3 extends never>(pathAndInput: [path: TPath_3, input: Omit<unknown, "cursor">], opts?: import("@trpc/react").UseTRPCInfiniteQueryOptions<TPath_3, Omit<unknown, "cursor">, any, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>> | undefined) => import("react-query").UseInfiniteQueryResult<any, import("@trpc/react").TRPCClientErrorLike<import("@trpc/server").AnyRouter<any>>>;
|
|
22
|
+
};
|
|
23
|
+
export declare const useRPCQuery: RPCUseQuery;
|
|
24
|
+
export declare const useRPCMutation: RPCUseMutation;
|
|
25
|
+
export declare const useRPCInfiniteQuery: RPCUseInfiniteQuery;
|
|
26
|
+
export declare const rpcClient: RPCClient;
|
|
27
|
+
export declare type UseRPCMutationResult = ReturnType<typeof trpc.useMutation>;
|
|
28
|
+
export declare type UseRPCQueryResult = ReturnType<typeof trpc.useQuery>;
|
|
29
|
+
export declare type UseRPCInfiniteQueryResult = ReturnType<typeof trpc.useInfiniteQuery>;
|
|
30
|
+
export declare const RPCClientError: typeof TRPCClientError;
|
|
31
|
+
export declare type RPCClientError = InstanceType<typeof TRPCClientError>;
|
|
32
|
+
export {};
|