@lobehub/icons 1.0.0 → 1.2.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.
- package/es/Anthropic/components/Avatar.d.ts +5 -0
- package/es/Anthropic/components/Avatar.js +20 -0
- package/es/Anthropic/components/Mono.d.ts +3 -0
- package/es/Anthropic/components/Mono.js +31 -0
- package/es/Anthropic/components/Text.d.ts +3 -0
- package/es/Anthropic/components/Text.js +31 -0
- package/es/Anthropic/index.d.ts +11 -0
- package/es/Anthropic/index.js +9 -0
- package/es/Anthropic/style.d.ts +3 -0
- package/es/Anthropic/style.js +3 -0
- package/es/ChatGLM/components/Avatar.d.ts +5 -0
- package/es/ChatGLM/components/Avatar.js +26 -0
- package/es/ChatGLM/components/Color.d.ts +3 -0
- package/es/ChatGLM/components/Color.js +51 -0
- package/es/ChatGLM/components/Combine.d.ts +7 -0
- package/es/ChatGLM/components/Combine.js +25 -0
- package/es/ChatGLM/components/Mono.d.ts +3 -0
- package/es/ChatGLM/components/Mono.js +31 -0
- package/es/ChatGLM/components/Text.d.ts +3 -0
- package/es/ChatGLM/components/Text.js +31 -0
- package/es/ChatGLM/index.d.ts +16 -0
- package/es/ChatGLM/index.js +14 -0
- package/es/ChatGLM/style.d.ts +4 -0
- package/es/ChatGLM/style.js +4 -0
- package/es/Dalle/components/Combine.d.ts +5 -0
- package/es/Dalle/components/Combine.js +29 -0
- package/es/Dalle/components/Mono.d.ts +3 -0
- package/es/Dalle/components/Mono.js +31 -0
- package/es/Dalle/components/Text.d.ts +3 -0
- package/es/Dalle/components/Text.js +31 -0
- package/es/Dalle/index.d.ts +10 -0
- package/es/Dalle/index.js +9 -0
- package/es/Dalle/style.d.ts +3 -0
- package/es/Dalle/style.js +3 -0
- package/es/Gemini/components/Avatar.d.ts +5 -0
- package/es/Gemini/components/Avatar.js +20 -0
- package/es/Gemini/components/BrandColor.d.ts +3 -0
- package/es/Gemini/components/BrandColor.js +53 -0
- package/es/Gemini/components/BrandMono.d.ts +3 -0
- package/es/Gemini/components/BrandMono.js +31 -0
- package/es/Gemini/components/Color.d.ts +3 -0
- package/es/Gemini/components/Color.js +54 -0
- package/es/Gemini/components/Combine.d.ts +7 -0
- package/es/Gemini/components/Combine.js +25 -0
- package/es/Gemini/components/Mono.d.ts +3 -0
- package/es/Gemini/components/Mono.js +31 -0
- package/es/Gemini/components/Text.d.ts +3 -0
- package/es/Gemini/components/Text.js +31 -0
- package/es/Gemini/index.d.ts +20 -0
- package/es/Gemini/index.js +18 -0
- package/es/Gemini/style.d.ts +4 -0
- package/es/Gemini/style.js +4 -0
- package/es/IconAvatar/index.d.ts +15 -0
- package/es/IconAvatar/index.js +38 -0
- package/es/IconCombine/index.d.ts +17 -0
- package/es/IconCombine/index.js +49 -0
- package/es/OpenAI/components/Avatar.d.ts +7 -0
- package/es/OpenAI/components/Avatar.js +38 -0
- package/es/OpenAI/components/Combine.d.ts +5 -0
- package/es/OpenAI/components/Combine.js +25 -0
- package/es/OpenAI/components/Mono.d.ts +3 -0
- package/es/OpenAI/components/Mono.js +31 -0
- package/es/OpenAI/components/Text.d.ts +3 -0
- package/es/OpenAI/components/Text.js +31 -0
- package/es/OpenAI/index.d.ts +15 -0
- package/es/OpenAI/index.js +13 -0
- package/es/OpenAI/style.d.ts +5 -0
- package/es/OpenAI/style.js +5 -0
- package/es/Tongyi/components/Avatar.d.ts +5 -0
- package/es/Tongyi/components/Avatar.js +19 -0
- package/es/Tongyi/components/Color.d.ts +3 -0
- package/es/Tongyi/components/Color.js +53 -0
- package/es/Tongyi/components/Combine.d.ts +7 -0
- package/es/Tongyi/components/Combine.js +29 -0
- package/es/Tongyi/components/Mono.d.ts +3 -0
- package/es/Tongyi/components/Mono.js +31 -0
- package/es/Tongyi/components/Text.d.ts +3 -0
- package/es/Tongyi/components/Text.js +31 -0
- package/es/Tongyi/index.d.ts +16 -0
- package/es/Tongyi/index.js +14 -0
- package/es/Tongyi/style.d.ts +4 -0
- package/es/Tongyi/style.js +4 -0
- package/es/Wenxin/components/Avatar.d.ts +5 -0
- package/es/Wenxin/components/Avatar.js +19 -0
- package/es/Wenxin/components/Color.d.ts +3 -0
- package/es/Wenxin/components/Color.js +57 -0
- package/es/Wenxin/components/Combine.d.ts +7 -0
- package/es/Wenxin/components/Combine.js +25 -0
- package/es/Wenxin/components/Mono.d.ts +3 -0
- package/es/Wenxin/components/Mono.js +31 -0
- package/es/Wenxin/components/Text.d.ts +3 -0
- package/es/Wenxin/components/Text.js +31 -0
- package/es/Wenxin/index.d.ts +16 -0
- package/es/Wenxin/index.js +14 -0
- package/es/Wenxin/style.d.ts +4 -0
- package/es/Wenxin/style.js +4 -0
- package/es/Zhipu/components/Avatar.d.ts +2 -1
- package/es/Zhipu/components/Avatar.js +6 -15
- package/es/Zhipu/components/Combine.d.ts +2 -3
- package/es/Zhipu/components/Combine.js +9 -18
- package/es/Zhipu/components/Text.js +2 -1
- package/es/Zhipu/index.d.ts +15 -6
- package/es/Zhipu/index.js +13 -6
- package/es/components/ColorPreview/index.js +40 -0
- package/es/{Editor/Preview.d.ts → components/Editor/Color.d.ts} +1 -2
- package/es/components/Editor/Color.js +47 -0
- package/es/components/Editor/Mono.d.ts +8 -0
- package/es/components/Editor/Mono.js +47 -0
- package/es/components/Editor/Preview.d.ts +8 -0
- package/es/components/Editor/Preview.js +57 -0
- package/es/components/Editor/index.js +122 -0
- package/es/components/Editor/useSvgo.d.ts +6 -0
- package/es/components/Editor/useSvgo.js +51 -0
- package/es/components/IconPreview/ColorPreview.d.ts +6 -0
- package/es/{IconPreview → components/IconPreview}/ColorPreview.js +1 -2
- package/es/hooks/useFillId.d.ts +4 -0
- package/es/hooks/useFillId.js +7 -0
- package/es/index.d.ts +11 -4
- package/es/index.js +10 -5
- package/package.json +7 -9
- package/es/Editor/Preview.js +0 -93
- package/es/Editor/index.js +0 -67
- package/es/IconShowcase/index.d.ts +0 -11
- package/es/IconShowcase/index.js +0 -91
- /package/es/{IconPreview/ColorPreview.d.ts → components/ColorPreview/index.d.ts} +0 -0
- /package/es/{Editor → components/Editor}/data.d.ts +0 -0
- /package/es/{Editor → components/Editor}/data.js +0 -0
- /package/es/{Editor → components/Editor}/index.d.ts +0 -0
- /package/es/{Editor → components/Editor}/svgo.d.ts +0 -0
- /package/es/{Editor → components/Editor}/svgo.js +0 -0
- /package/es/{IconPreview → components/IconPreview}/index.d.ts +0 -0
- /package/es/{IconPreview → components/IconPreview}/index.js +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["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 background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY,
|
|
17
|
+
color: '#191918'
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|
|
@@ -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: "M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
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 182 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M38.247 15.874L29.553 2.338H24.86v19.337h4.002V8.139l8.694 13.536h4.693V2.338h-4.003v13.536zm7.313-9.807h6.487v15.608h4.14V6.067h6.487v-3.73H45.56v3.73zm33.686 3.978h-9.109V2.338h-4.14v19.337h4.14v-7.9h9.109v7.9h4.14V2.338h-4.14v7.707zm13.39-3.978h5.108c2.043 0 3.12.746 3.12 2.155 0 1.408-1.077 2.154-3.12 2.154h-5.107v-4.31zm12.37 2.155c0-3.647-2.679-5.884-7.068-5.884h-9.443v19.337h4.142v-7.57h4.61l4.142 7.57h4.583l-4.586-8.146c2.302-.885 3.62-2.75 3.62-5.307zm12.686 9.91c-3.257 0-5.244-2.32-5.244-6.104 0-3.84 1.987-6.16 5.244-6.16 3.23 0 5.189 2.32 5.189 6.16 0 3.784-1.96 6.105-5.189 6.105zm0-16.132c-5.575 0-9.522 4.144-9.522 10.028 0 5.828 3.947 9.972 9.522 9.972 5.547 0 9.466-4.144 9.466-9.972C127.158 6.144 123.24 2 117.692 2zm22.59 8.929h-5.109V6.067h5.11c2.043 0 3.12.829 3.12 2.43 0 1.603-1.077 2.432-3.12 2.432zm.194-8.591h-9.445v19.337h4.142v-7.017h5.303c4.39 0 7.07-2.32 7.07-6.16 0-3.84-2.68-6.16-7.07-6.16zm35.108 12.839c-.718 1.878-2.153 2.956-4.113 2.956-3.257 0-5.244-2.32-5.244-6.105 0-3.84 1.987-6.16 5.244-6.16 1.96 0 3.395 1.077 4.113 2.955h4.388C178.896 4.68 175.667 2 171.472 2c-5.576 0-9.523 4.144-9.523 10.028 0 5.828 3.947 9.972 9.522 9.972 4.223 0 7.453-2.707 8.529-6.823h-4.416zm-26.39-12.84l7.705 19.338h4.225L153.42 2.338h-4.225zM9.277 14.024l2.636-6.796 2.637 6.796H9.276zm.428-11.685L2 21.675h4.307l1.576-4.06h8.06l1.575 4.06h4.307L14.121 2.338H9.704z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Mono from './components/Mono';
|
|
3
|
+
import Text from './components/Text';
|
|
4
|
+
export type CompoundedIcon = typeof Mono & {
|
|
5
|
+
Avatar: typeof Avatar;
|
|
6
|
+
Mono: typeof Mono;
|
|
7
|
+
Text: typeof Text;
|
|
8
|
+
colorPrimary: string;
|
|
9
|
+
};
|
|
10
|
+
declare const Icons: CompoundedIcon;
|
|
11
|
+
export default Icons;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Mono from "./components/Mono";
|
|
3
|
+
import Text from "./components/Text";
|
|
4
|
+
import { COLOR_PRIMARY } from "./style";
|
|
5
|
+
var Icons = Mono;
|
|
6
|
+
Icons.Text = Text;
|
|
7
|
+
Icons.Avatar = Avatar;
|
|
8
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
9
|
+
export default Icons;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "background", "iconStyle"];
|
|
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_GRADIENT } 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
|
+
background = _ref.background,
|
|
15
|
+
iconStyle = _ref.iconStyle,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
+
Icon: Mono,
|
|
19
|
+
background: background || COLOR_GRADIENT,
|
|
20
|
+
iconStyle: _objectSpread({
|
|
21
|
+
marginLeft: size * 0.1
|
|
22
|
+
}, iconStyle),
|
|
23
|
+
size: size
|
|
24
|
+
}, rest));
|
|
25
|
+
});
|
|
26
|
+
export default Avatar;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { useFillId } from "../../hooks/useFillId";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
var _useFillId = useFillId('chatglm'),
|
|
16
|
+
id = _useFillId.id,
|
|
17
|
+
fill = _useFillId.fill;
|
|
18
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
19
|
+
height: size,
|
|
20
|
+
ref: ref,
|
|
21
|
+
style: _objectSpread({
|
|
22
|
+
flex: 'none',
|
|
23
|
+
lineHeight: 1
|
|
24
|
+
}, style),
|
|
25
|
+
viewBox: "0 0 24 24",
|
|
26
|
+
width: size,
|
|
27
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
28
|
+
}, rest), {}, {
|
|
29
|
+
children: [/*#__PURE__*/_jsx("defs", {
|
|
30
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
31
|
+
id: id,
|
|
32
|
+
x1: "-18.756%",
|
|
33
|
+
x2: "70.894%",
|
|
34
|
+
y1: "49.371%",
|
|
35
|
+
y2: "90.944%",
|
|
36
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
37
|
+
offset: "0%",
|
|
38
|
+
stopColor: "#504AF4"
|
|
39
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
40
|
+
offset: "100%",
|
|
41
|
+
stopColor: "#3485FF"
|
|
42
|
+
})]
|
|
43
|
+
})
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
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",
|
|
46
|
+
fill: fill,
|
|
47
|
+
fillRule: "evenodd"
|
|
48
|
+
})]
|
|
49
|
+
}));
|
|
50
|
+
});
|
|
51
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../IconCombine";
|
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
|
4
|
+
type?: 'color' | 'mono';
|
|
5
|
+
}
|
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
7
|
+
export default Combine;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type"];
|
|
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 IconCombine from "../../IconCombine";
|
|
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
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var _ref$type = _ref.type,
|
|
15
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
|
+
Icon: Icon,
|
|
20
|
+
Text: Text,
|
|
21
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
22
|
+
textMultiple: TEXT_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Combine;
|
|
@@ -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,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,16 @@
|
|
|
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
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Mono: typeof Mono;
|
|
11
|
+
Text: typeof Text;
|
|
12
|
+
colorGradient: string;
|
|
13
|
+
colorPrimary: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Icons: CompoundedIcon;
|
|
16
|
+
export default Icons;
|
|
@@ -0,0 +1,14 @@
|
|
|
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_GRADIENT, 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
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
|
14
|
+
export default Icons;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["extraStyle", "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 IconCombine from "../../IconCombine";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import Text from "./Text";
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
13
|
+
var extraStyle = _ref.extraStyle,
|
|
14
|
+
_ref$size = _ref.size,
|
|
15
|
+
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
18
|
+
Icon: Mono,
|
|
19
|
+
Text: Text,
|
|
20
|
+
extraStyle: _objectSpread({
|
|
21
|
+
fontSize: size * 0.85,
|
|
22
|
+
marginLeft: size * SPACE_MULTIPLE
|
|
23
|
+
}, extraStyle),
|
|
24
|
+
size: size,
|
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
|
27
|
+
}, rest));
|
|
28
|
+
});
|
|
29
|
+
export default Combine;
|
|
@@ -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: "M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
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 85 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M8.147 2c1.438 0 2.75.225 3.937.676 1.186.45 2.21 1.099 3.074 1.946a8.625 8.625 0 011.927 3.094c.44 1.198.66 2.527.66 3.987s-.22 2.788-.66 3.986a8.625 8.625 0 01-1.927 3.095 8.778 8.778 0 01-3.074 1.946c-1.187.45-2.499.675-3.937.675H2V2h6.147zm19.898 0l7.469 19.405h-2.615l-1.969-5.108H22.25l-1.942 5.108H17.72L25.187 2h2.858zM8.12 4.243H4.534v14.92h3.613c2.175 0 3.896-.672 5.164-2.014 1.267-1.343 1.9-3.158 1.9-5.446 0-2.289-.633-4.104-1.9-5.446-1.268-1.343-2.998-2.014-5.19-2.014zm18.442.676l-3.45 9.108h6.956l-3.506-9.108zm23.215 16.486H37.536V2h2.588v17.135h9.653v2.27zM54.414 2v17.135h9.653v2.27H51.826V2h2.588zm12.619 9.946v3.19h-3.074v-3.19h3.074zm2.965 9.46V2h12.646v2.27H72.56v5.973h8.547v2.27H72.56v6.622h10.084v2.27H69.998z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Combine from './components/Combine';
|
|
2
|
+
import Mono from './components/Mono';
|
|
3
|
+
import Text from './components/Text';
|
|
4
|
+
export type CompoundedIcon = typeof Mono & {
|
|
5
|
+
Combine: typeof Combine;
|
|
6
|
+
Text: typeof Text;
|
|
7
|
+
colorPrimary: string;
|
|
8
|
+
};
|
|
9
|
+
declare const Icons: CompoundedIcon;
|
|
10
|
+
export default Icons;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Combine from "./components/Combine";
|
|
2
|
+
import Mono from "./components/Mono";
|
|
3
|
+
import Text from "./components/Text";
|
|
4
|
+
import { COLOR_PRIMARY } from "./style";
|
|
5
|
+
var Icons = Mono;
|
|
6
|
+
Icons.Text = Text;
|
|
7
|
+
Icons.Combine = Combine;
|
|
8
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
9
|
+
export default Icons;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["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_GRADIENT } 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 background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_GRADIENT,
|
|
17
|
+
iconMultiple: 0.6
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|