eddev 2.0.0-beta.12 → 2.0.0-beta.14
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/app/entry/ssr-root.d.ts +1 -1
- package/dist/app/lib/admin/index.d.ts +2 -2
- package/dist/app/lib/admin/index.js +2 -2
- package/dist/app/lib/admin/installFieldTypes.js +1 -1
- package/dist/app/lib/admin/runWidgets.js +1 -1
- package/dist/app/lib/blocks/ContentBlocks.js +4 -4
- package/dist/app/lib/blocks/EditableText.d.ts +1 -1
- package/dist/app/lib/blocks/EditableText.js +2 -2
- package/dist/app/lib/blocks/InnerBlocks.d.ts +2 -2
- package/dist/app/lib/blocks/InnerBlocks.js +4 -4
- package/dist/app/lib/blocks/block-utils.d.ts +1 -1
- package/dist/app/lib/blocks/block-utils.js +1 -1
- package/dist/app/lib/blocks/editor/EditorSupport.js +3 -3
- package/dist/app/lib/blocks/editor/editor-config.d.ts +1 -1
- package/dist/app/lib/blocks/editor/editor-config.js +1 -1
- package/dist/app/lib/blocks/editor/installGutenbergHooks.js +5 -5
- package/dist/app/lib/blocks/editor/usePostEditor.d.ts +1 -1
- package/dist/app/lib/blocks/index.d.ts +9 -9
- package/dist/app/lib/blocks/index.js +9 -9
- package/dist/app/lib/blocks/inline-editing.d.ts +1 -1
- package/dist/app/lib/blocks/inline-editing.js +3 -3
- package/dist/app/lib/devtools/components/DevUI.js +1 -1
- package/dist/app/lib/devtools/hooks/useTailwind.d.ts +974 -974
- package/dist/app/lib/devtools/hooks/useTailwind.js +1 -1
- package/dist/app/lib/devtools/index.d.ts +1 -1
- package/dist/app/lib/devtools/index.js +1 -1
- package/dist/app/lib/devtools/loader.js +4 -4
- package/dist/app/lib/dynamic/index.d.ts +1 -1
- package/dist/app/lib/dynamic/index.js +1 -1
- package/dist/app/lib/hooks/index.d.ts +5 -5
- package/dist/app/lib/hooks/index.js +5 -5
- package/dist/app/lib/hooks/queryUtils.d.ts +1 -1
- package/dist/app/lib/hooks/queryUtils.js +4 -4
- package/dist/app/lib/hooks/useAppData.js +1 -1
- package/dist/app/lib/internal/index.d.ts +4 -4
- package/dist/app/lib/internal/index.js +4 -4
- package/dist/app/lib/internal/read-admin-manifest.d.ts +1 -1
- package/dist/app/lib/legacy-stitches/createStitches.d.ts +3 -511
- package/dist/app/lib/legacy-stitches/createStitches.js +1 -1
- package/dist/app/lib/legacy-stitches/index.d.ts +1 -1
- package/dist/app/lib/legacy-stitches/index.js +1 -1
- package/dist/app/lib/routing/components/BrowserRouter.js +4 -4
- package/dist/app/lib/routing/components/ClientOnly.js +1 -1
- package/dist/app/lib/routing/components/Link.js +5 -5
- package/dist/app/lib/routing/components/RouteRenderer.d.ts +1 -1
- package/dist/app/lib/routing/components/RouteRenderer.js +3 -3
- package/dist/app/lib/routing/components/SSRRouter.d.ts +2 -2
- package/dist/app/lib/routing/components/SSRRouter.js +4 -4
- package/dist/app/lib/routing/components/ScrollRestoration.js +1 -1
- package/dist/app/lib/routing/context.d.ts +4 -5
- package/dist/app/lib/routing/context.js +1 -96
- package/dist/app/lib/routing/hooks/useRestorableState.js +1 -1
- package/dist/app/lib/routing/hooks/useRoute.d.ts +1 -1
- package/dist/app/lib/routing/hooks/useRoute.js +1 -1
- package/dist/app/lib/routing/hooks/useRouteTransition.d.ts +1 -1
- package/dist/app/lib/routing/hooks/useRouteTransition.js +1 -1
- package/dist/app/lib/routing/hooks/useRouter.d.ts +1 -1
- package/dist/app/lib/routing/hooks/useRouter.js +1 -1
- package/dist/app/lib/routing/hooks/useRouterEvents.d.ts +1 -1
- package/dist/app/lib/routing/hooks/useRouterEvents.js +1 -1
- package/dist/app/lib/routing/hooks/useRouterState.d.ts +1 -1
- package/dist/app/lib/routing/hooks/useRouterState.js +1 -1
- package/dist/app/lib/routing/hooks/useSearchParams.js +2 -2
- package/dist/app/lib/routing/index.d.ts +13 -13
- package/dist/app/lib/routing/index.js +13 -13
- package/dist/app/lib/routing/loader.d.ts +2 -2
- package/dist/app/lib/routing/loader.js +1 -1
- package/dist/app/lib/routing/types.d.ts +2 -2
- package/dist/app/lib/routing/utils.d.ts +1 -1
- package/dist/app/lib/routing/utils.js +1 -1
- package/dist/app/lib/views/index.d.ts +1 -1
- package/dist/app/lib/views/index.js +1 -1
- package/dist/app/server/index.d.ts +3 -3
- package/dist/app/server/index.js +3 -3
- package/dist/app/server/proxy-wp-admin.d.ts +1 -1
- package/dist/node/cli/display/tools/CreateBlock.d.ts +1 -1
- package/dist/node/cli/display/tools/cli-tools.d.ts +1 -11
- package/dist/node/cli/display/tools/cli-tools.js +9 -9
- package/dist/node/cli/version.d.ts +1 -1
- package/dist/node/cli/version.js +1 -1
- package/dist/node/project/favicons.d.ts +1 -0
- package/dist/node/project/favicons.js +1 -1
- package/dist/node/types/block-type.d.ts +2 -2
- package/package.json +3 -3
- package/tsconfig.app.json +2 -2
- package/tsconfig.node.json +2 -2
- package/types.app.d.ts +2 -2
- package/types.app.internal.d.ts +2 -2
- package/types.node.d.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./dev-tools-store";
|
|
1
|
+
export * from "./dev-tools-store.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./dev-tools-store";
|
|
1
|
+
export * from "./dev-tools-store.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import { dynamic } from "../dynamic";
|
|
4
|
-
import { usePersistState } from "./hooks/usePersistState";
|
|
5
|
-
import { useIsSSR } from "../routing";
|
|
6
|
-
const DevUI = dynamic(() => import("./components/DevUI"));
|
|
3
|
+
import { dynamic } from "../dynamic/index.js";
|
|
4
|
+
import { usePersistState } from "./hooks/usePersistState.js";
|
|
5
|
+
import { useIsSSR } from "../routing/index.js";
|
|
6
|
+
const DevUI = dynamic(() => import("./components/DevUI.js"));
|
|
7
7
|
export function DevUILoader() {
|
|
8
8
|
const ssr = useIsSSR();
|
|
9
9
|
const [render, setRender] = usePersistState("enable_devui", typeof window !== "undefined" && (env.dev || window["ENABLE_DEV_UI"]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { dynamic, DynamicComponent } from "./dynamic";
|
|
1
|
+
export { dynamic, DynamicComponent } from "./dynamic.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { dynamic } from "./dynamic";
|
|
1
|
+
export { dynamic } from "./dynamic.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./usePageLoad";
|
|
2
|
-
export * from "./useAppData";
|
|
3
|
-
export * from "./useRPC";
|
|
4
|
-
export * from "./queryUtils";
|
|
5
|
-
export * from "./apiConfig";
|
|
1
|
+
export * from "./usePageLoad.js";
|
|
2
|
+
export * from "./useAppData.js";
|
|
3
|
+
export * from "./useRPC.js";
|
|
4
|
+
export * from "./queryUtils.js";
|
|
5
|
+
export * from "./apiConfig.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./usePageLoad";
|
|
2
|
-
export * from "./useAppData";
|
|
3
|
-
export * from "./useRPC";
|
|
4
|
-
export * from "./queryUtils";
|
|
5
|
-
export * from "./apiConfig";
|
|
1
|
+
export * from "./usePageLoad.js";
|
|
2
|
+
export * from "./useAppData.js";
|
|
3
|
+
export * from "./useRPC.js";
|
|
4
|
+
export * from "./queryUtils.js";
|
|
5
|
+
export * from "./apiConfig.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchQueryOptions, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryResult
|
|
1
|
+
import { FetchQueryOptions, UndefinedInitialDataInfiniteOptions, UndefinedInitialDataOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryResult } from "@tanstack/react-query";
|
|
2
2
|
type OptionalMaybes<T> = T extends any[] ? T : T extends {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
} ? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useMutation, useQuery,
|
|
2
|
-
import { joinURL } from "ufo";
|
|
3
|
-
import { getQueryClient } from "../../utils/query-client";
|
|
4
|
-
import { useAPIConfig } from "./apiConfig";
|
|
1
|
+
import { useInfiniteQuery, useMutation, useQuery, } from "@tanstack/react-query";
|
|
5
2
|
import { useEffect, useState } from "react";
|
|
3
|
+
import { joinURL } from "ufo";
|
|
4
|
+
import { getQueryClient } from "../../utils/query-client.js";
|
|
5
|
+
import { useAPIConfig } from "./apiConfig.js";
|
|
6
6
|
function createQueryError(messages, statusCode) {
|
|
7
7
|
const error = new Error(messages.join(", "));
|
|
8
8
|
error.statusCode = statusCode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./read-block-manifest";
|
|
2
|
-
export * from "./read-view-manifest";
|
|
3
|
-
export * from "./read-admin-manifest";
|
|
4
|
-
export * from "./internal-store";
|
|
1
|
+
export * from "./read-block-manifest.js";
|
|
2
|
+
export * from "./read-view-manifest.js";
|
|
3
|
+
export * from "./read-admin-manifest.js";
|
|
4
|
+
export * from "./internal-store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./read-block-manifest";
|
|
2
|
-
export * from "./read-view-manifest";
|
|
3
|
-
export * from "./read-admin-manifest";
|
|
4
|
-
export * from "./internal-store";
|
|
1
|
+
export * from "./read-block-manifest.js";
|
|
2
|
+
export * from "./read-view-manifest.js";
|
|
3
|
+
export * from "./read-admin-manifest.js";
|
|
4
|
+
export * from "./internal-store.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FunctionComponent } from "react";
|
|
2
|
-
import { FieldTypeDefinition } from "../admin";
|
|
2
|
+
import { FieldTypeDefinition } from "../admin/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* This file exists simply to prevent circular dependencies.
|
|
5
5
|
* The manifest itself sets the value of this object directly.
|