@trafilea/afrodita-components 4.0.2-beta.0 → 4.0.2-beta.4

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.js CHANGED
@@ -350,11 +350,23 @@ var Comment = function (_a) {
350
350
  return (jsxRuntime.jsx(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "Comment" }, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
351
351
  };
352
352
 
353
+ var Message = function (_a) {
354
+ var height = _a.height, width = _a.width, fill = _a.fill;
355
+ return (jsxRuntime.jsx(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 20, title: "message icon" }, { children: jsxRuntime.jsx("path", { d: "M0 10C0 4.46565 4.92593 0 11 0C17.037 0 22 4.46565 22 10C22 15.5344 17.0741 20 11 20C9 20 7.03704 19.5038 5.33333 18.5496C4.40741 19.0458 3.40741 19.2748 2.2963 19.2748C1.96296 19.2748 1.59259 19.2366 1.25926 19.1985C0.925926 19.1603 0.62963 18.8931 0.555556 18.5496C0.481481 18.2061 0.62963 17.8244 0.925926 17.6336C1.48148 17.2519 1.92593 16.7176 2.22222 16.0305C0.777778 14.313 0 12.1756 0 10ZM5.55556 17.4046C7.18518 18.3588 9.03704 18.855 10.963 18.855C16.4444 18.855 20.8519 14.8855 20.8519 10C20.8519 5.1145 16.4074 1.14504 10.963 1.14504C5.51852 1.14504 1.11111 5.1145 1.11111 10C1.11111 12.0229 1.85185 13.9695 3.22222 15.5344C3.37037 15.687 3.40741 15.916 3.33333 16.1069C3.03704 16.9084 2.62963 17.5954 2.03704 18.1298C3.14815 18.1679 4.14815 17.9389 5 17.4046C5.02318 17.3966 5.04475 17.3887 5.06538 17.381L5.0654 17.381C5.14364 17.3521 5.20837 17.3282 5.2963 17.3282C5.37037 17.3282 5.48148 17.3664 5.55556 17.4046ZM12.1579 10.2941C12.1579 10.7814 11.7691 11.1765 11.2895 11.1765C10.8099 11.1765 10.4211 10.7814 10.4211 10.2941C10.4211 9.80681 10.8099 9.41177 11.2895 9.41177C11.7691 9.41177 12.1579 9.80681 12.1579 10.2941ZM7.23683 11.1765C7.71644 11.1765 8.10525 10.7814 8.10525 10.2941C8.10525 9.8068 7.71644 9.41176 7.23683 9.41176C6.75721 9.41176 6.36841 9.8068 6.36841 10.2941C6.36841 10.7814 6.75721 11.1765 7.23683 11.1765ZM16.2105 10.2941C16.2105 10.7814 15.8217 11.1765 15.3421 11.1765C14.8625 11.1765 14.4737 10.7814 14.4737 10.2941C14.4737 9.80681 14.8625 9.41177 15.3421 9.41177C15.8217 9.41177 16.2105 9.80681 16.2105 10.2941Z", fill: fill }, void 0) }), void 0));
356
+ };
357
+
358
+ var Mail = function (_a) {
359
+ var height = _a.height, width = _a.width;
360
+ return (jsxRuntime.jsxs(IconWrapper, __assign({ width: width, height: height, viewBoxX: 24, viewBoxY: 24, title: "message icon" }, { children: [jsxRuntime.jsx("path", { d: "M21.4-14.3c0,0.1,0,0.2,0,0.3c0.1,0,0.1,0,0.2,0s0.1,0,0.2,0s0.1,0,0.2,0c0,0.1,0,0.1,0,0.2c0,0.1,0,0.2,0,0.2\n\tc0,0.1,0,0.2,0,0.2h0.1c0,0.1,0,0.2,0,0.3l0,0l0,0c0-0.1,0-0.2,0-0.3c0.1,0,0.1,0,0.2,0c0,0,0,0,0,0.1s0,0.2,0,0.2\n\tc0,0.1,0,0.3,0,0.4l0,0l0,0c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1\n\tv0.1v0.1v0.1v0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0.2,0,0.3,0,0.5c0,0.1,0,0.2,0,0.3v0.1V-9v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1v0.1V-8\n\tv0.1v0.1v0.1v0.1c0,0,0,0,0,0.1c0,0,0,0,0,0.1c0,0.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0.1h0.1v-0.1c-0.1,0-0.2,0-0.3,0s-0.1,0-0.2,0\n\tc0-0.1,0-0.2,0-0.3l0,0c-0.1,0-0.2,0-0.3,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0v-0.1v-0.1v-0.1c-0.1,0-0.2,0-0.2,0\n\tc-0.1,0-0.2,0-0.2,0c-0.1,0-0.1,0-0.2,0c0-0.1,0-0.2,0-0.3c-0.1,0-0.2,0-0.3,0C8.2-9.4,8.2-7.6,8.2-5.8z M10.5-9.9v0.1h0.1\n\tC10.5-9.8,10.5-9.8,10.5-9.9L10.5-9.9z" }, void 0), jsxRuntime.jsxs("g", { children: [jsxRuntime.jsx("path", { d: "M4.8,9.4H2.3C2,9.4,1.8,9.2,1.8,8.8c0-0.3,0.2-0.6,0.5-0.6h2.5c0.3,0,0.5,0.3,0.5,0.6C5.3,9.2,5,9.4,4.8,9.4z" }, void 0), jsxRuntime.jsx("path", { d: "M4.8,12H3.7c-0.3,0-0.5-0.2-0.5-0.5S3.4,11,3.7,11h1.1c0.3,0,0.5,0.2,0.5,0.5S5.1,12,4.8,12z" }, void 0), jsxRuntime.jsx("path", { d: "M4.8,14.6H1.6c-0.3,0-0.5-0.3-0.5-0.6c0-0.3,0.2-0.6,0.5-0.6h3.2c0.3,0,0.5,0.3,0.5,0.6C5.3,14.3,5.1,14.6,4.8,14.6z" }, void 0), jsxRuntime.jsx("path", { d: "M21.3,6.1H8.1c-0.9,0-1.7,0.7-1.7,1.7v8.5c0,0.9,0.7,1.7,1.7,1.7h13.3c0.9,0,1.7-0.7,1.7-1.7V7.8C23,6.9,22.3,6.1,21.3,6.1\n\t\tz M18.4,11.7c1.3-1,2.7-2.1,3.6-2.7v6.4L18.4,11.7z M8.1,7.2h13.3c0.3,0,0.5,0.2,0.6,0.5c-1,0.8-5.4,4.2-7,5.4\n\t\tc-0.2,0.1-0.3,0.1-0.5,0c-1.6-1.2-5.7-4.1-7-5V7.8C7.5,7.4,7.8,7.2,8.1,7.2z M7.5,15.3v-6c0.9,0.6,2.3,1.6,3.6,2.6L7.5,15.3z\n\t\t M8.1,16.8c-0.2,0-0.3-0.1-0.4-0.2l4.3-4.1c0.7,0.5,1.4,1,1.9,1.3c0.3,0.2,0.6,0.3,0.9,0.3s0.6-0.1,0.9-0.3c0.5-0.3,1.2-0.9,2-1.5\n\t\tl4.2,4.3c-0.1,0.1-0.2,0.2-0.4,0.2H8.1z" }, void 0)] }, void 0)] }), void 0));
361
+ };
362
+
353
363
  var Messaging = /*#__PURE__*/Object.freeze({
354
364
  __proto__: null,
355
365
  QuestionCircle: QuestionCircle,
356
366
  Messenger: Messenger,
357
- Comment: Comment
367
+ Comment: Comment,
368
+ Message: Message,
369
+ Mail: Mail
358
370
  });
