@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.
package/dist/web.esm.js CHANGED
@@ -1912,13 +1912,13 @@ var IconSizes = {
1912
1912
  '6xl': 64
1913
1913
  };
1914
1914
 
1915
- var _excluded$6 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1915
+ var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1916
1916
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
1917
1917
  var LinkView = _ref => {
1918
1918
  var {
1919
1919
  children,
1920
1920
  // Default href prop set to root '/', used for navigation target.
1921
- href = '/',
1921
+ to = '/',
1922
1922
  // Default icon size for links, with 'sm' specifying a small-sized icon.
1923
1923
  iconSize = 'sm',
1924
1924
  // Determines the default underline behavior of the link, set to 'default'.
@@ -1941,7 +1941,7 @@ var LinkView = _ref => {
1941
1941
  if (underline === 'hover') setIsHovered(true);
1942
1942
  };
1943
1943
  return /*#__PURE__*/React.createElement(Link$1, {
1944
- to: href,
1944
+ to: to,
1945
1945
  target: isExternal ? '_blank' : '_self'
1946
1946
  }, /*#__PURE__*/React.createElement(Element, Object.assign({
1947
1947
  onMouseEnter: handleHover,
@@ -2372,7 +2372,7 @@ var ButtonView = _ref => {
2372
2372
  transition: 'transform 0.3s ease',
2373
2373
  transform: 'translateY(-5px)'
2374
2374
  } : {}, 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.createElement(Link, {
2375
- href: externalHref,
2375
+ to: externalHref,
2376
2376
  textDecorationColor: colorScheme,
2377
2377
  colorScheme: colorScheme,
2378
2378
  isExternal: true