@integrigo/integrigo-ui 1.6.12 → 1.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/lib/index.esm.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/src/components/atoms/Card/Card.d.ts +1 -1
  4. package/lib/src/components/atoms/Dot/Dot.stories.d.ts +3 -3
  5. package/lib/src/components/atoms/Icon/Icon.d.ts +34 -32
  6. package/lib/src/components/atoms/Icon/Icon.stories.d.ts +2 -2
  7. package/lib/src/components/atoms/Icon/icons/Edit.d.ts +1 -1
  8. package/lib/src/components/atoms/Icon/icons/EllipsisHorizontal.d.ts +3 -0
  9. package/lib/src/components/atoms/Icon/icons/EllipsisVertical.d.ts +3 -0
  10. package/lib/src/components/atoms/Icon/icons/ImageEdit.d.ts +1 -1
  11. package/lib/src/components/atoms/Icon/icons/Lock.d.ts +1 -1
  12. package/lib/src/components/atoms/Icon/icons/User.d.ts +1 -1
  13. package/lib/src/components/molecules/Checkbox/Checkbox.stories.d.ts +4 -4
  14. package/lib/src/components/molecules/Input/Input.d.ts +1 -1
  15. package/lib/src/components/molecules/Input/Input.stories.d.ts +9 -9
  16. package/lib/src/components/molecules/Radio/Radio.stories.d.ts +4 -4
  17. package/lib/src/components/organisms/Setting/Setting.d.ts +2 -2
  18. package/lib/src/index.d.ts +4 -4
  19. package/package.json +1 -1
  20. package/rollup.config.js +1 -0
  21. package/src/components/atoms/Card/Card.tsx +8 -8
  22. package/src/components/atoms/Icon/Icon.stories.tsx +2 -0
  23. package/src/components/atoms/Icon/Icon.tsx +59 -51
  24. package/src/components/atoms/Icon/icons/AngleDown.tsx +2 -2
  25. package/src/components/atoms/Icon/icons/ArrowLeft.tsx +2 -2
  26. package/src/components/atoms/Icon/icons/Bars.tsx +2 -2
  27. package/src/components/atoms/Icon/icons/Bell.tsx +2 -2
  28. package/src/components/atoms/Icon/icons/ChechSquare.tsx +2 -2
  29. package/src/components/atoms/Icon/icons/CheckCircle.tsx +2 -2
  30. package/src/components/atoms/Icon/icons/ClipboardNotes.tsx +2 -2
  31. package/src/components/atoms/Icon/icons/Close.tsx +2 -2
  32. package/src/components/atoms/Icon/icons/DiceFive.tsx +2 -2
  33. package/src/components/atoms/Icon/icons/Edit.tsx +3 -3
  34. package/src/components/atoms/Icon/icons/EllipsisHorizontal.tsx +9 -0
  35. package/src/components/atoms/Icon/icons/EllipsisVertical.tsx +9 -0
  36. package/src/components/atoms/Icon/icons/Envelope.tsx +2 -2
  37. package/src/components/atoms/Icon/icons/ExclamationCircle.tsx +2 -2
  38. package/src/components/atoms/Icon/icons/ExclamationTriangle.tsx +2 -2
  39. package/src/components/atoms/Icon/icons/Exit.tsx +2 -2
  40. package/src/components/atoms/Icon/icons/Facebook.tsx +2 -2
  41. package/src/components/atoms/Icon/icons/Home.tsx +2 -2
  42. package/src/components/atoms/Icon/icons/ImageEdit.tsx +3 -3
  43. package/src/components/atoms/Icon/icons/Instagram.tsx +2 -2
  44. package/src/components/atoms/Icon/icons/Linkedin.tsx +2 -2
  45. package/src/components/atoms/Icon/icons/Lock.tsx +3 -3
  46. package/src/components/atoms/Icon/icons/Minus.tsx +2 -2
  47. package/src/components/atoms/Icon/icons/Phone.tsx +2 -2
  48. package/src/components/atoms/Icon/icons/Plus.tsx +2 -2
  49. package/src/components/atoms/Icon/icons/PointsCircle.tsx +2 -2
  50. package/src/components/atoms/Icon/icons/Process.tsx +1 -1
  51. package/src/components/atoms/Icon/icons/Redo.tsx +2 -2
  52. package/src/components/atoms/Icon/icons/Setting.tsx +2 -2
  53. package/src/components/atoms/Icon/icons/User.tsx +3 -6
  54. package/src/components/atoms/Icon/icons/UserCircle.tsx +2 -2
  55. package/src/components/atoms/Icon/icons/Users.tsx +2 -2
  56. package/src/components/molecules/Profile/Profile.tsx +1 -1
  57. package/src/components/organisms/Setting/Setting.tsx +6 -6
  58. package/src/index.ts +4 -4
