@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.
package/dist/web.esm.js CHANGED
@@ -356,8 +356,12 @@ var MinusIcon = _ref4 => {
356
356
  viewBox: "0 0 24 24",
357
357
  "aria-hidden": "true",
358
358
  focusable: "false"
359
- }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
360
- d: "M5 12h14"
359
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("line", {
360
+ stroke: color,
361
+ x1: "8",
362
+ y1: "12",
363
+ x2: "16",
364
+ y2: "12"
361
365
  })));
362
366
  };
363
367
  // Example Refactored Icon: InfoIcon with accessibility enhancements
@@ -1307,8 +1311,18 @@ var PlusIcon = _ref45 => {
1307
1311
  viewBox: "0 0 24 24",
1308
1312
  "aria-hidden": "false",
1309
1313
  focusable: "false"
1310
- }, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
1311
- d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
1314
+ }, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React.createElement("line", {
1315
+ stroke: color,
1316
+ x1: "12",
1317
+ y1: "5",
1318
+ x2: "12",
1319
+ y2: "19"
1320
+ }), /*#__PURE__*/React.createElement("line", {
1321
+ stroke: color,
1322
+ x1: "5",
1323
+ y1: "12",
1324
+ x2: "19",
1325
+ y2: "12"
1312
1326
  })));
1313
1327
  };
1314
1328
  var TickIcon = _ref46 => {
@@ -1912,13 +1926,13 @@ var IconSizes = {
1912
1926
  '6xl': 64
1913
1927
  };
1914
1928
 
1915
- var _excluded$6 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1929
+ var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1916
1930
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
1917
1931
  var LinkView = _ref => {
1918
1932
  var {
1919
1933
  children,
1920
1934
  // Default href prop set to root '/', used for navigation target.
1921
- href = '/',
1935
+ to = '/',
1922
1936
  // Default icon size for links, with 'sm' specifying a small-sized icon.
1923
1937
  iconSize = 'sm',
1924
1938
  // Determines the default underline behavior of the link, set to 'default'.
@@ -1941,7 +1955,7 @@ var LinkView = _ref => {
1941
1955
  if (underline === 'hover') setIsHovered(true);
1942
1956
  };
1943
1957
  return /*#__PURE__*/React.createElement(Link$1, {
1944
- to: href,
1958
+ to: to,
1945
1959
  target: isExternal ? '_blank' : '_self'
1946
1960
  }, /*#__PURE__*/React.createElement(Element, Object.assign({
1947
1961
  onMouseEnter: handleHover,
@@ -2372,7 +2386,7 @@ var ButtonView = _ref => {
2372
2386
  transition: 'transform 0.3s ease',
2373
2387
  transform: 'translateY(-5px)'
2374
2388
  } : {}, 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,
2389
+ to: externalHref,
2376
2390
  textDecorationColor: colorScheme,
2377
2391
  colorScheme: colorScheme,
2378
2392
  isExternal: true