create-plasmic-app 0.0.65 → 0.0.67
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/.tool-versions +1 -0
- package/cpa-out/gatsby-codegen-js/package.json +4 -5
- package/cpa-out/gatsby-codegen-js/plasmic.json +2 -2
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
- package/cpa-out/gatsby-codegen-js/src/pages/index.jsx +1 -1
- package/cpa-out/gatsby-codegen-ts/package.json +8 -9
- package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +8 -5
- package/cpa-out/gatsby-codegen-ts/src/pages/index.tsx +1 -1
- package/cpa-out/gatsby-loader-js/package.json +3 -3
- package/cpa-out/gatsby-loader-ts/package.json +7 -7
- package/cpa-out/nextjs-app-loader-js/package.json +4 -4
- package/cpa-out/nextjs-app-loader-ts/package.json +5 -5
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +1 -1
- package/cpa-out/nextjs-pages-codegen-js/package.json +5 -6
- package/cpa-out/nextjs-pages-codegen-js/pages/index.jsx +1 -1
- package/cpa-out/nextjs-pages-codegen-js/pages/plasmic-host.jsx +1 -1
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +1 -3
- package/cpa-out/nextjs-pages-codegen-ts/package.json +6 -7
- package/cpa-out/nextjs-pages-codegen-ts/pages/index.tsx +1 -1
- package/cpa-out/nextjs-pages-codegen-ts/pages/plasmic-host.tsx +1 -1
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-loader-js/package.json +4 -4
- package/cpa-out/nextjs-pages-loader-ts/package.json +5 -5
- package/cpa-out/react-codegen-js/package.json +2 -3
- package/cpa-out/react-codegen-js/plasmic.json +2 -2
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
- package/cpa-out/react-codegen-ts/package.json +2 -3
- package/cpa-out/react-codegen-ts/plasmic.json +2 -2
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +3 -4
- package/cpa-out/react-loader-js/package.json +2 -3
- package/cpa-out/react-loader-js/plasmic.json +2 -2
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
- package/cpa-out/react-loader-ts/package.json +2 -3
- package/cpa-out/react-loader-ts/plasmic.json +2 -2
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +3 -4
- package/dist/gatsby/gatsby.js +16 -2
- package/dist/gatsby/template.js +1 -1
- package/dist/nextjs/nextjs.js +11 -7
- package/dist/nextjs/templates/pages-codegen/plasmic-host.js +1 -1
- package/dist/react/react.js +17 -5
- package/dist/utils/codegen.js +1 -2
- package/dist/utils/file-utils.d.ts +15 -9
- package/dist/utils/file-utils.js +4 -59
- package/package.json +2 -2
- package/src/gatsby/gatsby.ts +32 -3
- package/src/gatsby/template.ts +1 -1
- package/src/nextjs/nextjs.ts +19 -5
- package/src/nextjs/templates/pages-codegen/plasmic-host.ts +1 -1
- package/src/react/react.ts +28 -6
- package/src/utils/codegen.ts +1 -4
- package/src/utils/file-utils.ts +5 -88
- /package/cpa-out/gatsby-codegen-js/src/pages/{404.js → 404.jsx} +0 -0
- /package/cpa-out/gatsby-codegen-ts/src/pages/{404.js → 404.tsx} +0 -0
package/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodejs 18.10.0
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
"clean": "gatsby clean"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@plasmicapp/cli": "^0.1.
|
|
18
|
-
"@plasmicapp/
|
|
19
|
-
"
|
|
20
|
-
"gatsby": "^
|
|
21
|
-
"gatsby-plugin-react-helmet": "^6.5.0",
|
|
17
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
18
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
19
|
+
"gatsby": "^5.7.0",
|
|
20
|
+
"gatsby-plugin-react-helmet": "^6.7.0",
|
|
22
21
|
"react": "^18.2.0",
|
|
23
22
|
"react-dom": "^18.2.0",
|
|
24
23
|
"react-helmet": "^6.1.0"
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"gatsbyConfig": {
|
|
75
75
|
"pagesDir": "../pages"
|
|
76
76
|
},
|
|
77
|
-
"cliVersion": "0.1.
|
|
78
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
77
|
+
"cliVersion": "0.1.225",
|
|
78
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
79
79
|
}
|
package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// Component: 6uuAAE1jiCew
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import * as p from "@plasmicapp/react-web";
|
|
13
|
-
import * as ph from "@plasmicapp/host";
|
|
13
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
14
14
|
import {
|
|
15
15
|
hasVariant,
|
|
16
16
|
classNames,
|
|
@@ -48,6 +48,8 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
48
48
|
...args,
|
|
49
49
|
...variants
|
|
50
50
|
};
|
|
51
|
+
const refsRef = React.useRef({});
|
|
52
|
+
const $refs = refsRef.current;
|
|
51
53
|
const currentUser = p.useCurrentUser?.() || {};
|
|
52
54
|
const [$queries, setDollarQueries] = React.useState({});
|
|
53
55
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is a skeleton starter React page generated by Plasmic.
|
|
2
2
|
// This file is owned by you, feel free to edit as you see fit.
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as ph from "@plasmicapp/host";
|
|
4
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
5
5
|
import {
|
|
6
6
|
PlasmicHomepage,
|
|
7
7
|
Head
|
|
@@ -15,20 +15,19 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@plasmicapp/cli": "^0.1.
|
|
19
|
-
"@plasmicapp/
|
|
20
|
-
"
|
|
21
|
-
"gatsby": "^
|
|
22
|
-
"gatsby-plugin-react-helmet": "^6.5.0",
|
|
18
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
19
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
20
|
+
"gatsby": "^5.7.0",
|
|
21
|
+
"gatsby-plugin-react-helmet": "^6.7.0",
|
|
23
22
|
"react": "^18.2.0",
|
|
24
23
|
"react-dom": "^18.2.0",
|
|
25
24
|
"react-helmet": "^6.1.0"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
|
-
"@types/node": "^18.
|
|
29
|
-
"@types/react": "^18.0.
|
|
30
|
-
"@types/react-dom": "^18.0.
|
|
27
|
+
"@types/node": "^18.15.0",
|
|
28
|
+
"@types/react": "^18.0.28",
|
|
29
|
+
"@types/react-dom": "^18.0.11",
|
|
31
30
|
"@types/react-helmet": "^6.1.6",
|
|
32
|
-
"typescript": "^4.9.
|
|
31
|
+
"typescript": "^4.9.5"
|
|
33
32
|
}
|
|
34
33
|
}
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"gatsbyConfig": {
|
|
75
75
|
"pagesDir": "../pages"
|
|
76
76
|
},
|
|
77
|
-
"cliVersion": "0.1.
|
|
78
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
77
|
+
"cliVersion": "0.1.225",
|
|
78
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
79
79
|
}
|
package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -12,10 +12,14 @@
|
|
|
12
12
|
// Component: 6uuAAE1jiCew
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import {
|
|
16
|
+
Link,
|
|
17
|
+
GatsbyLinkProps as LinkProps,
|
|
18
|
+
navigate as __gatsbyNavigate
|
|
19
|
+
} from "gatsby";
|
|
16
20
|
|
|
17
21
|
import * as p from "@plasmicapp/react-web";
|
|
18
|
-
import * as ph from "@plasmicapp/host";
|
|
22
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
19
23
|
|
|
20
24
|
import {
|
|
21
25
|
hasVariant,
|
|
@@ -77,7 +81,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
77
81
|
variants: PlasmicHomepage__VariantsArgs;
|
|
78
82
|
args: PlasmicHomepage__ArgsType;
|
|
79
83
|
overrides: PlasmicHomepage__OverridesType;
|
|
80
|
-
|
|
81
84
|
forNode?: string;
|
|
82
85
|
}) {
|
|
83
86
|
const { variants, overrides, forNode } = props;
|
|
@@ -89,9 +92,10 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
89
92
|
...args,
|
|
90
93
|
...variants
|
|
91
94
|
};
|
|
95
|
+
const refsRef = React.useRef({});
|
|
96
|
+
const $refs = refsRef.current;
|
|
92
97
|
|
|
93
98
|
const currentUser = p.useCurrentUser?.() || {};
|
|
94
|
-
|
|
95
99
|
const [$queries, setDollarQueries] = React.useState({});
|
|
96
100
|
|
|
97
101
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -247,7 +251,6 @@ function makeNodeComponent<NodeName extends NodeNameType>(nodeName: NodeName) {
|
|
|
247
251
|
}),
|
|
248
252
|
[props, nodeName]
|
|
249
253
|
);
|
|
250
|
-
|
|
251
254
|
return PlasmicHomepage__RenderFunc({
|
|
252
255
|
variants,
|
|
253
256
|
args,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is a skeleton starter React page generated by Plasmic.
|
|
2
2
|
// This file is owned by you, feel free to edit as you see fit.
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as ph from "@plasmicapp/host";
|
|
4
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
5
5
|
|
|
6
6
|
import { ScreenVariantProvider } from "../components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen";
|
|
7
7
|
import {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"clean": "gatsby clean"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@plasmicapp/loader-gatsby": "^1.0.
|
|
18
|
-
"gatsby": "^5.
|
|
19
|
-
"gatsby-plugin-react-helmet": "^6.
|
|
17
|
+
"@plasmicapp/loader-gatsby": "^1.0.230",
|
|
18
|
+
"gatsby": "^5.7.0",
|
|
19
|
+
"gatsby-plugin-react-helmet": "^6.7.0",
|
|
20
20
|
"react": "^18.2.0",
|
|
21
21
|
"react-dom": "^18.2.0",
|
|
22
22
|
"react-helmet": "^6.1.0"
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@plasmicapp/loader-gatsby": "^1.0.
|
|
19
|
-
"gatsby": "^5.
|
|
20
|
-
"gatsby-plugin-react-helmet": "^6.
|
|
18
|
+
"@plasmicapp/loader-gatsby": "^1.0.230",
|
|
19
|
+
"gatsby": "^5.7.0",
|
|
20
|
+
"gatsby-plugin-react-helmet": "^6.7.0",
|
|
21
21
|
"react": "^18.2.0",
|
|
22
22
|
"react-dom": "^18.2.0",
|
|
23
23
|
"react-helmet": "^6.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^18.
|
|
27
|
-
"@types/react": "^18.0.
|
|
28
|
-
"@types/react-dom": "^18.0.
|
|
26
|
+
"@types/node": "^18.15.0",
|
|
27
|
+
"@types/react": "^18.0.28",
|
|
28
|
+
"@types/react-dom": "^18.0.11",
|
|
29
29
|
"@types/react-helmet": "^6.1.6",
|
|
30
|
-
"typescript": "^4.9.
|
|
30
|
+
"typescript": "^4.9.5"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"eslint": "8.
|
|
14
|
-
"eslint-config-next": "13.2.
|
|
15
|
-
"next": "13.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.241",
|
|
13
|
+
"eslint": "8.36.0",
|
|
14
|
+
"eslint-config-next": "13.2.4",
|
|
15
|
+
"next": "13.2.4",
|
|
16
16
|
"react": "18.2.0",
|
|
17
17
|
"react-dom": "18.2.0"
|
|
18
18
|
}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"@types/node": "18.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.241",
|
|
13
|
+
"@types/node": "18.15.3",
|
|
14
14
|
"@types/react": "18.0.28",
|
|
15
15
|
"@types/react-dom": "18.0.11",
|
|
16
|
-
"eslint": "8.
|
|
17
|
-
"eslint-config-next": "13.2.
|
|
18
|
-
"next": "13.2.
|
|
16
|
+
"eslint": "8.36.0",
|
|
17
|
+
"eslint-config-next": "13.2.4",
|
|
18
|
+
"next": "13.2.4",
|
|
19
19
|
"react": "18.2.0",
|
|
20
20
|
"react-dom": "18.2.0",
|
|
21
21
|
"typescript": "4.9.5"
|
package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -12,7 +12,7 @@ import * as React from "react";
|
|
|
12
12
|
import Head from "next/head";
|
|
13
13
|
import { useRouter } from "next/router";
|
|
14
14
|
import * as p from "@plasmicapp/react-web";
|
|
15
|
-
import * as ph from "@plasmicapp/host";
|
|
15
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
16
16
|
import {
|
|
17
17
|
hasVariant,
|
|
18
18
|
classNames,
|
|
@@ -9,12 +9,11 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/cli": "^0.1.
|
|
13
|
-
"@plasmicapp/
|
|
14
|
-
"
|
|
15
|
-
"eslint": "
|
|
16
|
-
"
|
|
17
|
-
"next": "13.2.3",
|
|
12
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
13
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
14
|
+
"eslint": "8.36.0",
|
|
15
|
+
"eslint-config-next": "13.2.4",
|
|
16
|
+
"next": "13.2.4",
|
|
18
17
|
"react": "18.2.0",
|
|
19
18
|
"react-dom": "18.2.0"
|
|
20
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is a skeleton starter React page generated by Plasmic.
|
|
2
2
|
// This file is owned by you, feel free to edit as you see fit.
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as ph from "@plasmicapp/host";
|
|
4
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
5
5
|
import { PlasmicHomepage } from "../components/plasmic/create_plasmic_app/PlasmicHomepage";
|
|
6
6
|
import { useRouter } from "next/router";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PlasmicCanvasHost, registerComponent } from '@plasmicapp/host';
|
|
2
|
+
import { PlasmicCanvasHost, registerComponent } from '@plasmicapp/react-web/lib/host';
|
|
3
3
|
|
|
4
4
|
// You can register any code components that you want to use here; see
|
|
5
5
|
// https://docs.plasmic.app/learn/code-components-ref/
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"nextjsConfig": {
|
|
75
75
|
"pagesDir": "../pages"
|
|
76
76
|
},
|
|
77
|
-
"cliVersion": "0.1.
|
|
78
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
77
|
+
"cliVersion": "0.1.225",
|
|
78
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
79
79
|
}
|
package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -17,7 +17,7 @@ import Link, { LinkProps } from "next/link";
|
|
|
17
17
|
import { useRouter } from "next/router";
|
|
18
18
|
|
|
19
19
|
import * as p from "@plasmicapp/react-web";
|
|
20
|
-
import * as ph from "@plasmicapp/host";
|
|
20
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
21
21
|
|
|
22
22
|
import {
|
|
23
23
|
hasVariant,
|
|
@@ -80,7 +80,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
80
80
|
variants: PlasmicHomepage__VariantsArgs;
|
|
81
81
|
args: PlasmicHomepage__ArgsType;
|
|
82
82
|
overrides: PlasmicHomepage__OverridesType;
|
|
83
|
-
|
|
84
83
|
forNode?: string;
|
|
85
84
|
}) {
|
|
86
85
|
const { variants, overrides, forNode } = props;
|
|
@@ -254,7 +253,6 @@ function makeNodeComponent<NodeName extends NodeNameType>(nodeName: NodeName) {
|
|
|
254
253
|
}),
|
|
255
254
|
[props, nodeName]
|
|
256
255
|
);
|
|
257
|
-
|
|
258
256
|
return PlasmicHomepage__RenderFunc({
|
|
259
257
|
variants,
|
|
260
258
|
args,
|
|
@@ -9,15 +9,14 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/cli": "^0.1.
|
|
13
|
-
"@plasmicapp/
|
|
14
|
-
"@
|
|
15
|
-
"@types/node": "18.14.2",
|
|
12
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
13
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
14
|
+
"@types/node": "18.15.3",
|
|
16
15
|
"@types/react": "18.0.28",
|
|
17
16
|
"@types/react-dom": "18.0.11",
|
|
18
|
-
"eslint": "8.
|
|
19
|
-
"eslint-config-next": "13.2.
|
|
20
|
-
"next": "13.2.
|
|
17
|
+
"eslint": "8.36.0",
|
|
18
|
+
"eslint-config-next": "13.2.4",
|
|
19
|
+
"next": "13.2.4",
|
|
21
20
|
"react": "18.2.0",
|
|
22
21
|
"react-dom": "18.2.0",
|
|
23
22
|
"typescript": "4.9.5"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is a skeleton starter React page generated by Plasmic.
|
|
2
2
|
// This file is owned by you, feel free to edit as you see fit.
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as ph from "@plasmicapp/host";
|
|
4
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
5
5
|
|
|
6
6
|
import { ScreenVariantProvider } from "../components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen";
|
|
7
7
|
import { PlasmicHomepage } from "../components/plasmic/create_plasmic_app/PlasmicHomepage";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PlasmicCanvasHost, registerComponent } from '@plasmicapp/host';
|
|
2
|
+
import { PlasmicCanvasHost, registerComponent } from '@plasmicapp/react-web/lib/host';
|
|
3
3
|
|
|
4
4
|
// You can register any code components that you want to use here; see
|
|
5
5
|
// https://docs.plasmic.app/learn/code-components-ref/
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"nextjsConfig": {
|
|
75
75
|
"pagesDir": "../pages"
|
|
76
76
|
},
|
|
77
|
-
"cliVersion": "0.1.
|
|
78
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
77
|
+
"cliVersion": "0.1.225",
|
|
78
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
79
79
|
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"eslint": "8.
|
|
14
|
-
"eslint-config-next": "13.2.
|
|
15
|
-
"next": "13.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.241",
|
|
13
|
+
"eslint": "8.36.0",
|
|
14
|
+
"eslint-config-next": "13.2.4",
|
|
15
|
+
"next": "13.2.4",
|
|
16
16
|
"react": "18.2.0",
|
|
17
17
|
"react-dom": "18.2.0"
|
|
18
18
|
}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"@types/node": "18.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.241",
|
|
13
|
+
"@types/node": "18.15.3",
|
|
14
14
|
"@types/react": "18.0.28",
|
|
15
15
|
"@types/react-dom": "18.0.11",
|
|
16
|
-
"eslint": "8.
|
|
17
|
-
"eslint-config-next": "13.2.
|
|
18
|
-
"next": "13.2.
|
|
16
|
+
"eslint": "8.36.0",
|
|
17
|
+
"eslint-config-next": "13.2.4",
|
|
18
|
+
"next": "13.2.4",
|
|
19
19
|
"react": "18.2.0",
|
|
20
20
|
"react-dom": "18.2.0",
|
|
21
21
|
"typescript": "4.9.5"
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@plasmicapp/cli": "^0.1.
|
|
7
|
-
"@plasmicapp/
|
|
8
|
-
"@plasmicapp/react-web": "^0.2.150",
|
|
6
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
7
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
9
8
|
"@testing-library/jest-dom": "^5.14.1",
|
|
10
9
|
"@testing-library/react": "^13.0.0",
|
|
11
10
|
"@testing-library/user-event": "^13.2.1",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"wrapPagesWithGlobalContexts": true,
|
|
74
|
-
"cliVersion": "0.1.
|
|
75
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
74
|
+
"cliVersion": "0.1.225",
|
|
75
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
76
76
|
}
|
package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// Component: 6uuAAE1jiCew
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import * as p from "@plasmicapp/react-web";
|
|
13
|
-
import * as ph from "@plasmicapp/host";
|
|
13
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
14
14
|
import {
|
|
15
15
|
hasVariant,
|
|
16
16
|
classNames,
|
|
@@ -44,6 +44,8 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
44
44
|
...args,
|
|
45
45
|
...variants
|
|
46
46
|
};
|
|
47
|
+
const refsRef = React.useRef({});
|
|
48
|
+
const $refs = refsRef.current;
|
|
47
49
|
const currentUser = p.useCurrentUser?.() || {};
|
|
48
50
|
const [$queries, setDollarQueries] = React.useState({});
|
|
49
51
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@plasmicapp/cli": "^0.1.
|
|
7
|
-
"@plasmicapp/
|
|
8
|
-
"@plasmicapp/react-web": "^0.2.150",
|
|
6
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
7
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
9
8
|
"@testing-library/jest-dom": "^5.14.1",
|
|
10
9
|
"@testing-library/react": "^13.0.0",
|
|
11
10
|
"@testing-library/user-event": "^13.2.1",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"wrapPagesWithGlobalContexts": true,
|
|
74
|
-
"cliVersion": "0.1.
|
|
75
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
74
|
+
"cliVersion": "0.1.225",
|
|
75
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
76
76
|
}
|
package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
|
|
15
15
|
import * as p from "@plasmicapp/react-web";
|
|
16
|
-
import * as ph from "@plasmicapp/host";
|
|
16
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
17
17
|
|
|
18
18
|
import {
|
|
19
19
|
hasVariant,
|
|
@@ -71,7 +71,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
71
71
|
variants: PlasmicHomepage__VariantsArgs;
|
|
72
72
|
args: PlasmicHomepage__ArgsType;
|
|
73
73
|
overrides: PlasmicHomepage__OverridesType;
|
|
74
|
-
|
|
75
74
|
forNode?: string;
|
|
76
75
|
}) {
|
|
77
76
|
const { variants, overrides, forNode } = props;
|
|
@@ -83,9 +82,10 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
83
82
|
...args,
|
|
84
83
|
...variants
|
|
85
84
|
};
|
|
85
|
+
const refsRef = React.useRef({});
|
|
86
|
+
const $refs = refsRef.current;
|
|
86
87
|
|
|
87
88
|
const currentUser = p.useCurrentUser?.() || {};
|
|
88
|
-
|
|
89
89
|
const [$queries, setDollarQueries] = React.useState({});
|
|
90
90
|
|
|
91
91
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -237,7 +237,6 @@ function makeNodeComponent<NodeName extends NodeNameType>(nodeName: NodeName) {
|
|
|
237
237
|
}),
|
|
238
238
|
[props, nodeName]
|
|
239
239
|
);
|
|
240
|
-
|
|
241
240
|
return PlasmicHomepage__RenderFunc({
|
|
242
241
|
variants,
|
|
243
242
|
args,
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@plasmicapp/cli": "^0.1.
|
|
7
|
-
"@plasmicapp/
|
|
8
|
-
"@plasmicapp/react-web": "^0.2.150",
|
|
6
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
7
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
9
8
|
"@testing-library/jest-dom": "^5.14.1",
|
|
10
9
|
"@testing-library/react": "^13.0.0",
|
|
11
10
|
"@testing-library/user-event": "^13.2.1",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"wrapPagesWithGlobalContexts": true,
|
|
74
|
-
"cliVersion": "0.1.
|
|
75
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
74
|
+
"cliVersion": "0.1.225",
|
|
75
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
76
76
|
}
|
package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// Component: 6uuAAE1jiCew
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import * as p from "@plasmicapp/react-web";
|
|
13
|
-
import * as ph from "@plasmicapp/host";
|
|
13
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
14
14
|
import {
|
|
15
15
|
hasVariant,
|
|
16
16
|
classNames,
|
|
@@ -44,6 +44,8 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
44
44
|
...args,
|
|
45
45
|
...variants
|
|
46
46
|
};
|
|
47
|
+
const refsRef = React.useRef({});
|
|
48
|
+
const $refs = refsRef.current;
|
|
47
49
|
const currentUser = p.useCurrentUser?.() || {};
|
|
48
50
|
const [$queries, setDollarQueries] = React.useState({});
|
|
49
51
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@plasmicapp/cli": "^0.1.
|
|
7
|
-
"@plasmicapp/
|
|
8
|
-
"@plasmicapp/react-web": "^0.2.150",
|
|
6
|
+
"@plasmicapp/cli": "^0.1.225",
|
|
7
|
+
"@plasmicapp/react-web": "^0.2.170",
|
|
9
8
|
"@testing-library/jest-dom": "^5.14.1",
|
|
10
9
|
"@testing-library/react": "^13.0.0",
|
|
11
10
|
"@testing-library/user-event": "^13.2.1",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"wrapPagesWithGlobalContexts": true,
|
|
74
|
-
"cliVersion": "0.1.
|
|
75
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
74
|
+
"cliVersion": "0.1.225",
|
|
75
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
|
|
76
76
|
}
|
package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
|
|
15
15
|
import * as p from "@plasmicapp/react-web";
|
|
16
|
-
import * as ph from "@plasmicapp/host";
|
|
16
|
+
import * as ph from "@plasmicapp/react-web/lib/host";
|
|
17
17
|
|
|
18
18
|
import {
|
|
19
19
|
hasVariant,
|
|
@@ -71,7 +71,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
71
71
|
variants: PlasmicHomepage__VariantsArgs;
|
|
72
72
|
args: PlasmicHomepage__ArgsType;
|
|
73
73
|
overrides: PlasmicHomepage__OverridesType;
|
|
74
|
-
|
|
75
74
|
forNode?: string;
|
|
76
75
|
}) {
|
|
77
76
|
const { variants, overrides, forNode } = props;
|
|
@@ -83,9 +82,10 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
83
82
|
...args,
|
|
84
83
|
...variants
|
|
85
84
|
};
|
|
85
|
+
const refsRef = React.useRef({});
|
|
86
|
+
const $refs = refsRef.current;
|
|
86
87
|
|
|
87
88
|
const currentUser = p.useCurrentUser?.() || {};
|
|
88
|
-
|
|
89
89
|
const [$queries, setDollarQueries] = React.useState({});
|
|
90
90
|
|
|
91
91
|
const globalVariants = ensureGlobalVariants({
|
|
@@ -237,7 +237,6 @@ function makeNodeComponent<NodeName extends NodeNameType>(nodeName: NodeName) {
|
|
|
237
237
|
}),
|
|
238
238
|
[props, nodeName]
|
|
239
239
|
);
|
|
240
|
-
|
|
241
240
|
return PlasmicHomepage__RenderFunc({
|
|
242
241
|
variants,
|
|
243
242
|
args,
|