@@ -1,11 +1,8 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
 
3
3
  const User: React.FCS = (props) => (
4
- <svg viewBox="0 0 20 22" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path
6
- d="M13.71 11.7099C14.6904 10.9385 15.406 9.8808 15.7572 8.68382C16.1085 7.48684 16.0779 6.21015 15.6698 5.03135C15.2617 3.85255 14.4963 2.83027 13.4801 2.10674C12.4639 1.3832 11.2474 0.994385 10 0.994385C8.75255 0.994385 7.53611 1.3832 6.51993 2.10674C5.50374 2.83027 4.73834 3.85255 4.33021 5.03135C3.92208 6.21015 3.89151 7.48684 4.24276 8.68382C4.59401 9.8808 5.3096 10.9385 6.29 11.7099C4.61007 12.3829 3.14428 13.4992 2.04889 14.9398C0.953495 16.3804 0.26956 18.0912 0.0699967 19.8899C0.0555513 20.0212 0.0671132 20.1541 0.104022 20.2809C0.140931 20.4078 0.202464 20.5261 0.285108 20.6292C0.452016 20.8374 0.69478 20.9707 0.959997 20.9999C1.22521 21.0291 1.49116 20.9517 1.69932 20.7848C1.90749 20.6179 2.04082 20.3751 2.07 20.1099C2.28958 18.1551 3.22168 16.3497 4.68822 15.0387C6.15475 13.7277 8.0529 13.0029 10.02 13.0029C11.9871 13.0029 13.8852 13.7277 15.3518 15.0387C16.8183 16.3497 17.7504 18.1551 17.97 20.1099C17.9972 20.3556 18.1144 20.5825 18.2991 20.7469C18.4838 20.9113 18.7228 21.0014 18.97 20.9999H19.08C19.3421 20.9697 19.5817 20.8372 19.7466 20.6311C19.9114 20.4251 19.9881 20.1622 19.96 19.8999C19.7595 18.0961 19.0719 16.3809 17.9708 14.9381C16.8698 13.4953 15.3969 12.3794 13.71 11.7099ZM10 10.9999C9.20887 10.9999 8.43551 10.7653 7.77772 10.3258C7.11992 9.88623 6.60723 9.26152 6.30448 8.53061C6.00173 7.79971 5.92251 6.99544 6.07686 6.21952C6.2312 5.4436 6.61216 4.73086 7.17157 4.17145C7.73098 3.61204 8.44371 3.23108 9.21964 3.07674C9.99556 2.9224 10.7998 3.00161 11.5307 3.30436C12.2616 3.60711 12.8863 4.1198 13.3259 4.7776C13.7654 5.4354 14 6.20876 14 6.99988C14 8.06075 13.5786 9.07816 12.8284 9.82831C12.0783 10.5785 11.0609 10.9999 10 10.9999Z"
7
- fill="#1A1A1A"
8
- />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M15.71 12.7099C16.6904 11.9385 17.406 10.8808 17.7572 9.68382C18.1085 8.48684 18.0779 7.21015 17.6698 6.03135C17.2617 4.85255 16.4963 3.83027 15.4801 3.10674C14.4639 2.3832 13.2474 1.99438 12 1.99438C10.7525 1.99438 9.53611 2.3832 8.51993 3.10674C7.50374 3.83027 6.73834 4.85255 6.33021 6.03135C5.92208 7.21015 5.89151 8.48684 6.24276 9.68382C6.59401 10.8808 7.3096 11.9385 8.29 12.7099C6.61007 13.3829 5.14428 14.4992 4.04889 15.9398C2.95349 17.3804 2.26956 19.0912 2.07 20.8899C2.05555 21.0212 2.06711 21.1541 2.10402 21.2809C2.14093 21.4078 2.20246 21.5261 2.28511 21.6292C2.45202 21.8374 2.69478 21.9707 2.96 21.9999C3.22521 22.0291 3.49116 21.9517 3.69932 21.7848C3.90749 21.6179 4.04082 21.3751 4.07 21.1099C4.28958 19.1551 5.22168 17.3497 6.68822 16.0387C8.15475 14.7277 10.0529 14.0029 12.02 14.0029C13.9871 14.0029 15.8852 14.7277 17.3518 16.0387C18.8183 17.3497 19.7504 19.1551 19.97 21.1099C19.9972 21.3556 20.1144 21.5825 20.2991 21.7469C20.4838 21.9113 20.7228 22.0014 20.97 21.9999H21.08C21.3421 21.9697 21.5817 21.8372 21.7466 21.6311C21.9114 21.4251 21.9881 21.1622 21.96 20.8999C21.7595 19.0961 21.0719 17.3809 19.9708 15.9381C18.8698 14.4953 17.3969 13.3794 15.71 12.7099ZM12 11.9999C11.2089 11.9999 10.4355 11.7653 9.77772 11.3258C9.11992 10.8862 8.60723 10.2615 8.30448 9.53061C8.00173 8.79971 7.92251 7.99544 8.07686 7.21952C8.2312 6.4436 8.61216 5.73086 9.17157 5.17145C9.73098 4.61204 10.4437 4.23108 11.2196 4.07674C11.9956 3.9224 12.7998 4.00161 13.5307 4.30436C14.2616 4.60711 14.8863 5.1198 15.3259 5.7776C15.7654 6.4354 16 7.20876 16 7.99988C16 9.06075 15.5786 10.0782 14.8284 10.8283C14.0783 11.5785 13.0609 11.9999 12 11.9999Z" />
9
6
  </svg>
10
7
  );
