@lobehub/icons 1.0.0 → 1.1.0

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.
Files changed (77) hide show
  1. package/es/ChatGLM/components/Avatar.d.ts +4 -0
  2. package/es/ChatGLM/components/Avatar.js +33 -0
  3. package/es/ChatGLM/components/Color.d.ts +3 -0
  4. package/es/ChatGLM/components/Color.js +47 -0
  5. package/es/ChatGLM/components/Combine.d.ts +8 -0
  6. package/es/ChatGLM/components/Combine.js +34 -0
  7. package/es/ChatGLM/components/Mono.d.ts +3 -0
  8. package/es/ChatGLM/components/Mono.js +31 -0
  9. package/es/ChatGLM/components/Text.d.ts +3 -0
  10. package/es/ChatGLM/components/Text.js +31 -0
  11. package/es/ChatGLM/index.d.ts +15 -0
  12. package/es/ChatGLM/index.js +13 -0
  13. package/es/ChatGLM/style.d.ts +3 -0
  14. package/es/ChatGLM/style.js +3 -0
  15. package/es/IconAvatar/index.d.ts +9 -0
  16. package/es/IconAvatar/index.js +27 -0
  17. package/es/Tongyi/components/Avatar.d.ts +4 -0
  18. package/es/Tongyi/components/Avatar.js +30 -0
  19. package/es/Tongyi/components/Color.d.ts +3 -0
  20. package/es/Tongyi/components/Color.js +49 -0
  21. package/es/Tongyi/components/Combine.d.ts +8 -0
  22. package/es/Tongyi/components/Combine.js +34 -0
  23. package/es/Tongyi/components/Mono.d.ts +3 -0
  24. package/es/Tongyi/components/Mono.js +31 -0
  25. package/es/Tongyi/components/Text.d.ts +3 -0
  26. package/es/Tongyi/components/Text.js +31 -0
  27. package/es/Tongyi/index.d.ts +15 -0
  28. package/es/Tongyi/index.js +13 -0
  29. package/es/Tongyi/style.d.ts +3 -0
  30. package/es/Tongyi/style.js +3 -0
  31. package/es/Wenxin/components/Avatar.d.ts +4 -0
  32. package/es/Wenxin/components/Avatar.js +30 -0
  33. package/es/Wenxin/components/Color.d.ts +3 -0
  34. package/es/Wenxin/components/Color.js +53 -0
  35. package/es/Wenxin/components/Combine.d.ts +8 -0
  36. package/es/Wenxin/components/Combine.js +34 -0
  37. package/es/Wenxin/components/Mono.d.ts +3 -0
  38. package/es/Wenxin/components/Mono.js +47 -0
  39. package/es/Wenxin/components/Text.d.ts +3 -0
  40. package/es/Wenxin/components/Text.js +31 -0
  41. package/es/Wenxin/index.d.ts +15 -0
  42. package/es/Wenxin/index.js +13 -0
  43. package/es/Wenxin/style.d.ts +3 -0
  44. package/es/Wenxin/style.js +3 -0
  45. package/es/Zhipu/components/Avatar.d.ts +2 -2
  46. package/es/Zhipu/components/Avatar.js +13 -11
  47. package/es/Zhipu/components/Combine.js +2 -2
  48. package/es/Zhipu/components/Text.js +2 -1
  49. package/es/Zhipu/index.d.ts +15 -6
  50. package/es/Zhipu/index.js +13 -6
  51. package/es/components/ColorPreview/index.js +40 -0
  52. package/es/{Editor/Preview.d.ts → components/Editor/Color.d.ts} +1 -2
  53. package/es/components/Editor/Color.js +47 -0
  54. package/es/components/Editor/Mono.d.ts +8 -0
  55. package/es/components/Editor/Mono.js +47 -0
  56. package/es/components/Editor/Preview.d.ts +8 -0
  57. package/es/components/Editor/Preview.js +57 -0
  58. package/es/components/Editor/index.js +122 -0
  59. package/es/components/Editor/useSvgo.d.ts +6 -0
  60. package/es/components/Editor/useSvgo.js +51 -0
  61. package/es/components/IconPreview/ColorPreview.d.ts +6 -0
  62. package/es/{IconPreview → components/IconPreview}/ColorPreview.js +1 -2
  63. package/es/index.d.ts +5 -4
  64. package/es/index.js +4 -5
  65. package/package.json +7 -9
  66. package/es/Editor/Preview.js +0 -93
  67. package/es/Editor/index.js +0 -67
  68. package/es/IconShowcase/index.d.ts +0 -11
  69. package/es/IconShowcase/index.js +0 -91
  70. /package/es/{IconPreview/ColorPreview.d.ts → components/ColorPreview/index.d.ts} +0 -0
  71. /package/es/{Editor → components/Editor}/data.d.ts +0 -0
  72. /package/es/{Editor → components/Editor}/data.js +0 -0
  73. /package/es/{Editor → components/Editor}/index.d.ts +0 -0
  74. /package/es/{Editor → components/Editor}/svgo.d.ts +0 -0
  75. /package/es/{Editor → components/Editor}/svgo.js +0 -0
  76. /package/es/{IconPreview → components/IconPreview}/index.d.ts +0 -0
  77. /package/es/{IconPreview → components/IconPreview}/index.js +0 -0
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../IconAvatar";
3
+ declare const Avatar: import("react").NamedExoticComponent<IconAvatarProps>;
4
+ export default Avatar;
@@ -0,0 +1,33 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style", "background"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { memo } from 'react';
7
+ import IconAvatar from "../../IconAvatar";
8
+ import { COLOR_PRIMARY } from "../style";
9
+ import Mono from "./Mono";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
12
+ var _ref$size = _ref.size,
13
+ size = _ref$size === void 0 ? 24 : _ref$size,
14
+ style = _ref.style,
15
+ background = _ref.background,
16
+ rest = _objectWithoutProperties(_ref, _excluded);
17
+ var bg = background || COLOR_PRIMARY;
18
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread(_objectSpread({
19
+ background: bg,
20
+ size: size,
21
+ style: _objectSpread({
22
+ color: '#fff'
23
+ }, style)
24
+ }, rest), {}, {
25
+ children: /*#__PURE__*/_jsx(Mono, {
26
+ size: size * 0.75,
27
+ style: {
28
+ marginLeft: size * 0.1
29
+ }
30
+ })
31
+ }));
32
+ });
33
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,47 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
+ var _ref$size = _ref.size,
11
+ size = _ref$size === void 0 ? '1em' : _ref$size,
12
+ style = _ref.style,
13
+ rest = _objectWithoutProperties(_ref, _excluded);
14
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
15
+ height: size,
16
+ ref: ref,
17
+ style: _objectSpread({
18
+ flex: 'none',
19
+ lineHeight: 1
20
+ }, style),
21
+ viewBox: "0 0 24 24",
22
+ width: size,
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, rest), {}, {
25
+ children: [/*#__PURE__*/_jsx("defs", {
26
+ children: /*#__PURE__*/_jsxs("linearGradient", {
27
+ id: "a",
28
+ x1: "-18.756%",
29
+ x2: "70.894%",
30
+ y1: "49.371%",
31
+ y2: "90.944%",
32
+ children: [/*#__PURE__*/_jsx("stop", {
33
+ offset: "0%",
34
+ stopColor: "#504AF4"
35
+ }), /*#__PURE__*/_jsx("stop", {
36
+ offset: "100%",
37
+ stopColor: "#3485FF"
38
+ })]
39
+ })
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ d: "M9.917 2c4.906 0 10.178 3.947 8.93 10.58-.014.07-.037.14-.057.21l-.003-.277c-.083-3-1.534-8.934-8.87-8.934-3.393 0-8.137 3.054-7.93 8.158-.04 4.778 3.555 8.4 7.95 8.332l.073-.001c1.2-.033 2.763-.429 3.1-1.657.063-.031.26.534.268.598.048.256.112.369.192.34.981-.348 2.286-1.222 1.952-2.38-.176-.61-1.775-.147-1.921-.347.418-.979 2.234-.926 3.153-.716.443.102.657.38 1.012.442.29.052.981-.2.96.242-1.5 3.042-4.893 5.41-8.808 5.41C3.654 22 0 16.574 0 11.737 0 5.947 4.959 2 9.917 2zM9.9 5.3c.484 0 1.125.225 1.38.585 3.669.145 4.313 2.686 4.694 5.444.255 1.838.315 2.3.182 1.387l.083.59c.068.448.554.737.982.516.144-.075.254-.231.328-.47a.2.2 0 01.258-.13l.625.22a.2.2 0 01.124.238 2.172 2.172 0 01-.51.92c-.878.917-2.757.664-3.08-.62-.14-.554-.055-.626-.345-1.242-.292-.621-1.238-.709-1.69-.295-.345.315-.407.805-.406 1.282L12.6 15.9a.9.9 0 01-.9.9h-1.4a.9.9 0 01-.9-.9v-.65a1.15 1.15 0 10-2.3 0v.65a.9.9 0 01-.9.9H4.8a.9.9 0 01-.9-.9l.035-3.239c.012-1.884.356-3.658 2.47-4.134.2-.045.252.13.29.342.025.154.043.252.053.294.701 3.058 1.75 4.299 3.144 3.722l.66-.331.254-.13c.158-.082.25-.131.276-.15.012-.01-.165-.206-.407-.464l-1.012-1.067a8.925 8.925 0 01-.199-.216c-.047-.034-.116.068-.208.306-.074.157-.251.252-.272.326-.013.058.108.298.362.72.164.288.22.508-.31.343-1.04-.8-1.518-2.273-1.684-3.725-.004-.035-.162-1.913-.162-1.913a1.2 1.2 0 011.113-1.281L9.9 5.3zm12.994 8.68c.037.697-.403.704-1.213.591l-1.783-.276c-.265-.053-.385-.099-.313-.147.47-.315 3.268-.93 3.31-.168zm-.915-.083l-.926.042c-.85.077-1.452.24.338.336l.103.003c.815.012 1.264-.359.485-.381zm1.667-3.601h.01c.79.398.067 1.03-.65 1.393-.14.07-.491.176-1.052.315-.241.04-.457.092-.333.16l.01.005c1.952.958-3.123 1.534-2.495 1.285l.38-.148c.68-.266 1.614-.682 1.666-1.337.038-.48 1.253-.442 1.493-.968.048-.106 0-.236-.144-.389-.05-.047-.094-.094-.107-.148-.073-.305.7-.431 1.222-.168zm-2.568-.474c-.135 1.198-2.479 4.192-1.949 2.863l.017-.042c.298-.717.376-2.221 1.337-3.221.25-.26.636.035.595.4zm-7.976-.253c.02-.694 1.002-.968 1.346-.347.01-1.274-1.941-.768-1.346.347z",
42
+ fill: "url(#a)",
43
+ fillRule: "evenodd"
44
+ })]
45
+ }));
46
+ });
47
+ export default Icon;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { type FlexboxProps } from 'react-layout-kit';
3
+ export interface CombineProps extends FlexboxProps {
4
+ size?: number;
5
+ type?: 'color' | 'mono';
6
+ }
7
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
8
+ export default Combine;
@@ -0,0 +1,34 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["type", "size"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { memo } from 'react';
7
+ import { Flexbox } from 'react-layout-kit';
8
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
9
+ import Color from "./Color";
10
+ import Mono from "./Mono";
11
+ import Text from "./Text";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ var Combine = /*#__PURE__*/memo(function (_ref) {
15
+ var _ref$type = _ref.type,
16
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
17
+ _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? 24 : _ref$size,
19
+ rest = _objectWithoutProperties(_ref, _excluded);
20
+ var Icon = type === 'color' ? Color : Mono;
21
+ return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
22
+ align: 'center',
23
+ flex: 'none',
24
+ gap: size * SPACE_MULTIPLE,
25
+ horizontal: true
26
+ }, rest), {}, {
27
+ children: [/*#__PURE__*/_jsx(Icon, {
28
+ size: size
29
+ }), /*#__PURE__*/_jsx(Text, {
30
+ size: size * TEXT_MULTIPLE
31
+ })]
32
+ }));
33
+ });
34
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,31 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var _ref$size = _ref.size,
10
+ size = _ref$size === void 0 ? '1em' : _ref$size,
11
+ style = _ref.style,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ height: size,
17
+ ref: ref,
18
+ style: _objectSpread({
19
+ flex: 'none',
20
+ lineHeight: 1
21
+ }, style),
22
+ viewBox: "0 0 24 24",
23
+ width: size,
24
+ xmlns: "http://www.w3.org/2000/svg"
25
+ }, rest), {}, {
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M9.917 2c4.906 0 10.178 3.947 8.93 10.58-.014.07-.037.14-.057.21l-.003-.277c-.083-3-1.534-8.934-8.87-8.934-3.393 0-8.137 3.054-7.93 8.158-.04 4.778 3.555 8.4 7.95 8.332l.073-.001c1.2-.033 2.763-.429 3.1-1.657.063-.031.26.534.268.598.048.256.112.369.192.34.981-.348 2.286-1.222 1.952-2.38-.176-.61-1.775-.147-1.921-.347.418-.979 2.234-.926 3.153-.716.443.102.657.38 1.012.442.29.052.981-.2.96.242C17.226 19.632 13.833 22 9.918 22 3.654 22 0 16.574 0 11.737 0 5.947 4.959 2 9.917 2zM9.9 5.3c.484 0 1.125.225 1.38.585 3.669.145 4.313 2.686 4.694 5.444.255 1.838.315 2.3.182 1.387l.083.59c.068.448.554.737.982.516.144-.075.254-.231.328-.47a.2.2 0 01.258-.13l.625.22a.2.2 0 01.124.238 2.172 2.172 0 01-.51.92c-.878.917-2.757.664-3.08-.62-.14-.554-.055-.626-.345-1.242-.292-.621-1.238-.709-1.69-.295-.345.315-.407.805-.406 1.282L12.6 15.9a.9.9 0 01-.9.9h-1.4a.9.9 0 01-.9-.9v-.65a1.15 1.15 0 10-2.3 0v.65a.9.9 0 01-.9.9H4.8a.9.9 0 01-.9-.9l.035-3.239c.012-1.884.356-3.658 2.47-4.134.2-.045.252.13.29.342.025.154.043.252.053.294.701 3.058 1.75 4.299 3.144 3.722l.66-.331.254-.13c.158-.082.25-.131.276-.15.012-.01-.165-.206-.407-.464l-1.012-1.067a8.925 8.925 0 01-.199-.216c-.047-.034-.116.068-.208.306-.074.157-.251.252-.272.326-.013.058.108.298.362.72.164.288.22.508-.31.343-1.04-.8-1.518-2.273-1.684-3.725-.004-.035-.162-1.913-.162-1.913a1.2 1.2 0 011.113-1.281L9.9 5.3zm12.994 8.68c.037.697-.403.704-1.213.591l-1.783-.276c-.265-.053-.385-.099-.313-.147.47-.315 3.268-.93 3.31-.168zm-.915-.083l-.926.042c-.85.077-1.452.24.338.336l.103.003c.815.012 1.264-.359.485-.381zm1.667-3.601h.01c.79.398.067 1.03-.65 1.393-.14.07-.491.176-1.052.315-.241.04-.457.092-.333.16l.01.005c1.952.958-3.123 1.534-2.495 1.285l.38-.148c.68-.266 1.614-.682 1.666-1.337.038-.48 1.253-.442 1.493-.968.048-.106 0-.236-.144-.389-.05-.047-.094-.094-.107-.148-.073-.305.7-.431 1.222-.168zm-2.568-.474c-.135 1.198-2.479 4.192-1.949 2.863l.017-.042c.298-.717.376-2.221 1.337-3.221.25-.26.636.035.595.4zm-7.976-.253c.02-.694 1.002-.968 1.346-.347.01-1.274-1.941-.768-1.346.347z"
28
+ })
29
+ }));
30
+ });
31
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,31 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var _ref$size = _ref.size,
10
+ size = _ref$size === void 0 ? '1em' : _ref$size,
11
+ style = _ref.style,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ height: size,
17
+ ref: ref,
18
+ style: _objectSpread({
19
+ flex: 'none',
20
+ lineHeight: 1,
21
+ width: 'fit-content'
22
+ }, style),
23
+ viewBox: "0 0 98 24",
24
+ xmlns: "http://www.w3.org/2000/svg"
25
+ }, rest), {}, {
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M12.99 18.063c-.363.26-.829.453-1.396.578a7.533 7.533 0 01-1.624.188c-.233 0-.45-.032-.653-.097-.202-.066-.43-.219-.683-.46a3.065 3.065 0 01-.653-.953c-.182-.396-.337-.964-.463-1.706-.126-.74-.19-1.607-.19-2.599 0-1.663.097-2.937.29-3.824.19-.886.47-1.482.834-1.788.364-.306.885-.458 1.564-.458.12 0 .273.025.455.075l.79 1.788h2.307l.227-3.456a2.258 2.258 0 00-.144-.165c-.065-.07-.227-.196-.485-.376a5.07 5.07 0 00-.866-.48c-.318-.141-.754-.265-1.305-.376a9.029 9.029 0 00-1.77-.166c-1.366 0-2.524.205-3.475.617-.951.41-1.698 1.023-2.24 1.84-.54.816-.929 1.763-1.161 2.84C2.117 10.162 2 11.441 2 12.924c0 1.392.117 2.617.349 3.674.233 1.056.615 2.003 1.146 2.84.532.836 1.268 1.472 2.209 1.908.941.436 2.074.653 3.4.653.628 0 1.215-.052 1.762-.157.546-.105.983-.236 1.312-.391.33-.156.613-.311.851-.466.237-.156.407-.283.509-.383l.136-.165-.683-2.374zm6.923 3.62v-8.76l.16-.135.182-.15.167-.12c.057-.04.105-.07.145-.093l.242-.117a.752.752 0 01.235-.075c.076-.01.155-.015.236-.015.79 0 1.195.417 1.215 1.25v8.216h5.009v-7.618l.006-.174.01-.112v-.27c0-1.764-.287-3.02-.859-3.772-.572-.75-1.551-1.126-2.938-1.126-.394 0-.796.077-1.206.233-.41.155-.762.34-1.056.555-.277.203-.543.42-.796.654-.19.176-.344.333-.46.471l-.261.326V2h-.987l-4.874.751V4.15l.911.54v16.994h4.92zm16.062-1.336l-.152.164c-.14.156-.295.297-.463.422a7.5 7.5 0 01-.713.48 4.343 4.343 0 01-.98.413 4.104 4.104 0 01-1.184.174c-2.733 0-4.1-1.338-4.1-4.012 0-.521.097-1 .29-1.435.192-.436.44-.804.744-1.105a4.952 4.952 0 011.093-.804c.424-.235.853-.42 1.283-.555.43-.135.883-.249 1.359-.338a12.164 12.164 0 012.352-.226v-.27c0-.611-.164-1.043-.493-1.293-.329-.25-.858-.375-1.587-.375-.627 0-1.28.073-1.958.218-.678.145-1.21.318-1.594.518L28.9 10.28c.689-.44 1.585-.828 2.688-1.164a11.518 11.518 0 013.37-.503c1.011 0 1.847.097 2.505.293.657.195 1.191.525 1.601.992.41.466.701 1.056.874 1.773.17.715.257 1.625.257 2.726v6.116l.425 1.172h-4.16l-.485-1.337zm-2.49-2.87c0 1.252.43 1.878 1.291 1.878a.863.863 0 00.372-.082c.116-.055.205-.11.266-.166l.09-.082v-3.607c-.617 0-1.108.168-1.472.503-.365.336-.547.855-.547 1.556zm14.065 4.297c.562-.15.964-.298 1.207-.443.214-.124.413-.272.592-.443v-2.044c-.126.098-.27.17-.425.21-.172.05-.364.075-.577.075-.486 0-.845-.13-1.078-.39-.232-.26-.349-.791-.349-1.593v-5.59h2.535V8.912h-2.49v-3.5h-2.671l-1.549 3.5-1.79.556v2.088h1.047v5.11c0 1.932.27 3.305.812 4.117.54.81 1.495 1.216 2.86 1.216a7.247 7.247 0 001.876-.225zm14.08-.09h2.703l.015-10.337h-6.756v3.064l2.004.451v1.533c0 .54-.05.984-.152 1.33-.1.345-.257.605-.47.781a1.81 1.81 0 01-.683.361c-.293.07-.595.103-.896.097-.718 0-1.196-.526-1.434-1.578-.238-1.05-.357-2.664-.357-4.838 0-1.042.045-1.926.136-2.651.091-.727.21-1.303.357-1.728.147-.427.35-.752.607-.978.258-.225.52-.373.782-.442.263-.07.597-.105 1.002-.105.496 0 .855.06 1.078.18l.865 1.998h2.763l.228-3.455-.083-.091a3.952 3.952 0 00-.729-.534 7.484 7.484 0 00-1.602-.645 9.577 9.577 0 00-1.176-.219 11.22 11.22 0 00-1.45-.09c-1.124 0-2.125.098-3.006.293-.88.196-1.63.489-2.247.88a6.367 6.367 0 00-1.564 1.374 6 6 0 00-1.002 1.87 12.179 12.179 0 00-.523 2.27c-.112.887-.165 1.78-.16 2.674 0 1.333.125 2.52.373 3.561.247 1.042.64 1.969 1.176 2.78a5.205 5.205 0 002.179 1.863c.915.431 2.001.646 3.256.646 1.77 0 3.3-.636 4.584-1.908l.183 1.593zm4.236 0h9.549v-4.027H70.89V4.074h-5.025v17.61zM81.153 11.33l.091-3.816 2.793 12.411H88l2.322-12.411.182 3.816.774 10.353H96l-1.305-17.61h-6.346l-1.185 5.92-.576 2.975-.608-2.99-1.335-5.904h-7.12l-1.413 17.609h4.57l.47-10.353z"
28
+ })
29
+ }));
30
+ });
31
+ export default Icon;
@@ -0,0 +1,15 @@
1
+ import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
3
+ import Combine from './components/Combine';
4
+ import Mono from './components/Mono';
5
+ import Text from './components/Text';
6
+ type CompoundedComponent = typeof Mono & {
7
+ Avatar: typeof Avatar;
8
+ Color: typeof Color;
9
+ Combine: typeof Combine;
10
+ Mono: typeof Mono;
11
+ Text: typeof Text;
12
+ colorPrimary: string;
13
+ };
14
+ declare const Icons: CompoundedComponent;
15
+ export default Icons;
@@ -0,0 +1,13 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
3
+ import Combine from "./components/Combine";
4
+ import Mono from "./components/Mono";
5
+ import Text from "./components/Text";
6
+ import { COLOR_PRIMARY } from "./style";
7
+ var Icons = Mono;
8
+ Icons.Color = Color;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ export default Icons;
@@ -0,0 +1,3 @@
1
+ export declare const TEXT_MULTIPLE = 0.75;
2
+ export declare const SPACE_MULTIPLE = 0.1;
3
+ export declare const COLOR_PRIMARY = "#4268FA";
@@ -0,0 +1,3 @@
1
+ export var TEXT_MULTIPLE = 0.75;
2
+ export var SPACE_MULTIPLE = 0.1;
3
+ export var COLOR_PRIMARY = '#4268FA';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { type FlexboxProps } from 'react-layout-kit';
3
+ export interface IconAvatarProps extends FlexboxProps {
4
+ background: string;
5
+ shape?: 'circle' | 'square';
6
+ size: number;
7
+ }
8
+ declare const IconAvatar: import("react").NamedExoticComponent<IconAvatarProps>;
9
+ export default IconAvatar;
@@ -0,0 +1,27 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ import { memo } from 'react';
5
+ import { Flexbox } from 'react-layout-kit';
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ var IconAvatar = /*#__PURE__*/memo(function (_ref) {
8
+ var _ref$shape = _ref.shape,
9
+ shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
10
+ background = _ref.background,
11
+ size = _ref.size,
12
+ style = _ref.style,
13
+ children = _ref.children;
14
+ return /*#__PURE__*/_jsx(Flexbox, {
15
+ align: 'center',
16
+ flex: 'none',
17
+ justify: 'center',
18
+ style: _objectSpread({
19
+ background: background,
20
+ borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
21
+ height: size,
22
+ width: size
23
+ }, style),
24
+ children: children
25
+ });
26
+ });
27
+ export default IconAvatar;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../IconAvatar";
3
+ declare const Avatar: import("react").NamedExoticComponent<IconAvatarProps>;
4
+ export default Avatar;
@@ -0,0 +1,30 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style", "background"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { memo } from 'react';
7
+ import IconAvatar from "../../IconAvatar";
8
+ import { COLOR_PRIMARY } from "../style";
9
+ import Mono from "./Mono";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
12
+ var _ref$size = _ref.size,
13
+ size = _ref$size === void 0 ? 24 : _ref$size,
14
+ style = _ref.style,
15
+ background = _ref.background,
16
+ rest = _objectWithoutProperties(_ref, _excluded);
17
+ var bg = background || COLOR_PRIMARY;
18
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread(_objectSpread({
19
+ background: bg,
20
+ size: size,
21
+ style: _objectSpread({
22
+ color: '#fff'
23
+ }, style)
24
+ }, rest), {}, {
25
+ children: /*#__PURE__*/_jsx(Mono, {
26
+ size: size * 0.75
27
+ })
28
+ }));
29
+ });
30
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,49 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
+ var _ref$size = _ref.size,
11
+ size = _ref$size === void 0 ? '1em' : _ref$size,
12
+ style = _ref.style,
13
+ rest = _objectWithoutProperties(_ref, _excluded);
14
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
15
+ height: size,
16
+ ref: ref,
17
+ style: _objectSpread({
18
+ flex: 'none',
19
+ lineHeight: 1
20
+ }, style),
21
+ viewBox: "0 0 24 24",
22
+ width: size,
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, rest), {}, {
25
+ children: [/*#__PURE__*/_jsx("defs", {
26
+ children: /*#__PURE__*/_jsxs("linearGradient", {
27
+ id: "a",
28
+ x1: "0%",
29
+ x2: "100%",
30
+ y1: "0%",
31
+ y2: "0%",
32
+ children: [/*#__PURE__*/_jsx("stop", {
33
+ offset: "0%",
34
+ stopColor: "#00055F",
35
+ stopOpacity: ".84"
36
+ }), /*#__PURE__*/_jsx("stop", {
37
+ offset: "100%",
38
+ stopColor: "#6F69F7",
39
+ stopOpacity: ".84"
40
+ })]
41
+ })
42
+ }), /*#__PURE__*/_jsx("path", {
43
+ d: "M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z",
44
+ fill: "url(#a)",
45
+ fillRule: "nonzero"
46
+ })]
47
+ }));
48
+ });
49
+ export default Icon;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { type FlexboxProps } from 'react-layout-kit';
3
+ export interface CombineProps extends FlexboxProps {
4
+ size?: number;
5
+ type?: 'color' | 'mono';
6
+ }
7
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
8
+ export default Combine;
@@ -0,0 +1,34 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["type", "size"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { memo } from 'react';
7
+ import { Flexbox } from 'react-layout-kit';
8
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
9
+ import Color from "./Color";
10
+ import Mono from "./Mono";
11
+ import Text from "./Text";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ var Combine = /*#__PURE__*/memo(function (_ref) {
15
+ var _ref$type = _ref.type,
16
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
17
+ _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? 24 : _ref$size,
19
+ rest = _objectWithoutProperties(_ref, _excluded);
20
+ var Icon = type === 'color' ? Color : Mono;
21
+ return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
22
+ align: 'center',
23
+ flex: 'none',
24
+ gap: size * SPACE_MULTIPLE,
25
+ horizontal: true
26
+ }, rest), {}, {
27
+ children: [/*#__PURE__*/_jsx(Icon, {
28
+ size: size
29
+ }), /*#__PURE__*/_jsx(Text, {
30
+ size: size * TEXT_MULTIPLE
31
+ })]
32
+ }));
33
+ });
34
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,31 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var _ref$size = _ref.size,
10
+ size = _ref$size === void 0 ? '1em' : _ref$size,
11
+ style = _ref.style,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ height: size,
17
+ ref: ref,
18
+ style: _objectSpread({
19
+ flex: 'none',
20
+ lineHeight: 1
21
+ }, style),
22
+ viewBox: "0 0 24 24",
23
+ width: size,
24
+ xmlns: "http://www.w3.org/2000/svg"
25
+ }, rest), {}, {
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z"
28
+ })
29
+ }));
30
+ });
31
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,31 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var _ref$size = _ref.size,
10
+ size = _ref$size === void 0 ? '1em' : _ref$size,
11
+ style = _ref.style,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ height: size,
17
+ ref: ref,
18
+ style: _objectSpread({
19
+ flex: 'none',
20
+ lineHeight: 1,
21
+ width: 'fit-content'
22
+ }, style),
23
+ viewBox: "0 0 86 24",
24
+ xmlns: "http://www.w3.org/2000/svg"
25
+ }, rest), {}, {
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M6.367 8.85c.577 0 1.047.472 1.047 1.052v7.276c.416.666.855 1.161 1.302 1.486.454.325.978.55 1.586.681.534.117 1.25.197 2.139.246l.34.017c.81.031 2.019.047 3.628.047 2.688 0 5.245-.078 7.663-.225l-.508 2.16c-2.742.155-5.183.224-7.324.224-.786 0-1.578-.01-2.377-.03l-1.204-.04c-1.148-.03-2.072-.108-2.78-.224a6.023 6.023 0 01-1.934-.666c-.577-.325-1.147-.812-1.694-1.462-.416.363-.847.774-1.278 1.223-.432.456-.863.913-1.279 1.385L2 20.026l2.973-2.817v-5.906H2.847V8.85h3.52zM21.36 2.534c.611 0 1.115.465 1.18 1.062l.006.13c0 .457-.254.875-.662 1.068l-.367.184c-.785.404-1.886 1.025-3.299 1.867l-.431.248h3.642c.578 0 1.048.472 1.048 1.053v8.575c0 .558-.077.991-.231 1.285-.154.294-.408.519-.763.674-.354.154-.87.263-1.548.34l-.862.062-.6-2.314.592-.016c.4-.046.662-.124.77-.24.116-.116.17-.34.17-.688v-.163h-3.073v3.111h-2.295v-3.111h-2.904v3.111h-2.34V7.101h4.543l-2.68-1.773.655-.774H9.617v-2.02H21.36zm-6.715 9.9h-2.904v1.222h2.904v-1.223zm5.367 0h-3.072v1.222h3.072v-1.223zm-5.367-3.29h-2.904v1.293h2.904V9.144zm5.367 0h-3.072v1.293h3.072V9.144zM5.127 2c.381.308.814.702 1.306 1.187L7.85 4.614c.118.12.225.232.311.327l-.94 2.802c-.361-.534-1.155-1.4-1.91-2.23-.361-.394-.7-.742-1.016-1.052L5.127 2zm13.261 2.554H13.46l2.171 1.34.568-.31c.994-.535 1.727-.88 2.19-1.03zM31.681 3.2c.77 2.035 1.586 3.808 2.449 5.31.94 1.648 2.033 3.088 3.273 4.318 1.21-1.261 2.226-2.74 3.057-4.443.717-1.47 1.34-3.204 1.872-5.185h3.011c-.724 2.654-1.54 4.9-2.441 6.733-.901 1.835-1.995 3.437-3.289 4.8 1.094.796 2.326 1.532 3.69 2.213A47.716 47.716 0 0048 18.958l-1.425 2.856c-1.933-.851-3.635-1.695-5.113-2.53-1.48-.837-2.796-1.711-3.951-2.64-1.163.913-2.495 1.78-4.013 2.6-1.517.821-3.311 1.665-5.39 2.555l-1.595-2.701c1.918-.72 3.59-1.432 5.006-2.137a24.71 24.71 0 003.774-2.29 22.867 22.867 0 01-3.55-4.714c-1.017-1.765-2.11-4.288-3.027-6.757h2.965zm2.588-1.192h3.196l.647 1.021.455.756c.461.776.929 1.592 1.293 2.224h-3.135l-.508-.887-.362-.614c-.64-1.076-1.163-1.912-1.586-2.5z"
28
+ })
29
+ }));
30
+ });
31
+ export default Icon;
@@ -0,0 +1,15 @@
1
+ import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
3
+ import Combine from './components/Combine';
4
+ import Mono from './components/Mono';
5
+ import Text from './components/Text';
6
+ type CompoundedComponent = typeof Mono & {
7
+ Avatar: typeof Avatar;
8
+ Color: typeof Color;
9
+ Combine: typeof Combine;
10
+ Mono: typeof Mono;
11
+ Text: typeof Text;
12
+ colorPrimary: string;
13
+ };
14
+ declare const Icons: CompoundedComponent;
15
+ export default Icons;
@@ -0,0 +1,13 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
3
+ import Combine from "./components/Combine";
4
+ import Mono from "./components/Mono";
5
+ import Text from "./components/Text";
6
+ import { COLOR_PRIMARY } from "./style";
7
+ var Icons = Mono;
8
+ Icons.Color = Color;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ export default Icons;
@@ -0,0 +1,3 @@
1
+ export declare const TEXT_MULTIPLE = 0.75;
2
+ export declare const SPACE_MULTIPLE = 0.2;
3
+ export declare const COLOR_PRIMARY = "#615ced";
@@ -0,0 +1,3 @@
1
+ export var TEXT_MULTIPLE = 0.75;
2
+ export var SPACE_MULTIPLE = 0.2;
3
+ export var COLOR_PRIMARY = '#615ced';
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../IconAvatar";
3
+ declare const Avatar: import("react").NamedExoticComponent<IconAvatarProps>;
4
+ export default Avatar;
@@ -0,0 +1,30 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style", "background"];
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ import { memo } from 'react';
7
+ import IconAvatar from "../../IconAvatar";
8
+ import { COLOR_PRIMARY } from "../style";
9
+ import Mono from "./Mono";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
12
+ var _ref$size = _ref.size,
13
+ size = _ref$size === void 0 ? 24 : _ref$size,
14
+ style = _ref.style,
15
+ background = _ref.background,
16
+ rest = _objectWithoutProperties(_ref, _excluded);
17
+ var bg = background || COLOR_PRIMARY;
18
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread(_objectSpread({
19
+ background: bg,
20
+ size: size,
21
+ style: _objectSpread({
22
+ color: '#fff'
23
+ }, style)
24
+ }, rest), {}, {
25
+ children: /*#__PURE__*/_jsx(Mono, {
26
+ size: size * 0.75
27
+ })
28
+ }));
29
+ });
30
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;