@trafilea/afrodita-components 5.0.0-beta.311 → 5.0.0-beta.313
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.d.ts +6 -1
- package/build/index.esm.js +10 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +10 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -773,6 +773,8 @@ declare const Loading: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
773
773
|
|
|
774
774
|
declare const MapSolid: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
775
775
|
|
|
776
|
+
declare const MenuLines: FC<IconProps>;
|
|
777
|
+
|
|
776
778
|
declare const UserV2: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
777
779
|
|
|
778
780
|
declare const ShoppingCartV2: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
@@ -801,6 +803,7 @@ declare const Navigation_Lock: typeof Lock;
|
|
|
801
803
|
declare const Navigation_LockSolid: typeof LockSolid;
|
|
802
804
|
declare const Navigation_Loading: typeof Loading;
|
|
803
805
|
declare const Navigation_MapSolid: typeof MapSolid;
|
|
806
|
+
declare const Navigation_MenuLines: typeof MenuLines;
|
|
804
807
|
declare const Navigation_UserV2: typeof UserV2;
|
|
805
808
|
declare const Navigation_ShoppingCartV2: typeof ShoppingCartV2;
|
|
806
809
|
declare const Navigation_ShoppingBagV3: typeof ShoppingBagV3;
|
|
@@ -829,6 +832,7 @@ declare namespace Navigation {
|
|
|
829
832
|
Navigation_LockSolid as LockSolid,
|
|
830
833
|
Navigation_Loading as Loading,
|
|
831
834
|
Navigation_MapSolid as MapSolid,
|
|
835
|
+
Navigation_MenuLines as MenuLines,
|
|
832
836
|
Navigation_UserV2 as UserV2,
|
|
833
837
|
Navigation_ShoppingCartV2 as ShoppingCartV2,
|
|
834
838
|
Navigation_ShoppingBagV3 as ShoppingBagV3,
|
|
@@ -2382,8 +2386,9 @@ interface ScrollToTopProps {
|
|
|
2382
2386
|
scrollToTopText: string;
|
|
2383
2387
|
onClick: () => void;
|
|
2384
2388
|
fill?: string;
|
|
2389
|
+
Icon?: React.FC<IconProps$1>;
|
|
2385
2390
|
}
|
|
2386
|
-
declare const ScrollToTop: ({ scrollToTopText, onClick, fill }: ScrollToTopProps) => JSX.Element;
|
|
2391
|
+
declare const ScrollToTop: ({ scrollToTopText, onClick, fill, Icon, }: ScrollToTopProps) => JSX.Element;
|
|
2387
2392
|
|
|
2388
2393
|
interface OrderBarProps {
|
|
2389
2394
|
message: string;
|
package/build/index.esm.js
CHANGED
|
@@ -675,8 +675,8 @@ var CircleLineRight = function (_a) {
|
|
|
675
675
|
};
|
|
676
676
|
|
|
677
677
|
var DoubleArrowUp = function (_a) {
|
|
678
|
-
var width = _a.width, height = _a.height
|
|
679
|
-
return (
|
|
678
|
+
var width = _a.width, height = _a.height, fill = _a.fill;
|
|
679
|
+
return (jsxs$1(IconWrapper$2, __assign$1({ width: width, height: height, viewBoxX: 22.0835, viewBoxY: 22.4102, title: "circle up", fill: fill }, { children: [jsxs$1("g", __assign$1({ clipPath: "url(#clip0_26_11035)" }, { children: [jsx$1("circle", { cx: "11.0835", cy: "11.4102", r: "11", fill: "#CC4125" }, void 0), jsxs$1("g", __assign$1({ clipPath: "url(#clip1_26_11035)" }, { children: [jsx$1("path", { d: "M6.0835 10.4102L11.0835 5.41016", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }, void 0), jsx$1("path", { d: "M6.0835 16.4102L11.0835 11.4102", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }, void 0), jsx$1("path", { d: "M16.0835 10.4102L11.0835 5.41016", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }, void 0), jsx$1("path", { d: "M16.0835 16.4102L11.0835 11.4102", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }, void 0)] }), void 0)] }), void 0), jsx$1("clipPath", __assign$1({ id: "clip0_26_11035" }, { children: jsx$1("rect", { width: "22", height: "22", fill: "white", transform: "translate(0.0834961 0.410156)" }, void 0) }), void 0), jsx$1("clipPath", __assign$1({ id: "clip1_26_11035" }, { children: jsx$1("rect", { width: "10", height: "11", fill: "white", transform: "translate(6.0835 5.41016)" }, void 0) }), void 0)] }), void 0));
|
|
680
680
|
};
|
|
681
681
|
|
|
682
682
|
var Arrows = /*#__PURE__*/Object.freeze({
|
|
@@ -1018,6 +1018,11 @@ var MapSolid = function (_a) {
|
|
|
1018
1018
|
return (jsx$1(IconWrapper$2, __assign$1({ width: width, height: height, viewBoxX: 40, viewBoxY: 40, title: "Map Solid" }, { children: jsx$1("path", { d: "M18.5612 38.2333C7.96656 22.6 6 20.9955 6 15.25C6 7.37992 12.268 1 20 1C27.732 1 34 7.37992 34 15.25C34 20.9955 32.0334 22.6 21.4388 38.2333C20.7435 39.2556 19.2564 39.2555 18.5612 38.2333ZM20 21.1875C23.2217 21.1875 25.8333 18.5292 25.8333 15.25C25.8333 11.9708 23.2217 9.3125 20 9.3125C16.7783 9.3125 14.1667 11.9708 14.1667 15.25C14.1667 18.5292 16.7783 21.1875 20 21.1875Z", fill: fill }, void 0) }), void 0));
|
|
1019
1019
|
};
|
|
1020
1020
|
|
|
1021
|
+
var MenuLines = function (_a) {
|
|
1022
|
+
var width = _a.width, height = _a.height; _a.fill;
|
|
1023
|
+
return (jsx$1(IconWrapper$2, __assign$1({ width: width, height: height, viewBoxX: 1024, viewBoxY: 1024, title: "MenuLines" }, { children: jsx$1("path", { d: "M27 193.6c-8.2-8.2-12.2-18.6-12.2-31.2s4-23 12.2-31.2S45.6 119 58.2 119h912.4c12.6 0 23 4 31.2 12.2s12.2 18.6 12.2 31.2c0 12.6-4 23-12.2 31.2s-18.6 12.2-31.2 12.2H58.2c-12.6 0-23-4-31.2-12.2zm974.8 285.2c8.2 8.2 12.2 18.6 12.2 31.2s-4 23-12.2 31.2-18.6 12.2-31.2 12.2H58.2c-12.6 0-23-4-31.2-12.2S14.8 522.6 14.8 510c0-12.6 4-23 12.2-31.2s18.6-12.2 31.2-12.2h912.4c12.6 0 23 4 31.2 12.2zm0 347.4c8.2 8.2 12.2 18.6 12.2 31.2s-4 23-12.2 31.2-18.6 12.2-31.2 12.2H58.2c-12.6 0-23-4-31.2-12.2S14.8 870 14.8 857.4c0-12.6 4-23 12.2-31.2S45.6 814 58.2 814h912.4c12.6 0 23 4.2 31.2 12.2z" }, void 0) }), void 0));
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1021
1026
|
var UserV2 = function (_a) {
|
|
1022
1027
|
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
1023
1028
|
return (jsx$1(IconWrapper$2, __assign$1({ width: width, height: height, viewBoxX: 40, viewBoxY: 40, title: "User" }, { children: jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20.1251 21.4006H20.0442H19.8661C17.4374 21.3621 15.4702 20.5464 14.013 18.9919C10.8719 15.629 11.3577 9.9113 11.4224 9.2418C11.6329 5.02471 13.754 3.0162 15.5026 2.07736C17.235 1.13852 19.0322 1 19.9551 1H20.0928C21.7523 1.03078 23.25 1.40016 24.5453 2.10814C26.2616 3.04698 28.3583 5.0401 28.5688 9.2418C28.6416 9.90361 29.1193 15.6213 25.9782 18.9919C24.521 20.5464 22.5538 21.3621 20.1251 21.4006ZM13.9887 9.44188V9.47266C13.9885 9.47513 13.9882 9.47848 13.9878 9.48268C13.9598 9.79248 13.5114 14.7562 15.9236 17.3528C16.9031 18.407 18.2146 18.9226 19.9389 18.938H20.0199C21.7442 18.9226 23.0557 18.3994 24.0353 17.3528C24.7477 16.5909 25.6625 15.1288 25.9539 12.4585C26.1239 10.9117 26.0106 9.64196 25.9944 9.48036C25.9863 9.44188 25.9863 9.4034 25.9863 9.38032C25.8811 7.15634 25.1201 5.52491 23.7196 4.5399C22.5133 3.6857 21.048 3.48562 20.0361 3.46254H19.947C19.008 3.46254 17.6317 3.63183 16.4255 4.41677C14.9278 5.39409 14.1102 7.06399 13.9968 9.38801C13.9968 9.40072 13.9944 9.4111 13.9922 9.42043C13.9904 9.42804 13.9887 9.43496 13.9887 9.44188ZM36.9962 31.1353V31.1584C37.0043 31.42 37.0367 33.6055 36.5834 34.7136C36.4943 34.9445 36.3162 35.1523 36.0814 35.2908C35.4419 35.6756 29.5888 39 20.0118 39C9.96524 39 3.99073 35.3293 3.93406 35.2908C3.70739 35.1523 3.52929 34.9522 3.43214 34.7136C2.97069 33.5978 2.99498 31.3969 3.00308 31.1507V31.1199V31.1045C3.01117 31.0506 3.01117 30.9968 3.01117 30.9352V30.9198L3.01208 30.8949C3.06914 29.3267 3.2007 25.7114 6.85655 24.5326C6.88893 24.5172 6.91322 24.5095 6.9537 24.5018C10.5967 23.6322 13.6406 21.6468 13.673 21.6237C14.264 21.2313 15.0816 21.3698 15.4945 21.9239C15.6969 22.1932 15.7697 22.5164 15.7131 22.8396C15.6483 23.1628 15.4621 23.4475 15.1707 23.6399L15.1302 23.663C14.2964 24.194 11.2848 25.987 7.64991 26.872C5.87699 27.4723 5.6746 29.2422 5.61793 31.0045C5.61793 31.019 5.61613 31.0352 5.61422 31.0524C5.61209 31.0716 5.60984 31.0919 5.60984 31.1122V31.1891C5.60174 31.8433 5.65032 32.8437 5.76365 33.4439C7.26133 34.2288 12.3372 36.5375 20.0037 36.5375C27.7026 36.5375 32.7461 34.2288 34.2357 33.4516C34.349 32.8667 34.3976 31.9048 34.3895 31.2122C34.3814 31.143 34.3814 31.0737 34.3814 31.0045C34.3247 29.2499 34.1223 27.4799 32.3494 26.8797C28.2288 25.887 24.9663 23.74 24.8286 23.6476C24.5372 23.4552 24.3429 23.1705 24.2862 22.8473C24.2296 22.5241 24.3024 22.2009 24.5048 21.9316C24.9258 21.3775 25.7353 21.239 26.3263 21.6314C26.3587 21.6545 29.4107 23.6399 33.0456 24.5095L33.0618 24.5172C33.0659 24.5172 33.0719 24.5191 33.078 24.5211C33.0841 24.523 33.0901 24.5249 33.0942 24.5249C33.1023 24.5288 33.1104 24.5307 33.1185 24.5326C33.1266 24.5345 33.1347 24.5364 33.1428 24.5403C36.8181 25.7254 36.9396 29.373 36.9881 30.9352V30.9429V31.0352C36.9962 31.066 36.9962 31.1045 36.9962 31.1353Z", fill: fill }, void 0) }), void 0));
|
|
@@ -1062,6 +1067,7 @@ var Navigation = /*#__PURE__*/Object.freeze({
|
|
|
1062
1067
|
LockSolid: LockSolid,
|
|
1063
1068
|
Loading: Loading,
|
|
1064
1069
|
MapSolid: MapSolid,
|
|
1070
|
+
MenuLines: MenuLines,
|
|
1065
1071
|
UserV2: UserV2,
|
|
1066
1072
|
ShoppingCartV2: ShoppingCartV2,
|
|
1067
1073
|
ShoppingBagV3: ShoppingBagV3,
|
|
@@ -13267,10 +13273,10 @@ var templateObject_1$X, templateObject_2$G, templateObject_3$B, templateObject_4
|
|
|
13267
13273
|
var Container$F = newStyled.div(templateObject_1$W || (templateObject_1$W = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"])));
|
|
13268
13274
|
var Text$4 = newStyled.p(templateObject_2$F || (templateObject_2$F = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"])), function (props) { return props.color; });
|
|
13269
13275
|
var ScrollToTop = function (_a) {
|
|
13270
|
-
var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick, fill = _a.fill;
|
|
13276
|
+
var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick, fill = _a.fill, _b = _a.Icon, Icon$1 = _b === void 0 ? Icon.Arrows.CircleChevronUp : _b;
|
|
13271
13277
|
var theme = useTheme();
|
|
13272
13278
|
var fillValue = fill || theme.colors.pallete.primary.color;
|
|
13273
|
-
return (jsxs$1(Container$F, __assign$1({ onClick: onClick, "data-testid": "scrollTopContainer" }, { children: [jsx$1(Text$4, __assign$1({ color: theme.colors.shades['700'].color }, { children: scrollToTopText }), void 0), jsx$1(Icon
|
|
13279
|
+
return (jsxs$1(Container$F, __assign$1({ onClick: onClick, "data-testid": "scrollTopContainer" }, { children: [jsx$1(Text$4, __assign$1({ color: theme.colors.shades['700'].color }, { children: scrollToTopText }), void 0), jsx$1(Icon$1, { width: 1.375, height: 1.375, fill: fillValue }, void 0)] }), void 0));
|
|
13274
13280
|
};
|
|
13275
13281
|
var templateObject_1$W, templateObject_2$F;
|
|
13276
13282
|
|