create-plasmic-app 0.0.99 → 0.0.100

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 (92) hide show
  1. package/cpa-out/gatsby-codegen-js/gatsby-browser.jsx +2 -1
  2. package/cpa-out/gatsby-codegen-js/gatsby-ssr.jsx +2 -1
  3. package/cpa-out/gatsby-codegen-js/package.json +4 -4
  4. package/cpa-out/gatsby-codegen-js/plasmic.json +14 -8
  5. package/cpa-out/gatsby-codegen-js/src/components/Button.jsx +1 -3
  6. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +53 -100
  7. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +36 -30
  8. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.jsx +3 -15
  9. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +25 -25
  10. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +45 -59
  11. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +3 -3
  12. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +1 -1
  13. package/cpa-out/gatsby-codegen-js/src/pages/dynamic/[slug].jsx +5 -4
  14. package/cpa-out/gatsby-codegen-js/src/pages/index.jsx +5 -4
  15. package/cpa-out/gatsby-codegen-ts/gatsby-browser.tsx +2 -1
  16. package/cpa-out/gatsby-codegen-ts/gatsby-ssr.tsx +2 -1
  17. package/cpa-out/gatsby-codegen-ts/package.json +9 -9
  18. package/cpa-out/gatsby-codegen-ts/plasmic.json +14 -8
  19. package/cpa-out/gatsby-codegen-ts/src/components/Button.tsx +4 -5
  20. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +99 -75
  21. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +80 -49
  22. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +3 -15
  23. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +69 -43
  24. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +90 -77
  25. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +4 -4
  26. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +1 -1
  27. package/cpa-out/gatsby-codegen-ts/src/pages/dynamic/[slug].tsx +6 -5
  28. package/cpa-out/gatsby-codegen-ts/src/pages/index.tsx +6 -5
  29. package/cpa-out/gatsby-loader-js/package.json +3 -3
  30. package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +1 -0
  31. package/cpa-out/gatsby-loader-ts/package.json +8 -8
  32. package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +1 -0
  33. package/cpa-out/nextjs-app-loader-js/package.json +8 -6
  34. package/cpa-out/nextjs-app-loader-js/plasmic-init.js +10 -1
  35. package/cpa-out/nextjs-app-loader-ts/package.json +12 -10
  36. package/cpa-out/nextjs-app-loader-ts/plasmic-init.ts +10 -1
  37. package/cpa-out/nextjs-app-loader-ts/tsconfig.json +2 -9
  38. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +6 -5
  39. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +1 -1
  40. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.jsx +1 -1
  41. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +1 -1
  42. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +1 -1
  43. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +1 -1
  44. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +1 -1
  45. package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
  46. package/cpa-out/nextjs-pages-codegen-js/pages/_app.jsx +2 -1
  47. package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
  48. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +17 -14
  49. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +7 -7
  50. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -1
  51. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -7
  52. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +7 -7
  53. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +1 -1
  54. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +1 -1
  55. package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
  56. package/cpa-out/nextjs-pages-codegen-ts/pages/_app.tsx +2 -1
  57. package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +1 -0
  58. package/cpa-out/nextjs-pages-codegen-ts/pages/index.tsx +1 -0
  59. package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
  60. package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
  61. package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
  62. package/cpa-out/react-codegen-js/eslint.config.js +1 -6
  63. package/cpa-out/react-codegen-js/package.json +10 -11
  64. package/cpa-out/react-codegen-js/plasmic.json +2 -2
  65. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +6 -5
  66. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +1 -1
  67. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.jsx +1 -1
  68. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +1 -1
  69. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +1 -1
  70. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +1 -1
  71. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +1 -1
  72. package/cpa-out/react-codegen-ts/package.json +11 -11
  73. package/cpa-out/react-codegen-ts/plasmic.json +2 -2
  74. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +17 -14
  75. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +7 -7
  76. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -1
  77. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -7
  78. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +7 -7
  79. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +1 -1
  80. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +1 -1
  81. package/package.json +2 -2
  82. package/run-cpa.ts +8 -6
  83. package/cpa-out/nextjs-app-loader-js/app/[[...catchall]]/page.jsx +0 -56
  84. package/cpa-out/nextjs-app-loader-js/app/api/hello/route.js +0 -3
  85. package/cpa-out/nextjs-app-loader-js/app/layout.js +0 -14
  86. package/cpa-out/nextjs-app-loader-js/app/plasmic-host/page.jsx +0 -6
  87. package/cpa-out/nextjs-app-loader-js/plasmic-init-client.jsx +0 -65
  88. package/cpa-out/nextjs-app-loader-ts/app/[[...catchall]]/page.tsx +0 -59
  89. package/cpa-out/nextjs-app-loader-ts/app/api/hello/route.ts +0 -3
  90. package/cpa-out/nextjs-app-loader-ts/app/layout.tsx +0 -18
  91. package/cpa-out/nextjs-app-loader-ts/app/plasmic-host/page.tsx +0 -6
  92. package/cpa-out/nextjs-app-loader-ts/plasmic-init-client.tsx +0 -65