11
8
 
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
 
3
3
  const UserCircle: React.FCS = (props) => (
4
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path d="M10 0a10 10 0 0 0-7.35 16.76 10.001 10.001 0 0 0 14.7 0A9.999 9.999 0 0 0 10 0Zm0 18a8 8 0 0 1-5.55-2.25 6 6 0 0 1 11.1 0A8 8 0 0 1 10 18ZM8 8a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm8.91 6A8 8 0 0 0 13 10.62a4 4 0 1 0-6 0A8 8 0 0 0 3.09 14 7.92 7.92 0 0 1 2 10a8 8 0 1 1 16 0 7.92 7.92 0 0 1-1.09 4Z" />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M12 2C10.0605 2.00369 8.16393 2.57131 6.54128 3.63374C4.91862 4.69617 3.63994 6.20754 2.86099 7.98377C2.08204 9.76 1.83643 11.7244 2.15408 13.6378C2.47173 15.5511 3.33893 17.3308 4.65005 18.76C5.58647 19.775 6.72299 20.5851 7.98799 21.1392C9.25298 21.6933 10.619 21.9793 12 21.9793C13.3811 21.9793 14.7471 21.6933 16.0121 21.1392C17.2771 20.5851 18.4136 19.775 19.35 18.76C20.6612 17.3308 21.5284 15.5511 21.846 13.6378C22.1637 11.7244 21.9181 9.76 21.1391 7.98377C20.3602 6.20754 19.0815 4.69617 17.4588 3.63374C15.8362 2.57131 13.9396 2.00369 12 2ZM12 20C9.92851 19.9969 7.93896 19.1903 6.45005 17.75C6.90209 16.6495 7.67108 15.7083 8.6593 15.0459C9.64752 14.3835 10.8104 14.0298 12 14.0298C13.1897 14.0298 14.3526 14.3835 15.3408 15.0459C16.329 15.7083 17.098 16.6495 17.55 17.75C16.0611 19.1903 14.0716 19.9969 12 20ZM10 10C10 9.60444 10.1173 9.21776 10.3371 8.88886C10.5569 8.55996 10.8692 8.30362 11.2347 8.15224C11.6001 8.00087 12.0023 7.96126 12.3902 8.03843C12.7782 8.1156 13.1346 8.30608 13.4143 8.58579C13.694 8.86549 13.8844 9.22186 13.9616 9.60982C14.0388 9.99778 13.9992 10.3999 13.8478 10.7654C13.6964 11.1308 13.4401 11.4432 13.1112 11.6629C12.7823 11.8827 12.3956 12 12 12C11.4696 12 10.9609 11.7893 10.5858 11.4142C10.2108 11.0391 10 10.5304 10 10ZM18.91 16C18.0166 14.4718 16.6415 13.283 15 12.62C15.5092 12.0427 15.841 11.3307 15.9555 10.5694C16.0701 9.80822 15.9625 9.03011 15.6458 8.3285C15.3291 7.62688 14.8166 7.03156 14.17 6.61397C13.5233 6.19637 12.7698 5.97425 12 5.97425C11.2303 5.97425 10.4768 6.19637 9.83014 6.61397C9.18346 7.03156 8.67102 7.62688 8.3543 8.3285C8.03758 9.03011 7.93004 9.80822 8.04458 10.5694C8.15912 11.3307 8.49088 12.0427 9.00005 12.62C7.35865 13.283 5.98352 14.4718 5.09005 16C4.37799 14.7871 4.00177 13.4065 4.00005 12C4.00005 9.87827 4.8429 7.84344 6.34319 6.34315C7.84349 4.84285 9.87832 4 12 4C14.1218 4 16.1566 4.84285 17.6569 6.34315C19.1572 7.84344 20 9.87827 20 12C19.9983 13.4065 19.6221 14.7871 18.91 16Z" />
6
6
  </svg>
7
7
  );
