@trafilea/afrodita-components 5.0.0-beta.113 → 5.0.0-beta.114
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/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -12407,7 +12407,7 @@ var ScrollToTop = function (_a) {
|
|
|
12407
12407
|
var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick, fill = _a.fill;
|
|
12408
12408
|
var theme = useTheme();
|
|
12409
12409
|
var fillValue = fill || theme.colors.pallete.primary.color;
|
|
12410
|
-
return (jsxs$1(Container$r, __assign$1({ onClick: onClick, "data-testid": "
|
|
12410
|
+
return (jsxs$1(Container$r, __assign$1({ onClick: onClick, "data-testid": "scrollTopContainer" }, { children: [jsx$1(Text$3, __assign$1({ color: theme.colors.shades['700'].color }, { children: scrollToTopText }), void 0), jsx$1(Icon.Arrows.CircleChevronUp, { width: 1.375, height: 1.375, fill: fillValue }, void 0)] }), void 0));
|
|
12411
12411
|
};
|
|
12412
12412
|
var templateObject_1$F, templateObject_2$r;
|
|
12413
12413
|
|
package/build/index.js
CHANGED
|
@@ -12433,7 +12433,7 @@ var ScrollToTop = function (_a) {
|
|
|
12433
12433
|
var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick, fill = _a.fill;
|
|
12434
12434
|
var theme = useTheme();
|
|
12435
12435
|
var fillValue = fill || theme.colors.pallete.primary.color;
|
|
12436
|
-
return (jsxRuntime.jsxs(Container$r, __assign$1({ onClick: onClick, "data-testid": "
|
|
12436
|
+
return (jsxRuntime.jsxs(Container$r, __assign$1({ onClick: onClick, "data-testid": "scrollTopContainer" }, { children: [jsxRuntime.jsx(Text$3, __assign$1({ color: theme.colors.shades['700'].color }, { children: scrollToTopText }), void 0), jsxRuntime.jsx(Icon.Arrows.CircleChevronUp, { width: 1.375, height: 1.375, fill: fillValue }, void 0)] }), void 0));
|
|
12437
12437
|
};
|
|
12438
12438
|
var templateObject_1$F, templateObject_2$r;
|
|
12439
12439
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.114",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|