@@ -34,6 +34,7 @@ const PlasmicGatsbyPage = ({ data, location }: PlasmicGatsbyPageProps) => {
34
34
  <PlasmicRootProvider
35
35
  loader={initPlasmicLoaderWithRegistrations(plasmicOptions)}
36
36
  prefetchedData={plasmicComponents}
37
+ pageRoute={pageMeta.path}
37
38
  pageParams={pageMeta.params}
38
39
  pageQuery={Object.fromEntries(new URLSearchParams(location.search))}
39
40
  Head={Helmet}
@@ -9,11 +9,13 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/loader-nextjs": "^1.0.245",
13
- "eslint": "8.36.0",
14
- "eslint-config-next": "13.2.4",
15
- "next": "13.2.4",
16
- "react": "18.2.0",
17
- "react-dom": "18.2.0"
12
+ "@plasmicapp/loader-nextjs": "^1.0.422",
13
+ "next": "14.2.20",
14
+ "react": "^18",
15
+ "react-dom": "^18"
16
+ },
17
+ "devDependencies": {
18
+ "eslint": "^8",
19
+ "eslint-config-next": "14.2.20"
18
20
  }
19
21
  }
@@ -1,4 +1,4 @@
1
- import { initPlasmicLoader } from "@plasmicapp/loader-nextjs/react-server-conditional";
1
+ import { initPlasmicLoader } from "@plasmicapp/loader-nextjs";
2
2
 