8
8
 
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
 
3
3
  const Users: React.FCS = (props) => (
4
- <svg viewBox="0 0 22 18" xmlns="http://www.w3.org/2000/svg" {...props}>
5
- <path d="M11.3 9.22A4.92 4.92 0 0 0 13 5.5a5 5 0 0 0-10 0 4.92 4.92 0 0 0 1.7 3.72A8 8 0 0 0 0 16.5a1 1 0 1 0 2 0 6 6 0 1 1 12 0 1 1 0 0 0 2 0 8 8 0 0 0-4.7-7.28ZM8 8.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm9.74.32A5 5 0 0 0 14 .5a1 1 0 1 0 0 2 3 3 0 0 1 3 3 3 3 0 0 1-1.5 2.59 1 1 0 0 0-.05 1.7l.39.26.13.07a7 7 0 0 1 4 6.38 1 1 0 0 0 2 0 9 9 0 0 0-4.23-7.68Z" />
4
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+ <path d="M12.3 12.22C12.8336 11.7581 13.2616 11.1869 13.5549 10.545C13.8482 9.90316 14 9.20571 14 8.5C14 7.17392 13.4732 5.90215 12.5355 4.96447C11.5979 4.02678 10.3261 3.5 9 3.5C7.67392 3.5 6.40215 4.02678 5.46447 4.96447C4.52678 5.90215 4 7.17392 4 8.5C3.99999 9.20571 4.1518 9.90316 4.44513 10.545C4.73845 11.1869 5.16642 11.7581 5.7 12.22C4.30014 12.8539 3.11247 13.8775 2.27898 15.1685C1.4455 16.4596 1.00147 17.9633 1 19.5C1 19.7652 1.10536 20.0196 1.29289 20.2071C1.48043 20.3946 1.73478 20.5 2 20.5C2.26522 20.5 2.51957 20.3946 2.70711 20.2071C2.89464 20.0196 3 19.7652 3 19.5C3 17.9087 3.63214 16.3826 4.75736 15.2574C5.88258 14.1321 7.4087 13.5 9 13.5C10.5913 13.5 12.1174 14.1321 13.2426 15.2574C14.3679 16.3826 15 17.9087 15 19.5C15 19.7652 15.1054 20.0196 15.2929 20.2071C15.4804 20.3946 15.7348 20.5 16 20.5C16.2652 20.5 16.5196 20.3946 16.7071 20.2071C16.8946 20.0196 17 19.7652 17 19.5C16.9985 17.9633 16.5545 16.4596 15.721 15.1685C14.8875 13.8775 13.6999 12.8539 12.3 12.22ZM9 11.5C8.40666 11.5 7.82664 11.3241 7.33329 10.9944C6.83994 10.6648 6.45542 10.1962 6.22836 9.64805C6.0013 9.09987 5.94189 8.49667 6.05764 7.91473C6.1734 7.33279 6.45912 6.79824 6.87868 6.37868C7.29824 5.95912 7.83279 5.6734 8.41473 5.55764C8.99667 5.44189 9.59987 5.5013 10.1481 5.72836C10.6962 5.95542 11.1648 6.33994 11.4944 6.83329C11.8241 7.32664 12 7.90666 12 8.5C12 9.29565 11.6839 10.0587 11.1213 10.6213C10.5587 11.1839 9.79565 11.5 9 11.5ZM18.74 11.82C19.38 11.0993 19.798 10.2091 19.9438 9.25634C20.0896 8.30362 19.9569 7.32907 19.5618 6.45C19.1666 5.57093 18.5258 4.8248 17.7165 4.30142C16.9071 3.77805 15.9638 3.49974 15 3.5C14.7348 3.5 14.4804 3.60536 14.2929 3.79289C14.1054 3.98043 14 4.23478 14 4.5C14 4.76522 14.1054 5.01957 14.2929 5.20711C14.4804 5.39464 14.7348 5.5 15 5.5C15.7956 5.5 16.5587 5.81607 17.1213 6.37868C17.6839 6.94129 18 7.70435 18 8.5C17.9986 9.02524 17.8593 9.5409 17.5961 9.99542C17.3328 10.4499 16.9549 10.8274 16.5 11.09C16.3517 11.1755 16.2279 11.2977 16.1404 11.4447C16.0528 11.5918 16.0045 11.7589 16 11.93C15.9958 12.0998 16.0349 12.2678 16.1137 12.4183C16.1924 12.5687 16.3081 12.6967 16.45 12.79L16.84 13.05L16.97 13.12C18.1754 13.6917 19.1923 14.596 19.901 15.7263C20.6096 16.8566 20.9805 18.1659 20.97 19.5C20.97 19.7652 21.0754 20.0196 21.2629 20.2071C21.4504 20.3946 21.7048 20.5 21.97 20.5C22.2352 20.5 22.4896 20.3946 22.6771 20.2071C22.8646 20.0196 22.97 19.7652 22.97 19.5C22.9782 17.9654 22.5938 16.4543 21.8535 15.1101C21.1131 13.7659 20.0413 12.6333 18.74 11.82Z" />
6
6
  </svg>
7
7
  );
