@plasmicapp/react-web 0.2.221 → 0.2.222

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.
@@ -9,7 +9,9 @@ export interface TransProps {
9
9
  transKey?: string;
10
10
  children?: React.ReactNode;
11
11
  }
12
- export declare function genTranslatableString(elt: React.ReactNode): {
12
+ export declare function genTranslatableString(elt: React.ReactNode, opts?: {
13
+ tagPrefix?: string;
14
+ }): {
13
15
  str: string;
14
16
  components: {
15
17
  [key: string]: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.221",
3
+ "version": "0.2.222",
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,10 +75,10 @@
75
75
  },
76
76
  "prettier": {},
77
77
  "dependencies": {
78
- "@plasmicapp/data-sources": "0.1.87",
78
+ "@plasmicapp/data-sources": "0.1.88",
79
79
  "@plasmicapp/data-sources-context": "0.1.11",
80
- "@plasmicapp/host": "1.0.145",
81
- "@plasmicapp/query": "0.1.65",
80
+ "@plasmicapp/host": "1.0.146",
81
+ "@plasmicapp/query": "0.1.66",
82
82
  "@react-aria/checkbox": "^3.5.0",
83
83
  "@react-aria/focus": "^3.7.0",
84
84
  "@react-aria/interactions": "^3.10.0",
@@ -143,5 +143,5 @@
143
143
  "react": ">=16.8.0",
144
144
  "react-dom": ">=16.8.0"
145
145
  },
146
- "gitHead": "fa865641d9193b8b0b6cf7f073688d9801d2e59c"
146
+ "gitHead": "17f506e9daa212a8cc408c3af4b1c51cf65eb2ea"
147
147
  }
@@ -12,7 +12,7 @@ export { PlasmicSlot, renderPlasmicSlot } from "./render/PlasmicSlot";
12
12
  export { createUseScreenVariants } from "./render/screen-variants";
13
13
  export { PlasmicDataSourceContextProvider, PlasmicRootProvider, useCurrentUser, useIsSSR, } from "./render/ssr";
14
14
  export { Stack } from "./render/Stack";
15
- export { genTranslatableString, Trans } from "./render/translation";
15
+ export { genTranslatableString, Trans, PlasmicTranslator, } from "./render/translation";
16
16
  export { useTrigger } from "./render/triggers";
17
17
  export * from "./states";
18
18
  export declare const classNames: typeof _classNames;
@@ -10,8 +10,8 @@ import { _ as __awaiter, a as __generator, b as __assign, c as __rest, d as __sp
10
10
  export { o as omit, p as pick } from './common-ed411407.js';
11
11
  export { PlasmicHead, plasmicHeadMeta } from './render/PlasmicHead/index.js';
12
12
  export { PlasmicImg } from './render/PlasmicImg/index.js';
13
- import { T as Trans } from './ssr-bfa9ff63.js';
14
- export { P as PlasmicRootProvider, T as Trans, g as genTranslatableString, u as useIsSSR } from './ssr-bfa9ff63.js';
13
+ import { T as Trans } from './ssr-3b4954dc.js';
14
+ export { P as PlasmicRootProvider, T as Trans, g as genTranslatableString, u as useIsSSR } from './ssr-3b4954dc.js';
15
15
  import ReactDOM__default from 'react-dom';
16
16
  import { useFocusRing } from '@react-aria/focus';
17
17
  import { proxy, ref, useSnapshot, getVersion, subscribe } from 'valtio';