3
3
  export const PLASMIC = initPlasmicLoader({
4
4
  projects: [
@@ -14,3 +14,12 @@ export const PLASMIC = initPlasmicLoader({
14
14
  // only use this for development, as this is significantly slower.
15
15
  preview: false,
16
16
  });
17
+
18
+ // You can register any code components that you want to use here; see
19
+ // https://docs.plasmic.app/learn/code-components-ref/
20
+ // And configure your Plasmic project to use the host url pointing at
21
+ // the /plasmic-host page of your nextjs app (for example,
22
+ // http://localhost:3000/plasmic-host). See
23
+ // https://docs.plasmic.app/learn/app-hosting/#set-a-plasmic-project-to-use-your-app-host
24
+
25
+ // PLASMIC.registerComponent(...);
@@ -9,15 +9,17 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/loader-nextjs": "^1.0.245",
13
- "@types/node": "18.15.3",
14
- "@types/react": "18.0.28",
15
- "@types/react-dom": "18.0.11",
16
- "eslint": "8.36.0",
17
- "eslint-config-next": "13.2.4",
18
- "next": "13.2.4",
19
- "react": "18.2.0",
20
- "react-dom": "18.2.0",
21
- "typescript": "5.0.2"
12
+ "@plasmicapp/loader-nextjs": "^1.0.422",
13
+ "next": "14.2.20",
14
+ "react": "^18",
15
+ "react-dom": "^18"
16
+ },
17
+ "devDependencies": {
18
+ "@types/node": "^20",
19
+ "@types/react": "^18",
20
+ "@types/react-dom": "^18",
21
+ "eslint": "^8",
22
+ "eslint-config-next": "14.2.20",
23
+ "typescript": "^5"
22
24
  }
23
25
  }
@@ -1,4 +1,4 @@
1
- import { initPlasmicLoader } from "@plasmicapp/loader-nextjs/react-server-conditional";
1
+ import { initPlasmicLoader } from "@plasmicapp/loader-nextjs";
2
2
 
3
3
  export const PLASMIC = initPlasmicLoader({
4
4
  projects: [
@@ -14,3 +14,12 @@ export const PLASMIC = initPlasmicLoader({
14
14
  // only use this for development, as this is significantly slower.
15
15
  preview: false,
16
16
  });
17
+
18
+ // You can register any code components that you want to use here; see
19
+ // https://docs.plasmic.app/learn/code-components-ref/
20
+ // And configure your Plasmic project to use the host url pointing at
21
+ // the /plasmic-host page of your nextjs app (for example,
22
+ // http://localhost:3000/plasmic-host). See
23
+ // https://docs.plasmic.app/learn/app-hosting/#set-a-plasmic-project-to-use-your-app-host
24
+
25
+ // PLASMIC.registerComponent(...);
@@ -1,28 +1,21 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
4
3
  "lib": ["dom", "dom.iterable", "esnext"],
5
4
  "allowJs": true,
6
5
  "skipLibCheck": true,
7
6
  "strict": true,
8
- "forceConsistentCasingInFileNames": true,
9
7
  "noEmit": true,
10
8
  "esModuleInterop": true,
11
9
  "module": "esnext",
12
- "moduleResolution": "node",
10
+ "moduleResolution": "bundler",
13
11
  "resolveJsonModule": true,
14
12
  "isolatedModules": true,
15
13
  "jsx": "preserve",
16
14
  "incremental": true,
17
- "plugins": [
18
- {
19
- "name": "next"
20
- }
21
- ],
22
15
  "paths": {
23
16
  "@/*": ["./*"]
24
17
  }
25
18
  },
26
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
19
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
27
20
  "exclude": ["node_modules"]
28
21
  }
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */
@@ -42,11 +42,12 @@ export const PlasmicButton__VariantProps = new Array(
42
42
  );
43
43
 
44
44
  export const PlasmicButton__ArgProps = new Array(
45
- "children",
46
- "startIcon",
47
- "endIcon",
48
45
  "link",
49
- "submitsForm"
46
+ "submitsForm",
47
+ "target",
48
+ "startIcon",
49
+ "children",
50
+ "endIcon"
50
51
  );
51
52
 
52
53
  const $$ = {};
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  import * as React from "react";
6
6
  import { createUseScreenVariants } from "@plasmicapp/react-web";
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  import React from "react";
6
6
  import { classNames } from "@plasmicapp/react-web";
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  import React from "react";
6
6
  import { classNames } from "@plasmicapp/react-web";
@@ -9,14 +9,14 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/cli": "^0.1.331",
13
- "@plasmicapp/react-web": "^0.2.353",
14
- "next": "14.2.15",
12
+ "@plasmicapp/cli": "^0.1.337",
13
+ "@plasmicapp/react-web": "^0.2.381",
14
+ "next": "14.2.20",
15
15
  "react": "^18",
16
16
  "react-dom": "^18"
17
17
  },
18
18
  "devDependencies": {
19
19
  "eslint": "^8",
20
- "eslint-config-next": "14.2.15"
20
+ "eslint-config-next": "14.2.20"
21
21
  }
22
22
  }
@@ -1,10 +1,11 @@
1
1
  import '@/styles/globals.css'
2
2
  import { PlasmicRootProvider } from "@plasmicapp/react-web";
3
3
  import Head from "next/head";
4
+ import Link from "next/link";
4
5
 
5
6
  export default function MyApp({ Component, pageProps }) {
6
7
  return (
7
- <PlasmicRootProvider Head={Head}>
8
+ <PlasmicRootProvider Head={Head} Link={Link}>
8
9
  <Component {...pageProps} />
9
10
  </PlasmicRootProvider>
10
11
  );
@@ -131,6 +131,6 @@
131
131
  "nextjsConfig": {
132
132
  "pagesDir": "../pages"
133
133
  },
134
- "cliVersion": "0.1.331",
135
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.331/dist/plasmic.schema.json"
134
+ "cliVersion": "0.1.337",
135
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.337/dist/plasmic.schema.json"
136
136
  }
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
 
6
6
  /** @jsxRuntime classic */
@@ -125,19 +125,21 @@ export const PlasmicButton__VariantProps = new Array<VariantPropType>(
125
125
  );
126
126
 
127
127
  export type PlasmicButton__ArgsType = {
128
- children?: React.ReactNode;
129
- startIcon?: React.ReactNode;
130
- endIcon?: React.ReactNode;
131
128
  link?: string;
132
129
  submitsForm?: boolean;
130
+ target?: boolean;
131
+ startIcon?: React.ReactNode;
132
+ children?: React.ReactNode;
133
+ endIcon?: React.ReactNode;
133
134
  };
134
135
  type ArgPropType = keyof PlasmicButton__ArgsType;
