@plasmicapp/loader-react 1.0.166 → 1.0.169

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.
@@ -74,12 +74,12 @@ export declare function PlasmicRootProvider(props: {
74
74
  * Page path parameters (e.g. {slug: "foo"} if page path is
75
75
  * /products/[slug] and URI is /products/foo).
76
76
  */
77
- pageParams?: Record<string, string>;
77
+ pageParams?: Record<string, string | string[] | undefined>;
78
78
  /**
79
79
  * Page query parameters (e.g. {q: "foo"} if page path is
80
80
  * /some/path?q=foo).
81
81
  */
82
- pageQuery?: Record<string, string>;
82
+ pageQuery?: Record<string, string | string[] | undefined>;
83
83
  }): JSX.Element;
84
84
  export declare function usePlasmicRootContext(): PlasmicRootContextValue | undefined;
85
85
  export {};
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export { GlobalVariantSpec, PlasmicRootProvider, PlasmicTranslator, } from './Pl
8
8
  export { extractPlasmicQueryData, plasmicPrepass } from './prepass';
9
9
  export { extractPlasmicQueryDataFromElement, hydrateFromElement, renderToElement, renderToString, } from './render';
10
10
  export { usePlasmicComponent } from './usePlasmicComponent';
11
+ export { matchesPagePath } from './utils';
@@ -2965,6 +2965,7 @@ exports.extractPlasmicQueryData = extractPlasmicQueryData;
2965
2965
  exports.extractPlasmicQueryDataFromElement = extractPlasmicQueryDataFromElement;
2966
2966
  exports.hydrateFromElement = hydrateFromElement;
2967
2967
  exports.initPlasmicLoader = initPlasmicLoader;
2968
+ exports.matchesPagePath = matchesPagePath;
2968
2969
  exports.plasmicPrepass = plasmicPrepass;
2969
2970
  exports.renderToElement = renderToElement;
2970
2971
  exports.renderToString = renderToString;