@typeolymp/ui-components 1.19.36 → 1.19.38

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.
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
2
  export declare type PropsType = {
3
- type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt" | "link" | "heart" | "thunder" | "fire" | "control" | "fileAdd" | "fileCheck" | "fileError" | "fileArrow" | "download" | "upload" | "dotsVertical" | "dotsHorizontal" | "bell" | "bin" | "user" | "search" | "infoCircle" | "swap" | "login" | "logout" | "edit";
3
+ type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "unlock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt" | "link" | "heart" | "thunder" | "fire" | "control" | "fileAdd" | "fileCheck" | "fileError" | "fileArrow" | "download" | "upload" | "dotsVertical" | "dotsHorizontal" | "bell" | "bin" | "user" | "search" | "infoCircle" | "swap" | "login" | "logout" | "edit";
4
4
  size?: "tiny" | "small" | "medium" | "large";
5
5
  color?: "blue" | "green" | "orange" | "red" | "purple" | "gray" | "darkGray" | "lightGray" | "white";
6
6
  onClick?(e?: MouseEvent): void;
package/build/index.es.js CHANGED
@@ -3536,6 +3536,7 @@ var icons = {
3536
3536
  questionCircle: (jsxs(Fragment$1, { children: [jsx$1("path", { d: "M11.39 15.17C11.2029 15.1699 11.0177 15.1317 10.8458 15.0578C10.6739 14.9838 10.5188 14.8757 10.39 14.74C10.125 14.4514 9.98172 14.0717 9.98997 13.68V12.45C9.99026 12.0796 10.1294 11.7228 10.38 11.45C10.5071 11.3106 10.6614 11.1988 10.8334 11.1214C11.0053 11.044 11.1914 11.0027 11.38 11C11.7205 11.0109 12.0599 10.9566 12.38 10.84C12.6103 10.7442 12.8057 10.5802 12.94 10.37C13.1075 10.0898 13.1876 9.76597 13.17 9.43999C13.1763 9.18997 13.1103 8.94346 12.98 8.73C12.8598 8.52167 12.683 8.35175 12.47 8.24001C12.2589 8.13361 12.0276 8.07323 11.7914 8.06288C11.5552 8.05254 11.3196 8.09244 11.1 8.17998C10.9026 8.27155 10.7204 8.39299 10.56 8.53999C10.3291 8.73861 10.0604 8.8883 9.77 8.98C9.57179 9.03551 9.36291 9.0408 9.16215 8.99541C8.96138 8.95002 8.77502 8.85537 8.61997 8.71999C8.45139 8.59592 8.31149 8.43706 8.20969 8.25417C8.1079 8.07128 8.04662 7.86864 8.03001 7.65999C8.01421 7.4531 8.04457 7.24529 8.11893 7.05159C8.1933 6.85789 8.30981 6.68315 8.46 6.53999C8.87012 6.10675 9.36786 5.76585 9.92002 5.53999C10.555 5.25276 11.2496 5.12192 11.9455 5.15846C12.6415 5.195 13.3186 5.39784 13.92 5.74998C14.5569 6.11844 15.0874 6.64555 15.46 7.27998C15.8516 7.94619 16.0523 8.70733 16.04 9.48C16.0464 10.0309 15.9584 10.5788 15.78 11.1C15.4408 12.0122 14.754 12.7529 13.87 13.16C13.5494 13.3103 13.2143 13.4275 12.87 13.51V13.76C12.8784 14.1469 12.7389 14.5224 12.48 14.81C12.3341 14.9436 12.1615 15.0448 11.9736 15.1069C11.7857 15.1689 11.5868 15.1904 11.39 15.17Z" }), jsx$1("path", { d: "M11.32 18.93H11.52C11.7121 18.9474 11.9056 18.9243 12.0881 18.8623C12.2707 18.8003 12.4383 18.7007 12.58 18.57C12.8417 18.2727 12.9779 17.8856 12.96 17.49V17.22C12.9729 17.029 12.9467 16.8375 12.8831 16.6569C12.8195 16.4764 12.7197 16.3107 12.59 16.17C12.4631 16.0319 12.3084 15.9221 12.1361 15.848C11.9637 15.7739 11.7776 15.7371 11.59 15.74H11.39C11.1938 15.7317 10.9979 15.7649 10.8153 15.8372C10.6327 15.9096 10.4674 16.0195 10.33 16.16C10.2005 16.3029 10.101 16.4704 10.0375 16.6525C9.97393 16.8345 9.94758 17.0275 9.96004 17.22V17.49C9.93979 17.8764 10.0686 18.2559 10.32 18.55C10.5927 18.7995 10.9504 18.9354 11.32 18.93Z" }), jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 23C14.1756 23 16.3023 22.3549 18.1113 21.1462C19.9202 19.9375 21.3302 18.2195 22.1627 16.2095C22.9953 14.1995 23.2131 11.9878 22.7886 9.85401C22.3642 7.72022 21.3166 5.76021 19.7782 4.22184C18.2398 2.68346 16.2798 1.6358 14.146 1.21137C12.0122 0.78693 9.80051 1.00476 7.79053 1.83733C5.78054 2.66989 4.06258 4.07979 2.85388 5.88874C1.64519 7.69768 1 9.82441 1 12C1 14.9174 2.15896 17.7153 4.22186 19.7782C6.28476 21.8411 9.08262 23 12 23ZM12 20.5C13.6811 20.5 15.3245 20.0015 16.7224 19.0675C18.1202 18.1335 19.2096 16.806 19.853 15.2528C20.4963 13.6996 20.6646 11.9906 20.3367 10.3417C20.0087 8.6929 19.1992 7.17834 18.0104 5.9896C16.8217 4.80085 15.3071 3.99131 13.6583 3.66333C12.0094 3.33536 10.3004 3.50369 8.74719 4.14704C7.19402 4.79038 5.86655 5.87983 4.93256 7.27765C3.99856 8.67547 3.5 10.3189 3.5 12C3.49868 13.1166 3.71765 14.2225 4.14435 15.2544C4.57105 16.2862 5.19713 17.2238 5.98669 18.0133C6.77625 18.8029 7.71381 19.429 8.74567 19.8557C9.77753 20.2824 10.8834 20.5013 12 20.5Z" })] })),
3537
3537
  play: (jsx$1("path", { d: "M21.1417 10.285C22.4364 11.0618 22.4364 12.9382 21.1417 13.715L7.02899 22.1826C5.69594 22.9824 4 22.0222 4 20.4676L4 3.53238C4 1.97779 5.69594 1.01756 7.02899 1.81739L21.1417 10.285Z" })),
3538
3538
  lock: (jsx$1("path", { d: "M5.57143 9.37072C4.15029 9.37498 3 10.5122 3 11.934V20.4367C3 21.8525 4.15371 23 5.57914 23H18.4209C19.8454 23 21 21.861 21 20.4367V11.934C21 10.5208 19.8506 9.37413 18.4286 9.37072V6.38827C18.4286 2.85977 15.5434 0 12 0C8.44971 0 5.57143 2.85977 5.57143 6.38827V9.37072ZM8.14286 9.37072V6.38998C8.14286 4.26708 9.87 2.55565 12 2.55565C14.1257 2.55565 15.8571 4.2722 15.8571 6.38998V9.37072H8.14286Z" })),
3539
+ unlock: (jsx$1("path", { d: "M18.4 9.9H8.1v-3c0-2.1 1.7-3.8 3.9-3.8 1.6 0 3 1 3.5 2.3l2.4-1C16.9 2.1 14.6.5 12 .5 8.4.5 5.6 3.4 5.6 6.9v3C4.2 9.9 3 11 3 12.4v8.5c0 1.4 1.2 2.6 2.6 2.6h12.8c1.4 0 2.6-1.1 2.6-2.6v-8.5c0-1.4-1.1-2.5-2.6-2.5z" })),
3539
3540
  cross: (jsx$1("path", { d: "M4.58585 4.58579C5.36689 3.80474 6.63322 3.80474 7.41427 4.58579L12 9.17153L16.5858 4.58579C17.3668 3.80474 18.6331 3.80474 19.4142 4.58579C20.1952 5.36683 20.1952 6.63316 19.4142 7.41421L14.7615 12.0669L19.3934 16.5652C20.1858 17.3347 20.2043 18.6009 19.4348 19.3933C18.6652 20.1857 17.3991 20.2042 16.6067 19.4347L12 14.9609L7.39337 19.4347C6.60098 20.2042 5.33478 20.1857 4.56525 19.3933C3.79571 18.6009 3.81424 17.3347 4.60663 16.5652L9.23853 12.0669L4.58585 7.41421C3.8048 6.63316 3.8048 5.36683 4.58585 4.58579Z" })),
3540
3541
  bulb: (jsx$1("path", { d: "M20.7 8.6c0-1.3-.4-2.6-1-3.8-.7-1.2-1.7-2.2-2.8-2.9C15.7 1.2 14.4.7 13 .5c-1.4-.1-2.8 0-4.1.5-1.4.5-2.6 1.3-3.5 2.3-.9 1-1.6 2.2-1.9 3.5-.3 1.3-.3 2.6.1 3.9.4 1.3 1.1 2.5 2 3.4.3.3.5.6.8 1-.3.3-.5.7-.6 1.1-.1.4-.1.8-.1 1.2.1.4.2.8.5 1.1.2.3.6.6.9.8-.2.4-.4.9-.3 1.4 0 .5.2 1 .5 1.4.3.4.7.8 1.1 1 .5.2 1 .4 1.5.4H14c.8 0 1.6-.3 2.2-.8.6-.5.9-1.3.9-2 0-.4-.1-.9-.3-1.3.4-.3.8-.6 1.1-1 .3-.4.4-.9.4-1.4 0-.7-.2-1.3-.7-1.8.3-.4.6-.8.9-1.1 1.4-1.6 2.2-3.5 2.2-5.5zm-5.5 7.5c.2 0 .4.1.6.2.2.2.3.4.3.6 0 .1 0 .2-.1.3 0 .1-.1.2-.2.3-.1.1-.2.1-.3.2-.1 0-.2.1-.3.1H8.8c-.2 0-.4-.1-.6-.2-.1-.3-.2-.5-.2-.7 0-.2.1-.4.2-.6.2-.2.4-.2.6-.2h6.4zM14 21.4H9.9c-.2 0-.4-.1-.6-.2-.2-.1-.2-.4-.2-.6 0-.2.1-.4.2-.6.2-.2.4-.2.6-.2H14c.2 0 .4.1.6.2.2.2.3.4.3.6 0 .1 0 .2-.1.3 0 .1-.1.2-.2.3-.1.1-.2.1-.3.2H14zm3.7-10.9c-.3.7-.7 1.4-1.2 1.9s-.9 1-1.3 1.6H8.8l-1.2-1.5c-.8-.8-1.3-1.7-1.6-2.8-.2-1-.1-2.1.3-3.1s1.1-1.9 2-2.5c.9-.7 1.9-1.1 3.1-1.2.9-.1 1.7 0 2.5.2s1.6.7 2.2 1.2c.6.5 1.1 1.1 1.4 1.8.3.7.6 1.4.6 2.2 0 .7-.1 1.5-.4 2.2z" })),
3541
3542
  star: (jsx$1("path", { d: "M2.52642 11.0247L6.42532 13.9834C6.87081 14.3213 7.05746 14.9203 6.88764 15.4672L5.39751 20.2558C5.01734 21.479 6.35757 22.4963 7.35438 21.7405L11.2533 18.7814C11.6988 18.443 12.3015 18.443 12.7469 18.7814L16.6458 21.7405C17.6422 22.4963 18.9829 21.479 18.6027 20.2558L17.1132 15.4672C16.9425 14.9203 17.1292 14.3213 17.5751 13.9834L21.4736 11.0247C22.4695 10.2684 21.9583 8.62247 20.7267 8.62247H15.9074C15.357 8.62247 14.8679 8.25197 14.6983 7.705L13.2093 2.9181C12.8286 1.69397 11.172 1.69397 10.791 2.9181L9.30106 7.70524C9.13146 8.2522 8.64412 8.6227 8.0928 8.6227H3.27326C2.04175 8.6227 1.5305 10.2687 2.52642 11.0247Z" })),
@@ -3569,7 +3570,7 @@ var icons = {
3569
3570
  swap: (jsx$1("path", { d: "M7.1 8.3h11l-1.5 1.4c-.6.5-.6 1.4-.1 2 .5.6 1.4.6 2 .1L22.6 8c.6-.6.6-1.5 0-2.1L18.5 2c-.6-.5-1.5-.5-2 .1-.5.5-.5 1.4.1 1.9l1.5 1.4h-11c-.8 0-1.4.6-1.4 1.4s.6 1.5 1.4 1.5zM5.5 22c.6.5 1.5.5 2-.1.5-.5.5-1.4-.1-1.9l-1.5-1.4h11c.8 0 1.4-.6 1.4-1.4 0-.8-.6-1.4-1.4-1.4h-11l1.5-1.4c.6-.5.6-1.4.1-2s-1.4-.6-2-.1l-4.1 3.8c-.6.6-.6 1.5 0 2.1L5.5 22z" })),
3570
3571
  login: (jsxs("g", __assign$2({ style: { transform: "rotate(270deg)", transformOrigin: "50%" } }, { children: [jsx$1("path", { d: "M22.6 14.6c-.7 0-1.3.6-1.3 1.3v4H2.7v-4c0-.7-.6-1.3-1.3-1.3s-1.3.6-1.3 1.3v5.2c0 .7.6 1.3 1.3 1.3h21.2c.7 0 1.3-.6 1.3-1.3v-5.2c0-.8-.6-1.3-1.3-1.3z" }), jsx$1("path", { d: "M11.2 16.7c.1.1.2.2.4.3h.4c.2 0 .3 0 .5-.1.1-.1.3-.1.4-.3l4.9-4.9c.5-.5.5-1.2 0-1.7s-1.2-.5-1.7 0l-2.8 2.8v-10c0-.7-.5-1.2-1.2-1.2s-1.2.5-1.2 1.2v10L8 10.1c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l4.9 4.9z" })] }))),
3571
3572
  logout: (jsxs("g", __assign$2({ style: { transform: "rotate(90deg)", transformOrigin: "50%" } }, { children: [jsx$1("path", { d: "M22.6 14.6c-.7 0-1.3.6-1.3 1.3v4H2.7v-4c0-.7-.6-1.3-1.3-1.3s-1.3.6-1.3 1.3v5.2c0 .7.6 1.3 1.3 1.3h21.2c.7 0 1.3-.6 1.3-1.3v-5.2c0-.8-.6-1.3-1.3-1.3z" }), jsx$1("path", { d: "M12.8 2.1c-.1-.1-.2-.2-.4-.3-.1-.1-.3-.1-.5-.1s-.3 0-.5.1c-.1.1-.3.1-.4.3L6.3 7c-.5.5-.5 1.2 0 1.7s1.2.5 1.7 0l2.8-2.8v10c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2v-10L16 8.7c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-4.9-4.9z" })] }))),
3572
- edit: (jsx$1("path", { d: "M14.3 5.6c-.3-.3-.8-.3-1.2 0L2.4 16.3c-.1.1-.1.2-.2.2v.2L1 22c-.1.3 0 .6.2.8.2.1.4.2.6.2H2l5.3-1.2c.1 0 .1 0 .2-.1h.1l.1-.1 10.7-10.7c.2-.2.2-.4.2-.6s-.1-.4-.2-.6l-4.1-4.1zM22.8 5.3l-4.1-4.1c-.3-.3-.8-.3-1.2 0l-2.4 2.4c-.2.2-.2.4-.2.6s.1.4.2.6l4.1 4.1c.2.2.4.2.6.2s.4-.1.6-.2l2.4-2.4c.1-.1.2-.4.2-.6s-.1-.4-.2-.6z" }))
3573
+ edit: (jsx$1("path", { d: "M14.3 5.6c-.3-.3-.8-.3-1.2 0L2.4 16.3c-.1.1-.1.2-.2.2v.2L1 22c-.1.3 0 .6.2.8.2.1.4.2.6.2H2l5.3-1.2c.1 0 .1 0 .2-.1h.1l.1-.1 10.7-10.7c.2-.2.2-.4.2-.6s-.1-.4-.2-.6l-4.1-4.1zM22.8 5.3l-4.1-4.1c-.3-.3-.8-.3-1.2 0l-2.4 2.4c-.2.2-.2.4-.2.6s.1.4.2.6l4.1 4.1c.2.2.4.2.6.2s.4-.1.6-.2l2.4-2.4c.1-.1.2-.4.2-.6s-.1-.4-.2-.6z" })),
3573
3574
  };
3574
3575
  var Icon = function (props) { return (jsx$1(Wrapper$a, __assign$2({}, props, { children: jsx$1("svg", __assign$2({ viewBox: "0 0 24 24", fill: "none" }, { children: icons[props.type] })) }))); };
3575
3576
 
@@ -3656,7 +3657,7 @@ var LoaderWrapper = styled.div(templateObject_4$8 || (templateObject_4$8 = __mak
3656
3657
  });
3657
3658
  var templateObject_1$V, templateObject_2$D, templateObject_3$f, templateObject_4$8;
3658
3659
 
3659
- var StyledSpacer = styled.div(templateObject_1$U || (templateObject_1$U = __makeTemplateObject$1(["\n width: ", ";\n height: ", ";\n"], ["\n width: ", ";\n height: ", ";\n"])), function (_a) {
3660
+ var StyledSpacer = styled.div(templateObject_1$U || (templateObject_1$U = __makeTemplateObject$1(["\n min-width: ", ";\n min-height: ", ";\n"], ["\n min-width: ", ";\n min-height: ", ";\n"])), function (_a) {
3660
3661
  var horizontal = _a.horizontal;
3661
3662
  return (horizontal ? "".concat(horizontal, "px") : "");
3662
3663
  }, function (_a) {