135
136
  export const PlasmicButton__ArgProps = new Array<ArgPropType>(
136
- "children",
137
- "startIcon",
138
- "endIcon",
139
137
  "link",
140
- "submitsForm"
138
+ "submitsForm",
139
+ "target",
140
+ "startIcon",
141
+ "children",
142
+ "endIcon"
141
143
  );
142
144
 
143
145
  export type PlasmicButton__OverridesType = {
@@ -149,6 +151,7 @@ export type PlasmicButton__OverridesType = {
149
151
 
150
152
  export interface DefaultButtonProps extends pp.BaseButtonProps {
151
153
  submitsForm?: boolean;
154
+ target?: boolean;
152
155
  shape?: SingleChoiceArg<"rounded" | "round" | "sharp">;
153
156
  size?: SingleChoiceArg<"compact" | "minimal">;
154
157
  color?: SingleChoiceArg<
@@ -699,15 +702,15 @@ type NodeComponentProps<T extends NodeNameType> =
699
702
  args?: PlasmicButton__ArgsType;
700
703
  overrides?: NodeOverridesType<T>;
701
704
  } & Omit<PlasmicButton__VariantsArgs, ReservedPropsType> & // Specify variants directly as props
702
- /* Specify args directly as props*/ Omit<
703
- PlasmicButton__ArgsType,
704
- ReservedPropsType
705
- > &
706
- /* Specify overrides for each element directly as props*/ Omit<
705
+ // Specify args directly as props
706
+ Omit<PlasmicButton__ArgsType, ReservedPropsType> &
707
+ // Specify overrides for each element directly as props
708
+ Omit<
707
709
  NodeOverridesType<T>,
708
710
  ReservedPropsType | VariantPropType | ArgPropType
709
711
  > &
710
- /* Specify props for the root element*/ Omit<
712
+ // Specify props for the root element
713
+ Omit<
711
714
  Partial<React.ComponentProps<NodeDefaultElementType[T]>>,
712
715
  ReservedPropsType | VariantPropType | ArgPropType | DescendantsType<T>
713
716
  >;
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
 
6
6
  /** @jsxRuntime classic */
@@ -225,15 +225,15 @@ type NodeComponentProps<T extends NodeNameType> =
225
225
  args?: PlasmicDynamicPage__ArgsType;
226
226
  overrides?: NodeOverridesType<T>;
227
227
  } & Omit<PlasmicDynamicPage__VariantsArgs, ReservedPropsType> & // Specify variants directly as props
228
- /* Specify args directly as props*/ Omit<
229
- PlasmicDynamicPage__ArgsType,
230
- ReservedPropsType
231
- > &
232
- /* Specify overrides for each element directly as props*/ Omit<
228
+ // Specify args directly as props
229
+ Omit<PlasmicDynamicPage__ArgsType, ReservedPropsType> &
230
+ // Specify overrides for each element directly as props
231
+ Omit<
233
232
  NodeOverridesType<T>,
234
233
  ReservedPropsType | VariantPropType | ArgPropType
235
234
  > &
236
- /* Specify props for the root element*/ Omit<
235
+ // Specify props for the root element
236
+ Omit<
237
237
  Partial<React.ComponentProps<NodeDefaultElementType[T]>>,
238
238
  ReservedPropsType | VariantPropType | ArgPropType | DescendantsType<T>
239
239
  >;
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
 
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
 
6
6
  /** @jsxRuntime classic */
@@ -265,15 +265,15 @@ type NodeComponentProps<T extends NodeNameType> =
265
265
  args?: PlasmicHomepage__ArgsType;
266
266
  overrides?: NodeOverridesType<T>;
267
267
  } & Omit<PlasmicHomepage__VariantsArgs, ReservedPropsType> & // Specify variants directly as props
268
- /* Specify args directly as props*/ Omit<
269
- PlasmicHomepage__ArgsType,
270
- ReservedPropsType
271
- > &
272
- /* Specify overrides for each element directly as props*/ Omit<
268
+ // Specify args directly as props
269
+ Omit<PlasmicHomepage__ArgsType, ReservedPropsType> &
270
+ // Specify overrides for each element directly as props
271
+ Omit<
273
272
  NodeOverridesType<T>,
274
273
  ReservedPropsType | VariantPropType | ArgPropType
275
274
  > &
276
- /* Specify props for the root element*/ Omit<
275
+ // Specify props for the root element
276
+ Omit<
277
277
  Partial<React.ComponentProps<NodeDefaultElementType[T]>>,
