create-plasmic-app 0.0.112 → 0.0.114
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/nextjs-app-loader-js/package.json +3 -3
- package/cpa-out/nextjs-app-loader-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx +3 -1
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +3 -1
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +5 -6
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.jsx +2 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicStyleTokensProvider.jsx +23 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/plasmic.jsx +11 -0
- package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +4 -2
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx +6 -1
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +5 -1
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -6
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.tsx +4 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicStyleTokensProvider.tsx +27 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/plasmic.tsx +14 -0
- package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +4 -2
- package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
- package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
- package/package.json +3 -3
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.438",
|
|
13
|
+
"next": "14.2.32",
|
|
14
14
|
"react": "^18",
|
|
15
15
|
"react-dom": "^18"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"eslint": "^8",
|
|
19
|
-
"eslint-config-next": "14.2.
|
|
19
|
+
"eslint-config-next": "14.2.32"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.438",
|
|
13
|
+
"next": "14.2.32",
|
|
14
14
|
"react": "^18",
|
|
15
15
|
"react-dom": "^18"
|
|
16
16
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/react": "^18",
|
|
20
20
|
"@types/react-dom": "^18",
|
|
21
21
|
"eslint": "^8",
|
|
22
|
-
"eslint-config-next": "14.2.
|
|
22
|
+
"eslint-config-next": "14.2.32",
|
|
23
23
|
"typescript": "^5"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.jsx
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
} from "@plasmicapp/react-web";
|
|
24
24
|
import { useDataEnv } from "@plasmicapp/react-web/lib/host";
|
|
25
25
|
import * as pp from "@plasmicapp/react-web";
|
|
26
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
26
27
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
27
28
|
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
28
29
|
import sty from "./PlasmicButton.module.css"; // plasmic-import: TQcvW_pSKi3/css
|
|
@@ -133,6 +134,7 @@ function PlasmicButton__RenderFunc(props) {
|
|
|
133
134
|
const triggers = {
|
|
134
135
|
focusVisibleWithin_root: isRootFocusVisibleWithin
|
|
135
136
|
};
|
|
137
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
136
138
|
return (
|
|
137
139
|
<button
|
|
138
140
|
data-plasmic-name={"root"}
|
|
@@ -145,7 +147,7 @@ function PlasmicButton__RenderFunc(props) {
|
|
|
145
147
|
projectcss.root_reset,
|
|
146
148
|
projectcss.plasmic_default_styles,
|
|
147
149
|
projectcss.plasmic_mixins,
|
|
148
|
-
|
|
150
|
+
styleTokensClassNames,
|
|
149
151
|
sty.root,
|
|
150
152
|
{
|
|
151
153
|
[sty.root___focusVisibleWithin]: triggers.focusVisibleWithin_root,
|
package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
} from "@plasmicapp/react-web";
|
|
19
19
|
import { useDataEnv } from "@plasmicapp/react-web/lib/host";
|
|
20
20
|
import RandomDynamicPageButton from "../../RandomDynamicPageButton"; // plasmic-import: Q23H1_1M_P/component
|
|
21
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
21
22
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
22
23
|
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
23
24
|
import sty from "./PlasmicDynamicPage.module.css"; // plasmic-import: AO44A-w7hh/css
|
|
@@ -57,6 +58,7 @@ function PlasmicDynamicPage__RenderFunc(props) {
|
|
|
57
58
|
const $ctx = useDataEnv?.() || {};
|
|
58
59
|
const refsRef = React.useRef({});
|
|
59
60
|
const $refs = refsRef.current;
|
|
61
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
60
62
|
return (
|
|
61
63
|
<React.Fragment>
|
|
62
64
|
<Head></Head>
|
|
@@ -78,7 +80,7 @@ function PlasmicDynamicPage__RenderFunc(props) {
|
|
|
78
80
|
projectcss.root_reset,
|
|
79
81
|
projectcss.plasmic_default_styles,
|
|
80
82
|
projectcss.plasmic_mixins,
|
|
81
|
-
|
|
83
|
+
styleTokensClassNames,
|
|
82
84
|
sty.root
|
|
83
85
|
)}
|
|
84
86
|
>
|
package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx
CHANGED
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
classNames,
|
|
16
16
|
createPlasmicElementProxy,
|
|
17
17
|
deriveRenderOpts,
|
|
18
|
-
ensureGlobalVariants,
|
|
19
18
|
hasVariant
|
|
20
19
|
} from "@plasmicapp/react-web";
|
|
21
20
|
import { useDataEnv } from "@plasmicapp/react-web/lib/host";
|
|
22
21
|
import RandomDynamicPageButton from "../../RandomDynamicPageButton"; // plasmic-import: Q23H1_1M_P/component
|
|
23
|
-
import {
|
|
22
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
23
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
24
24
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
25
25
|
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
26
26
|
import sty from "./PlasmicHomepage.module.css"; // plasmic-import: 6uuAAE1jiCew/css
|
|
@@ -60,9 +60,8 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
60
60
|
const $ctx = useDataEnv?.() || {};
|
|
61
61
|
const refsRef = React.useRef({});
|
|
62
62
|
const $refs = refsRef.current;
|
|
63
|
-
const globalVariants =
|
|
64
|
-
|
|
65
|
-
});
|
|
63
|
+
const globalVariants = _useGlobalVariants();
|
|
64
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
66
65
|
return (
|
|
67
66
|
<React.Fragment>
|
|
68
67
|
<Head></Head>
|
|
@@ -84,7 +83,7 @@ function PlasmicHomepage__RenderFunc(props) {
|
|
|
84
83
|
projectcss.root_reset,
|
|
85
84
|
projectcss.plasmic_default_styles,
|
|
86
85
|
projectcss.plasmic_mixins,
|
|
87
|
-
|
|
86
|
+
styleTokensClassNames,
|
|
88
87
|
sty.root
|
|
89
88
|
)}
|
|
90
89
|
>
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
} from "@plasmicapp/react-web";
|
|
18
18
|
import { useDataEnv } from "@plasmicapp/react-web/lib/host";
|
|
19
19
|
import Button from "../../Button"; // plasmic-import: TQcvW_pSKi3/component
|
|
20
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
20
21
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
21
22
|
import sty from "./PlasmicRandomDynamicPageButton.module.css"; // plasmic-import: Q23H1_1M_P/css
|
|
22
23
|
|
|
@@ -55,6 +56,7 @@ function PlasmicRandomDynamicPageButton__RenderFunc(props) {
|
|
|
55
56
|
const $ctx = useDataEnv?.() || {};
|
|
56
57
|
const refsRef = React.useRef({});
|
|
57
58
|
const $refs = refsRef.current;
|
|
59
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
58
60
|
return (
|
|
59
61
|
<Button
|
|
60
62
|
data-plasmic-name={"root"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// This code is auto-generated by Plasmic; please do not edit!
|
|
5
|
+
// Plasmic Project: 47tFXWjN2C4NyHFGGpaYQ3
|
|
6
|
+
import {
|
|
7
|
+
createStyleTokensProvider,
|
|
8
|
+
createUseStyleTokens
|
|
9
|
+
} from "@plasmicapp/react-web";
|
|
10
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
11
|
+
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
12
|
+
|
|
13
|
+
const data = {
|
|
14
|
+
base: projectcss.plasmic_tokens,
|
|
15
|
+
varianted: []
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const _useStyleTokens = createUseStyleTokens(data, _useGlobalVariants);
|
|
19
|
+
|
|
20
|
+
export const StyleTokensProvider = createStyleTokensProvider(
|
|
21
|
+
data,
|
|
22
|
+
_useGlobalVariants
|
|
23
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// This code is auto-generated by Plasmic; please do not edit!
|
|
5
|
+
// Plasmic Project: 47tFXWjN2C4NyHFGGpaYQ3
|
|
6
|
+
import { createUseGlobalVariants } from "@plasmicapp/react-web";
|
|
7
|
+
import { useScreenVariants as useScreenVariantsscBjPxgdxdzbv } from "./PlasmicGlobalVariant__Screen"; // plasmic-import: SCBjPXGDXDZBV/globalVariant
|
|
8
|
+
|
|
9
|
+
export const _useGlobalVariants = createUseGlobalVariants({
|
|
10
|
+
screen: useScreenVariantsscBjPxgdxdzbv
|
|
11
|
+
});
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/cli": "^0.1.
|
|
13
|
-
"@plasmicapp/react-web": "^0.2.
|
|
14
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/cli": "^0.1.343",
|
|
13
|
+
"@plasmicapp/react-web": "^0.2.401",
|
|
14
|
+
"next": "14.2.32",
|
|
15
15
|
"react": "^18",
|
|
16
16
|
"react-dom": "^18"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"eslint": "^8",
|
|
20
|
-
"eslint-config-next": "14.2.
|
|
20
|
+
"eslint-config-next": "14.2.32"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -100,6 +100,8 @@
|
|
|
100
100
|
"indirect": false,
|
|
101
101
|
"globalContextsFilePath": "",
|
|
102
102
|
"splitsProviderFilePath": "",
|
|
103
|
+
"styleTokensProviderFilePath": "plasmic/create_plasmic_app/PlasmicStyleTokensProvider.jsx",
|
|
104
|
+
"projectModuleFilePath": "plasmic/create_plasmic_app/plasmic.jsx",
|
|
103
105
|
"codeComponents": [
|
|
104
106
|
{
|
|
105
107
|
"id": "P6aGdYWZ2R",
|
|
@@ -131,6 +133,6 @@
|
|
|
131
133
|
"nextjsConfig": {
|
|
132
134
|
"pagesDir": "../pages"
|
|
133
135
|
},
|
|
134
|
-
"cliVersion": "0.1.
|
|
135
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
136
|
+
"cliVersion": "0.1.343",
|
|
137
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.343/dist/plasmic.schema.json"
|
|
136
138
|
}
|
package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.tsx
CHANGED
|
@@ -61,6 +61,9 @@ import {
|
|
|
61
61
|
|
|
62
62
|
import * as pp from "@plasmicapp/react-web";
|
|
63
63
|
|
|
64
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
65
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
66
|
+
|
|
64
67
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
65
68
|
|
|
66
69
|
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
@@ -266,6 +269,8 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
266
269
|
focusVisibleWithin_root: isRootFocusVisibleWithin
|
|
267
270
|
};
|
|
268
271
|
|
|
272
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
273
|
+
|
|
269
274
|
return (
|
|
270
275
|
<button
|
|
271
276
|
data-plasmic-name={"root"}
|
|
@@ -278,7 +283,7 @@ function PlasmicButton__RenderFunc(props: {
|
|
|
278
283
|
projectcss.root_reset,
|
|
279
284
|
projectcss.plasmic_default_styles,
|
|
280
285
|
projectcss.plasmic_mixins,
|
|
281
|
-
|
|
286
|
+
styleTokensClassNames,
|
|
282
287
|
sty.root,
|
|
283
288
|
{
|
|
284
289
|
[sty.root___focusVisibleWithin]: triggers.focusVisibleWithin_root,
|
package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx
CHANGED
|
@@ -60,6 +60,8 @@ import {
|
|
|
60
60
|
} from "@plasmicapp/react-web/lib/host";
|
|
61
61
|
|
|
62
62
|
import RandomDynamicPageButton from "../../RandomDynamicPageButton"; // plasmic-import: Q23H1_1M_P/component
|
|
63
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
64
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
63
65
|
|
|
64
66
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
65
67
|
|
|
@@ -125,6 +127,8 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
125
127
|
const refsRef = React.useRef({});
|
|
126
128
|
const $refs = refsRef.current;
|
|
127
129
|
|
|
130
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
131
|
+
|
|
128
132
|
return (
|
|
129
133
|
<React.Fragment>
|
|
130
134
|
<Head></Head>
|
|
@@ -146,7 +150,7 @@ function PlasmicDynamicPage__RenderFunc(props: {
|
|
|
146
150
|
projectcss.root_reset,
|
|
147
151
|
projectcss.plasmic_default_styles,
|
|
148
152
|
projectcss.plasmic_mixins,
|
|
149
|
-
|
|
153
|
+
styleTokensClassNames,
|
|
150
154
|
sty.root
|
|
151
155
|
)}
|
|
152
156
|
>
|
package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx
CHANGED
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
|
|
62
62
|
import RandomDynamicPageButton from "../../RandomDynamicPageButton"; // plasmic-import: Q23H1_1M_P/component
|
|
63
63
|
import { Fetcher } from "@plasmicapp/react-web/lib/data-sources";
|
|
64
|
-
|
|
65
|
-
import {
|
|
64
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
65
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
66
66
|
|
|
67
67
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
68
68
|
|
|
@@ -129,9 +129,9 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
129
129
|
const refsRef = React.useRef({});
|
|
130
130
|
const $refs = refsRef.current;
|
|
131
131
|
|
|
132
|
-
const globalVariants =
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
const globalVariants = _useGlobalVariants();
|
|
133
|
+
|
|
134
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
135
135
|
|
|
136
136
|
return (
|
|
137
137
|
<React.Fragment>
|
|
@@ -154,7 +154,7 @@ function PlasmicHomepage__RenderFunc(props: {
|
|
|
154
154
|
projectcss.root_reset,
|
|
155
155
|
projectcss.plasmic_default_styles,
|
|
156
156
|
projectcss.plasmic_mixins,
|
|
157
|
-
|
|
157
|
+
styleTokensClassNames,
|
|
158
158
|
sty.root
|
|
159
159
|
)}
|
|
160
160
|
>
|
|
@@ -60,6 +60,8 @@ import {
|
|
|
60
60
|
} from "@plasmicapp/react-web/lib/host";
|
|
61
61
|
|
|
62
62
|
import Button from "../../Button"; // plasmic-import: TQcvW_pSKi3/component
|
|
63
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
64
|
+
import { _useStyleTokens } from "./PlasmicStyleTokensProvider"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/styleTokensProvider
|
|
63
65
|
|
|
64
66
|
import "@plasmicapp/react-web/lib/plasmic.css";
|
|
65
67
|
|
|
@@ -129,6 +131,8 @@ function PlasmicRandomDynamicPageButton__RenderFunc(props: {
|
|
|
129
131
|
const refsRef = React.useRef({});
|
|
130
132
|
const $refs = refsRef.current;
|
|
131
133
|
|
|
134
|
+
const styleTokensClassNames = _useStyleTokens();
|
|
135
|
+
|
|
132
136
|
return (
|
|
133
137
|
<Button
|
|
134
138
|
data-plasmic-name={"root"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This code is auto-generated by Plasmic; please do not edit!
|
|
6
|
+
// Plasmic Project: 47tFXWjN2C4NyHFGGpaYQ3
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
createStyleTokensProvider,
|
|
10
|
+
createUseStyleTokens
|
|
11
|
+
} from "@plasmicapp/react-web";
|
|
12
|
+
|
|
13
|
+
import { _useGlobalVariants } from "./plasmic"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectModule
|
|
14
|
+
|
|
15
|
+
import projectcss from "./plasmic.module.css"; // plasmic-import: 47tFXWjN2C4NyHFGGpaYQ3/projectcss
|
|
16
|
+
|
|
17
|
+
const data = {
|
|
18
|
+
base: projectcss.plasmic_tokens,
|
|
19
|
+
varianted: []
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const _useStyleTokens = createUseStyleTokens(data, _useGlobalVariants);
|
|
23
|
+
|
|
24
|
+
export const StyleTokensProvider = createStyleTokensProvider(
|
|
25
|
+
data,
|
|
26
|
+
_useGlobalVariants
|
|
27
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This code is auto-generated by Plasmic; please do not edit!
|
|
6
|
+
// Plasmic Project: 47tFXWjN2C4NyHFGGpaYQ3
|
|
7
|
+
|
|
8
|
+
import { createUseGlobalVariants } from "@plasmicapp/react-web";
|
|
9
|
+
|
|
10
|
+
import { useScreenVariants as useScreenVariantsscBjPxgdxdzbv } from "./PlasmicGlobalVariant__Screen"; // plasmic-import: SCBjPXGDXDZBV/globalVariant
|
|
11
|
+
|
|
12
|
+
export const _useGlobalVariants = createUseGlobalVariants({
|
|
13
|
+
screen: useScreenVariantsscBjPxgdxdzbv
|
|
14
|
+
});
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/cli": "^0.1.
|
|
13
|
-
"@plasmicapp/react-web": "^0.2.
|
|
14
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/cli": "^0.1.343",
|
|
13
|
+
"@plasmicapp/react-web": "^0.2.401",
|
|
14
|
+
"next": "14.2.32",
|
|
15
15
|
"react": "^18",
|
|
16
16
|
"react-dom": "^18"
|
|
17
17
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@types/react": "^18",
|
|
21
21
|
"@types/react-dom": "^18",
|
|
22
22
|
"eslint": "^8",
|
|
23
|
-
"eslint-config-next": "14.2.
|
|
23
|
+
"eslint-config-next": "14.2.32",
|
|
24
24
|
"typescript": "^5"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -100,6 +100,8 @@
|
|
|
100
100
|
"indirect": false,
|
|
101
101
|
"globalContextsFilePath": "",
|
|
102
102
|
"splitsProviderFilePath": "",
|
|
103
|
+
"styleTokensProviderFilePath": "plasmic/create_plasmic_app/PlasmicStyleTokensProvider.tsx",
|
|
104
|
+
"projectModuleFilePath": "plasmic/create_plasmic_app/plasmic.tsx",
|
|
103
105
|
"codeComponents": [
|
|
104
106
|
{
|
|
105
107
|
"id": "P6aGdYWZ2R",
|
|
@@ -131,6 +133,6 @@
|
|
|
131
133
|
"nextjsConfig": {
|
|
132
134
|
"pagesDir": "../pages"
|
|
133
135
|
},
|
|
134
|
-
"cliVersion": "0.1.
|
|
135
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
136
|
+
"cliVersion": "0.1.343",
|
|
137
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.343/dist/plasmic.schema.json"
|
|
136
138
|
}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.438",
|
|
13
|
+
"next": "14.2.32",
|
|
14
14
|
"react": "^18",
|
|
15
15
|
"react-dom": "^18"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"eslint": "^8",
|
|
19
|
-
"eslint-config-next": "14.2.
|
|
19
|
+
"eslint-config-next": "14.2.32"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"lint": "next lint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^1.0.
|
|
13
|
-
"next": "14.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^1.0.438",
|
|
13
|
+
"next": "14.2.32",
|
|
14
14
|
"react": "^18",
|
|
15
15
|
"react-dom": "^18"
|
|
16
16
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/react": "^18",
|
|
20
20
|
"@types/react-dom": "^18",
|
|
21
21
|
"eslint": "^8",
|
|
22
|
-
"eslint-config-next": "14.2.
|
|
22
|
+
"eslint-config-next": "14.2.32",
|
|
23
23
|
"typescript": "^5"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-plasmic-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.114",
|
|
4
4
|
"description": "Create Plasmic-powered React apps",
|
|
5
5
|
"main": "./dist/lib.js",
|
|
6
6
|
"types": "./dist/lib.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/yargs": "^16.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@plasmicapp/cli": "0.1.187",
|
|
35
|
+
"@plasmicapp/cli": "^0.1.187",
|
|
36
36
|
"@sentry/node": "^6.2.2",
|
|
37
37
|
"chalk": "^4.1.0",
|
|
38
38
|
"execa": "^5.0.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"validate-npm-package-name": "^3.0.0",
|
|
47
47
|
"yargs": "^16.2.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "400da4e813c2876ed9d2ada28ef265afd30c69d5"
|
|
50
50
|
}
|