@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/components/Link/Link/Link.props.d.ts +1 -1
- package/dist/web.cjs.development.js +22 -8
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +22 -8
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +22 -8
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -363,8 +363,12 @@ var MinusIcon = _ref4 => {
|
|
|
363
363
|
viewBox: "0 0 24 24",
|
|
364
364
|
"aria-hidden": "true",
|
|
365
365
|
focusable: "false"
|
|
366
|
-
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("
|
|
367
|
-
|
|
366
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("line", {
|
|
367
|
+
stroke: color,
|
|
368
|
+
x1: "8",
|
|
369
|
+
y1: "12",
|
|
370
|
+
x2: "16",
|
|
371
|
+
y2: "12"
|
|
368
372
|
})));
|
|
369
373
|
};
|
|
370
374
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
@@ -1314,8 +1318,18 @@ var PlusIcon = _ref45 => {
|
|
|
1314
1318
|
viewBox: "0 0 24 24",
|
|
1315
1319
|
"aria-hidden": "false",
|
|
1316
1320
|
focusable: "false"
|
|
1317
|
-
}, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React__default.createElement("
|
|
1318
|
-
|
|
1321
|
+
}, getSvgProps(false, color, strokeWidth)), /*#__PURE__*/React__default.createElement("line", {
|
|
1322
|
+
stroke: color,
|
|
1323
|
+
x1: "12",
|
|
1324
|
+
y1: "5",
|
|
1325
|
+
x2: "12",
|
|
1326
|
+
y2: "19"
|
|
1327
|
+
}), /*#__PURE__*/React__default.createElement("line", {
|
|
1328
|
+
stroke: color,
|
|
1329
|
+
x1: "5",
|
|
1330
|
+
y1: "12",
|
|
1331
|
+
x2: "19",
|
|
1332
|
+
y2: "12"
|
|
1319
1333
|
})));
|
|
1320
1334
|
};
|
|
1321
1335
|
var TickIcon = _ref46 => {
|
|
@@ -1919,13 +1933,13 @@ var IconSizes = {
|
|
|
1919
1933
|
'6xl': 64
|
|
1920
1934
|
};
|
|
1921
1935
|
|
|
1922
|
-
var _excluded$6 = ["children", "
|
|
1936
|
+
var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
|
|
1923
1937
|
// Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
|
|
1924
1938
|
var LinkView = _ref => {
|
|
1925
1939
|
var {
|
|
1926
1940
|
children,
|
|
1927
1941
|
// Default href prop set to root '/', used for navigation target.
|
|
1928
|
-
|
|
1942
|
+
to = '/',
|
|
1929
1943
|
// Default icon size for links, with 'sm' specifying a small-sized icon.
|
|
1930
1944
|
iconSize = 'sm',
|
|
1931
1945
|
// Determines the default underline behavior of the link, set to 'default'.
|
|
@@ -1948,7 +1962,7 @@ var LinkView = _ref => {
|
|
|
1948
1962
|
if (underline === 'hover') setIsHovered(true);
|
|
1949
1963
|
};
|
|
1950
1964
|
return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
1951
|
-
to:
|
|
1965
|
+
to: to,
|
|
1952
1966
|
target: isExternal ? '_blank' : '_self'
|
|
1953
1967
|
}, /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
1954
1968
|
onMouseEnter: handleHover,
|
|
@@ -2379,7 +2393,7 @@ var ButtonView = _ref => {
|
|
|
2379
2393
|
transition: 'transform 0.3s ease',
|
|
2380
2394
|
transform: 'translateY(-5px)'
|
|
2381
2395
|
} : {}, 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, {
|
|
2382
|
-
|
|
2396
|
+
to: externalHref,
|
|
2383
2397
|
textDecorationColor: colorScheme,
|
|
2384
2398
|
colorScheme: colorScheme,
|
|
2385
2399
|
isExternal: true
|