278
278
  ReservedPropsType | VariantPropType | ArgPropType | DescendantsType<T>
279
279
  >;
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
 
6
6
  /** @jsxRuntime classic */
@@ -206,15 +206,15 @@ type NodeComponentProps<T extends NodeNameType> =
206
206
  args?: PlasmicRandomDynamicPageButton__ArgsType;
207
207
  overrides?: NodeOverridesType<T>;
208
208
  } & Omit<PlasmicRandomDynamicPageButton__VariantsArgs, ReservedPropsType> & // Specify variants directly as props
209
- /* Specify args directly as props*/ Omit<
210
- PlasmicRandomDynamicPageButton__ArgsType,
211
- ReservedPropsType
212
- > &
213
- /* Specify overrides for each element directly as props*/ Omit<
209
+ // Specify args directly as props
210
+ Omit<PlasmicRandomDynamicPageButton__ArgsType, ReservedPropsType> &
211
+ // Specify overrides for each element directly as props
212
+ Omit<
214
213
  NodeOverridesType<T>,
215
214
  ReservedPropsType | VariantPropType | ArgPropType
216
215
  > &
217
- /* Specify props for the root element*/ Omit<
216
+ // Specify props for the root element
217
+ Omit<
218
218
  Partial<React.ComponentProps<NodeDefaultElementType[T]>>,
219
219
  ReservedPropsType | VariantPropType | ArgPropType | DescendantsType<T>
220
220
  >;
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  import React from "react";
6
6
  import { classNames } from "@plasmicapp/react-web";
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  import React from "react";
6
6
  import { classNames } from "@plasmicapp/react-web";
@@ -9,9 +9,9 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/cli": "^0.1.331",
13
- "@plasmicapp/react-web": "^0.2.353",
14
- "next": "14.2.15",
12
+ "@plasmicapp/cli": "^0.1.337",
13
+ "@plasmicapp/react-web": "^0.2.381",
14
+ "next": "14.2.20",
15
15
  "react": "^18",
16
16
  "react-dom": "^18"
17
17
  },
@@ -20,7 +20,7 @@
20
20
  "@types/react": "^18",
21
21
  "@types/react-dom": "^18",
22
22
  "eslint": "^8",
23
- "eslint-config-next": "14.2.15",
23
+ "eslint-config-next": "14.2.20",
24
24
  "typescript": "^5"
25
25
  }
26
26
  }
@@ -2,10 +2,11 @@ import '@/styles/globals.css'
2
2
  import { PlasmicRootProvider } from "@plasmicapp/react-web";
3
3
  import type { AppProps } from "next/app";
4
4
  import Head from "next/head";
5
+ import Link from "next/link";
5
6
 
6
7
  export default function MyApp({ Component, pageProps }: AppProps) {
7
8
  return (
8
- <PlasmicRootProvider Head={Head}>
9
+ <PlasmicRootProvider Head={Head} Link={Link}>
9
10
  <Component {...pageProps} />
10
11
  </PlasmicRootProvider>
11
12
  );
@@ -23,6 +23,7 @@ function DynamicPage() {
23
23
  // variant context providers. These wrappers may be moved to
24
24
  // Next.js Custom App component
25
25
  // (https://nextjs.org/docs/advanced-features/custom-app).
26
+
26
27
  return (
27
28
  <PageParamsProvider__
28
29
  route={useRouter()?.pathname}
@@ -23,6 +23,7 @@ function Homepage() {
23
23
  // variant context providers. These wrappers may be moved to
24
24
  // Next.js Custom App component
25
25
  // (https://nextjs.org/docs/advanced-features/custom-app).
26
+
26
27
  return (
27
28
  <PageParamsProvider__
28
29
  route={useRouter()?.pathname}
@@ -131,6 +131,6 @@
131
131
  "nextjsConfig": {
132
132
  "pagesDir": "../pages"
133
133
  },
134
- "cliVersion": "0.1.331",
135
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.331/dist/plasmic.schema.json"
134
+ "cliVersion": "0.1.337",
135
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.337/dist/plasmic.schema.json"
136
136
  }
@@ -9,13 +9,13 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/loader-nextjs": "^1.0.406",
13
- "next": "14.2.15",
12
+ "@plasmicapp/loader-nextjs": "^1.0.422",
13
+ "next": "14.2.20",
14
14
  "react": "^18",
15
15
  "react-dom": "^18"
16
16
  },
17
17
  "devDependencies": {
18
18
  "eslint": "^8",
19
- "eslint-config-next": "14.2.15"
19
+ "eslint-config-next": "14.2.20"
20
20
  }
21
21
  }
@@ -9,8 +9,8 @@
9
9
  "lint": "next lint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/loader-nextjs": "^1.0.406",
13
- "next": "14.2.15",
12
+ "@plasmicapp/loader-nextjs": "^1.0.422",
13
+ "next": "14.2.20",
14
14
  "react": "^18",
15
15
  "react-dom": "^18"
16
16
  },
@@ -19,7 +19,7 @@
19
19
  "@types/react": "^18",
20
20
  "@types/react-dom": "^18",
21
21
  "eslint": "^8",
22
- "eslint-config-next": "14.2.15",
22
+ "eslint-config-next": "14.2.20",
23
23
  "typescript": "^5"
24
24
  }
