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.
Files changed (101) hide show
  1. package/cpa-out/gatsby-codegen-js/package.json +2 -2
  2. package/cpa-out/gatsby-codegen-js/plasmic.json +54 -3
  3. package/cpa-out/gatsby-codegen-js/src/components/Button.jsx +13 -0
  4. package/cpa-out/gatsby-codegen-js/src/components/RandomDynamicPageButton.jsx +24 -0
  5. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +631 -0
  6. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +176 -0
  7. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
  8. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +162 -0
  9. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
  10. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
  11. package/cpa-out/gatsby-codegen-js/src/pages/dynamic/[slug].jsx +39 -0
  12. package/cpa-out/gatsby-codegen-ts/package.json +2 -2
  13. package/cpa-out/gatsby-codegen-ts/plasmic.json +54 -3
  14. package/cpa-out/gatsby-codegen-ts/src/components/Button.tsx +36 -0
  15. package/cpa-out/gatsby-codegen-ts/src/components/RandomDynamicPageButton.tsx +44 -0
  16. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +736 -0
  17. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +262 -0
  18. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
  19. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
  20. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +246 -0
  21. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
  22. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
  23. package/cpa-out/gatsby-codegen-ts/src/pages/dynamic/[slug].tsx +41 -0
  24. package/cpa-out/gatsby-loader-js/package.json +1 -1
  25. package/cpa-out/gatsby-loader-ts/package.json +1 -1
  26. package/cpa-out/nextjs-app-loader-js/package.json +1 -1
  27. package/cpa-out/nextjs-app-loader-ts/package.json +2 -2
  28. package/cpa-out/nextjs-pages-codegen-js/components/Button.jsx +13 -0
  29. package/cpa-out/nextjs-pages-codegen-js/components/RandomDynamicPageButton.jsx +24 -0
  30. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +640 -0
  31. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +184 -0
  32. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
  33. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +170 -0
  34. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
  35. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
  36. package/cpa-out/nextjs-pages-codegen-js/package.json +2 -2
  37. package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +35 -0
  38. package/cpa-out/nextjs-pages-codegen-js/plasmic.json +54 -3
  39. package/cpa-out/nextjs-pages-codegen-ts/components/Button.tsx +36 -0
  40. package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +44 -0
  41. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +742 -0
  42. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +264 -0
  43. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
  44. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
  45. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +252 -0
  46. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
  47. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
  48. package/cpa-out/nextjs-pages-codegen-ts/package.json +3 -3
  49. package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +37 -0
  50. package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +54 -3
  51. package/cpa-out/nextjs-pages-loader-js/package.json +1 -1
  52. package/cpa-out/nextjs-pages-loader-ts/package.json +2 -2
  53. package/cpa-out/react-codegen-js/package.json +2 -2
  54. package/cpa-out/react-codegen-js/plasmic.json +54 -3
  55. package/cpa-out/react-codegen-js/src/components/Button.jsx +13 -0
  56. package/cpa-out/react-codegen-js/src/components/DynamicPage.jsx +26 -0
  57. package/cpa-out/react-codegen-js/src/components/RandomDynamicPageButton.jsx +24 -0
  58. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +625 -0
  59. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +166 -0
  60. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
  61. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +161 -0
  62. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
  63. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
  64. package/cpa-out/react-codegen-ts/package.json +2 -2
  65. package/cpa-out/react-codegen-ts/plasmic.json +54 -3
  66. package/cpa-out/react-codegen-ts/src/components/Button.tsx +36 -0
  67. package/cpa-out/react-codegen-ts/src/components/DynamicPage.tsx +45 -0
  68. package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +44 -0
  69. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +725 -0
  70. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +248 -0
  71. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
  72. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
  73. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +240 -0
  74. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
  75. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
  76. package/cpa-out/react-loader-js/package.json +2 -2
  77. package/cpa-out/react-loader-js/plasmic.json +54 -3
  78. package/cpa-out/react-loader-js/src/components/Button.jsx +13 -0
  79. package/cpa-out/react-loader-js/src/components/DynamicPage.jsx +26 -0
  80. package/cpa-out/react-loader-js/src/components/RandomDynamicPageButton.jsx +24 -0
  81. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +625 -0
  82. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +166 -0
  83. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +15 -3
  84. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +161 -0
  85. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.jsx +39 -0
  86. package/cpa-out/react-loader-js/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.jsx +37 -0
  87. package/cpa-out/react-loader-ts/package.json +2 -2
  88. package/cpa-out/react-loader-ts/plasmic.json +54 -3
  89. package/cpa-out/react-loader-ts/src/components/Button.tsx +36 -0
  90. package/cpa-out/react-loader-ts/src/components/DynamicPage.tsx +45 -0
  91. package/cpa-out/react-loader-ts/src/components/RandomDynamicPageButton.tsx +44 -0
  92. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +725 -0
  93. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +248 -0
  94. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicGlobalVariant__Screen.tsx +1 -0
  95. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +18 -3
  96. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +240 -0
  97. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Checksvg.tsx +44 -0
  98. package/cpa-out/react-loader-ts/src/components/plasmic/create_plasmic_app/icons/PlasmicIcon__Icon.tsx +41 -0
  99. package/dist/nextjs/nextjs.js +2 -2
  100. package/package.json +2 -2
  101. package/src/nextjs/nextjs.ts +2 -2
@@ -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": "DynamicPage.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": "",
@@ -71,6 +122,6 @@
71
122
  ]
72
123
  },
73
124
  "wrapPagesWithGlobalContexts": true,
74
- "cliVersion": "0.1.225",
75
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.225/dist/plasmic.schema.json"
125
+ "cliVersion": "0.1.231",
126
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.231/dist/plasmic.schema.json"
76
127
  }
@@ -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,26 @@
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 { PlasmicDynamicPage } from "./plasmic/create_plasmic_app/PlasmicDynamicPage";
5
+
6
+ function DynamicPage_(props, ref) {
7
+ // Use PlasmicDynamicPage 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 PlasmicDynamicPage 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 DynamicPageProps here, but feel free
20
+ // to do whatever works for you.
21
+ return <PlasmicDynamicPage root={{ ref }} {...props} />;
22
+ }
23
+
24
+ const DynamicPage = React.forwardRef(DynamicPage_);
25
+
26
+ export default DynamicPage;
@@ -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;