359
371
 
360
372
  var AppleStore = function (_a) {
@@ -3295,6 +3307,7 @@ var CardBody = function (_a) {
3295
3307
  };
3296
3308
  var templateObject_1$_;
3297
3309
 
3310
+ var IGNORED_KEYS = ['typography', 'fonts'];
3298
3311
  var applyVariablesIntoTheme = function (theme) {
3299
3312
  var variables = {};
3300
3313
  var pending = {};
@@ -3307,6 +3320,11 @@ var applyVariablesIntoTheme = function (theme) {
3307
3320
  }
3308
3321
  variables[key] = variables[valueKey];
3309
3322
  }
3323
+ for (var _i = 0, IGNORED_KEYS_1 = IGNORED_KEYS; _i < IGNORED_KEYS_1.length; _i++) {
3324
+ var key = IGNORED_KEYS_1[_i];
3325
+ // @ts-ignore
3326
+ variables[key] = theme[key];
3327
+ }
3310
3328
  return variablesToObject(variables, {});
3311
3329
  };
3312
3330
  var variablesToObject = function (variables, theme) {
@@ -3334,6 +3352,9 @@ var transformToVariables = function (prefix, variables, theme, pending) {
3334
3352
  /* istanbul ignore next */
3335
3353
  var fullKey = key === '$root' ? prefix : "".concat(prefix, "-").concat(key);
3336
3354
  var value = theme[key];
3355
+ if (IGNORED_KEYS.includes(key)) {
3356
+ continue;
3357
+ }
3337
3358
  if (value == null) {
3338
3359
  continue;
3339
3360
  }
@@ -6321,13 +6342,13 @@ var TAGS = {
6321
6342
  tag: newStyled.span(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: inline-block;\n text-transform: ", ";\n "], ["\n display: inline-block;\n text-transform: ", ";\n "])), function (props) { return (props.allCaps ? 'uppercase' : ''); }),
6322
6343
  };
6323
6344
  var Text$3 = function (_a) {
6324
- var variant = _a.variant, children = _a.children, size = _a.size, weight = _a.weight, allProps = __rest(_a, ["variant", "children", "size", "weight"]);
6345
+ var variant = _a.variant, children = _a.children, allProps = __rest(_a, ["variant", "children"]);
6325
6346
  var theme = useTheme();
6326
6347
  var Tag = React.useMemo(function () { return TAGS[variant] || 'p'; }, [variant]);
6327
- var props = React.useMemo(function () {
6348
+ var _b = React.useMemo(function () {
6328
6349
  var _a;
6329
6350
  return (__assign(__assign({}, ((_a = DEFAULTS === null || DEFAULTS === void 0 ? void 0 : DEFAULTS[variant]) !== null && _a !== void 0 ? _a : {})), allProps));
6330
- }, [variant, allProps]);
6351
+ }, [variant, allProps]), size = _b.size, weight = _b.weight, props = __rest(_b, ["size", "weight"]);
6331
6352
  var commonCSS = React.useMemo(function () {
6332
6353
  var _a, _b;
6333
6354
  // These are the common style inside a `variant`.
@@ -6400,6 +6421,10 @@ var DEFAULTS = {
6400
6421
  size: 'regular',
6401
6422
  weight: 'bold',
6402
6423
  },
6424
+ tag: {
6425
+ size: 'regular',
6426
+ weight: 'regular',
6427
+ },
6403
6428
  };
6404
6429
  var templateObject_1$W, templateObject_2$B, templateObject_3$n, templateObject_4$e, templateObject_5$7, templateObject_6$5, templateObject_7$3, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
6405
6430