25
25
  }
@@ -1,6 +1,5 @@
1
1
  import js from '@eslint/js'
2
2
  import globals from 'globals'
3
- import react from 'eslint-plugin-react'
4
3
  import reactHooks from 'eslint-plugin-react-hooks'
5
4
  import reactRefresh from 'eslint-plugin-react-refresh'
6
5
 
@@ -17,18 +16,14 @@ export default [
17
16
  sourceType: 'module',
18
17
  },
19
18
  },
20
- settings: { react: { version: '18.3' } },
21
19
  plugins: {
22
- react,
23
20
  'react-hooks': reactHooks,
24
21
  'react-refresh': reactRefresh,
25
22
  },
26
23
  rules: {
27
24
  ...js.configs.recommended.rules,
28
- ...react.configs.recommended.rules,
29
- ...react.configs['jsx-runtime'].rules,
30
25
  ...reactHooks.configs.recommended.rules,
31
- 'react/jsx-no-target-blank': 'off',
26
+ 'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
32
27
  'react-refresh/only-export-components': [
33
28
  'warn',
34
29
  { allowConstantExport: true },
@@ -10,21 +10,20 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@plasmicapp/cli": "^0.1.335",
14
- "@plasmicapp/react-web": "^0.2.366",
13
+ "@plasmicapp/cli": "^0.1.337",
14
+ "@plasmicapp/react-web": "^0.2.381",
15
15
  "react": "^19.0.0",
16
16
  "react-dom": "^19.0.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@eslint/js": "^9.19.0",
20
- "@types/react": "^19.0.8",
21
- "@types/react-dom": "^19.0.3",
19
+ "@eslint/js": "^9.22.0",
20
+ "@types/react": "^19.0.10",
21
+ "@types/react-dom": "^19.0.4",
22
22
  "@vitejs/plugin-react": "^4.3.4",
23
- "eslint": "^9.19.0",
24
- "eslint-plugin-react": "^7.37.4",
25
- "eslint-plugin-react-hooks": "^5.0.0",
26
- "eslint-plugin-react-refresh": "^0.4.18",
27
- "globals": "^15.14.0",
28
- "vite": "^6.1.0"
23
+ "eslint": "^9.22.0",
24
+ "eslint-plugin-react-hooks": "^5.2.0",
25
+ "eslint-plugin-react-refresh": "^0.4.19",
26
+ "globals": "^16.0.0",
27
+ "vite": "^6.3.1"
29
28
  }
30
29
  }
@@ -128,6 +128,6 @@
128
128
  ]
129
129
  },
130
130
  "wrapPagesWithGlobalContexts": true,
131
- "cliVersion": "0.1.335",
132
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.335/dist/plasmic.schema.json"
131
+ "cliVersion": "0.1.337",
132
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.337/dist/plasmic.schema.json"
133
133
  }
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */
@@ -39,11 +39,12 @@ export const PlasmicButton__VariantProps = new Array(
39
39
  );
40
40
 
41
41
  export const PlasmicButton__ArgProps = new Array(
42
- "children",
43
- "startIcon",
44
- "endIcon",
45
42
  "link",
46
- "submitsForm"
43
+ "submitsForm",
44
+ "target",
45
+ "startIcon",
46
+ "children",
47
+ "endIcon"
47
48
  );
48
49
 
49
50
  const $$ = {};
@@ -1,6 +1,6 @@
1
- // @ts-nocheck
2
1
  /* eslint-disable */
3
2
  /* tslint:disable */
3
+ // @ts-nocheck
4
4
  /* prettier-ignore-start */
5
5
  /** @jsxRuntime classic */
6
6
  /** @jsx createPlasmicElementProxy */