@plasmicapp/react-web 0.2.382 → 0.2.384

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 CHANGED
@@ -12192,7 +12192,6 @@ type ControlContext<P> = [
12192
12192
  type ContextDependentConfig<P, R> = (...args: ControlContext<P>) => R;
12193
12193
  interface BaseParam {
12194
12194
  name: string;
12195
- displayName?: string;
12196
12195
  description?: string;
12197
12196
  isOptional?: boolean;
12198
12197
  isRestParameter?: boolean;
@@ -12311,6 +12310,10 @@ interface CustomFunctionMeta<F extends (...args: any[]) => any> {
12311
12310
  * whenever accessing the function.
12312
12311
  */
12313
12312
  namespace?: string;
12313
+ /**
12314
+ * A display name for the function. It will be shown only in studio.
12315
+ */
12316
+ displayName?: string;
12314
12317
  /**
12315
12318
  * Documentation for the registered function.
12316
12319
  */
package/dist/index.cjs.js CHANGED
@@ -1487,6 +1487,9 @@ var PlasmicLinkInternal = React.forwardRef(function PlasmicLinkInternal(props, r
1487
1487
  if (props.platform === "gatsby" && isInternalHref(props.href)) {
1488
1488
  return React.createElement(props.component, __assign(__assign({}, omit(props, "component", "platform", "href")), { to: props.href, ref: ref }));
1489
1489
  }
1490
+ if (props.platform === "tanstack" && isInternalHref(props.href)) {
1491
+ return React.createElement(props.component, __assign(__assign({}, omit(props, "component", "platform", "href")), { to: props.href, ref: ref }));
1492
+ }
1490
1493
  return React.createElement("a", __assign({}, omit(props, "component", "platform"), { ref: ref }));
1491
1494
  });
1492
1495
  function isInternalHref(href) {