@plasmicapp/react-web 0.2.314 → 0.2.316
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/dist/all.d.ts +764 -720
- package/dist/index-common.d.ts +2 -3
- package/dist/index.cjs.js +1 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +1 -0
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +12 -12
- package/skinny/dist/index-common.d.ts +2 -3
- package/skinny/dist/index.js +1 -0
- package/skinny/dist/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.316",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"scripts": {
|
|
76
76
|
"build": "rollup -c && mkdir -p lib && cp src/styles/plasmic.css lib/",
|
|
77
77
|
"clean": "rm -rf dist/ skinny/dist/ lib/host/*js lib/host/*.ts lib/host/*.map lib/data-sources/*js lib/data-sources/*.ts lib/data-sources/*.map lib/query/*js lib/query/*.ts lib/query/*.map lib/auth/*js lib/auth/*.ts lib/auth/*.map lib/splits/*js lib/splits/*.ts lib/splits/*.map",
|
|
78
|
-
"test": "yarn --cwd=../.. test",
|
|
78
|
+
"test": "TEST_CWD=`pwd` yarn --cwd=../.. test",
|
|
79
79
|
"lint": "eslint",
|
|
80
80
|
"upgrade-aria": "yarn upgrade --latest --scope @react-aria && yarn upgrade --latest --scope @react-stately && yarn upgrade --latest --scope @react-types",
|
|
81
81
|
"prepublishOnly": "npm run build",
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
"test-storybook": "test-storybook"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@plasmicapp/auth-react": "0.0.
|
|
90
|
-
"@plasmicapp/data-sources": "0.1.
|
|
91
|
-
"@plasmicapp/data-sources-context": "0.1.
|
|
92
|
-
"@plasmicapp/host": "1.0.
|
|
93
|
-
"@plasmicapp/loader-splits": "1.0.
|
|
94
|
-
"@plasmicapp/prepass": "1.0.
|
|
95
|
-
"@plasmicapp/query": "0.1.
|
|
89
|
+
"@plasmicapp/auth-react": "0.0.20",
|
|
90
|
+
"@plasmicapp/data-sources": "0.1.147",
|
|
91
|
+
"@plasmicapp/data-sources-context": "0.1.21",
|
|
92
|
+
"@plasmicapp/host": "1.0.189",
|
|
93
|
+
"@plasmicapp/loader-splits": "1.0.55",
|
|
94
|
+
"@plasmicapp/prepass": "1.0.14",
|
|
95
|
+
"@plasmicapp/query": "0.1.78",
|
|
96
96
|
"@react-aria/checkbox": "^3.11.2",
|
|
97
97
|
"@react-aria/focus": "^3.14.3",
|
|
98
98
|
"@react-aria/interactions": "^3.19.1",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"@react-stately/select": "^3.5.5",
|
|
112
112
|
"@react-stately/toggle": "^3.6.3",
|
|
113
113
|
"@react-stately/tree": "^3.7.3",
|
|
114
|
-
"classnames": "^2.
|
|
114
|
+
"classnames": "^2.5.1",
|
|
115
115
|
"clone": "^2.1.2",
|
|
116
116
|
"dlv": "^1.1.3",
|
|
117
117
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@storybook/react-webpack5": "^7.4.0",
|
|
141
141
|
"@storybook/test-runner": "^0.13.0",
|
|
142
142
|
"@storybook/testing-library": "^0.0.13",
|
|
143
|
-
"@types/classnames": "^2.
|
|
143
|
+
"@types/classnames": "^2.3.1",
|
|
144
144
|
"@types/clone": "^2.1.1",
|
|
145
145
|
"@types/dlv": "^1.1.2",
|
|
146
146
|
"@types/react": "^18.0.27",
|
|
@@ -157,5 +157,5 @@
|
|
|
157
157
|
"react": ">=16.8.0",
|
|
158
158
|
"react-dom": ">=16.8.0"
|
|
159
159
|
},
|
|
160
|
-
"gitHead": "
|
|
160
|
+
"gitHead": "d610e0b0246d0f56d641248b95b7b10f235e68c5"
|
|
161
161
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _classNames from "classnames";
|
|
2
1
|
export { PlasmicPageGuard, withPlasmicPageGuard, } from "./auth/PlasmicPageGuard";
|
|
3
2
|
export { omit, pick } from "./common";
|
|
4
3
|
export { HTMLElementRefOf, StrictProps } from "./react-utils";
|
|
@@ -12,7 +11,7 @@ export { PlasmicSlot, renderPlasmicSlot } from "./render/PlasmicSlot";
|
|
|
12
11
|
export { createUseScreenVariants } from "./render/screen-variants";
|
|
13
12
|
export { PlasmicDataSourceContextProvider, PlasmicRootProvider, useCurrentUser, useIsSSR, } from "./render/ssr";
|
|
14
13
|
export { Stack } from "./render/Stack";
|
|
15
|
-
export { genTranslatableString,
|
|
14
|
+
export { genTranslatableString, PlasmicTranslator, Trans, usePlasmicTranslator, } from "./render/translation";
|
|
16
15
|
export { useTrigger } from "./render/triggers";
|
|
17
16
|
export * from "./states";
|
|
18
|
-
export declare const classNames:
|
|
17
|
+
export declare const classNames: any;
|
package/skinny/dist/index.js
CHANGED
|
@@ -1769,6 +1769,7 @@ function deepEqual(a, b) {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
1771
|
// Utilities used by generated code
|
|
1772
|
+
// Using any while classnames package is not updated to have the correct types exported
|
|
1772
1773
|
var classNames = classNames$1;
|
|
1773
1774
|
|
|
1774
1775
|
export { PlasmicIcon, PlasmicPageGuard, PlasmicSlot, Stack, Trans, classNames, createPlasmicElementProxy, createUseScreenVariants, deriveRenderOpts, ensureGlobalVariants, generateOnMutateForSpec, generateStateOnChangeProp, generateStateOnChangePropForCodeComponents, generateStateValueProp, getCurrentInitialValue, getStateCellsInPlasmicProxy, getStateSpecInPlasmicProxy, hasVariant, initializeCodeComponentStates, initializePlasmicStates, is$StateProxy, isPlasmicStateProxy, makeFragment, mergeVariantsWithStates, omit, pick, renderPlasmicSlot, resetToInitialValue, set, useDollarState, useTrigger, withPlasmicPageGuard, wrapWithClassName };
|