@atom-learning/components 6.16.0-beta.0 → 6.16.0-beta.1

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 CHANGED
@@ -8926,9 +8926,10 @@ var StyledTileInteractive = styled(Tile, { base: [
8926
8926
  "not-disabled:transition-transform",
8927
8927
  "not-disabled:translate-y-0"
8928
8928
  ] });
8929
- var TileInteractive = react.default.forwardRef(({ onClick, href, type = "button", as, ...rest }, ref) => {
8929
+ var TileInteractive = react.default.forwardRef(({ onClick, href, type = "button", as, reloadDocument, ...rest }, ref) => {
8930
+ const routerLinkProps = useRouterLinkProps(href, { reloadDocument });
8930
8931
  const elementSpecificProps = !!href ? {
8931
- as: as || "a",
8932
+ as: as || routerLinkProps.as || "a",
8932
8933
  href,
8933
8934
  onClick: void 0
8934
8935
  } : {