@plasmicapp/react-web 0.2.383 → 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/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +3 -0
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +2 -2
- package/skinny/dist/index.js +2 -2
- package/skinny/dist/plume/checkbox/index.js +1 -1
- package/skinny/dist/plume/menu/index.js +1 -1
- package/skinny/dist/plume/menu-button/index.js +1 -1
- package/skinny/dist/plume/select/index.js +1 -1
- package/skinny/dist/plume/switch/index.js +1 -1
- package/skinny/dist/{ssr-cfc9b457.js → ssr-649d12f8.js} +4 -1
- package/skinny/dist/ssr-649d12f8.js.map +1 -0
- package/skinny/dist/ssr-cfc9b457.js.map +0 -1
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) {
|