@trafilea/afrodita-components 5.0.0-beta.28 → 5.0.0-beta.29
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 +2 -2
- package/build/index.esm.js +4 -4
- package/build/index.js +4 -4
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -305,11 +305,11 @@ declare namespace SocialMedia {
|
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
308
|
+
declare const Search: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
309
309
|
|
|
310
310
|
declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
311
311
|
|
|
312
|
-
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
312
|
+
declare const ShoppingBag: ({ height, width, fill, testId }: IconProps) => JSX.Element;
|
|
313
313
|
|
|
314
314
|
declare const ShoppingCart: FC<IconProps>;
|
|
315
315
|
|
package/build/index.esm.js
CHANGED
|
@@ -308,8 +308,8 @@ var SocialMedia = /*#__PURE__*/Object.freeze({
|
|
|
308
308
|
});
|
|
309
309
|
|
|
310
310
|
var Search = function (_a) {
|
|
311
|
-
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
312
|
-
return (jsx$1(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 36, viewBoxY: 36, title: "Search" }, { children: jsx$1("path", { d: "M35.7522 32.9679L27.2166 24.4324C27.0549 24.2707 26.844 24.1863 26.619 24.1863H25.6909C27.9057 21.62 29.2486 18.2804 29.2486 14.6243C29.2486 6.54577 22.7028 0 14.6243 0C6.54577 0 0 6.54577 0 14.6243C0 22.7028 6.54577 29.2486 14.6243 29.2486C18.2804 29.2486 21.62 27.9057 24.1863 25.6909V26.619C24.1863 26.844 24.2777 27.0549 24.4324 27.2166L32.9679 35.7522C33.2984 36.0826 33.8327 36.0826 34.1632 35.7522L35.7522 34.1632C36.0826 33.8327 36.0826 33.2984 35.7522 32.9679ZM14.6243 25.8737C8.40896 25.8737 3.37484 20.8396 3.37484 14.6243C3.37484 8.40896 8.40896 3.37484 14.6243 3.37484C20.8396 3.37484 25.8737 8.40896 25.8737 14.6243C25.8737 20.8396 20.8396 25.8737 14.6243 25.8737Z", fill: fill }, void 0) }), void 0));
|
|
311
|
+
var height = _a.height, width = _a.width, fill = _a.fill, _b = _a.testId, testId = _b === void 0 ? 'search-icon' : _b;
|
|
312
|
+
return (jsx$1(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 36, viewBoxY: 36, title: "Search", testId: testId }, { children: jsx$1("path", { d: "M35.7522 32.9679L27.2166 24.4324C27.0549 24.2707 26.844 24.1863 26.619 24.1863H25.6909C27.9057 21.62 29.2486 18.2804 29.2486 14.6243C29.2486 6.54577 22.7028 0 14.6243 0C6.54577 0 0 6.54577 0 14.6243C0 22.7028 6.54577 29.2486 14.6243 29.2486C18.2804 29.2486 21.62 27.9057 24.1863 25.6909V26.619C24.1863 26.844 24.2777 27.0549 24.4324 27.2166L32.9679 35.7522C33.2984 36.0826 33.8327 36.0826 34.1632 35.7522L35.7522 34.1632C36.0826 33.8327 36.0826 33.2984 35.7522 32.9679ZM14.6243 25.8737C8.40896 25.8737 3.37484 20.8396 3.37484 14.6243C3.37484 8.40896 8.40896 3.37484 14.6243 3.37484C20.8396 3.37484 25.8737 8.40896 25.8737 14.6243C25.8737 20.8396 20.8396 25.8737 14.6243 25.8737Z", fill: fill }, void 0) }), void 0));
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
var User = function (_a) {
|
|
@@ -318,8 +318,8 @@ var User = function (_a) {
|
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
var ShoppingBag = function (_a) {
|
|
321
|
-
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
322
|
-
return (jsx$1(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 32, viewBoxY: 38, title: "Shopping bag" }, { children: jsx$1("path", { d: "M25.1429 9.5C25.1429 4.26164 21.0414 0 16 0C10.9586 0 6.85714 4.26164 6.85714 9.5H0V32.0625C0 35.3417 2.55836 38 5.71429 38H26.2857C29.4416 38 32 35.3417 32 32.0625V9.5H25.1429ZM16 3.5625C19.1509 3.5625 21.7143 6.22606 21.7143 9.5H10.2857C10.2857 6.22606 12.8491 3.5625 16 3.5625ZM28.5714 32.0625C28.5714 33.3721 27.5461 34.4375 26.2857 34.4375H5.71429C4.45393 34.4375 3.42857 33.3721 3.42857 32.0625V13.0625H6.85714V16.0312C6.85714 17.015 7.62464 17.8125 8.57143 17.8125C9.51822 17.8125 10.2857 17.015 10.2857 16.0312V13.0625H21.7143V16.0312C21.7143 17.015 22.4818 17.8125 23.4286 17.8125C24.3754 17.8125 25.1429 17.015 25.1429 16.0312V13.0625H28.5714V32.0625Z", fill: fill }, void 0) }), void 0));
|
|
321
|
+
var height = _a.height, width = _a.width, fill = _a.fill, _b = _a.testId, testId = _b === void 0 ? 'shopping-bag-icon' : _b;
|
|
322
|
+
return (jsx$1(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 32, viewBoxY: 38, title: "Shopping bag", testId: testId }, { children: jsx$1("path", { d: "M25.1429 9.5C25.1429 4.26164 21.0414 0 16 0C10.9586 0 6.85714 4.26164 6.85714 9.5H0V32.0625C0 35.3417 2.55836 38 5.71429 38H26.2857C29.4416 38 32 35.3417 32 32.0625V9.5H25.1429ZM16 3.5625C19.1509 3.5625 21.7143 6.22606 21.7143 9.5H10.2857C10.2857 6.22606 12.8491 3.5625 16 3.5625ZM28.5714 32.0625C28.5714 33.3721 27.5461 34.4375 26.2857 34.4375H5.71429C4.45393 34.4375 3.42857 33.3721 3.42857 32.0625V13.0625H6.85714V16.0312C6.85714 17.015 7.62464 17.8125 8.57143 17.8125C9.51822 17.8125 10.2857 17.015 10.2857 16.0312V13.0625H21.7143V16.0312C21.7143 17.015 22.4818 17.8125 23.4286 17.8125C24.3754 17.8125 25.1429 17.015 25.1429 16.0312V13.0625H28.5714V32.0625Z", fill: fill }, void 0) }), void 0));
|
|
323
323
|
};
|
|
324
324
|
|
|
325
325
|
var ShoppingCart = function (_a) {
|
package/build/index.js
CHANGED
|
@@ -334,8 +334,8 @@ var SocialMedia = /*#__PURE__*/Object.freeze({
|
|
|
334
334
|
});
|
|
335
335
|
|
|
336
336
|
var Search = function (_a) {
|
|
337
|
-
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
338
|
-
return (jsxRuntime.jsx(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 36, viewBoxY: 36, title: "Search" }, { children: jsxRuntime.jsx("path", { d: "M35.7522 32.9679L27.2166 24.4324C27.0549 24.2707 26.844 24.1863 26.619 24.1863H25.6909C27.9057 21.62 29.2486 18.2804 29.2486 14.6243C29.2486 6.54577 22.7028 0 14.6243 0C6.54577 0 0 6.54577 0 14.6243C0 22.7028 6.54577 29.2486 14.6243 29.2486C18.2804 29.2486 21.62 27.9057 24.1863 25.6909V26.619C24.1863 26.844 24.2777 27.0549 24.4324 27.2166L32.9679 35.7522C33.2984 36.0826 33.8327 36.0826 34.1632 35.7522L35.7522 34.1632C36.0826 33.8327 36.0826 33.2984 35.7522 32.9679ZM14.6243 25.8737C8.40896 25.8737 3.37484 20.8396 3.37484 14.6243C3.37484 8.40896 8.40896 3.37484 14.6243 3.37484C20.8396 3.37484 25.8737 8.40896 25.8737 14.6243C25.8737 20.8396 20.8396 25.8737 14.6243 25.8737Z", fill: fill }, void 0) }), void 0));
|
|
337
|
+
var height = _a.height, width = _a.width, fill = _a.fill, _b = _a.testId, testId = _b === void 0 ? 'search-icon' : _b;
|
|
338
|
+
return (jsxRuntime.jsx(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 36, viewBoxY: 36, title: "Search", testId: testId }, { children: jsxRuntime.jsx("path", { d: "M35.7522 32.9679L27.2166 24.4324C27.0549 24.2707 26.844 24.1863 26.619 24.1863H25.6909C27.9057 21.62 29.2486 18.2804 29.2486 14.6243C29.2486 6.54577 22.7028 0 14.6243 0C6.54577 0 0 6.54577 0 14.6243C0 22.7028 6.54577 29.2486 14.6243 29.2486C18.2804 29.2486 21.62 27.9057 24.1863 25.6909V26.619C24.1863 26.844 24.2777 27.0549 24.4324 27.2166L32.9679 35.7522C33.2984 36.0826 33.8327 36.0826 34.1632 35.7522L35.7522 34.1632C36.0826 33.8327 36.0826 33.2984 35.7522 32.9679ZM14.6243 25.8737C8.40896 25.8737 3.37484 20.8396 3.37484 14.6243C3.37484 8.40896 8.40896 3.37484 14.6243 3.37484C20.8396 3.37484 25.8737 8.40896 25.8737 14.6243C25.8737 20.8396 20.8396 25.8737 14.6243 25.8737Z", fill: fill }, void 0) }), void 0));
|
|
339
339
|
};
|
|
340
340
|
|
|
341
341
|
var User = function (_a) {
|
|
@@ -344,8 +344,8 @@ var User = function (_a) {
|
|
|
344
344
|
};
|
|
345
345
|
|
|
346
346
|
var ShoppingBag = function (_a) {
|
|
347
|
-
var height = _a.height, width = _a.width, fill = _a.fill;
|
|
348
|
-
return (jsxRuntime.jsx(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 32, viewBoxY: 38, title: "Shopping bag" }, { children: jsxRuntime.jsx("path", { d: "M25.1429 9.5C25.1429 4.26164 21.0414 0 16 0C10.9586 0 6.85714 4.26164 6.85714 9.5H0V32.0625C0 35.3417 2.55836 38 5.71429 38H26.2857C29.4416 38 32 35.3417 32 32.0625V9.5H25.1429ZM16 3.5625C19.1509 3.5625 21.7143 6.22606 21.7143 9.5H10.2857C10.2857 6.22606 12.8491 3.5625 16 3.5625ZM28.5714 32.0625C28.5714 33.3721 27.5461 34.4375 26.2857 34.4375H5.71429C4.45393 34.4375 3.42857 33.3721 3.42857 32.0625V13.0625H6.85714V16.0312C6.85714 17.015 7.62464 17.8125 8.57143 17.8125C9.51822 17.8125 10.2857 17.015 10.2857 16.0312V13.0625H21.7143V16.0312C21.7143 17.015 22.4818 17.8125 23.4286 17.8125C24.3754 17.8125 25.1429 17.015 25.1429 16.0312V13.0625H28.5714V32.0625Z", fill: fill }, void 0) }), void 0));
|
|
347
|
+
var height = _a.height, width = _a.width, fill = _a.fill, _b = _a.testId, testId = _b === void 0 ? 'shopping-bag-icon' : _b;
|
|
348
|
+
return (jsxRuntime.jsx(IconWrapper, __assign$1({ width: width, height: height, viewBoxX: 32, viewBoxY: 38, title: "Shopping bag", testId: testId }, { children: jsxRuntime.jsx("path", { d: "M25.1429 9.5C25.1429 4.26164 21.0414 0 16 0C10.9586 0 6.85714 4.26164 6.85714 9.5H0V32.0625C0 35.3417 2.55836 38 5.71429 38H26.2857C29.4416 38 32 35.3417 32 32.0625V9.5H25.1429ZM16 3.5625C19.1509 3.5625 21.7143 6.22606 21.7143 9.5H10.2857C10.2857 6.22606 12.8491 3.5625 16 3.5625ZM28.5714 32.0625C28.5714 33.3721 27.5461 34.4375 26.2857 34.4375H5.71429C4.45393 34.4375 3.42857 33.3721 3.42857 32.0625V13.0625H6.85714V16.0312C6.85714 17.015 7.62464 17.8125 8.57143 17.8125C9.51822 17.8125 10.2857 17.015 10.2857 16.0312V13.0625H21.7143V16.0312C21.7143 17.015 22.4818 17.8125 23.4286 17.8125C24.3754 17.8125 25.1429 17.015 25.1429 16.0312V13.0625H28.5714V32.0625Z", fill: fill }, void 0) }), void 0));
|
|
349
349
|
};
|
|
350
350
|
|
|
351
351
|
var ShoppingCart = function (_a) {
|
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.29",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|