@plasmicapp/react-web 0.2.339 → 0.2.341

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 (2) hide show
  1. package/dist/all.d.ts +6 -0
  2. package/package.json +5 -5
package/dist/all.d.ts CHANGED
@@ -11657,6 +11657,12 @@ interface CodeComponentMeta<P> {
11657
11657
  figmaMappings?: {
11658
11658
  figmaComponentName: string;
11659
11659
  }[];
11660
+ /**
11661
+ * If specified, then Figma components will have their properties transformed
11662
+ * before being applied to this component. This is useful for transforming Figma
11663
+ * properties to the format expected by the component.
11664
+ */
11665
+ figmaPropsTransform?: (props: Record<string, string | number | boolean>) => Record<string, string | number | boolean>;
11660
11666
  /**
11661
11667
  * If true, when an instance of this component is added, the element
11662
11668
  * will always be named by the name of this component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.339",
3
+ "version": "0.2.341",
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",
@@ -97,10 +97,10 @@
97
97
  },
98
98
  "dependencies": {
99
99
  "@plasmicapp/auth-react": "0.0.21",
100
- "@plasmicapp/data-sources": "0.1.156",
100
+ "@plasmicapp/data-sources": "0.1.157",
101
101
  "@plasmicapp/data-sources-context": "0.1.21",
102
- "@plasmicapp/host": "1.0.197",
103
- "@plasmicapp/loader-splits": "1.0.61",
102
+ "@plasmicapp/host": "1.0.198",
103
+ "@plasmicapp/loader-splits": "1.0.62",
104
104
  "@plasmicapp/nextjs-app-router": "1.0.11",
105
105
  "@plasmicapp/prepass": "1.0.17",
106
106
  "@plasmicapp/query": "0.1.79",
@@ -168,5 +168,5 @@
168
168
  "react": ">=16.8.0",
169
169
  "react-dom": ">=16.8.0"
170
170
  },
171
- "gitHead": "bc10abae6b027cb31f3d3d63939a8271831d4ed0"
171
+ "gitHead": "1be2a86e19dacbf1618283e1256371c22af1d5e5"
172
172
  }