eddev 0.2.66 → 0.3.0-beta1
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 +0 -1
- package/blocks/ErrorBoundaryEditor.d.ts +1 -1
- package/blocks/ErrorBoundaryFrontend.d.ts +1 -1
- package/blocks/inlineEditing.d.ts +2 -2
- package/build/manifests/manifest.js +6 -2
- package/build/workers/codegen-worker-script.js +22 -11
- package/build/workers/webpack-worker-script.js +6 -1
- package/cli/cli.js +16 -46
- package/cli/display/components/BundleDisplay.d.ts +0 -1
- package/cli/display/components/CodegenDisplay.d.ts +0 -1
- package/cli/display/components/DevCLIDisplay.d.ts +0 -1
- package/cli/display/components/ServerlessDisplay.d.ts +0 -1
- package/cli/display/components/StatusIcon.d.ts +0 -1
- package/components/AdminBar.d.ts +0 -1
- package/dev-ui/components/BreakpointColumnHeader.d.ts +0 -1
- package/dev-ui/components/BreakpointIndicator.d.ts +0 -1
- package/dev-ui/components/DevUI.d.ts +0 -1
- package/dev-ui/components/ResponsiveLerpControl.d.ts +0 -1
- package/dev-ui/components/ResponsiveScaleEditor.d.ts +0 -1
- package/dev-ui/components/atoms/NumberField.d.ts +0 -1
- package/dev-ui/components/panels/AppDataDebugger.d.ts +0 -1
- package/dev-ui/components/panels/ColorEditor.d.ts +0 -1
- package/dev-ui/components/panels/PageDataDebugger.d.ts +0 -1
- package/dev-ui/components/panels/QueryDebugger.d.ts +0 -1
- package/dev-ui/components/panels/SpacingEditor.d.ts +0 -1
- package/dev-ui/components/panels/TypographyEditor.d.ts +0 -1
- package/dev-ui/icons.d.ts +0 -1
- package/dev-ui/loader.d.ts +0 -1
- package/dev-ui/theme.d.ts +96 -70
- package/dynamic/dynamic-component.d.ts +1 -10
- package/entry/Root.d.ts +0 -1
- package/package.json +7 -7
- package/routing/routing.d.ts +10 -0
- package/routing/routing.js +33 -7
- package/style/createStitches.d.ts +375 -783
|
@@ -10,6 +10,6 @@ export declare class ErrorBoundaryEditor extends Component<Props, State> {
|
|
|
10
10
|
state: State;
|
|
11
11
|
static getDerivedStateFromError(err: Error): State;
|
|
12
12
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
13
|
-
render(): React.
|
|
13
|
+
render(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -10,6 +10,6 @@ export declare class ErrorBoundaryFrontend extends Component<Props, State> {
|
|
|
10
10
|
state: State;
|
|
11
11
|
static getDerivedStateFromError(err: Error): State;
|
|
12
12
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
13
|
-
render(): React.
|
|
13
|
+
render(): string | number | boolean | JSX.Element | React.ReactFragment | null | undefined;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementType, FunctionComponent } from "react";
|
|
1
|
+
import { ElementType, FunctionComponent, ComponentPropsWithoutRef } from "react";
|
|
2
2
|
import { ContentBlocksSettings } from ".";
|
|
3
3
|
declare type PropTypes<T extends ElementType> = {
|
|
4
4
|
/** The 'key' of this editable text value */
|
|
@@ -13,7 +13,7 @@ declare type PropTypes<T extends ElementType> = {
|
|
|
13
13
|
defaultValue?: string;
|
|
14
14
|
/** Append a new block when the user hits 'Enter' */
|
|
15
15
|
appendOnEnter?: boolean;
|
|
16
|
-
} &
|
|
16
|
+
} & ComponentPropsWithoutRef<T>;
|
|
17
17
|
export declare function EditableText<T extends ElementType>({ id, as, appendOnEnter, ...props }: PropTypes<T>): JSX.Element | null;
|
|
18
18
|
declare type AppenderConfig = {
|
|
19
19
|
type: "default" | "button" | FunctionComponent<any>;
|
|
@@ -45,7 +45,7 @@ function createManifestGenerator(opts) {
|
|
|
45
45
|
return __generator(this, function (_a) {
|
|
46
46
|
resolvedFirst = false;
|
|
47
47
|
return [2 /*return*/, new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () {
|
|
48
|
-
var close, self, files, update;
|
|
48
|
+
var close, self, debouncer, files, update;
|
|
49
49
|
var _this = this;
|
|
50
50
|
return __generator(this, function (_a) {
|
|
51
51
|
switch (_a.label) {
|
|
@@ -56,6 +56,7 @@ function createManifestGenerator(opts) {
|
|
|
56
56
|
close();
|
|
57
57
|
},
|
|
58
58
|
};
|
|
59
|
+
debouncer = 0;
|
|
59
60
|
files = [];
|
|
60
61
|
update = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
61
62
|
var value;
|
|
@@ -64,7 +65,10 @@ function createManifestGenerator(opts) {
|
|
|
64
65
|
case 0: return [4 /*yield*/, opts.generate(files)];
|
|
65
66
|
case 1:
|
|
66
67
|
value = _a.sent();
|
|
67
|
-
|
|
68
|
+
clearTimeout(debouncer);
|
|
69
|
+
debouncer = setTimeout(function () {
|
|
70
|
+
opts.onGenerate(value);
|
|
71
|
+
}, 200);
|
|
68
72
|
if (!resolvedFirst) {
|
|
69
73
|
resolvedFirst = true;
|
|
70
74
|
resolve(self);
|
|
@@ -102,6 +102,9 @@ var sendSignal = function (sig) {
|
|
|
102
102
|
if (worker_threads_1.parentPort) {
|
|
103
103
|
worker_threads_1.parentPort.postMessage(sig);
|
|
104
104
|
}
|
|
105
|
+
else {
|
|
106
|
+
console.log(sig);
|
|
107
|
+
}
|
|
105
108
|
};
|
|
106
109
|
var graphqlPatterns = {
|
|
107
110
|
blocks: "./blocks/**/*.graphql",
|
|
@@ -283,6 +286,7 @@ function beginWork(opts) {
|
|
|
283
286
|
generates = {
|
|
284
287
|
"types.graphql.ts": {
|
|
285
288
|
documents: __spreadArray(__spreadArray(__spreadArray([], documentSets.queries, true), documentSets.views, true), documentSets.blocks, true),
|
|
289
|
+
hasDocuments: true,
|
|
286
290
|
plugins: [
|
|
287
291
|
{
|
|
288
292
|
typescript: {},
|
|
@@ -314,6 +318,7 @@ function beginWork(opts) {
|
|
|
314
318
|
},
|
|
315
319
|
"types.views.ts": {
|
|
316
320
|
documents: __spreadArray(__spreadArray([], documentSets.views, true), documentSets.fragments, true),
|
|
321
|
+
hasDocuments: true,
|
|
317
322
|
plugins: [
|
|
318
323
|
{
|
|
319
324
|
files: {},
|
|
@@ -334,6 +339,7 @@ function beginWork(opts) {
|
|
|
334
339
|
},
|
|
335
340
|
"types.blocks.ts": {
|
|
336
341
|
documents: __spreadArray(__spreadArray([], documentSets.blocks, true), documentSets.fragments, true),
|
|
342
|
+
hasDocuments: documentSets.blocks.length > 0,
|
|
337
343
|
plugins: [
|
|
338
344
|
{
|
|
339
345
|
files: {},
|
|
@@ -373,6 +379,7 @@ function beginWork(opts) {
|
|
|
373
379
|
},
|
|
374
380
|
"hooks/queries.ts": {
|
|
375
381
|
documents: __spreadArray([], documentSets.queries, true),
|
|
382
|
+
hasDocuments: true,
|
|
376
383
|
plugins: [
|
|
377
384
|
{
|
|
378
385
|
queries: {},
|
|
@@ -394,28 +401,30 @@ function beginWork(opts) {
|
|
|
394
401
|
_c = 0, _d = Object.entries(generates);
|
|
395
402
|
_f.label = 10;
|
|
396
403
|
case 10:
|
|
397
|
-
if (!(_c < _d.length)) return [3 /*break*/,
|
|
404
|
+
if (!(_c < _d.length)) return [3 /*break*/, 16];
|
|
398
405
|
_e = _d[_c], file = _e[0], base = _e[1];
|
|
399
406
|
_f.label = 11;
|
|
400
407
|
case 11:
|
|
401
|
-
_f.trys.push([11,
|
|
408
|
+
_f.trys.push([11, 14, , 15]);
|
|
402
409
|
config = __assign(__assign({}, base), { documents: base.documents.sort(function (a, b) { return a.location.localeCompare(b.location); }), filename: Path.join(opts.baseDirectory, file), schema: rawSchema });
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
];
|
|
410
|
+
output = "export {}";
|
|
411
|
+
if (!base.hasDocuments) return [3 /*break*/, 13];
|
|
412
|
+
return [4 /*yield*/, (0, core_1.codegen)(config)];
|
|
406
413
|
case 12:
|
|
407
414
|
output = _f.sent();
|
|
415
|
+
_f.label = 13;
|
|
416
|
+
case 13:
|
|
408
417
|
// Write the file
|
|
409
418
|
writeFileIfUnchanged(file, output);
|
|
410
|
-
return [3 /*break*/,
|
|
411
|
-
case
|
|
419
|
+
return [3 /*break*/, 15];
|
|
420
|
+
case 14:
|
|
412
421
|
err_2 = _f.sent();
|
|
413
422
|
errors.push(String(err_2));
|
|
414
|
-
return [3 /*break*/,
|
|
415
|
-
case
|
|
423
|
+
return [3 /*break*/, 15];
|
|
424
|
+
case 15:
|
|
416
425
|
_c++;
|
|
417
426
|
return [3 /*break*/, 10];
|
|
418
|
-
case
|
|
427
|
+
case 16:
|
|
419
428
|
// Success/fail
|
|
420
429
|
if (errors.length) {
|
|
421
430
|
sendSignal({
|
|
@@ -610,4 +619,6 @@ function processSchema(schema) {
|
|
|
610
619
|
updateType(type);
|
|
611
620
|
}
|
|
612
621
|
}
|
|
613
|
-
|
|
622
|
+
if (worker_threads_1.parentPort) {
|
|
623
|
+
beginWork(worker_threads_1.workerData);
|
|
624
|
+
}
|
|
@@ -58,6 +58,9 @@ var sendSignal = function (sig) {
|
|
|
58
58
|
if (worker_threads_1.parentPort) {
|
|
59
59
|
worker_threads_1.parentPort.postMessage(sig);
|
|
60
60
|
}
|
|
61
|
+
else {
|
|
62
|
+
console.log("MSG", sig);
|
|
63
|
+
}
|
|
61
64
|
};
|
|
62
65
|
function beginWork(opts) {
|
|
63
66
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -163,4 +166,6 @@ function beginWork(opts) {
|
|
|
163
166
|
});
|
|
164
167
|
}
|
|
165
168
|
exports.beginWork = beginWork;
|
|
166
|
-
|
|
169
|
+
if (worker_threads_1.parentPort) {
|
|
170
|
+
beginWork(worker_threads_1.workerData);
|
|
171
|
+
}
|
package/cli/cli.js
CHANGED
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
3
|
var commander_1 = require("commander");
|
|
40
4
|
var create_next_app_1 = require("../build/serverless/create-next-app");
|
|
@@ -82,6 +46,22 @@ program
|
|
|
82
46
|
}
|
|
83
47
|
});
|
|
84
48
|
// program
|
|
49
|
+
// .command("watch-frontend")
|
|
50
|
+
// .description("Build in production mode")
|
|
51
|
+
// .action((options) => {
|
|
52
|
+
// beginWork({
|
|
53
|
+
// baseDirectory: process.cwd(),
|
|
54
|
+
// isAdmin: false,
|
|
55
|
+
// mode: "development",
|
|
56
|
+
// serverless: false,
|
|
57
|
+
// target: "client",
|
|
58
|
+
// themeName: "eddev-starter-theme",
|
|
59
|
+
// title: "Frontend",
|
|
60
|
+
// retainLog: true,
|
|
61
|
+
// hotPort: 64572,
|
|
62
|
+
// })
|
|
63
|
+
// })
|
|
64
|
+
// program
|
|
85
65
|
// .command("vercel-build")
|
|
86
66
|
// .description("Create and build a Next.js project in .serverless")
|
|
87
67
|
// .action((options) => {
|
|
@@ -107,14 +87,4 @@ program
|
|
|
107
87
|
.action(function () {
|
|
108
88
|
(0, setup_1.setupTheme)();
|
|
109
89
|
});
|
|
110
|
-
program
|
|
111
|
-
.command("generate")
|
|
112
|
-
.description("Generate GraphQL Schemas")
|
|
113
|
-
.action(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
114
|
-
return __generator(this, function (_a) {
|
|
115
|
-
console.log("This command has been deprecated! Please use `yarn dev` instead.");
|
|
116
|
-
process.exit();
|
|
117
|
-
return [2 /*return*/];
|
|
118
|
-
});
|
|
119
|
-
}); });
|
|
120
90
|
program.parse(process.argv);
|
package/components/AdminBar.d.ts
CHANGED
package/dev-ui/icons.d.ts
CHANGED
package/dev-ui/loader.d.ts
CHANGED
package/dev-ui/theme.d.ts
CHANGED
|
@@ -1,59 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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]: string extends Composers[K] ? Composers[K] : Composers[K] extends string | import("@stitches/react/types/util").Function | import("react").ComponentType<any> ? Composers[K] : import("@stitches/react/types/stitches").RemoveIndex<CSS> & {
|
|
46
|
-
variants?: {
|
|
47
|
-
[x: string]: {
|
|
48
|
-
[x: string]: CSS;
|
|
49
|
-
[x: number]: CSS;
|
|
1
|
+
export declare const styled: {
|
|
2
|
+
withConfig: (config: {
|
|
3
|
+
componentId?: string | undefined;
|
|
4
|
+
displayName?: string | undefined;
|
|
5
|
+
shouldForwardStitchesProp?: ((prop: "css" | (string & {})) => boolean | void) | undefined;
|
|
6
|
+
}) => import("@stitches/react/types/stitches").StyledFunctionType<{}, {
|
|
7
|
+
space: {
|
|
8
|
+
smallButtonHeight: string;
|
|
9
|
+
buttonHeight: string;
|
|
10
|
+
0: string;
|
|
11
|
+
1: string;
|
|
12
|
+
2: string;
|
|
13
|
+
3: string;
|
|
14
|
+
4: string;
|
|
15
|
+
5: string;
|
|
16
|
+
6: string;
|
|
17
|
+
};
|
|
18
|
+
colors: {
|
|
19
|
+
bg: string;
|
|
20
|
+
bgHover: string;
|
|
21
|
+
bgHoverLight: string;
|
|
22
|
+
bgLine: string;
|
|
23
|
+
bgLineStrong: string;
|
|
24
|
+
button: string;
|
|
25
|
+
buttonHover: string;
|
|
26
|
+
fg: string;
|
|
27
|
+
fgFaded: string;
|
|
28
|
+
};
|
|
29
|
+
fontSizes: {
|
|
30
|
+
sm: string;
|
|
31
|
+
md: string;
|
|
32
|
+
lg: string;
|
|
33
|
+
xl: string;
|
|
34
|
+
};
|
|
35
|
+
fonts: {
|
|
36
|
+
body: string;
|
|
37
|
+
mono: string;
|
|
50
38
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
39
|
+
radii: {
|
|
40
|
+
sm: string;
|
|
41
|
+
md: string;
|
|
42
|
+
lg: string;
|
|
43
|
+
};
|
|
44
|
+
transitions: {
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>;
|
|
48
|
+
} & import("@stitches/react/types/stitches").StyledFunctionType<{}, {
|
|
57
49
|
space: {
|
|
58
50
|
smallButtonHeight: string;
|
|
59
51
|
buttonHeight: string;
|
|
@@ -94,9 +86,54 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
94
86
|
transitions: {
|
|
95
87
|
default: string;
|
|
96
88
|
};
|
|
97
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>, css: {
|
|
90
|
+
withConfig: (config: {
|
|
91
|
+
componentId?: string | undefined;
|
|
92
|
+
displayName?: string | undefined;
|
|
93
|
+
shouldForwardStitchesProp?: ((prop: "css" | (string & {})) => boolean | void) | undefined;
|
|
94
|
+
}) => import("@stitches/react/types/stitches").CssFunctionType<{}, {
|
|
95
|
+
space: {
|
|
96
|
+
smallButtonHeight: string;
|
|
97
|
+
buttonHeight: string;
|
|
98
|
+
0: string;
|
|
99
|
+
1: string;
|
|
100
|
+
2: string;
|
|
101
|
+
3: string;
|
|
102
|
+
4: string;
|
|
103
|
+
5: string;
|
|
104
|
+
6: string;
|
|
105
|
+
};
|
|
106
|
+
colors: {
|
|
107
|
+
bg: string;
|
|
108
|
+
bgHover: string;
|
|
109
|
+
bgHoverLight: string;
|
|
110
|
+
bgLine: string;
|
|
111
|
+
bgLineStrong: string;
|
|
112
|
+
button: string;
|
|
113
|
+
buttonHover: string;
|
|
114
|
+
fg: string;
|
|
115
|
+
fgFaded: string;
|
|
116
|
+
};
|
|
117
|
+
fontSizes: {
|
|
118
|
+
sm: string;
|
|
119
|
+
md: string;
|
|
120
|
+
lg: string;
|
|
121
|
+
xl: string;
|
|
122
|
+
};
|
|
123
|
+
fonts: {
|
|
124
|
+
body: string;
|
|
125
|
+
mono: string;
|
|
126
|
+
};
|
|
127
|
+
radii: {
|
|
128
|
+
sm: string;
|
|
129
|
+
md: string;
|
|
130
|
+
lg: string;
|
|
131
|
+
};
|
|
132
|
+
transitions: {
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>;
|
|
136
|
+
} & import("@stitches/react/types/stitches").CssFunctionType<{}, {
|
|
100
137
|
space: {
|
|
101
138
|
smallButtonHeight: string;
|
|
102
139
|
buttonHeight: string;
|
|
@@ -137,15 +174,4 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
|
|
|
137
174
|
transitions: {
|
|
138
175
|
default: string;
|
|
139
176
|
};
|
|
140
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}
|
|
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>;
|
|
177
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
export declare const dynamic: any;
|
package/entry/Root.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eddev",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-beta1",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@types/inquirer": "^8.1.1",
|
|
21
21
|
"@types/loadable__component": "^5.13.4",
|
|
22
22
|
"@types/node": "^16.7.10",
|
|
23
|
-
"@types/react": "
|
|
24
|
-
"@types/react-dom": "
|
|
23
|
+
"@types/react": "18.0.34",
|
|
24
|
+
"@types/react-dom": "18.0.11",
|
|
25
25
|
"@types/react-inspector": "^4.0.2",
|
|
26
26
|
"@types/rimraf": "^3.0.2",
|
|
27
27
|
"@types/url-parse": "^1.4.4",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"csstype": "^3.0.9",
|
|
30
30
|
"next": "^12.1.6",
|
|
31
31
|
"react-html-props": "^1.0.32",
|
|
32
|
-
"react-use": "^17.4.0"
|
|
32
|
+
"react-use": "^17.4.0",
|
|
33
|
+
"typescript": "4.5.5"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@babel/core": "^7.15.5",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"@graphql-codegen/core": "^2.1.0",
|
|
43
44
|
"@graphql-codegen/typescript": "^2.2.1",
|
|
44
45
|
"@graphql-codegen/typescript-operations": "^2.1.3",
|
|
45
|
-
"@graphql-tools/load": "^
|
|
46
|
+
"@graphql-tools/load": "^8.0.0",
|
|
46
47
|
"@graphql-tools/url-loader": "^7.1.0",
|
|
47
48
|
"@loadable/babel-plugin": "^5.13.2",
|
|
48
49
|
"@loadable/component": "^5.15.2",
|
|
@@ -88,13 +89,12 @@
|
|
|
88
89
|
"rimraf": "^3.0.2",
|
|
89
90
|
"swr": "^1.0.1",
|
|
90
91
|
"to-icon": "^1.1.4",
|
|
91
|
-
"typescript": "4.5.5",
|
|
92
92
|
"url-parse": "^1.5.3",
|
|
93
93
|
"webpack": "5.74.0",
|
|
94
94
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
95
95
|
"webpack-dev-server": "3.11.3",
|
|
96
96
|
"webpack-hot-middleware": "^2.25.0",
|
|
97
|
-
"webpack-virtual-modules": "
|
|
97
|
+
"webpack-virtual-modules": "0.5.0",
|
|
98
98
|
"zod": "^3.11.6",
|
|
99
99
|
"zod-to-json-schema": "^3.11.3",
|
|
100
100
|
"zustand": "^3.5.10"
|