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.
Files changed (55) hide show
  1. package/.tool-versions +1 -0
  2. package/cpa-out/gatsby-codegen-js/package.json +4 -5
  3. package/cpa-out/gatsby-codegen-js/plasmic.json +2 -2
  4. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
  5. package/cpa-out/gatsby-codegen-js/src/pages/index.jsx +1 -1
  6. package/cpa-out/gatsby-codegen-ts/package.json +8 -9
  7. package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
  8. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +8 -5
  9. package/cpa-out/gatsby-codegen-ts/src/pages/index.tsx +1 -1
  10. package/cpa-out/gatsby-loader-js/package.json +3 -3
  11. package/cpa-out/gatsby-loader-ts/package.json +7 -7
  12. package/cpa-out/nextjs-app-loader-js/package.json +4 -4
  13. package/cpa-out/nextjs-app-loader-ts/package.json +5 -5
  14. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +1 -1
  15. package/cpa-out/nextjs-pages-codegen-js/package.json +5 -6
  16. package/cpa-out/nextjs-pages-codegen-js/pages/index.jsx +1 -1
  17. package/cpa-out/nextjs-pages-codegen-js/pages/plasmic-host.jsx +1 -1
  18. package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
  19. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +1 -3
  20. package/cpa-out/nextjs-pages-codegen-ts/package.json +6 -7
  21. package/cpa-out/nextjs-pages-codegen-ts/pages/index.tsx +1 -1
  22. package/cpa-out/nextjs-pages-codegen-ts/pages/plasmic-host.tsx +1 -1
  23. package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
  24. package/cpa-out/nextjs-pages-loader-js/package.json +4 -4
  25. package/cpa-out/nextjs-pages-loader-ts/package.json +5 -5
  26. package/cpa-out/react-codegen-js/package.json +2 -3
  27. package/cpa-out/react-codegen-js/plasmic.json +2 -2
  28. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
  29. package/cpa-out/react-codegen-ts/package.json +2 -3
  30. package/cpa-out/react-codegen-ts/plasmic.json +2 -2
  31. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +3 -4
  32. package/cpa-out/react-loader-js/package.json +2 -3
  33. package/cpa-out/react-loader-js/plasmic.json +2 -2
  34. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +3 -1
  35. package/cpa-out/react-loader-ts/package.json +2 -3
  36. package/cpa-out/react-loader-ts/plasmic.json +2 -2
  37. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +3 -4
  38. package/dist/gatsby/gatsby.js +16 -2
  39. package/dist/gatsby/template.js +1 -1
  40. package/dist/nextjs/nextjs.js +11 -7
  41. package/dist/nextjs/templates/pages-codegen/plasmic-host.js +1 -1
  42. package/dist/react/react.js +17 -5
  43. package/dist/utils/codegen.js +1 -2
  44. package/dist/utils/file-utils.d.ts +15 -9
  45. package/dist/utils/file-utils.js +4 -59
  46. package/package.json +2 -2
  47. package/src/gatsby/gatsby.ts +32 -3
  48. package/src/gatsby/template.ts +1 -1
  49. package/src/nextjs/nextjs.ts +19 -5
  50. package/src/nextjs/templates/pages-codegen/plasmic-host.ts +1 -1
  51. package/src/react/react.ts +28 -6
  52. package/src/utils/codegen.ts +1 -4
  53. package/src/utils/file-utils.ts +5 -88
  54. /package/cpa-out/gatsby-codegen-js/src/pages/{404.js → 404.jsx} +0 -0
  55. /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.205",
18
- "@plasmicapp/host": "^1.0.100",
19
- "@plasmicapp/react-web": "^0.2.150",
20
- "gatsby": "^5.5.0",
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.205",
78
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
77
+ "cliVersion": "0.1.225",
78
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
79
79
  }
@@ -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.205",
19
- "@plasmicapp/host": "^1.0.100",
20
- "@plasmicapp/react-web": "^0.2.150",
21
- "gatsby": "^5.5.0",
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.11.18",
29
- "@types/react": "^18.0.27",
30
- "@types/react-dom": "^18.0.10",
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.4"
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.205",
78
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
77
+ "cliVersion": "0.1.225",
78
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
79
79
  }
@@ -12,10 +12,14 @@
12
12
  // Component: 6uuAAE1jiCew
13
13
  import * as React from "react";
14
14
 
15
- import { Link, GatsbyLinkProps as LinkProps } from "gatsby";
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.215",
18
- "gatsby": "^5.5.0",
19
- "gatsby-plugin-react-helmet": "^6.5.0",
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.215",
19
- "gatsby": "^5.5.0",
20
- "gatsby-plugin-react-helmet": "^6.5.0",
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.11.18",
27
- "@types/react": "^18.0.27",
28
- "@types/react-dom": "^18.0.10",
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.4"
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.233",
13
- "eslint": "8.35.0",
14
- "eslint-config-next": "13.2.3",
15
- "next": "13.2.3",
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.233",
13
- "@types/node": "18.14.2",
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.35.0",
17
- "eslint-config-next": "13.2.3",
18
- "next": "13.2.3",
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"
@@ -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.216",
13
- "@plasmicapp/host": "^1.0.107",
14
- "@plasmicapp/react-web": "^0.2.161",
15
- "eslint": "8.35.0",
16
- "eslint-config-next": "13.2.3",
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.216",
78
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.216/dist/plasmic.schema.json"
77
+ "cliVersion": "0.1.225",
78
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
79
79
  }
@@ -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.216",
13
- "@plasmicapp/host": "^1.0.107",
14
- "@plasmicapp/react-web": "^0.2.161",
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.35.0",
19
- "eslint-config-next": "13.2.3",
20
- "next": "13.2.3",
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.216",
78
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.216/dist/plasmic.schema.json"
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.233",
13
- "eslint": "8.35.0",
14
- "eslint-config-next": "13.2.3",
15
- "next": "13.2.3",
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.233",
13
- "@types/node": "18.14.2",
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.35.0",
17
- "eslint-config-next": "13.2.3",
18
- "next": "13.2.3",
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.205",
7
- "@plasmicapp/host": "^1.0.100",
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.205",
75
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
74
+ "cliVersion": "0.1.225",
75
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
76
76
  }
@@ -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.205",
7
- "@plasmicapp/host": "^1.0.100",
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.205",
75
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
74
+ "cliVersion": "0.1.225",
75
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
76
76
  }
@@ -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.205",
7
- "@plasmicapp/host": "^1.0.100",
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.205",
75
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
74
+ "cliVersion": "0.1.225",
75
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
76
76
  }
@@ -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.205",
7
- "@plasmicapp/host": "^1.0.100",
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.205",
75
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.205/dist/plasmic.schema.json"
74
+ "cliVersion": "0.1.225",
75
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
76
76
  }
@@ -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,