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.
- package/cpa-out/.gitignore +4 -2
- 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.module.css +468 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
- 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/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/gatsby-loader-js/package.json +1 -1
- package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +1 -0
- package/cpa-out/gatsby-loader-ts/package.json +1 -1
- package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +1 -0
- package/cpa-out/nextjs-app-codegen-js/app/dynamic/[slug]/page.jsx +13 -3
- package/cpa-out/nextjs-app-codegen-js/app/globals.css +10 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.jsx +103 -2
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-app-codegen-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-app-codegen-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-app-codegen-js/package.json +4 -4
- package/cpa-out/nextjs-app-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-app-codegen-ts/app/dynamic/[slug]/page.tsx +13 -3
- package/cpa-out/nextjs-app-codegen-ts/app/globals.css +10 -0
- package/cpa-out/nextjs-app-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +69 -29
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.tsx +110 -2
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-app-codegen-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-app-codegen-ts/package.json +4 -4
- package/cpa-out/nextjs-app-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-app-loader-js/app/[[...catchall]]/page.jsx +1 -0
- package/cpa-out/nextjs-app-loader-js/app/globals.css +10 -0
- package/cpa-out/nextjs-app-loader-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-app-loader-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-app-loader-js/package.json +3 -3
- package/cpa-out/nextjs-app-loader-ts/app/[[...catchall]]/page.tsx +1 -0
- package/cpa-out/nextjs-app-loader-ts/app/globals.css +10 -0
- package/cpa-out/nextjs-app-loader-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-app-loader-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-pages-codegen-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-pages-codegen-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +24 -2
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-js/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-codegen-js/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +75 -29
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-pages-codegen-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +25 -2
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-ts/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-codegen-ts/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-loader-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-pages-loader-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
- package/cpa-out/nextjs-pages-loader-js/pages/[[...catchall]].jsx +1 -0
- package/cpa-out/nextjs-pages-loader-js/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-loader-js/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-loader-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-loader-ts/pages/[[...catchall]].tsx +1 -0
- package/cpa-out/nextjs-pages-loader-ts/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-loader-ts/styles/globals.css +10 -0
- 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-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/react-codegen-js/src/index.css +68 -0
- package/cpa-out/react-codegen-ts/package.json +2 -2
- package/cpa-out/react-codegen-ts/plasmic.json +2 -2
- package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/react-codegen-ts/src/index.css +68 -0
- package/cpa-out/tanstack-codegen-ts/package.json +3 -3
- package/cpa-out/tanstack-codegen-ts/plasmic.json +2 -2
- package/cpa-out/tanstack-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.css +495 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.css +44 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.css +43 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.css +16 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.css +354 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/plasmic__default_style.css +363 -0
- package/cpa-out/tanstack-codegen-ts/src/routes/dynamic/$slug/index.tsx +31 -8
- package/cpa-out/tanstack-codegen-ts/src/styles.css +17 -0
- package/dist/nextjs/nextjs.js +30 -0
- package/package.json +2 -2
- package/src/nextjs/nextjs.ts +34 -1
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.css
ADDED
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
.Button__root__gpc3K {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
background: #232320;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
transition-property: background;
|
|
10
|
+
transition-duration: 0.1s;
|
|
11
|
+
column-gap: 8px;
|
|
12
|
+
-webkit-transition-property: background;
|
|
13
|
+
-webkit-transition-duration: 0.1s;
|
|
14
|
+
border-radius: 6px;
|
|
15
|
+
padding: 12px 20px;
|
|
16
|
+
border-width: 0px;
|
|
17
|
+
}
|
|
18
|
+
.Button__rootshowStartIcon__gpc3KzX0Z8 {
|
|
19
|
+
padding-left: 16px;
|
|
20
|
+
}
|
|
21
|
+
.Button__rootshowEndIcon__gpc3Kyu4Va {
|
|
22
|
+
padding-right: 16px;
|
|
23
|
+
}
|
|
24
|
+
.Button__rootisDisabled__gpc3Kwr3Ff {
|
|
25
|
+
cursor: not-allowed;
|
|
26
|
+
opacity: 0.6;
|
|
27
|
+
}
|
|
28
|
+
.Button__rootshape_rounded__gpc3KYlIzA {
|
|
29
|
+
padding-left: 20px;
|
|
30
|
+
padding-right: 20px;
|
|
31
|
+
min-width: 100px;
|
|
32
|
+
border-radius: 999px;
|
|
33
|
+
}
|
|
34
|
+
.Button__rootshape_round__gpc3Kq33Mv {
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
padding: 12px;
|
|
37
|
+
}
|
|
38
|
+
.Button__rootshape_sharp__gpc3K0LUp {
|
|
39
|
+
border-radius: 0px;
|
|
40
|
+
}
|
|
41
|
+
.Button__rootsize_compact__gpc3Kn6Abw {
|
|
42
|
+
padding: 6px 16px;
|
|
43
|
+
}
|
|
44
|
+
.Button__rootsize_minimal__gpc3KklAxP {
|
|
45
|
+
padding: 0px;
|
|
46
|
+
}
|
|
47
|
+
.Button__rootcolor_blue__gpc3K7OS1A {
|
|
48
|
+
background: #0091ff;
|
|
49
|
+
}
|
|
50
|
+
.Button__rootcolor_green__gpc3Kwu3Pw {
|
|
51
|
+
background: #30a46c;
|
|
52
|
+
}
|
|
53
|
+
.Button__rootcolor_yellow__gpc3KoEjPn {
|
|
54
|
+
background: #f5d90a;
|
|
55
|
+
}
|
|
56
|
+
.Button__rootcolor_red__gpc3KlyFe7 {
|
|
57
|
+
background: #e54d2e;
|
|
58
|
+
}
|
|
59
|
+
.Button__rootcolor_sand__gpc3K2T7KH {
|
|
60
|
+
background: #717069;
|
|
61
|
+
}
|
|
62
|
+
.Button__rootcolor_white__gpc3K5R3VM {
|
|
63
|
+
background: #ffffff;
|
|
64
|
+
}
|
|
65
|
+
.Button__rootcolor_softBlue__gpc3KnZeg {
|
|
66
|
+
background: #edf6ff;
|
|
67
|
+
}
|
|
68
|
+
.Button__rootcolor_softGreen__gpc3KqOip {
|
|
69
|
+
background: #e9f9ee;
|
|
70
|
+
}
|
|
71
|
+
.Button__rootcolor_softYellow__gpc3K95U0X {
|
|
72
|
+
background: #fffbd1;
|
|
73
|
+
}
|
|
74
|
+
.Button__rootcolor_softRed__gpc3KEt128 {
|
|
75
|
+
background: #fff0ee;
|
|
76
|
+
}
|
|
77
|
+
.Button__rootcolor_softSand__gpc3K8XvkE {
|
|
78
|
+
background: #eeeeec;
|
|
79
|
+
}
|
|
80
|
+
.Button__rootcolor_clear__gpc3KpPAgM {
|
|
81
|
+
background: #ffffff00;
|
|
82
|
+
}
|
|
83
|
+
.Button__rootcolor_link__gpc3Kf1H09 {
|
|
84
|
+
background: #ffffff00;
|
|
85
|
+
}
|
|
86
|
+
.Button__rootshape_rounded_showStartIcon__gpc3KYlIzAZX0Z8 {
|
|
87
|
+
padding-left: 16px;
|
|
88
|
+
}
|
|
89
|
+
.Button__rootshowEndIcon_shape_rounded__gpc3Kyu4VaYlIzA {
|
|
90
|
+
padding-right: 16px;
|
|
91
|
+
}
|
|
92
|
+
.Button__rootshape_round_size_compact__gpc3Kq33MvN6Abw {
|
|
93
|
+
padding: 6px;
|
|
94
|
+
}
|
|
95
|
+
.Button__root___focusVisibleWithin__gpc3KcjR25 {
|
|
96
|
+
box-shadow: 0px 0px 0px 3px #96c7f2;
|
|
97
|
+
outline: none;
|
|
98
|
+
}
|
|
99
|
+
.Button__root__gpc3K:focus-within:focus-within {
|
|
100
|
+
box-shadow: 0px 0px 0px 3px #96c7f2;
|
|
101
|
+
outline: none;
|
|
102
|
+
}
|
|
103
|
+
.Button__root__gpc3K:hover:hover {
|
|
104
|
+
background: #282826;
|
|
105
|
+
}
|
|
106
|
+
.Button__root__gpc3K:active:active {
|
|
107
|
+
background: #2e2e2b;
|
|
108
|
+
}
|
|
109
|
+
.Button__rootcolor_blue__gpc3K7OS1A:hover:hover {
|
|
110
|
+
background: #369eff;
|
|
111
|
+
}
|
|
112
|
+
.Button__rootcolor_blue__gpc3K7OS1A:active:active {
|
|
113
|
+
background: #52a9ff;
|
|
114
|
+
}
|
|
115
|
+
.Button__rootcolor_green__gpc3Kwu3Pw:hover:hover {
|
|
116
|
+
background: #3cb179;
|
|
117
|
+
}
|
|
118
|
+
.Button__rootcolor_green__gpc3Kwu3Pw:active:active {
|
|
119
|
+
background: #4cc38a;
|
|
120
|
+
}
|
|
121
|
+
.Button__rootcolor_yellow__gpc3KoEjPn:hover:hover {
|
|
122
|
+
background: #ffef5c;
|
|
123
|
+
}
|
|
124
|
+
.Button__rootcolor_yellow__gpc3KoEjPn:active:active {
|
|
125
|
+
background: #f0c000;
|
|
126
|
+
}
|
|
127
|
+
.Button__rootcolor_red__gpc3KlyFe7:hover:hover {
|
|
128
|
+
background: #ec5e41;
|
|
129
|
+
}
|
|
130
|
+
.Button__rootcolor_red__gpc3KlyFe7:active:active {
|
|
131
|
+
background: #f16a50;
|
|
132
|
+
}
|
|
133
|
+
.Button__rootcolor_sand__gpc3K2T7KH:hover:hover {
|
|
134
|
+
background: #7f7e77;
|
|
135
|
+
}
|
|
136
|
+
.Button__rootcolor_sand__gpc3K2T7KH:active:active {
|
|
137
|
+
background: #a1a09a;
|
|
138
|
+
}
|
|
139
|
+
.Button__rootcolor_white__gpc3K5R3VM:hover:hover {
|
|
140
|
+
background: #ffef5c;
|
|
141
|
+
}
|
|
142
|
+
.Button__rootcolor_white__gpc3K5R3VM:active:active {
|
|
143
|
+
background: #f0c000;
|
|
144
|
+
}
|
|
145
|
+
.Button__rootcolor_softBlue__gpc3KnZeg:hover:hover {
|
|
146
|
+
background: #e1f0ff;
|
|
147
|
+
}
|
|
148
|
+
.Button__rootcolor_softBlue__gpc3KnZeg:active:active {
|
|
149
|
+
background: #cee7fe;
|
|
150
|
+
}
|
|
151
|
+
.Button__rootcolor_softGreen__gpc3KqOip:active:active {
|
|
152
|
+
background: #ccebd7;
|
|
153
|
+
}
|
|
154
|
+
.Button__rootcolor_softGreen__gpc3KqOip:hover:hover {
|
|
155
|
+
background: #ddf3e4;
|
|
156
|
+
}
|
|
157
|
+
.Button__rootcolor_softYellow__gpc3K95U0X:active:active {
|
|
158
|
+
background: #fef2a4;
|
|
159
|
+
}
|
|
160
|
+
.Button__rootcolor_softYellow__gpc3K95U0X:hover:hover {
|
|
161
|
+
background: #fff8bb;
|
|
162
|
+
}
|
|
163
|
+
.Button__rootcolor_softRed__gpc3KEt128:active:active {
|
|
164
|
+
background: #fdd8d3;
|
|
165
|
+
}
|
|
166
|
+
.Button__rootcolor_softRed__gpc3KEt128:hover:hover {
|
|
167
|
+
background: #ffe6e2;
|
|
168
|
+
}
|
|
169
|
+
.Button__rootcolor_softSand__gpc3K8XvkE:hover:hover {
|
|
170
|
+
background: #e9e9e6;
|
|
171
|
+
}
|
|
172
|
+
.Button__rootcolor_softSand__gpc3K8XvkE:active:active {
|
|
173
|
+
background: #e3e3e0;
|
|
174
|
+
}
|
|
175
|
+
.Button__rootcolor_clear__gpc3KpPAgM:hover:hover {
|
|
176
|
+
background: #e9e9e6;
|
|
177
|
+
}
|
|
178
|
+
.Button__rootcolor_clear__gpc3KpPAgM:active:active {
|
|
179
|
+
background: #e3e3e0;
|
|
180
|
+
}
|
|
181
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover:hover {
|
|
182
|
+
background: #ffffff00;
|
|
183
|
+
}
|
|
184
|
+
.Button__rootcolor_link__gpc3Kf1H09:active:active {
|
|
185
|
+
background: #ffffff00;
|
|
186
|
+
}
|
|
187
|
+
.Button__startIconContainer__men7Z {
|
|
188
|
+
display: flex;
|
|
189
|
+
position: relative;
|
|
190
|
+
flex-direction: row;
|
|
191
|
+
align-items: stretch;
|
|
192
|
+
justify-content: flex-start;
|
|
193
|
+
}
|
|
194
|
+
.Button__startIconContainershowStartIcon__men7ZzX0Z8 {
|
|
195
|
+
display: flex;
|
|
196
|
+
}
|
|
197
|
+
.Button__slotTargetStartIcon__tvHa9 {
|
|
198
|
+
color: #ededec;
|
|
199
|
+
}
|
|
200
|
+
.Button__slotTargetStartIconcolor_yellow__tvHa9OEjPn {
|
|
201
|
+
color: #35290f;
|
|
202
|
+
}
|
|
203
|
+
.Button__slotTargetStartIconcolor_white__tvHa95R3VM {
|
|
204
|
+
color: #35290f;
|
|
205
|
+
}
|
|
206
|
+
.Button__slotTargetStartIconcolor_softBlue__tvHa9NZeg {
|
|
207
|
+
color: #006adc;
|
|
208
|
+
}
|
|
209
|
+
.Button__slotTargetStartIconcolor_softGreen__tvHa9QOip {
|
|
210
|
+
color: #18794e;
|
|
211
|
+
}
|
|
212
|
+
.Button__slotTargetStartIconcolor_softYellow__tvHa995U0X {
|
|
213
|
+
color: #946800;
|
|
214
|
+
}
|
|
215
|
+
.Button__slotTargetStartIconcolor_softRed__tvHa9Et128 {
|
|
216
|
+
color: #ca3214;
|
|
217
|
+
}
|
|
218
|
+
.Button__slotTargetStartIconcolor_softSand__tvHa98XvkE {
|
|
219
|
+
color: #706f6c;
|
|
220
|
+
}
|
|
221
|
+
.Button__slotTargetStartIconcolor_clear__tvHa9PPAgM {
|
|
222
|
+
color: #1b1b18;
|
|
223
|
+
}
|
|
224
|
+
.Button__slotTargetStartIconcolor_link__tvHa9F1H09 {
|
|
225
|
+
color: #0091ff;
|
|
226
|
+
}
|
|
227
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
228
|
+
.Button__slotTargetStartIconcolor_link__tvHa9F1H09 {
|
|
229
|
+
color: #0081f1;
|
|
230
|
+
}
|
|
231
|
+
.Button__rootcolor_link__gpc3Kf1H09:active
|
|
232
|
+
.Button__slotTargetStartIconcolor_link__tvHa9F1H09 {
|
|
233
|
+
color: #006adc;
|
|
234
|
+
}
|
|
235
|
+
.Button__svg__s6Xxe {
|
|
236
|
+
position: relative;
|
|
237
|
+
object-fit: cover;
|
|
238
|
+
width: auto;
|
|
239
|
+
height: 1em;
|
|
240
|
+
}
|
|
241
|
+
.Button__contentContainer__sXXwU {
|
|
242
|
+
display: flex;
|
|
243
|
+
position: relative;
|
|
244
|
+
flex-direction: row;
|
|
245
|
+
align-items: stretch;
|
|
246
|
+
justify-content: flex-start;
|
|
247
|
+
}
|
|
248
|
+
.Button__root__gpc3K
|
|
249
|
+
.Button__contentContainer___focusVisibleWithin__sXXwUcjR25 {
|
|
250
|
+
outline: none;
|
|
251
|
+
}
|
|
252
|
+
.Button__slotTargetChildren__yzBwr {
|
|
253
|
+
color: #ededec;
|
|
254
|
+
font-weight: 500;
|
|
255
|
+
white-space: pre;
|
|
256
|
+
}
|
|
257
|
+
.Button__slotTargetChildrencolor_blue__yzBwr7OS1A {
|
|
258
|
+
color: #ffffff;
|
|
259
|
+
}
|
|
260
|
+
.Button__slotTargetChildrencolor_green__yzBwRwu3Pw {
|
|
261
|
+
color: #ffffff;
|
|
262
|
+
}
|
|
263
|
+
.Button__slotTargetChildrencolor_yellow__yzBwRoEjPn {
|
|
264
|
+
color: #35290f;
|
|
265
|
+
}
|
|
266
|
+
.Button__slotTargetChildrencolor_red__yzBwrlyFe7 {
|
|
267
|
+
color: #ffffff;
|
|
268
|
+
}
|
|
269
|
+
.Button__slotTargetChildrencolor_sand__yzBwr2T7KH {
|
|
270
|
+
color: #ffffff;
|
|
271
|
+
}
|
|
272
|
+
.Button__slotTargetChildrencolor_white__yzBwr5R3VM {
|
|
273
|
+
color: #1b1b18;
|
|
274
|
+
}
|
|
275
|
+
.Button__slotTargetChildrencolor_softBlue__yzBwRnZeg {
|
|
276
|
+
color: #006adc;
|
|
277
|
+
}
|
|
278
|
+
.Button__slotTargetChildrencolor_softGreen__yzBwrqOip {
|
|
279
|
+
color: #18794e;
|
|
280
|
+
}
|
|
281
|
+
.Button__slotTargetChildrencolor_softYellow__yzBwr95U0X {
|
|
282
|
+
color: #946800;
|
|
283
|
+
}
|
|
284
|
+
.Button__slotTargetChildrencolor_softRed__yzBwrEt128 {
|
|
285
|
+
color: #ca3214;
|
|
286
|
+
}
|
|
287
|
+
.Button__slotTargetChildrencolor_softSand__yzBwr8XvkE {
|
|
288
|
+
color: #1b1b18;
|
|
289
|
+
}
|
|
290
|
+
.Button__slotTargetChildrencolor_clear__yzBwRpPAgM {
|
|
291
|
+
color: #1b1b18;
|
|
292
|
+
}
|
|
293
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09 {
|
|
294
|
+
color: #0091ff;
|
|
295
|
+
}
|
|
296
|
+
.Button__root__gpc3K:focus-within .Button__slotTargetChildren__yzBwr > *,
|
|
297
|
+
.Button__root__gpc3K:focus-within
|
|
298
|
+
.Button__slotTargetChildren__yzBwr
|
|
299
|
+
> .__wab_slot
|
|
300
|
+
> *,
|
|
301
|
+
.Button__root__gpc3K:focus-within
|
|
302
|
+
.Button__slotTargetChildren__yzBwr
|
|
303
|
+
> .__wab_slot
|
|
304
|
+
> .__wab_slot
|
|
305
|
+
> *,
|
|
306
|
+
.Button__root__gpc3K:focus-within
|
|
307
|
+
.Button__slotTargetChildren__yzBwr
|
|
308
|
+
> .__wab_slot
|
|
309
|
+
> .__wab_slot
|
|
310
|
+
> .__wab_slot
|
|
311
|
+
> *,
|
|
312
|
+
.Button__root__gpc3K:focus-within
|
|
313
|
+
.Button__slotTargetChildren__yzBwr
|
|
314
|
+
> picture
|
|
315
|
+
> img,
|
|
316
|
+
.Button__root__gpc3K:focus-within
|
|
317
|
+
.Button__slotTargetChildren__yzBwr
|
|
318
|
+
> .__wab_slot
|
|
319
|
+
> picture
|
|
320
|
+
> img,
|
|
321
|
+
.Button__root__gpc3K:focus-within
|
|
322
|
+
.Button__slotTargetChildren__yzBwr
|
|
323
|
+
> .__wab_slot
|
|
324
|
+
> .__wab_slot
|
|
325
|
+
> picture
|
|
326
|
+
> img,
|
|
327
|
+
.Button__root__gpc3K:focus-within
|
|
328
|
+
.Button__slotTargetChildren__yzBwr
|
|
329
|
+
> .__wab_slot
|
|
330
|
+
> .__wab_slot
|
|
331
|
+
> .__wab_slot
|
|
332
|
+
> picture
|
|
333
|
+
> img {
|
|
334
|
+
outline: none;
|
|
335
|
+
}
|
|
336
|
+
.Button__root__gpc3K
|
|
337
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
338
|
+
> *,
|
|
339
|
+
.Button__root__gpc3K
|
|
340
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
341
|
+
> .__wab_slot
|
|
342
|
+
> *,
|
|
343
|
+
.Button__root__gpc3K
|
|
344
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
345
|
+
> .__wab_slot
|
|
346
|
+
> .__wab_slot
|
|
347
|
+
> *,
|
|
348
|
+
.Button__root__gpc3K
|
|
349
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
350
|
+
> .__wab_slot
|
|
351
|
+
> .__wab_slot
|
|
352
|
+
> .__wab_slot
|
|
353
|
+
> *,
|
|
354
|
+
.Button__root__gpc3K
|
|
355
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
356
|
+
> picture
|
|
357
|
+
> img,
|
|
358
|
+
.Button__root__gpc3K
|
|
359
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
360
|
+
> .__wab_slot
|
|
361
|
+
> picture
|
|
362
|
+
> img,
|
|
363
|
+
.Button__root__gpc3K
|
|
364
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
365
|
+
> .__wab_slot
|
|
366
|
+
> .__wab_slot
|
|
367
|
+
> picture
|
|
368
|
+
> img,
|
|
369
|
+
.Button__root__gpc3K
|
|
370
|
+
.Button__slotTargetChildren___focusVisibleWithin__yzBwRcjR25
|
|
371
|
+
> .__wab_slot
|
|
372
|
+
> .__wab_slot
|
|
373
|
+
> .__wab_slot
|
|
374
|
+
> picture
|
|
375
|
+
> img {
|
|
376
|
+
outline: none;
|
|
377
|
+
}
|
|
378
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
379
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09 {
|
|
380
|
+
color: #0081f1;
|
|
381
|
+
}
|
|
382
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
383
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
384
|
+
> .__wab_text,
|
|
385
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
386
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
387
|
+
> .__wab_expr_html_text,
|
|
388
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
389
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
390
|
+
> .__wab_slot-string-wrapper,
|
|
391
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
392
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
393
|
+
> .__wab_slot
|
|
394
|
+
> .__wab_text,
|
|
395
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
396
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
397
|
+
> .__wab_slot
|
|
398
|
+
> .__wab_expr_html_text,
|
|
399
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
400
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
401
|
+
> .__wab_slot
|
|
402
|
+
> .__wab_slot-string-wrapper,
|
|
403
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
404
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
405
|
+
> .__wab_slot
|
|
406
|
+
> .__wab_slot
|
|
407
|
+
> .__wab_text,
|
|
408
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
409
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
410
|
+
> .__wab_slot
|
|
411
|
+
> .__wab_slot
|
|
412
|
+
> .__wab_expr_html_text,
|
|
413
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
414
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
415
|
+
> .__wab_slot
|
|
416
|
+
> .__wab_slot
|
|
417
|
+
> .__wab_slot-string-wrapper,
|
|
418
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
419
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
420
|
+
> .__wab_slot
|
|
421
|
+
> .__wab_slot
|
|
422
|
+
> .__wab_slot
|
|
423
|
+
> .__wab_text,
|
|
424
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
425
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
426
|
+
> .__wab_slot
|
|
427
|
+
> .__wab_slot
|
|
428
|
+
> .__wab_slot
|
|
429
|
+
> .__wab_expr_html_text,
|
|
430
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
431
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09
|
|
432
|
+
> .__wab_slot
|
|
433
|
+
> .__wab_slot
|
|
434
|
+
> .__wab_slot
|
|
435
|
+
> .__wab_slot-string-wrapper {
|
|
436
|
+
text-decoration-line: underline;
|
|
437
|
+
}
|
|
438
|
+
.Button__rootcolor_link__gpc3Kf1H09:active
|
|
439
|
+
.Button__slotTargetChildrencolor_link__yzBwRf1H09 {
|
|
440
|
+
color: #006adc;
|
|
441
|
+
}
|
|
442
|
+
.Button__endIconContainer___3CzAx {
|
|
443
|
+
display: flex;
|
|
444
|
+
position: relative;
|
|
445
|
+
flex-direction: row;
|
|
446
|
+
align-items: stretch;
|
|
447
|
+
justify-content: flex-start;
|
|
448
|
+
}
|
|
449
|
+
.Button__endIconContainershowEndIcon___3CzAxYu4Va {
|
|
450
|
+
display: flex;
|
|
451
|
+
}
|
|
452
|
+
.Button__slotTargetEndIcon__eGy7P {
|
|
453
|
+
color: #ededec;
|
|
454
|
+
}
|
|
455
|
+
.Button__slotTargetEndIconcolor_yellow__eGy7PoEjPn {
|
|
456
|
+
color: #35290f;
|
|
457
|
+
}
|
|
458
|
+
.Button__slotTargetEndIconcolor_white__eGy7P5R3VM {
|
|
459
|
+
color: #35290f;
|
|
460
|
+
}
|
|
461
|
+
.Button__slotTargetEndIconcolor_softBlue__eGy7PnZeg {
|
|
462
|
+
color: #006adc;
|
|
463
|
+
}
|
|
464
|
+
.Button__slotTargetEndIconcolor_softGreen__eGy7PqOip {
|
|
465
|
+
color: #18794e;
|
|
466
|
+
}
|
|
467
|
+
.Button__slotTargetEndIconcolor_softYellow__eGy7P95U0X {
|
|
468
|
+
color: #946800;
|
|
469
|
+
}
|
|
470
|
+
.Button__slotTargetEndIconcolor_softRed__eGy7PEt128 {
|
|
471
|
+
color: #ca3214;
|
|
472
|
+
}
|
|
473
|
+
.Button__slotTargetEndIconcolor_softSand__eGy7P8XvkE {
|
|
474
|
+
color: #706f6c;
|
|
475
|
+
}
|
|
476
|
+
.Button__slotTargetEndIconcolor_clear__eGy7PpPAgM {
|
|
477
|
+
color: #1b1b18;
|
|
478
|
+
}
|
|
479
|
+
.Button__slotTargetEndIconcolor_link__eGy7Pf1H09 {
|
|
480
|
+
color: #0091ff;
|
|
481
|
+
}
|
|
482
|
+
.Button__rootcolor_link__gpc3Kf1H09:hover
|
|
483
|
+
.Button__slotTargetEndIconcolor_link__eGy7Pf1H09 {
|
|
484
|
+
color: #0081f1;
|
|
485
|
+
}
|
|
486
|
+
.Button__rootcolor_link__gpc3Kf1H09:active
|
|
487
|
+
.Button__slotTargetEndIconcolor_link__eGy7Pf1H09 {
|
|
488
|
+
color: #006adc;
|
|
489
|
+
}
|
|
490
|
+
.Button__svg__liJa {
|
|
491
|
+
position: relative;
|
|
492
|
+
object-fit: cover;
|
|
493
|
+
width: auto;
|
|
494
|
+
height: 1em;
|
|
495
|
+
}
|
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.css
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.DynamicPage__root__hgzte {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
justify-content: flex-start;
|
|
8
|
+
align-items: center;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
min-height: 0;
|
|
11
|
+
padding: 0px;
|
|
12
|
+
}
|
|
13
|
+
.DynamicPage__section__mbqxB {
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: auto;
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
row-gap: 16px;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
padding: 96px 24px;
|
|
25
|
+
}
|
|
26
|
+
.DynamicPage__h2__uyAe1 {
|
|
27
|
+
position: relative;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: auto;
|
|
30
|
+
max-width: 800px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
min-width: 0;
|
|
33
|
+
}
|
|
34
|
+
.DynamicPage__span__eZlYo {
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: auto;
|
|
38
|
+
max-width: 800px;
|
|
39
|
+
text-align: center;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
}
|
|
42
|
+
.DynamicPage__randomDynamicPageButton__kaCiI.__wab_instance.__wab_instance {
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx
CHANGED
|
@@ -58,6 +58,15 @@ import {
|
|
|
58
58
|
useGlobalActions
|
|
59
59
|
} from "@plasmicapp/react-web/lib/host";
|
|
60
60
|
|
|
61
|
+
import { useMutablePlasmicQueryData } from "@plasmicapp/query";
|
|
62
|
+
|
|
63
|
+
import { unstable_usePlasmicQueries } from "@plasmicapp/react-web/lib/data-sources";
|
|
64
|
+
import type {
|
|
65
|
+
PlasmicQuery,
|
|
66
|
+
PlasmicQueryResult
|
|
67
|
+
} from "@plasmicapp/react-web/lib/data-sources";
|
|
68
|
+
import type { QueryComponentNode } from "@plasmicapp/react-web/lib/data-sources";
|
|
69
|
+
|
|
61
70
|
import RandomDynamicPageButton from "../../RandomDynamicPageButton"; // plasmic-import: Q23H1_1M_P/component
|
|
62
71
|
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
63
72
|
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
@@ -113,7 +122,8 @@ export const PlasmicDynamicPage__ArgProps = new Array<ArgPropType>();
|
|
|
113
122
|
export type PlasmicDynamicPage__OverridesType = {
|
|
114
123
|
root?: Flex__<"div">;
|
|
115
124
|
section?: Flex__<"section">;
|
|
116
|
-
|
|
125
|
+
h2?: Flex__<"h2">;
|
|
126
|
+
span?: Flex__<"span">;
|
|
117
127
|
randomDynamicPageButton?: Flex__<typeof RandomDynamicPageButton>;
|
|
118
128
|
};
|
|
119
129
|
|
|
@@ -121,6 +131,38 @@ export interface DefaultDynamicPageProps {}
|
|
|
121
131
|
|
|
122
132
|
const $$ = {};
|
|
123
133
|
|
|
134
|
+
export const serverQueryTree: QueryComponentNode = {
|
|
135
|
+
type: "component",
|
|
136
|
+
queries: {
|
|
137
|
+
sha256: {
|
|
138
|
+
id: "custom:krgWtF9Kkesx",
|
|
139
|
+
fn: async ({ $q, $props, $ctx, $state }) => {
|
|
140
|
+
console.log("Running SHA-256");
|
|
141
|
+
const data = new TextEncoder().encode($ctx.params.slug);
|
|
142
|
+
const hash = await crypto.subtle.digest("SHA-256", data);
|
|
143
|
+
return [...new Uint8Array(hash)]
|
|
144
|
+
.map(b => b.toString(16).padStart(2, "0"))
|
|
145
|
+
.join("-");
|
|
146
|
+
},
|
|
147
|
+
args: ({ $q, $props, $ctx, $state }) => {
|
|
148
|
+
return [
|
|
149
|
+
{
|
|
150
|
+
$ctx: {
|
|
151
|
+
params: $ctx["params"]
|
|
152
|
+
},
|
|
153
|
+
$props: {},
|
|
154
|
+
$q: {},
|
|
155
|
+
$state: {}
|
|
156
|
+
}
|
|
157
|
+
];
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
propsContext: {},
|
|
162
|
+
stateSpecs: [],
|
|
163
|
+
children: []
|
|
164
|
+
};
|
|
165
|
+
|
|
124
166
|
function useTanStackRouter() {
|
|
125
167
|
try {
|
|
126
168
|
return useRouter();
|
|
@@ -157,6 +199,8 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
157
199
|
const refsRef = React.useRef({});
|
|
158
200
|
const $refs = refsRef.current;
|
|
159
201
|
|
|
202
|
+
const $q = unstable_usePlasmicQueries(serverQueryTree, $ctx, $props, null);
|
|
203
|
+
|
|
160
204
|
const styleTokensClassNames = _useStyleTokens();
|
|
161
205
|
|
|
162
206
|
return (
|
|
@@ -190,33 +234,32 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
190
234
|
"DynamicPage__section__mbqxB"
|
|
191
235
|
)}
|
|
192
236
|
>
|
|
193
|
-
<
|
|
194
|
-
data-plasmic-name={"
|
|
195
|
-
data-plasmic-override={overrides.
|
|
237
|
+
<h2
|
|
238
|
+
data-plasmic-name={"h2"}
|
|
239
|
+
data-plasmic-override={overrides.h2}
|
|
240
|
+
className={classNames(
|
|
241
|
+
"plasmic_default__all",
|
|
242
|
+
"plasmic_default__h2",
|
|
243
|
+
"plasmic_default__h2__47tFX",
|
|
244
|
+
"__wab_text",
|
|
245
|
+
"DynamicPage__h2__uyAe1"
|
|
246
|
+
)}
|
|
247
|
+
>
|
|
248
|
+
<React.Fragment>{$ctx.params.slug}</React.Fragment>
|
|
249
|
+
</h2>
|
|
250
|
+
<span
|
|
251
|
+
data-plasmic-name={"span"}
|
|
252
|
+
data-plasmic-override={overrides.span}
|
|
196
253
|
className={classNames(
|
|
197
254
|
"plasmic_default__all",
|
|
198
|
-
"
|
|
199
|
-
"
|
|
255
|
+
"plasmic_default__span",
|
|
256
|
+
"plasmic_default__span__47tFX",
|
|
200
257
|
"__wab_text",
|
|
201
|
-
"
|
|
258
|
+
"DynamicPage__span__eZlYo"
|
|
202
259
|
)}
|
|
203
260
|
>
|
|
204
|
-
<React.Fragment>
|
|
205
|
-
|
|
206
|
-
try {
|
|
207
|
-
return $ctx.params.slug;
|
|
208
|
-
} catch (e) {
|
|
209
|
-
if (
|
|
210
|
-
e instanceof TypeError ||
|
|
211
|
-
e?.plasmicType === "PlasmicUndefinedDataError"
|
|
212
|
-
) {
|
|
213
|
-
return "Page 1";
|
|
214
|
-
}
|
|
215
|
-
throw e;
|
|
216
|
-
}
|
|
217
|
-
})()}
|
|
218
|
-
</React.Fragment>
|
|
219
|
-
</h1>
|
|
261
|
+
<React.Fragment>{`SHA-256(${$ctx.params.slug}): ${$q.sha256.data}`}</React.Fragment>
|
|
262
|
+
</span>
|
|
220
263
|
<RandomDynamicPageButton
|
|
221
264
|
data-plasmic-name={"randomDynamicPageButton"}
|
|
222
265
|
data-plasmic-override={overrides.randomDynamicPageButton}
|
|
@@ -233,9 +276,10 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
233
276
|
}
|
|
234
277
|
|
|
235
278
|
const PlasmicDescendants = {
|
|
236
|
-
root: ["root", "section", "
|
|
237
|
-
section: ["section", "
|
|
238
|
-
|
|
279
|
+
root: ["root", "section", "h2", "span", "randomDynamicPageButton"],
|
|
280
|
+
section: ["section", "h2", "span", "randomDynamicPageButton"],
|
|
281
|
+
h2: ["h2"],
|
|
282
|
+
span: ["span"],
|
|
239
283
|
randomDynamicPageButton: ["randomDynamicPageButton"]
|
|
240
284
|
} as const;
|
|
241
285
|
type NodeNameType = keyof typeof PlasmicDescendants;
|
|
@@ -244,7 +288,8 @@ type DescendantsType<T extends NodeNameType> =
|
|
|
244
288
|
type NodeDefaultElementType = {
|
|
245
289
|
root: "div";
|
|
246
290
|
section: "section";
|
|
247
|
-
|
|
291
|
+
h2: "h2";
|
|
292
|
+
span: "span";
|
|
248
293
|
randomDynamicPageButton: typeof RandomDynamicPageButton;
|
|
249
294
|
};
|
|
250
295
|
|
|
@@ -311,7 +356,8 @@ export const PlasmicDynamicPage = Object.assign(
|
|
|
311
356
|
{
|
|
312
357
|
// Helper components rendering sub-elements
|
|
313
358
|
section: makeNodeComponent("section"),
|
|
314
|
-
|
|
359
|
+
h2: makeNodeComponent("h2"),
|
|
360
|
+
span: makeNodeComponent("span"),
|
|
315
361
|
randomDynamicPageButton: makeNodeComponent("randomDynamicPageButton"),
|
|
316
362
|
|
|
317
363
|
// Metadata about props expected for PlasmicDynamicPage
|