@app-studio/web 0.8.28 → 0.8.29

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.
@@ -1906,13 +1906,13 @@
1906
1906
  '6xl': 64
1907
1907
  };
1908
1908
 
1909
- var _excluded$6 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1909
+ var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1910
1910
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
1911
1911
  var LinkView = _ref => {
1912
1912
  var {
1913
1913
  children,
1914
1914
  // Default href prop set to root '/', used for navigation target.
1915
- href = '/',
1915
+ to = '/',
1916
1916
  // Default icon size for links, with 'sm' specifying a small-sized icon.
1917
1917
  iconSize = 'sm',
1918
1918
  // Determines the default underline behavior of the link, set to 'default'.
@@ -1935,7 +1935,7 @@
1935
1935
  if (underline === 'hover') setIsHovered(true);
1936
1936
  };
1937
1937
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
1938
- to: href,
1938
+ to: to,
1939
1939
  target: isExternal ? '_blank' : '_self'
1940
1940
  }, /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
1941
1941
  onMouseEnter: handleHover,
@@ -2366,7 +2366,7 @@
2366
2366
  transition: 'transform 0.3s ease',
2367
2367
  transform: 'translateY(-5px)'
2368
2368
  } : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props), variant === 'link' && externalHref ? (/*#__PURE__*/React__default.createElement(Link, {
2369
- href: externalHref,
2369
+ to: externalHref,
2370
2370
  textDecorationColor: colorScheme,
2371
2371
  colorScheme: colorScheme,
2372
2372
  isExternal: true