create-plasmic-app 0.0.151 → 0.0.152

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 (145) hide show
  1. package/cpa-out/.gitignore +4 -2
  2. package/cpa-out/gatsby-codegen-js/package.json +2 -2
  3. package/cpa-out/gatsby-codegen-js/plasmic.json +2 -2
  4. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  5. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
  6. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  7. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  8. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  9. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  10. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  11. package/cpa-out/gatsby-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
  12. package/cpa-out/gatsby-codegen-ts/package.json +2 -2
  13. package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
  14. package/cpa-out/gatsby-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  15. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  16. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  17. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  18. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  19. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  20. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  21. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  22. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
  23. package/cpa-out/gatsby-loader-js/package.json +1 -1
  24. package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +1 -0
  25. package/cpa-out/gatsby-loader-ts/package.json +1 -1
  26. package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +1 -0
  27. package/cpa-out/nextjs-app-codegen-js/app/dynamic/[slug]/page.jsx +13 -3
  28. package/cpa-out/nextjs-app-codegen-js/app/globals.css +10 -0
  29. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  30. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
  31. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  32. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.jsx +103 -2
  33. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  34. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  35. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  36. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  37. package/cpa-out/nextjs-app-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
  38. package/cpa-out/nextjs-app-codegen-js/eslint.config.mjs +16 -0
  39. package/cpa-out/nextjs-app-codegen-js/jsconfig.json +7 -0
  40. package/cpa-out/nextjs-app-codegen-js/package.json +4 -4
  41. package/cpa-out/nextjs-app-codegen-js/plasmic.json +2 -2
  42. package/cpa-out/nextjs-app-codegen-ts/app/dynamic/[slug]/page.tsx +13 -3
  43. package/cpa-out/nextjs-app-codegen-ts/app/globals.css +10 -0
  44. package/cpa-out/nextjs-app-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
  45. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  46. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  47. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +69 -29
  48. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.tsx +110 -2
  49. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  50. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  51. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  52. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  53. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
  54. package/cpa-out/nextjs-app-codegen-ts/eslint.config.mjs +18 -0
  55. package/cpa-out/nextjs-app-codegen-ts/package.json +4 -4
  56. package/cpa-out/nextjs-app-codegen-ts/plasmic.json +2 -2
  57. package/cpa-out/nextjs-app-loader-js/app/[[...catchall]]/page.jsx +1 -0
  58. package/cpa-out/nextjs-app-loader-js/app/globals.css +10 -0
  59. package/cpa-out/nextjs-app-loader-js/eslint.config.mjs +16 -0
  60. package/cpa-out/nextjs-app-loader-js/jsconfig.json +7 -0
  61. package/cpa-out/nextjs-app-loader-js/package.json +3 -3
  62. package/cpa-out/nextjs-app-loader-ts/app/[[...catchall]]/page.tsx +1 -0
  63. package/cpa-out/nextjs-app-loader-ts/app/globals.css +10 -0
  64. package/cpa-out/nextjs-app-loader-ts/eslint.config.mjs +18 -0
  65. package/cpa-out/nextjs-app-loader-ts/package.json +3 -3
  66. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  67. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
  68. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  69. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  70. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  71. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  72. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  73. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
  74. package/cpa-out/nextjs-pages-codegen-js/eslint.config.mjs +16 -0
  75. package/cpa-out/nextjs-pages-codegen-js/jsconfig.json +7 -0
  76. package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
  77. package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +24 -2
  78. package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
  79. package/cpa-out/nextjs-pages-codegen-js/styles/Home.module.css +141 -0
  80. package/cpa-out/nextjs-pages-codegen-js/styles/globals.css +10 -0
  81. package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
  82. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  83. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  84. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +75 -29
  85. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  86. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  87. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  88. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  89. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
  90. package/cpa-out/nextjs-pages-codegen-ts/eslint.config.mjs +18 -0
  91. package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
  92. package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +25 -2
  93. package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
  94. package/cpa-out/nextjs-pages-codegen-ts/styles/Home.module.css +141 -0
  95. package/cpa-out/nextjs-pages-codegen-ts/styles/globals.css +10 -0
  96. package/cpa-out/nextjs-pages-loader-js/eslint.config.mjs +16 -0
  97. package/cpa-out/nextjs-pages-loader-js/jsconfig.json +7 -0
  98. package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
  99. package/cpa-out/nextjs-pages-loader-js/pages/[[...catchall]].jsx +1 -0
  100. package/cpa-out/nextjs-pages-loader-js/styles/Home.module.css +141 -0
  101. package/cpa-out/nextjs-pages-loader-js/styles/globals.css +10 -0
  102. package/cpa-out/nextjs-pages-loader-ts/eslint.config.mjs +18 -0
  103. package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
  104. package/cpa-out/nextjs-pages-loader-ts/pages/[[...catchall]].tsx +1 -0
  105. package/cpa-out/nextjs-pages-loader-ts/styles/Home.module.css +141 -0
  106. package/cpa-out/nextjs-pages-loader-ts/styles/globals.css +10 -0
  107. package/cpa-out/react-codegen-js/package.json +2 -2
  108. package/cpa-out/react-codegen-js/plasmic.json +2 -2
  109. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  110. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
  111. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  112. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  113. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  114. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  115. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  116. package/cpa-out/react-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
  117. package/cpa-out/react-codegen-js/src/index.css +68 -0
  118. package/cpa-out/react-codegen-ts/package.json +2 -2
  119. package/cpa-out/react-codegen-ts/plasmic.json +2 -2
  120. package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  121. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  122. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  123. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  124. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  125. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  126. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  127. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  128. package/cpa-out/react-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
  129. package/cpa-out/react-codegen-ts/src/index.css +68 -0
  130. package/cpa-out/tanstack-codegen-ts/package.json +3 -3
  131. package/cpa-out/tanstack-codegen-ts/plasmic.json +2 -2
  132. package/cpa-out/tanstack-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  133. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.css +495 -0
  134. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.css +44 -0
  135. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  136. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.css +43 -0
  137. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  138. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.css +16 -0
  139. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.css +354 -0
  140. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/plasmic__default_style.css +363 -0
  141. package/cpa-out/tanstack-codegen-ts/src/routes/dynamic/$slug/index.tsx +31 -8
  142. package/cpa-out/tanstack-codegen-ts/src/styles.css +17 -0
  143. package/dist/nextjs/nextjs.js +30 -0
  144. package/package.json +2 -2
  145. package/src/nextjs/nextjs.ts +34 -1