8
8
 
@@ -47,7 +47,7 @@ const Root = styled.div`
47
47
  Root.displayName = 'Root';
48
48
 
49
49
  const Name = styled(Hero)`
50
- font-size: var(--font-bold);
50
+ font-weight: var(--font-bold);
51
51
  `;
52
52
 
53
53
  Name.displayName = 'Name';
@@ -1,7 +1,7 @@
1
- import React, { useState } from "react";
2
- import styled from "styled-components";
3
- import { Icon, IconType } from "../../atoms/Icon";
4
- import { Typography } from "../../atoms/Typography";
1
+ import React, { useState } from 'react';
2
+ import styled from 'styled-components';
3
+ import { Icon, IconType } from '../../atoms/Icon';
4
+ import { Typography } from '../../atoms/Typography';
5
5
 
6
6
  const { Body } = Typography;
7
7
 
@@ -58,7 +58,7 @@ const Root = styled.div<{ active: boolean }>`
58
58
  align-items: center;
59
59
  background-color: var(--color-white);
60
60
  border: 1px solid
61
- ${(p) => (p.active ? "var(--color-orange)" : "var(--shades-of-grey-40)")};
61
+ ${(p) => (p.active ? 'var(--color-orange)' : 'var(--shades-of-grey-40)')};
62
62
  border-radius: 5px;
63
63
  display: flex;
64
64
  justify-content: space-between;
@@ -85,7 +85,7 @@ const Trigger = styled.div<{ active: boolean }>`
85
85
  gap: var(--padding-s);
86
86
 
87
87
  & svg {
88
- transform: ${(p) => (p.active ? "rotate(180deg)" : "rotate(0)")};
88
+ transform: ${(p) => (p.active ? 'rotate(180deg)' : 'rotate(0)')};
89
89
  transition: transform var(--transition-speed);
90
90
  }
91
91
  `;
package/src/index.ts CHANGED
@@ -10,7 +10,7 @@ export {
10
10
  Spinner,
11
11
  Chip,
12
12
  Dot,
13
- } from "./components/atoms";
13
+ } from './components/atoms';
14
14
 
15
15
  export {
16
16
  InfoCard,
@@ -21,8 +21,8 @@ export {
21
21
  Dropdown,
22
22
  Profile,
23
23
  Radio,
24
- } from "./components/molecules";
24
+ } from './components/molecules';
25
25
 
26
- export { Menu, Setting } from "./components/organisms";
26
+ export { Menu, Setting } from './components/organisms';
27
27
 
28
- export { GlobalStyles as IntegrigoUI, Color } from "./styles";
28
+ export { GlobalStyles as IntegrigoUI, Color } from './styles';