create-plasmic-app 0.0.67 → 0.0.69
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/cpa-out/gatsby-codegen-js/package.json +2 -2
- package/cpa-out/gatsby-codegen-js/plasmic.json +54 -3
- package/cpa-out/gatsby-codegen-js/src/components/Button.jsx +13 -0
- package/cpa-out/gatsby-codegen-js/src/components/RandomDynamicPageButton.jsx +24 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +631 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +176 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +162 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
- package/cpa-out/gatsby-codegen-js/src/pages/dynamic/[slug].jsx +39 -0
- package/cpa-out/gatsby-codegen-ts/package.json +2 -2
- package/cpa-out/gatsby-codegen-ts/plasmic.json +54 -3
- package/cpa-out/gatsby-codegen-ts/src/components/Button.tsx +36 -0
- package/cpa-out/gatsby-codegen-ts/src/components/RandomDynamicPageButton.tsx +44 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +736 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +262 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +246 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
- package/cpa-out/gatsby-codegen-ts/src/pages/dynamic/[slug].tsx +41 -0
- package/cpa-out/gatsby-loader-js/package.json +1 -1
- package/cpa-out/gatsby-loader-ts/package.json +1 -1
- package/cpa-out/nextjs-app-loader-js/package.json +1 -1
- package/cpa-out/nextjs-app-loader-ts/package.json +2 -2
- package/cpa-out/nextjs-pages-codegen-js/components/Button.jsx +13 -0
- package/cpa-out/nextjs-pages-codegen-js/components/RandomDynamicPageButton.jsx +24 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +640 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +184 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +170 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
- package/cpa-out/nextjs-pages-codegen-js/package.json +2 -2
- package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +35 -0
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +54 -3
- package/cpa-out/nextjs-pages-codegen-ts/components/Button.tsx +36 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +44 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +742 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +264 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +252 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
- package/cpa-out/nextjs-pages-codegen-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +37 -0
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +54 -3
- package/cpa-out/nextjs-pages-loader-js/package.json +1 -1
- package/cpa-out/nextjs-pages-loader-ts/package.json +2 -2
- package/cpa-out/react-codegen-js/package.json +2 -2
- package/cpa-out/react-codegen-js/plasmic.json +54 -3
- package/cpa-out/react-codegen-js/src/components/Button.jsx +13 -0
- package/cpa-out/react-codegen-js/src/components/DynamicPage.jsx +26 -0
- package/cpa-out/react-codegen-js/src/components/RandomDynamicPageButton.jsx +24 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +625 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +166 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +161 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
- package/cpa-out/react-codegen-ts/package.json +2 -2
- package/cpa-out/react-codegen-ts/plasmic.json +54 -3
- package/cpa-out/react-codegen-ts/src/components/Button.tsx +36 -0
- package/cpa-out/react-codegen-ts/src/components/DynamicPage.tsx +45 -0
- package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +44 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +725 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +248 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +240 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
- package/cpa-out/react-loader-js/package.json +2 -2
- package/cpa-out/react-loader-js/plasmic.json +54 -3
- package/cpa-out/react-loader-js/src/components/Button.jsx +13 -0
- package/cpa-out/react-loader-js/src/components/DynamicPage.jsx +26 -0
- package/cpa-out/react-loader-js/src/components/RandomDynamicPageButton.jsx +24 -0
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +625 -0
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +166 -0
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +161 -0
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
- package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
- package/cpa-out/react-loader-ts/package.json +2 -2
- package/cpa-out/react-loader-ts/plasmic.json +54 -3
- package/cpa-out/react-loader-ts/src/components/Button.tsx +36 -0
- package/cpa-out/react-loader-ts/src/components/DynamicPage.tsx +45 -0
- package/cpa-out/react-loader-ts/src/components/RandomDynamicPageButton.tsx +44 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +725 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +248 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +240 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
- package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
- package/dist/nextjs/nextjs.js +2 -2
- package/package.json +2 -2
- package/src/nextjs/nextjs.ts +2 -2
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "gatsby clean"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@plasmicapp/cli": "^0.1.
|
|
18
|
-
"@plasmicapp/react-web": "^0.2.
|
|
17
|
+
"@plasmicapp/cli": "^0.1.231",
|
|
18
|
+
"@plasmicapp/react-web": "^0.2.174",
|
|
19
19
|
"gatsby": "^5.7.0",
|
|
20
20
|
"gatsby-plugin-react-helmet": "^6.7.0",
|
|
21
21
|
"react": "^18.2.0",
|
|
@@ -40,9 +40,60 @@
|
|
|
40
40
|
"cssFilePath": "plasmic/create_plasmic_app/PlasmicHomepage.module.css",
|
|
41
41
|
"scheme": "blackbox",
|
|
42
42
|
"componentType": "page"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "AO44A-w7hh",
|
|
46
|
+
"name": "DynamicPage",
|
|
47
|
+
"type": "managed",
|
|
48
|
+
"projectId": "47tFXWjN2C4NyHFGGpaYQ3",
|
|
49
|
+
"renderModuleFilePath": "plasmic/create_plasmic_app/PlasmicDynamicPage.jsx",
|
|
50
|
+
"importSpec": {
|
|
51
|
+
"modulePath": "../pages/dynamic/[slug].jsx"
|
|
52
|
+
},
|
|
53
|
+
"cssFilePath": "plasmic/create_plasmic_app/PlasmicDynamicPage.module.css",
|
|
54
|
+
"scheme": "blackbox",
|
|
55
|
+
"componentType": "page"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "TQcvW_pSKi3",
|
|
59
|
+
"name": "Button",
|
|
60
|
+
"type": "managed",
|
|
61
|
+
"projectId": "47tFXWjN2C4NyHFGGpaYQ3",
|
|
62
|
+
"renderModuleFilePath": "plasmic/create_plasmic_app/PlasmicButton.jsx",
|
|
63
|
+
"importSpec": {
|
|
64
|
+
"modulePath": "Button.jsx"
|
|
65
|
+
},
|
|
66
|
+
"cssFilePath": "plasmic/create_plasmic_app/PlasmicButton.module.css",
|
|
67
|
+
"scheme": "blackbox",
|
|
68
|
+
"componentType": "component",
|
|
69
|
+
"plumeType": "button"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "Q23H1_1M_P",
|
|
73
|
+
"name": "RandomDynamicPageButton",
|
|
74
|
+
"type": "managed",
|
|
75
|
+
"projectId": "47tFXWjN2C4NyHFGGpaYQ3",
|
|
76
|
+
"renderModuleFilePath": "plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx",
|
|
77
|
+
"importSpec": {
|
|
78
|
+
"modulePath": "RandomDynamicPageButton.jsx"
|
|
79
|
+
},
|
|
80
|
+
"cssFilePath": "plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css",
|
|
81
|
+
"scheme": "blackbox",
|
|
82
|
+
"componentType": "component"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"icons": [
|
|
86
|
+
{
|
|
87
|
+
"id": "gj-_D7n31Ho",
|
|
88
|
+
"name": "ChecksvgIcon",
|
|
89
|
+
"moduleFilePath": "plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "6PNxx3YMyDQ",
|
|
93
|
+
"name": "IconIcon",
|
|
94
|
+
"moduleFilePath": "plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx"
|
|
43
95
|
}
|
|
44
96
|
],
|
|
45
|
-
"icons": [],
|
|
46
97
|
"images": [],
|
|
47
98
|
"indirect": false,
|
|
48
99
|
"globalContextsFilePath": "",
|
|
@@ -74,6 +125,6 @@
|
|
|
74
125
|
"gatsbyConfig": {
|
|
75
126
|
"pagesDir": "../pages"
|
|
76
127
|
},
|
|
77
|
-
"cliVersion": "0.1.
|
|
78
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
128
|
+
"cliVersion": "0.1.231",
|
|
129
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.231/dist/plasmic.schema.json"
|
|
79
130
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PlasmicButton } from "./plasmic/create_plasmic_app/PlasmicButton";
|
|
3
|
+
|
|
4
|
+
function Button_(props, ref) {
|
|
5
|
+
const { plasmicProps } = PlasmicButton.useBehavior(props, ref);
|
|
6
|
+
return <PlasmicButton {...plasmicProps} />;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const Button = React.forwardRef(Button_);
|
|
10
|
+
|
|
11
|
+
export default Object.assign(Button, {
|
|
12
|
+
__plumeType: "button"
|
|
13
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This is a skeleton starter React component generated by Plasmic.
|
|
2
|
+
// This file is owned by you, feel free to edit as you see fit.
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { PlasmicRandomDynamicPageButton } from "./plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton";
|
|
5
|
+
|
|
6
|
+
function RandomDynamicPageButton(props) {
|
|
7
|
+
// Use PlasmicRandomDynamicPageButton to render this component as it was
|
|
8
|
+
// designed in Plasmic, by activating the appropriate variants,
|
|
9
|
+
// attaching the appropriate event handlers, etc. You
|
|
10
|
+
// can also install whatever React hooks you need here to manage state or
|
|
11
|
+
// fetch data.
|
|
12
|
+
//
|
|
13
|
+
// Props you can pass into PlasmicRandomDynamicPageButton are:
|
|
14
|
+
// 1. Variants you want to activate,
|
|
15
|
+
// 2. Contents for slots you want to fill,
|
|
16
|
+
// 3. Overrides for any named node in the component to attach behavior and data,
|
|
17
|
+
// 4. Props to set on the root node.
|
|
18
|
+
//
|
|
19
|
+
// By default, we are just piping all RandomDynamicPageButtonProps here, but feel free
|
|
20
|
+
// to do whatever works for you.
|
|
21
|
+
return <PlasmicRandomDynamicPageButton {...props} />;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default RandomDynamicPageButton;
|