@@ -0,0 +1,363 @@
1
+ :where(.all) {
2
+ display: block;
3
+ white-space: inherit;
4
+ grid-row: auto;
5
+ grid-column: auto;
6
+ position: relative;
7
+ background: none;
8
+ background-size: 100% 100%;
9
+ background-repeat: no-repeat;
10
+ row-gap: 0px;
11
+ column-gap: 0px;
12
+ box-shadow: none;
13
+ box-sizing: border-box;
14
+ text-decoration-line: none;
15
+ margin: 0;
16
+ border-width: 0px;
17
+ }
18
+ :where(.__wab_expr_html_text *) {
19
+ white-space: inherit;
20
+ grid-row: auto;
21
+ grid-column: auto;
22
+ background: none;
23
+ background-size: 100% 100%;
24
+ background-repeat: no-repeat;
25
+ row-gap: 0px;
26
+ column-gap: 0px;
27
+ box-shadow: none;
28
+ box-sizing: border-box;
29
+ margin: 0;
30
+ border-width: 0px;
31
+ }
32
+
33
+ :where(.img) {
34
+ display: inline-block;
35
+ }
36
+ :where(.__wab_expr_html_text img) {
37
+ white-space: inherit;
38
+ }
39
+
40
+ :where(.li) {
41
+ display: list-item;
42
+ }
43
+ :where(.__wab_expr_html_text li) {
44
+ white-space: inherit;
45
+ }
46
+
47
+ :where(.span) {
48
+ display: inline;
49
+ position: static;
50
+ font-family: inherit;
51
+ line-height: inherit;
52
+ font-size: inherit;
53
+ font-style: inherit;
54
+ font-weight: inherit;
55
+ color: inherit;
56
+ text-transform: inherit;
57
+ }
58
+ :where(.__wab_expr_html_text span) {
59
+ white-space: inherit;
60
+ font-family: inherit;
61
+ line-height: inherit;
62
+ font-size: inherit;
63
+ font-style: inherit;
64
+ font-weight: inherit;
65
+ color: inherit;
66
+ text-transform: inherit;
67
+ }
68
+
69
+ :where(.input) {
70
+ font-family: inherit;
71
+ line-height: inherit;
72
+ font-size: inherit;
73
+ font-style: inherit;
74
+ font-weight: inherit;
75
+ color: inherit;
76
+ text-transform: inherit;
77
+ background-image: linear-gradient(#ffffff, #ffffff);
78
+ padding: 2px;
79
+ border: 1px solid lightgray;
80
+ }
81
+ :where(.__wab_expr_html_text input) {
82
+ white-space: inherit;
83
+ font-family: inherit;
84
+ line-height: inherit;
85
+ font-size: inherit;
86
+ font-style: inherit;
87
+ font-weight: inherit;
88
+ color: inherit;
89
+ text-transform: inherit;
90
+ background-image: linear-gradient(#ffffff, #ffffff);
91
+ padding: 2px;
92
+ border: 1px solid lightgray;
93
+ }
94
+
95
+ :where(.textarea) {
96
+ font-family: inherit;
97
+ line-height: inherit;
98
+ font-size: inherit;
99
+ font-style: inherit;
100
+ font-weight: inherit;
101
+ color: inherit;
102
+ text-transform: inherit;
103
+ padding: 2px;
104
+ border: 1px solid lightgray;
105
+ }
106
+ :where(.__wab_expr_html_text textarea) {
107
+ white-space: inherit;
108
+ font-family: inherit;
109
+ line-height: inherit;
110
+ font-size: inherit;
111
+ font-style: inherit;
112
+ font-weight: inherit;
113
+ color: inherit;
114
+ text-transform: inherit;
115
+ padding: 2px;
116
+ border: 1px solid lightgray;
117
+ }
118
+
119
+ :where(.button) {
120
+ font-family: inherit;
121
+ line-height: inherit;
122
+ font-size: inherit;
123
+ font-style: inherit;
124
+ font-weight: inherit;
125
+ color: inherit;
126
+ text-transform: inherit;
127
+ background-image: none;
128
+ align-items: flex-start;
129
+ text-align: center;
130
+ padding: 2px 6px;
131
+ border: 1px solid lightgray;
132
+ }
133
+ :where(.__wab_expr_html_text button) {
134
+ white-space: inherit;
135
+ font-family: inherit;
136
+ line-height: inherit;
137
+ font-size: inherit;
138
+ font-style: inherit;
139
+ font-weight: inherit;
140
+ color: inherit;
141
+ text-transform: inherit;
142
+ background-image: none;
143
+ align-items: flex-start;
144
+ text-align: center;
145
+ padding: 2px 6px;
146
+ border: 1px solid lightgray;
147
+ }
148
+
149
+ :where(.code) {
150
+ font-family: inherit;
151
+ line-height: inherit;
152
+ }
153
+ :where(.__wab_expr_html_text code) {
154
+ white-space: inherit;
155
+ font-family: inherit;
156
+ line-height: inherit;
157
+ }
158
+
159
+ :where(.pre) {
160
+ font-family: inherit;
161
+ line-height: inherit;
162
+ }
163
+ :where(.__wab_expr_html_text pre) {
164
+ white-space: inherit;
165
+ font-family: inherit;
166
+ line-height: inherit;
167
+ }
168
+
169
+ :where(.p) {
170
+ font-family: inherit;
171
+ line-height: inherit;
172
+ font-size: inherit;
173
+ font-style: inherit;
174
+ font-weight: inherit;
175
+ color: inherit;
176
+ text-transform: inherit;
177
+ }
178
+ :where(.__wab_expr_html_text p) {
179
+ white-space: inherit;
180
+ font-family: inherit;
181
+ line-height: inherit;
182
+ font-size: inherit;
183
+ font-style: inherit;
184
+ font-weight: inherit;
185
+ color: inherit;
186
+ text-transform: inherit;
187
+ }
188
+
189
+ :where(.i) {
190
+ font-family: inherit;
191
+ line-height: inherit;
192
+ font-size: inherit;
193
+ font-weight: inherit;
194
+ color: inherit;
195
+ text-transform: inherit;
196
+ }
197
+ :where(.__wab_expr_html_text i) {
198
+ white-space: inherit;
199
+ font-family: inherit;
200
+ line-height: inherit;
201
+ font-size: inherit;
202
+ font-weight: inherit;
203
+ color: inherit;
204
+ text-transform: inherit;
205
+ }
206
+
207
+ :where(.em) {
208
+ font-family: inherit;
209
+ line-height: inherit;
210
+ font-size: inherit;
211
+ font-weight: inherit;
212
+ color: inherit;
213
+ text-transform: inherit;
214
+ }
215
+ :where(.__wab_expr_html_text em) {
216
+ white-space: inherit;
217
+ font-family: inherit;
218
+ line-height: inherit;
219
+ font-size: inherit;
220
+ font-weight: inherit;
221
+ color: inherit;
222
+ text-transform: inherit;
223
+ }
224
+
225
+ :where(.strong) {
226
+ font-family: inherit;
227
+ line-height: inherit;
228
+ font-size: inherit;
229
+ color: inherit;
230
+ text-transform: inherit;
231
+ }
232
+ :where(.__wab_expr_html_text strong) {
233
+ white-space: inherit;
234
+ font-family: inherit;
235
+ line-height: inherit;
236
+ font-size: inherit;
237
+ color: inherit;
238
+ text-transform: inherit;
239
+ }
240
+
241
+ :where(.h1) {
242
+ font-size: inherit;
243
+ font-weight: inherit;
244
+ }
245
+ :where(.__wab_expr_html_text h1) {
246
+ white-space: inherit;
247
+ font-size: inherit;
248
+ font-weight: inherit;
249
+ }
250
+
251
+ :where(.h2) {
252
+ font-size: inherit;
253
+ font-weight: inherit;
254
+ }
255
+ :where(.__wab_expr_html_text h2) {
256
+ white-space: inherit;
257
+ font-size: inherit;
258
+ font-weight: inherit;
259
+ }
260
+
261
+ :where(.h3) {
262
+ font-size: inherit;
263
+ font-weight: inherit;
264
+ }
265
+ :where(.__wab_expr_html_text h3) {
266
+ white-space: inherit;
267
+ font-size: inherit;
268
+ font-weight: inherit;
269
+ }
270
+
271
+ :where(.h4) {
272
+ font-size: inherit;
273
+ font-weight: inherit;
274
+ }
275
+ :where(.__wab_expr_html_text h4) {
276
+ white-space: inherit;
277
+ font-size: inherit;
278
+ font-weight: inherit;
279
+ }
280
+
281
+ :where(.h5) {
282
+ font-size: inherit;
283
+ font-weight: inherit;
284
+ }
285
+ :where(.__wab_expr_html_text h5) {
286
+ white-space: inherit;
287
+ font-size: inherit;
288
+ font-weight: inherit;
289
+ }
290
+
291
+ :where(.h6) {
292
+ font-size: inherit;
293
+ font-weight: inherit;
294
+ }
295
+ :where(.__wab_expr_html_text h6) {
296
+ white-space: inherit;
297
+ font-size: inherit;
298
+ font-weight: inherit;
299
+ }
300
+
301
+ :where(.address) {
302
+ font-style: inherit;
303
+ }
304
+ :where(.__wab_expr_html_text address) {
305
+ white-space: inherit;
306
+ font-style: inherit;
307
+ }
308
+
309
+ :where(.a) {
310
+ color: inherit;
311
+ }
312
+ :where(.__wab_expr_html_text a) {
313
+ white-space: inherit;
314
+ color: inherit;
315
+ }
316
+
317
+ :where(.ol) {
318
+ list-style-type: none;
319
+ padding: 0;
320
+ }
321
+ :where(.__wab_expr_html_text ol) {
322
+ white-space: inherit;
323
+ list-style-type: none;
324
+ padding: 0;
325
+ }
326
+
327
+ :where(.ul) {
328
+ list-style-type: none;
329
+ padding: 0;
330
+ }
331
+ :where(.__wab_expr_html_text ul) {
332
+ white-space: inherit;
333
+ list-style-type: none;
334
+ padding: 0;
335
+ }
336
+
337
+ :where(.select) {
338
+ padding: 2px 6px;
339
+ }
340
+ :where(.__wab_expr_html_text select) {
341
+ white-space: inherit;
342
+ padding: 2px 6px;
343
+ }
344
+
345
+ .plasmic_default__component_wrapper {
346
+ display: grid;
347
+ }
348
+ .plasmic_default__inline {
349
+ display: inline;
350
+ }
351
+ .plasmic_page_wrapper {
352
+ display: flex;
353
+ width: 100%;
354
+ min-height: 100vh;
355
+ align-items: stretch;
356
+ align-self: start;
357
+ }
358
+ .plasmic_page_wrapper > * {
359
+ height: auto !important;
360
+ }
361
+ .__wab_expr_html_text {
362
+ white-space: normal;
363
+ }
@@ -0,0 +1,18 @@
1
+ import { defineConfig, globalIgnores } from "eslint/config";
2
+ import nextVitals from "eslint-config-next/core-web-vitals";
3
+ import nextTs from "eslint-config-next/typescript";
4
+
5
+ const eslintConfig = defineConfig([
6
+ ...nextVitals,
7
+ ...nextTs,
8
+ // Override default ignores of eslint-config-next.
9
+ globalIgnores([
10
+ // Default ignores of eslint-config-next:
11
+ ".next/**",
12
+ "out/**",
13
+ "build/**",
14
+ "next-env.d.ts",
15
+ ]),
16
+ ]);
17
+
18
+ export default eslintConfig;
@@ -9,9 +9,9 @@
9
9
  "lint": "eslint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/cli": "^0.1.361",
13
- "@plasmicapp/react-web": "^1.0.8",
14
- "next": "16.2.6",
12
+ "@plasmicapp/cli": "^0.1.363",
13
+ "@plasmicapp/react-web": "^1.0.10",
14
+ "next": "16.2.7",
15
15
  "react": "19.2.4",
16
16
  "react-dom": "19.2.4"
17
17
  },
@@ -20,7 +20,7 @@
20
20
  "@types/react": "^19",
21
21
  "@types/react-dom": "^19",
22
22
  "eslint": "^9",
23
- "eslint-config-next": "16.2.6",
23
+ "eslint-config-next": "16.2.7",
24
24
  "typescript": "^5"
25
25
  }
