@app-studio/web 0.8.28 → 0.8.30

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.
@@ -350,8 +350,12 @@
350
350
  viewBox: "0 0 24 24",
351
351
  "aria-hidden": "true",
352
352
  focusable: "false"
353
- }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
354
- d: "M5 12h14"
353
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("line", {
354
+ stroke: color,
355
+ x1: "8",
356
+ y1: "12",
357
+ x2: "16",
358
+ y2: "12"
355
359
  })));
356
360
  };
357
361
  // Example Refactored Icon: InfoIcon with accessibility enhancements
@@ -1301,8 +1305,18 @@
1301
1305
  viewBox: "0 0 24 24",
1302
1306
  "aria-hidden": "false",
1303
1307
  focusable: "false"
1304
- }, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
1305
- d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1308
+ }, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React__default.createElement("line", {
1309
+ stroke: color,
1310
+ x1: "12",
1311
+ y1: "5",
1312
+ x2: "12",
1313
+ y2: "19"
1314
+ }), /*#__PURE__*/React__default.createElement("line", {
1315
+ stroke: color,
1316
+ x1: "5",
1317
+ y1: "12",
1318
+ x2: "19",
1319
+ y2: "12"
1306
1320
  })));
1307
1321
  };
1308
1322
  var TickIcon = _ref46 => {
@@ -1906,13 +1920,13 @@
1906
1920
  '6xl': 64
1907
1921
  };
1908
1922
 
1909
- var _excluded$6 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1923
+ var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1910
1924
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
1911
1925
  var LinkView = _ref => {
1912
1926
  var {
1913
1927
  children,
1914
1928
  // Default href prop set to root '/', used for navigation target.
1915
- href = '/',
1929
+ to = '/',
1916
1930
  // Default icon size for links, with 'sm' specifying a small-sized icon.
1917
1931
  iconSize = 'sm',
1918
1932
  // Determines the default underline behavior of the link, set to 'default'.
@@ -1935,7 +1949,7 @@
1935
1949
  if (underline === 'hover') setIsHovered(true);
1936
1950
  };
1937
1951
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
1938
- to: href,
1952
+ to: to,
1939
1953
  target: isExternal ? '_blank' : '_self'
1940
1954
  }, /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
1941
1955
  onMouseEnter: handleHover,
@@ -2366,7 +2380,7 @@
2366
2380
  transition: 'transform 0.3s ease',
2367
2381
  transform: 'translateY(-5px)'
2368
2382
  } : {}, 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,
2383
+ to: externalHref,
2370
2384
  textDecorationColor: colorScheme,
2371
2385
  colorScheme: colorScheme,
2372
2386
  isExternal: true