create-plasmic-app 0.0.143 → 0.0.145
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 +2 -2
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.jsx +1 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +1 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +7 -2
- package/cpa-out/gatsby-codegen-ts/package.json +2 -2
- package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +1 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +1 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -2
- package/cpa-out/gatsby-loader-js/gatsby-config.js +25 -21
- package/cpa-out/gatsby-loader-js/gatsby-node.js +58 -0
- package/cpa-out/gatsby-loader-js/package.json +1 -1
- package/cpa-out/gatsby-loader-js/src/plasmic-init.js +4 -4
- package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +2 -1
- package/cpa-out/gatsby-loader-ts/gatsby-config.ts +20 -22
- package/cpa-out/gatsby-loader-ts/gatsby-node.ts +61 -0
- package/cpa-out/gatsby-loader-ts/package.json +1 -1
- package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +6 -2
- package/cpa-out/nextjs-app-codegen-js/app/dynamic/[slug]/page.jsx +11 -3
- package/cpa-out/nextjs-app-codegen-js/app/layout.jsx +3 -4
- package/cpa-out/nextjs-app-codegen-js/app/page.jsx +4 -3
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +1 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +1 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.jsx +1 -1
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +7 -2
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepageServer.jsx +1 -1
- package/cpa-out/nextjs-app-codegen-js/package.json +2 -2
- package/cpa-out/nextjs-app-codegen-js/plasmic-init-client.jsx +0 -1
- package/cpa-out/nextjs-app-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-app-codegen-ts/app/dynamic/[slug]/page.tsx +12 -4
- package/cpa-out/nextjs-app-codegen-ts/app/layout.tsx +3 -4
- package/cpa-out/nextjs-app-codegen-ts/app/page.tsx +4 -4
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +1 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +1 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.tsx +1 -1
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -2
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepageServer.tsx +1 -1
- package/cpa-out/nextjs-app-codegen-ts/package.json +2 -2
- package/cpa-out/nextjs-app-codegen-ts/plasmic-init-client.tsx +1 -1
- package/cpa-out/nextjs-app-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-app-loader-js/package.json +1 -1
- package/cpa-out/nextjs-app-loader-js/plasmic-init.js +5 -0
- package/cpa-out/nextjs-app-loader-ts/package.json +1 -1
- package/cpa-out/nextjs-app-loader-ts/plasmic-init.ts +5 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +1 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +1 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +7 -2
- package/cpa-out/nextjs-pages-codegen-js/package.json +2 -2
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +1 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +1 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -2
- package/cpa-out/nextjs-pages-codegen-ts/package.json +2 -2
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-loader-js/package.json +1 -1
- package/cpa-out/nextjs-pages-loader-ts/package.json +1 -1
- package/cpa-out/react-codegen-js/package.json +2 -2
- package/cpa-out/react-codegen-js/plasmic.json +2 -2
- package/cpa-out/react-codegen-ts/package.json +2 -2
- package/cpa-out/react-codegen-ts/plasmic.json +2 -2
- package/cpa-out/tanstack-codegen-ts/package.json +7 -8
- package/cpa-out/tanstack-codegen-ts/plasmic.json +2 -2
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx +1 -5
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +1 -2
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +7 -5
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicStyleTokensProvider.tsx +2 -0
- package/cpa-out/tanstack-codegen-ts/src/router.tsx +0 -1
- package/cpa-out/tanstack-codegen-ts/tsconfig.json +0 -1
- package/cpa-out/tanstack-codegen-ts/vite.config.ts +1 -2
- package/dist/gatsby/gatsby.js +4 -67
- package/dist/gatsby/template.d.ts +2 -1
- package/dist/gatsby/template.js +122 -25
- package/dist/nextjs/nextjs.js +2 -0
- package/dist/nextjs/templates/app-codegen/plasmic-init-client.js +1 -2
- package/dist/tanstack/tanstack.js +11 -1
- package/package.json +2 -2
- package/src/gatsby/gatsby.ts +16 -28
- package/src/gatsby/template.ts +139 -29
- package/src/nextjs/nextjs.ts +3 -0
- package/src/nextjs/templates/app-codegen/plasmic-init-client.ts +4 -2
- package/src/tanstack/tanstack.ts +11 -1
- package/cpa-out/nextjs-app-codegen-js/app/layout.js +0 -28
- package/cpa-out/tanstack-codegen-ts/src/components/Footer.tsx +0 -44
- package/cpa-out/tanstack-codegen-ts/src/components/Header.tsx +0 -78
- package/cpa-out/tanstack-codegen-ts/src/components/ThemeToggle.tsx +0 -81
- /package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/icons/{PlasmicIcon__Checksvg.jsx → PlasmicIcon__CheckSvg.jsx} +0 -0
- /package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/icons/{PlasmicIcon__Checksvg.tsx → PlasmicIcon__CheckSvg.tsx} +0 -0
- /package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/icons/{PlasmicIcon__Checksvg.jsx → PlasmicIcon__CheckSvg.jsx} +0 -0
- /package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/icons/{PlasmicIcon__Checksvg.tsx → PlasmicIcon__CheckSvg.tsx} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import '@/app/globals.css'
|
|
2
|
-
import {
|
|
3
|
-
import Link from "next/link";
|
|
2
|
+
import { ClientPlasmicRootProvider } from "@/plasmic-init-client";
|
|
4
3
|
|
|
5
4
|
export default function RootLayout({
|
|
6
5
|
children,
|
|
@@ -10,9 +9,9 @@ export default function RootLayout({
|
|
|
10
9
|
return (
|
|
11
10
|
<html lang="en">
|
|
12
11
|
<body>
|
|
13
|
-
<
|
|
12
|
+
<ClientPlasmicRootProvider>
|
|
14
13
|
{children}
|
|
15
|
-
</
|
|
14
|
+
</ClientPlasmicRootProvider>
|
|
16
15
|
</body>
|
|
17
16
|
</html>
|
|
18
17
|
);
|
|
@@ -9,7 +9,6 @@ import {
|
|
|
9
9
|
generateDynamicMetadata,
|
|
10
10
|
HomepageServerSkeletonProps
|
|
11
11
|
} from "../components/plasmic/create_plasmic_app/PlasmicHomepageServer";
|
|
12
|
-
|
|
13
12
|
import type { Metadata, ResolvingMetadata } from "next";
|
|
14
13
|
|
|
15
14
|
export async function generateMetadata(
|
|
@@ -40,11 +39,12 @@ async function Homepage({ params, searchParams }: HomepageServerSkeletonProps) {
|
|
|
40
39
|
// Next.js Custom App component
|
|
41
40
|
// (https://nextjs.org/docs/advanced-features/custom-app).
|
|
42
41
|
|
|
42
|
+
const ctx = await makeAppRouterPageCtx({ params, searchParams });
|
|
43
43
|
return (
|
|
44
44
|
<PageParamsProvider__
|
|
45
|
-
route=
|
|
46
|
-
params={
|
|
47
|
-
query={
|
|
45
|
+
route={ctx.pageRoute}
|
|
46
|
+
params={ctx.params}
|
|
47
|
+
query={ctx.query}
|
|
48
48
|
>
|
|
49
49
|
<PlasmicHomepageServer />
|
|
50
50
|
</PageParamsProvider__>
|
package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -193,6 +193,7 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
193
193
|
className={classNames(
|
|
194
194
|
projectcss.all,
|
|
195
195
|
projectcss.h1,
|
|
196
|
+
projectcss.h1__47tFX,
|
|
196
197
|
projectcss.__wab_text,
|
|
197
198
|
sty.h1
|
|
198
199
|
)}
|
|
@@ -216,7 +217,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
216
217
|
}
|
|
217
218
|
</React.Fragment>
|
|
218
219
|
<span
|
|
219
|
-
className={
|
|
220
|
+
className={
|
|
221
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
222
|
+
}
|
|
220
223
|
style={{ fontWeight: 700 }}
|
|
221
224
|
>
|
|
222
225
|
{"Therefore, please avoid changing this project."}
|
|
@@ -230,7 +233,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
230
233
|
}
|
|
231
234
|
</React.Fragment>
|
|
232
235
|
<span
|
|
233
|
-
className={
|
|
236
|
+
className={
|
|
237
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
238
|
+
}
|
|
234
239
|
style={{ fontWeight: 700 }}
|
|
235
240
|
>
|
|
236
241
|
{"Code"}
|
|
@@ -143,6 +143,6 @@
|
|
|
143
143
|
"nextjsConfig": {
|
|
144
144
|
"pagesDir": "../app"
|
|
145
145
|
},
|
|
146
|
-
"cliVersion": "0.1.
|
|
147
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
146
|
+
"cliVersion": "0.1.361",
|
|
147
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
148
148
|
}
|
|
@@ -19,3 +19,8 @@ export const PLASMIC = initPlasmicLoader({
|
|
|
19
19
|
// only use this for development, as this is significantly slower.
|
|
20
20
|
preview: false,
|
|
21
21
|
});
|
|
22
|
+
|
|
23
|
+
// Register custom functions here so they are available during SSR.
|
|
24
|
+
// See https://docs.plasmic.app/learn/registering-custom-functions/
|
|
25
|
+
//
|
|
26
|
+
// PLASMIC.registerFunction(...);
|
|
@@ -19,3 +19,8 @@ export const PLASMIC = initPlasmicLoader({
|
|
|
19
19
|
// only use this for development, as this is significantly slower.
|
|
20
20
|
preview: false,
|
|
21
21
|
});
|
|
22
|
+
|
|
23
|
+
// Register custom functions here so they are available during SSR.
|
|
24
|
+
// See https://docs.plasmic.app/learn/registering-custom-functions/
|
|
25
|
+
//
|
|
26
|
+
// PLASMIC.registerFunction(...);
|
package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -126,6 +126,7 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
126
126
|
className={classNames(
|
|
127
127
|
projectcss.all,
|
|
128
128
|
projectcss.h1,
|
|
129
|
+
projectcss.h1__47tFX,
|
|
129
130
|
projectcss.__wab_text,
|
|
130
131
|
sty.h1
|
|
131
132
|
)}
|
|
@@ -149,7 +150,9 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
149
150
|
}
|
|
150
151
|
</React.Fragment>
|
|
151
152
|
<span
|
|
152
|
-
className={
|
|
153
|
+
className={
|
|
154
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
155
|
+
}
|
|
153
156
|
style={{ fontWeight: 700 }}
|
|
154
157
|
>
|
|
155
158
|
{"Therefore, please avoid changing this project."}
|
|
@@ -163,7 +166,9 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
163
166
|
}
|
|
164
167
|
</React.Fragment>
|
|
165
168
|
<span
|
|
166
|
-
className={
|
|
169
|
+
className={
|
|
170
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
171
|
+
}
|
|
167
172
|
style={{ fontWeight: 700 }}
|
|
168
173
|
>
|
|
169
174
|
{"Code"}
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"nextjsConfig": {
|
|
136
136
|
"pagesDir": "../pages"
|
|
137
137
|
},
|
|
138
|
-
"cliVersion": "0.1.
|
|
139
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
138
|
+
"cliVersion": "0.1.361",
|
|
139
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
140
140
|
}
|
package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -205,6 +205,7 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
205
205
|
className={classNames(
|
|
206
206
|
projectcss.all,
|
|
207
207
|
projectcss.h1,
|
|
208
|
+
projectcss.h1__47tFX,
|
|
208
209
|
projectcss.__wab_text,
|
|
209
210
|
sty.h1
|
|
210
211
|
)}
|
|
@@ -228,7 +229,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
228
229
|
}
|
|
229
230
|
</React.Fragment>
|
|
230
231
|
<span
|
|
231
|
-
className={
|
|
232
|
+
className={
|
|
233
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
234
|
+
}
|
|
232
235
|
style={{ fontWeight: 700 }}
|
|
233
236
|
>
|
|
234
237
|
{"Therefore, please avoid changing this project."}
|
|
@@ -242,7 +245,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
242
245
|
}
|
|
243
246
|
</React.Fragment>
|
|
244
247
|
<span
|
|
245
|
-
className={
|
|
248
|
+
className={
|
|
249
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
250
|
+
}
|
|
246
251
|
style={{ fontWeight: 700 }}
|
|
247
252
|
>
|
|
248
253
|
{"Code"}
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"nextjsConfig": {
|
|
136
136
|
"pagesDir": "../pages"
|
|
137
137
|
},
|
|
138
|
-
"cliVersion": "0.1.
|
|
139
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
138
|
+
"cliVersion": "0.1.361",
|
|
139
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
140
140
|
}
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
},
|
|
133
133
|
"wrapPagesWithGlobalContexts": true,
|
|
134
134
|
"preserveJsImportExtensions": false,
|
|
135
|
-
"cliVersion": "0.1.
|
|
136
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
135
|
+
"cliVersion": "0.1.361",
|
|
136
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
137
137
|
}
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
},
|
|
133
133
|
"wrapPagesWithGlobalContexts": true,
|
|
134
134
|
"preserveJsImportExtensions": false,
|
|
135
|
-
"cliVersion": "0.1.
|
|
136
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
135
|
+
"cliVersion": "0.1.361",
|
|
136
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
137
137
|
}
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"test": "vitest run"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@plasmicapp/cli": "^0.1.
|
|
16
|
-
"@plasmicapp/react-web": "^0.
|
|
15
|
+
"@plasmicapp/cli": "^0.1.361",
|
|
16
|
+
"@plasmicapp/react-web": "^1.0.6",
|
|
17
17
|
"@tailwindcss/vite": "^4.1.18",
|
|
18
18
|
"@tanstack/react-devtools": "latest",
|
|
19
|
-
"@tanstack/react-query": "^5.
|
|
19
|
+
"@tanstack/react-query": "^5.100.9",
|
|
20
20
|
"@tanstack/react-router": "latest",
|
|
21
21
|
"@tanstack/react-router-devtools": "latest",
|
|
22
22
|
"@tanstack/router-plugin": "^1.132.0",
|
|
@@ -34,12 +34,11 @@
|
|
|
34
34
|
"@types/node": "^22.10.2",
|
|
35
35
|
"@types/react": "^19.2.0",
|
|
36
36
|
"@types/react-dom": "^19.2.0",
|
|
37
|
-
"@vitejs/plugin-react": "^
|
|
37
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
38
38
|
"jsdom": "^28.1.0",
|
|
39
|
-
"typescript": "^
|
|
40
|
-
"vite": "^
|
|
41
|
-
"
|
|
42
|
-
"vitest": "^3.0.5"
|
|
39
|
+
"typescript": "^6.0.2",
|
|
40
|
+
"vite": "^8.0.0",
|
|
41
|
+
"vitest": "^4.1.5"
|
|
43
42
|
},
|
|
44
43
|
"pnpm": {
|
|
45
44
|
"onlyBuiltDependencies": [
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"tanstackConfig": {
|
|
136
136
|
"pagesDir": "../routes"
|
|
137
137
|
},
|
|
138
|
-
"cliVersion": "0.1.
|
|
139
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
138
|
+
"cliVersion": "0.1.361",
|
|
139
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
|
|
140
140
|
}
|
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.tsx
CHANGED
|
@@ -281,6 +281,7 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
281
281
|
className={classNames(
|
|
282
282
|
"plasmic_default__all",
|
|
283
283
|
"plasmic_default__button",
|
|
284
|
+
"plasmic_default__button__47tFX",
|
|
284
285
|
"root_reset_47tFXWjN2C4NyHFGGpaYQ3",
|
|
285
286
|
"plasmic_default_styles",
|
|
286
287
|
"plasmic_mixins",
|
|
@@ -425,7 +426,6 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
425
426
|
data-plasmic-override={overrides.startIconContainer}
|
|
426
427
|
className={classNames(
|
|
427
428
|
"plasmic_default__all",
|
|
428
|
-
"plasmic_default__div",
|
|
429
429
|
"Button__startIconContainer__men7Z",
|
|
430
430
|
{
|
|
431
431
|
Button__startIconContainercolor_blue__men7Z7OS1A: hasVariant(
|
|
@@ -449,7 +449,6 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
449
449
|
<CheckSvgIcon
|
|
450
450
|
className={classNames(
|
|
451
451
|
"plasmic_default__all",
|
|
452
|
-
"plasmic_default__svg",
|
|
453
452
|
"Button__svg__s6Xxe"
|
|
454
453
|
)}
|
|
455
454
|
role={"img"}
|
|
@@ -519,7 +518,6 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
519
518
|
data-plasmic-override={overrides.contentContainer}
|
|
520
519
|
className={classNames(
|
|
521
520
|
"plasmic_default__all",
|
|
522
|
-
"plasmic_default__div",
|
|
523
521
|
"Button__contentContainer__sXXwU",
|
|
524
522
|
{
|
|
525
523
|
Button__contentContainer___focusVisibleWithin__sXXwUcjR25:
|
|
@@ -650,7 +648,6 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
650
648
|
data-plasmic-override={overrides.endIconContainer}
|
|
651
649
|
className={classNames(
|
|
652
650
|
"plasmic_default__all",
|
|
653
|
-
"plasmic_default__div",
|
|
654
651
|
"Button__endIconContainer___3CzAx",
|
|
655
652
|
{
|
|
656
653
|
Button__endIconContainercolor_white___3CzAx5R3VM: hasVariant(
|
|
@@ -676,7 +673,6 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
676
673
|
<IconIcon
|
|
677
674
|
className={classNames(
|
|
678
675
|
"plasmic_default__all",
|
|
679
|
-
"plasmic_default__svg",
|
|
680
676
|
"Button__svg__liJa"
|
|
681
677
|
)}
|
|
682
678
|
role={"img"}
|
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx
CHANGED
|
@@ -175,7 +175,6 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
175
175
|
data-plasmic-for-node={forNode}
|
|
176
176
|
className={classNames(
|
|
177
177
|
"plasmic_default__all",
|
|
178
|
-
"plasmic_default__div",
|
|
179
178
|
"root_reset_47tFXWjN2C4NyHFGGpaYQ3",
|
|
180
179
|
"plasmic_default_styles",
|
|
181
180
|
"plasmic_mixins",
|
|
@@ -188,7 +187,6 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
188
187
|
data-plasmic-override={overrides.section}
|
|
189
188
|
className={classNames(
|
|
190
189
|
"plasmic_default__all",
|
|
191
|
-
"plasmic_default__section",
|
|
192
190
|
"DynamicPage__section__mbqxB"
|
|
193
191
|
)}
|
|
194
192
|
>
|
|
@@ -198,6 +196,7 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
198
196
|
className={classNames(
|
|
199
197
|
"plasmic_default__all",
|
|
200
198
|
"plasmic_default__h1",
|
|
199
|
+
"plasmic_default__h1__47tFX",
|
|
201
200
|
"__wab_text",
|
|
202
201
|
"DynamicPage__h1__uyAe1"
|
|
203
202
|
)}
|
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -179,7 +179,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
179
179
|
data-plasmic-for-node={forNode}
|
|
180
180
|
className={classNames(
|
|
181
181
|
"plasmic_default__all",
|
|
182
|
-
"plasmic_default__div",
|
|
183
182
|
"root_reset_47tFXWjN2C4NyHFGGpaYQ3",
|
|
184
183
|
"plasmic_default_styles",
|
|
185
184
|
"plasmic_mixins",
|
|
@@ -192,7 +191,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
192
191
|
data-plasmic-override={overrides.section}
|
|
193
192
|
className={classNames(
|
|
194
193
|
"plasmic_default__all",
|
|
195
|
-
"plasmic_default__section",
|
|
196
194
|
"Homepage__section__pXQ"
|
|
197
195
|
)}
|
|
198
196
|
>
|
|
@@ -202,6 +200,7 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
202
200
|
className={classNames(
|
|
203
201
|
"plasmic_default__all",
|
|
204
202
|
"plasmic_default__h1",
|
|
203
|
+
"plasmic_default__h1__47tFX",
|
|
205
204
|
"__wab_text",
|
|
206
205
|
"Homepage__h1__equfk"
|
|
207
206
|
)}
|
|
@@ -213,7 +212,6 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
213
212
|
data-plasmic-override={overrides.text}
|
|
214
213
|
className={classNames(
|
|
215
214
|
"plasmic_default__all",
|
|
216
|
-
"plasmic_default__div",
|
|
217
215
|
"__wab_text",
|
|
218
216
|
"Homepage__text__aC4Gm"
|
|
219
217
|
)}
|
|
@@ -226,7 +224,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
226
224
|
}
|
|
227
225
|
</React.Fragment>
|
|
228
226
|
<span
|
|
229
|
-
className={
|
|
227
|
+
className={
|
|
228
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
229
|
+
}
|
|
230
230
|
style={{ fontWeight: 700 }}
|
|
231
231
|
>
|
|
232
232
|
{"Therefore, please avoid changing this project."}
|
|
@@ -240,7 +240,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
240
240
|
}
|
|
241
241
|
</React.Fragment>
|
|
242
242
|
<span
|
|
243
|
-
className={
|
|
243
|
+
className={
|
|
244
|
+
"plasmic_default__all plasmic_default__span plasmic_default__span__47tFX"
|
|
245
|
+
}
|
|
244
246
|
style={{ fontWeight: 700 }}
|
|
245
247
|
>
|
|
246
248
|
{"Code"}
|
|
@@ -9,6 +9,8 @@ import { createUseStyleTokens } from "@plasmicapp/react-web";
|
|
|
9
9
|
|
|
10
10
|
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
11
11
|
|
|
12
|
+
import "./plasmic.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
13
|
+
|
|
12
14
|
const data = {
|
|
13
15
|
base: `${"plasmic_tokens_47tFXWjN2C4NyHFGGpaYQ3"}`,
|
|
14
16
|
varianted: []
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from 'vite'
|
|
2
2
|
import { devtools } from '@tanstack/devtools-vite'
|
|
3
|
-
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
4
3
|
|
|
5
4
|
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
6
5
|
|
|
@@ -17,9 +16,9 @@ const config = defineConfig({
|
|
|
17
16
|
"@plasmicapp/react-web",
|
|
18
17
|
],
|
|
19
18
|
},
|
|
19
|
+
resolve: { tsconfigPaths: true },
|
|
20
20
|
plugins: [
|
|
21
21
|
devtools(),
|
|
22
|
-
tsconfigPaths({ projects: ['./tsconfig.json'] }),
|
|
23
22
|
tailwindcss(),
|
|
24
23
|
tanstackRouter({ target: 'react', autoCodeSplitting: true }),
|
|
25
24
|
viteReact(),
|