26
26
  }
@@ -6,8 +6,31 @@ import { PageParamsProvider as PageParamsProvider__ } from "@plasmicapp/react-we
6
6
  import { PlasmicDynamicPage } from "../../components/plasmic/create_plasmic_app/PlasmicDynamicPage";
7
7
  import { useRouter } from "next/router";
8
8
  import { PlasmicQueryDataProvider } from "@plasmicapp/react-web/lib/query";
9
+ import type { GetStaticPaths, GetStaticProps } from "next";
10
+ import { extractPlasmicQueryData } from "@plasmicapp/react-web/lib/prepass";
9
11
 
10
- function DynamicPage() {
12
+ export const getStaticProps: GetStaticProps = async context => {
13
+ const queryCache = await extractPlasmicQueryData(
14
+ <PageParamsProvider__ route={"/dynamic/[slug]"} params={context.params}>
15
+ <PlasmicDynamicPage />
16
+ </PageParamsProvider__>
17
+ );
18
+ return {
19
+ props: { queryCache }
20
+ };
21
+ };
22
+
23
+ export const getStaticPaths: GetStaticPaths = async () => {
24
+ console.warn(
25
+ "getStaticPaths was called with an empty paths array. Update this with the set of pages you want to generate statically."
26
+ );
27
+ return {
28
+ paths: [],
29
+ fallback: "blocking"
30
+ };
31
+ };
32
+
33
+ function DynamicPage({ queryCache }: { queryCache?: any }) {
11
34
  // Use PlasmicDynamicPage to render this component as it was
12
35
  // designed in Plasmic, by activating the appropriate variants,
13
36
  // attaching the appropriate event handlers, etc. You
@@ -26,7 +49,7 @@ function DynamicPage() {
26
49
  // (https://nextjs.org/docs/advanced-features/custom-app).
27
50
 
28
51
  return (
29
- <PlasmicQueryDataProvider>
52
+ <PlasmicQueryDataProvider prefetchedCache={queryCache}>
30
53
  <PageParamsProvider__
31
54
  route={useRouter()?.pathname}
32
55
  params={useRouter()?.query}
@@ -135,6 +135,6 @@
135
135
  "nextjsConfig": {
136
136
  "pagesDir": "../pages"
137
137
  },
138
- "cliVersion": "0.1.361",
139
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
138
+ "cliVersion": "0.1.363",
139
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.363/dist/plasmic.schema.json"
140
140
  }
@@ -0,0 +1,141 @@
1
+ .page {
2
+ --background: #fafafa;
3
+ --foreground: #fff;
4
+
5
+ --text-primary: #000;
6
+ --text-secondary: #666;
7
+
8
+ --button-primary-hover: #383838;
9
+ --button-secondary-hover: #f2f2f2;
10
+ --button-secondary-border: #ebebeb;
11
+
12
+ display: flex;
13
+ min-height: 100vh;
14
+ align-items: center;
15
+ justify-content: center;
16
+ font-family: var(--font-geist-sans);
17
+ background-color: var(--background);
18
+ }
19
+
20
+ .main {
21
+ display: flex;
22
+ min-height: 100vh;
23
+ width: 100%;
24
+ max-width: 800px;
25
+ flex-direction: column;
26
+ align-items: flex-start;
27
+ justify-content: space-between;
28
+ background-color: var(--foreground);
29
+ padding: 120px 60px;
30
+ }
31
+
32
+ .intro {
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: flex-start;
36
+ text-align: left;
37
+ gap: 24px;
38
+ }
39
+
40
+ .intro h1 {
41
+ max-width: 320px;
42
+ font-size: 40px;
43
+ font-weight: 600;
44
+ line-height: 48px;
45
+ letter-spacing: -2.4px;
46
+ text-wrap: balance;
47
+ color: var(--text-primary);
48
+ }
49
+
50
+ .intro p {
51
+ max-width: 440px;
52
+ font-size: 18px;
53
+ line-height: 32px;
54
+ text-wrap: balance;
55
+ color: var(--text-secondary);
56
+ }
57
+
58
+ .intro a {
59
+ font-weight: 500;
60
+ color: var(--text-primary);
61
+ }
62
+
63
+ .ctas {
64
+ display: flex;
65
+ flex-direction: row;
66
+ width: 100%;
67
+ max-width: 440px;
68
+ gap: 16px;
69
+ font-size: 14px;
70
+ }
71
+
72
+ .ctas a {
73
+ display: flex;
74
+ justify-content: center;
75
+ align-items: center;
76
+ height: 40px;
77
+ padding: 0 16px;
78
+ border-radius: 128px;
79
+ border: 1px solid transparent;
80
+ transition: 0.2s;
81
+ cursor: pointer;
82
+ width: fit-content;
83
+ font-weight: 500;
84
+ }
85
+
86
+ a.primary {
87
+ background: var(--text-primary);
88
+ color: var(--background);
89
+ gap: 8px;
90
+ }
91
+
92
+ a.secondary {
93
+ border-color: var(--button-secondary-border);
94
+ }
95
+
96
+ /* Enable hover only on non-touch devices */
97
+ @media (hover: hover) and (pointer: fine) {
98
+ a.primary:hover {
99
+ background: var(--button-primary-hover);
100
+ border-color: transparent;
101
+ }
102
+
103
+ a.secondary:hover {
104
+ background: var(--button-secondary-hover);
105
+ border-color: transparent;
106
+ }
107
+ }
108
+
109
+ @media (max-width: 600px) {
110
+ .main {
111
+ padding: 48px 24px;
112
+ }
113
+
114
+ .intro {
115
+ gap: 16px;
116
+ }
117
+
118
+ .intro h1 {
119
+ font-size: 32px;
120
+ line-height: 40px;
121
+ letter-spacing: -1.92px;
122
+ }
123
+ }
124
+
125
+ @media (prefers-color-scheme: dark) {
126
+ .logo {
127
+ filter: invert();
128
+ }
129
+
130
+ .page {
131
+ --background: #000;
132
+ --foreground: #000;
133
+
134
+ --text-primary: #ededed;
135
+ --text-secondary: #999;
136
+
137
+ --button-primary-hover: #ccc;
138
+ --button-secondary-hover: #1a1a1a;
139
+ --button-secondary-border: #1a1a1a;
140
+ }
141
+ }
@@ -0,0 +1,10 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+
7
+ a {
8
+ color: inherit;
9
+ text-decoration: none;
10
+ }
@@ -0,0 +1,16 @@
1
+ import { defineConfig, globalIgnores } from "eslint/config";
2
+ import nextVitals from "eslint-config-next/core-web-vitals";
3
+
4
+ const eslintConfig = defineConfig([
5
+ ...nextVitals,
6
+ // Override default ignores of eslint-config-next.
7
+ globalIgnores([
8
+ // Default ignores of eslint-config-next:
9
+ ".next/**",
10
+ "out/**",
11
+ "build/**",
12
+ "next-env.d.ts",
13
+ ]),
14
+ ]);
15
+
16
+ export default eslintConfig;
@@ -0,0 +1,7 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "@/*": ["./*"]
5
+ }
6
+ }
7
+ }
@@ -9,13 +9,13 @@
9
9
  "lint": "eslint"
10
10
  },
11
11
  "dependencies": {
12
- "@plasmicapp/loader-nextjs": "^2.0.4",
13
- "next": "16.2.6",
12
+ "@plasmicapp/loader-nextjs": "^2.0.6",
13
+ "next": "16.2.7",
14
14
  "react": "19.2.4",
15
15
  "react-dom": "19.2.4"
16
16
  },
17
17
  "devDependencies": {
18
18
  "eslint": "^9",
19
- "eslint-config-next": "16.2.6"
19
+ "eslint-config-next": "16.2.7"
20
20
  }
21
21
  }
@@ -25,6 +25,7 @@ export default function PlasmicLoaderPage(props) {
25
25
  pageRoute={pageMeta.path}
26
26
  pageParams={pageMeta.params}
27
27
  pageQuery={router.query}
28
+ trackQueryParams
28
29
  >
29
30
  <PlasmicComponent component={pageMeta.displayName} />
30
31
  </PlasmicRootProvider>