@lobehub/icons 1.14.0 → 1.15.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/README.md +3 -48
- package/es/Yi/components/Avatar.js +1 -2
- package/es/Yi/components/Text.d.ts +1 -3
- package/es/Yi/components/Text.js +1 -35
- package/es/ZeroOne/components/Avatar.d.ts +5 -0
- package/es/ZeroOne/components/Avatar.js +21 -0
- package/es/ZeroOne/components/Color.d.ts +3 -0
- package/es/ZeroOne/components/Color.js +43 -0
- package/es/ZeroOne/components/Combine.d.ts +5 -0
- package/es/ZeroOne/components/Combine.js +24 -0
- package/es/ZeroOne/components/Mono.d.ts +3 -0
- package/es/ZeroOne/components/Mono.js +35 -0
- package/es/ZeroOne/components/Text.d.ts +3 -0
- package/es/ZeroOne/components/Text.js +35 -0
- package/es/ZeroOne/index.d.ts +13 -0
- package/es/ZeroOne/index.js +12 -0
- package/es/ZeroOne/style.d.ts +4 -0
- package/es/ZeroOne/style.js +4 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,54 +57,9 @@ Contributions, corrections & requests can be made on GitHub.
|
|
|
57
57
|
|
|
58
58
|
**Supported brands:**
|
|
59
59
|
|
|
60
|
-
<!-- ICON LIST -->
|
|
61
|
-
|
|
62
|
-
- [x] [
|
|
63
|
-
- [x] [Yi (零一万物)](https://icons.lobehub.com/components/yi)
|
|
64
|
-
- [x] [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)
|
|
65
|
-
- [x] [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)
|
|
66
|
-
- [x] [Tongyi (通义)](https://icons.lobehub.com/components/tongyi)
|
|
67
|
-
- [x] [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)
|
|
68
|
-
- [x] [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)
|
|
69
|
-
- [x] [Replicate](https://icons.lobehub.com/components/replicate)
|
|
70
|
-
- [x] [Zhipu (智谱清言)](https://icons.lobehub.com/components/qingyan)
|
|
71
|
-
- [x] [Pollinations](https://icons.lobehub.com/components/pollinations)
|
|
72
|
-
- [x] [Perplexity](https://icons.lobehub.com/components/perplexity)
|
|
73
|
-
- [x] [OpenRouter](https://icons.lobehub.com/components/open-router)
|
|
74
|
-
- [x] [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)
|
|
75
|
-
- [x] [Ollama](https://icons.lobehub.com/components/ollama)
|
|
76
|
-
- [x] [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)
|
|
77
|
-
- [x] [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)
|
|
78
|
-
- [x] [Mistral](https://icons.lobehub.com/components/mistral)
|
|
79
|
-
- [x] [Minimax](https://icons.lobehub.com/components/minimax)
|
|
80
|
-
- [x] [Midjourney](https://icons.lobehub.com/components/midjourney)
|
|
81
|
-
- [x] [Meta (Llama)](https://icons.lobehub.com/components/meta)
|
|
82
|
-
- [x] [LLaVA](https://icons.lobehub.com/components/l-la-va)
|
|
83
|
-
- [x] [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)
|
|
84
|
-
- [x] [HuggingFace](https://icons.lobehub.com/components/hugging-face)
|
|
85
|
-
- [x] [Groq](https://icons.lobehub.com/components/groq)
|
|
86
|
-
- [x] [Grok](https://icons.lobehub.com/components/grok)
|
|
87
|
-
- [x] [Google](https://icons.lobehub.com/components/google)
|
|
88
|
-
- [x] [Github (Copilot)](https://icons.lobehub.com/components/github-copilot)
|
|
89
|
-
- [x] [Github](https://icons.lobehub.com/components/github)
|
|
90
|
-
- [x] [Google (Gemma)](https://icons.lobehub.com/components/gemma)
|
|
91
|
-
- [x] [Google (Gemini)](https://icons.lobehub.com/components/gemini)
|
|
92
|
-
- [x] [Fireworks](https://icons.lobehub.com/components/fireworks)
|
|
93
|
-
- [x] [Google (DeepMind)](https://icons.lobehub.com/components/deep-mind)
|
|
94
|
-
- [x] [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)
|
|
95
|
-
- [x] [Microsoft (Copilot)](https://icons.lobehub.com/components/copilot)
|
|
96
|
-
- [x] [Google (Colab)](https://icons.lobehub.com/components/colab)
|
|
97
|
-
- [x] [Cohere (Command)](https://icons.lobehub.com/components/cohere)
|
|
98
|
-
- [x] [Cloudflare](https://icons.lobehub.com/components/cloudflare)
|
|
99
|
-
- [x] [Anthropic (Claude)](https://icons.lobehub.com/components/claude)
|
|
100
|
-
- [x] [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm)
|
|
101
|
-
- [x] [Microsoft (Bing)](https://icons.lobehub.com/components/bing)
|
|
102
|
-
- [x] [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)
|
|
103
|
-
- [x] [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)
|
|
104
|
-
- [x] [Microsoft (Azure)](https://icons.lobehub.com/components/azure)
|
|
105
|
-
- [x] [AWS](https://icons.lobehub.com/components/aws)
|
|
106
|
-
- [x] [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)
|
|
107
|
-
- [x] [Anthropic](https://icons.lobehub.com/components/anthropic)
|
|
60
|
+
<!-- ICON LIST -->
|
|
61
|
+
|
|
62
|
+
- [x] [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)
|
|
108
63
|
|
|
109
64
|
<!-- ICON LIST -->
|
|
110
65
|
|
package/es/Yi/components/Text.js
CHANGED
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
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 { TITLE } from "../style";
|
|
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
|
-
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
fillRule: "evenodd",
|
|
18
|
-
height: size,
|
|
19
|
-
ref: ref,
|
|
20
|
-
style: _objectSpread({
|
|
21
|
-
flex: 'none',
|
|
22
|
-
lineHeight: 1,
|
|
23
|
-
width: 'fit-content'
|
|
24
|
-
}, style),
|
|
25
|
-
viewBox: "0 0 89 24",
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
-
}, rest), {}, {
|
|
28
|
-
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
-
children: TITLE
|
|
30
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
-
d: "M72.852 2.024v4.958h2.449v1.359h-2.384v3.834l1.578-.687.79-.344.708 1.424c-.888.536-1.725 1.067-2.591 1.551-.403.227-.547.499-.541.963.025 2.041.01 4.08.01 6.122V22h-2.345v-6.022l-2.265 1.627-1.432-1.943c1.097-.645 2.124-1.272 3.177-1.856.379-.21.54-.447.533-.89-.026-1.489-.01-2.978-.01-4.448l-.245-.05c-.93-.183-.947-.108-1.15.827-.184.85-.379 1.7-.582 2.605l-1.427-.246-.142-.024.767-7.998h2.136l-.374 3.356h.997V2.024h2.343zm3.682.022h2.113l-.267 2.776h8.618v.288c.002.202.003.378 0 .553-.074 3.867-.137 7.733-.236 11.6a6.761 6.761 0 01-.32 1.947c-.54 1.608-1.696 2.405-3.385 2.404-.639 0-1.276-.09-1.914-.113l-.213-.005c-.46-.004-.671-.18-.728-.615l-.004-.036c-.043-.393-.144-.78-.237-1.26.472.045.884.07 1.287.124l.11.015c1.664.244 2.767-.571 2.823-2.246.118-3.555.17-7.113.22-10.671.003-.19-.259-.383-.397-.575-.145.188-.4.366-.419.565l-.027.29c-.365 3.71-1.16 7.29-3.127 10.528-.817 1.346-1.797 2.553-3.168 3.498l-.696-.73-.081-.085c.017-.085.01-.147.037-.174 2.953-2.897 4.195-6.579 4.82-10.538.128-.81.21-1.629.302-2.445l.038-.334.016-.125c.027-.227.02-.437-.36-.459-.408-.023-.442.21-.482.528-.386 3.076-1.082 6.064-2.584 8.811-.894 1.637-1.981 3.118-3.625 4.269l-.803-.9c3.522-3.461 4.63-7.902 5.183-12.61l-.092-.026c-.524-.141-.844-.11-.94.526l-.006.037c-.1.744-.336 1.467-.533 2.28l-1.552-.284.536-5.799.093-1.01zM46.061 3.948V2.725h18.464v1.222c-.267.013-.539.036-.812.036-2.782.002-5.564.013-8.347-.003l-1.193-.009c-.603-.005-.833.145-.806.756l.001.038c.055.917.015 1.84.015 2.842h9.928c.02.277.051.48.046.683l-.064 2.94c-.044 1.962-.09 3.922-.144 5.882a7.615 7.615 0 01-.208 1.616c-.43 1.727-1.566 2.672-3.336 2.76-.922.045-1.85-.03-2.772-.016-.543.007-.809-.21-.866-.74l-.003-.038c-.033-.373-.148-.74-.245-1.2.772.048 1.495.112 2.22.135l.11.002c1.632.023 2.425-.62 2.516-2.26.144-2.604.162-5.214.208-7.824.003-.16-.222-.463-.345-.464-2.414-.027-4.83-.02-7.28-.02-.764 4.935-2.051 9.559-6.147 12.887l-1.353-1.366c3.733-3.777 4.849-8.533 5.206-13.573.05-.689.064-1.38.098-2.07l.02-.346c.027-.457-.167-.614-.597-.615h-.033c-1.163.02-2.325.008-3.489.004-.253 0-.507-.021-.792-.036zM21.163 2v1.275h-7.488v.819h8.46c.168 1.7-.034 3.257-.541 4.777-.047.14-.3.313-.443.302-.442-.033-.878-.15-1.287-.227V5.518h-6.21v3.538h-2.358c0-.85-.03-1.702.002-2.553l.011-.256c.032-.606-.136-.818-.75-.807l-.036.001a81.202 81.202 0 01-4.486.003c-.514-.011-.708.171-.867.635l-.012.036c-.299.912-.693 1.794-1.071 2.72l-.081.198-1.654-.646L3.358 4.11h7.784l.023-.071c.214-.678.16-.753-.507-.758h-.034c-1.01-.003-2.018-.004-3.027-.004l-3.845.001V2h17.411zM5.788 8.281h4.568l.04.803H5.832l-.044-.803zM19 8.258v.81h-4.567v-.81H19zm-.005-1.687v.863h-4.574V6.57h4.574zm-8.643.011v.837H5.825v-.837h4.527zm2.887 6.05l.023.061c.04.103.067.156.075.213.125.907.657 1.36 1.597 1.36h2.614c.171.896.12 1.655-.476 2.276-1.044 1.093-2.104 2.168-3.216 3.313l.885.928.058.062-.943.894-4.785-3.114-1.213-.791v-.001l1.012-1.616c.889.62 1.764 1.197 2.604 1.817l.251.187c.404.307.685.378 1.046-.01l.025-.028c.705-.79 1.447-1.545 2.175-2.316l-.1-.207H7.016v-1.385h4.631l-.514-1.356-.039-.101 1.957-.17.187-.016zm3.196-1.497l.083.05c1.933 1.194 4.168 1.497 6.446 1.207l.04.201c.198 1.017.07 1.145-1.027 1.264-2.996.327-5.78-.343-8.322-1.916l-.098-.06c-.738-.465-1.307-.456-2.026-.017l-.045.028c-2.495 1.563-5.225 2.252-8.164 1.993l-.241-.023c-1.1-.11-1.155-.212-1.038-1.385l.009-.087.105.013c2.912.323 5.496-.472 7.897-2.021.278-.18.648-.225.983-.298.18-.04.379.007.568-.008 1.724-.143 3.285.13 4.83 1.059zm27.371 1.017H25.374V10.88h18.432v1.273z"
|
|
32
|
-
})]
|
|
33
|
-
}));
|
|
34
|
-
});
|
|
35
|
-
export default Icon;
|
|
1
|
+
export { default } from "../../ZeroOne/components/Text";
|
|
@@ -0,0 +1,21 @@
|
|
|
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, TITLE } 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
|
+
"aria-label": TITLE,
|
|
17
|
+
background: background || COLOR_PRIMARY,
|
|
18
|
+
color: '#fff'
|
|
19
|
+
}, rest));
|
|
20
|
+
});
|
|
21
|
+
export default Avatar;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { TITLE } from "../style";
|
|
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
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
width: size,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
31
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.118 1.118 0 01-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128zM16.59 3.052a1.094 1.094 0 011.562-.129c.466.404.522 1.116.126 1.59l-5.938 7.111v9.147c0 .624-.496 1.129-1.108 1.129a1.118 1.118 0 01-1.108-1.129v-9.477l.003-.088.01-.087c.015-.232.102-.462.261-.654l6.192-7.413zM2.906 2.256a1.094 1.094 0 011.559.157l4.387 5.45a1.142 1.142 0 01-.155 1.587 1.094 1.094 0 01-1.559-.157l-4.387-5.45a1.144 1.144 0 01.06-1.498l.095-.09z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("ellipse", {
|
|
34
|
+
cx: "20.146",
|
|
35
|
+
cy: "10.692",
|
|
36
|
+
fill: "#00FF25",
|
|
37
|
+
rx: "1.354",
|
|
38
|
+
ry: "1.379"
|
|
39
|
+
})]
|
|
40
|
+
})]
|
|
41
|
+
}));
|
|
42
|
+
});
|
|
43
|
+
export default Icon;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
import { memo } from 'react';
|
|
6
|
+
import IconCombine from "../../IconCombine";
|
|
7
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
8
|
+
import Avatar from "./Avatar";
|
|
9
|
+
import Text from "./Text";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
14
|
+
Icon: Avatar,
|
|
15
|
+
Text: Text,
|
|
16
|
+
"aria-label": TITLE,
|
|
17
|
+
iconProps: {
|
|
18
|
+
shape: 'square'
|
|
19
|
+
},
|
|
20
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
21
|
+
textMultiple: TEXT_MULTIPLE
|
|
22
|
+
}, rest));
|
|
23
|
+
});
|
|
24
|
+
export default Combine;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { TITLE } from "../style";
|
|
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
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
width: size,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M5.246 12c0 .837-.086 1.554-.257 2.151-.172.598-.45 1.055-.837 1.373-.386.317-.898.476-1.534.476-.901 0-1.563-.353-1.985-1.059C.211 14.235 0 13.255 0 12c0-.837.086-1.554.257-2.151.172-.598.45-1.055.832-1.373C1.472 8.16 1.981 8 2.618 8c.894 0 1.555.351 1.985 1.053.429.702.643 1.685.643 2.947zm-3.883 0c0 .956.09 1.668.273 2.134.183.467.51.7.982.7.465 0 .792-.23.981-.694.19-.463.285-1.176.285-2.14 0-.956-.095-1.668-.285-2.134-.19-.467-.516-.7-.981-.7-.472 0-.8.233-.982.7-.182.466-.273 1.178-.273 2.134zm8.52 3.771H8.517l.011-6.295-1.823.324V8.571l2.04-.457h1.136v7.657zm2.497-1.6h.543c.3 0 .543.256.543.572v.571a.558.558 0 01-.543.572h-.543a.558.558 0 01-.543-.572v-.571c0-.316.243-.572.543-.572zm10.317-6.057H24v7.772h-1.303V8.114zm-3.692 0l2.606 7.772h-1.303l-.69-2.058h-3.073l-.69 2.058h-1.303l2.606-7.772h1.847zm.191 4.457l-1.115-3.323-1.114 3.323h2.23z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
export default Icon;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { TITLE } from "../style";
|
|
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
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1,
|
|
23
|
+
width: 'fit-content'
|
|
24
|
+
}, style),
|
|
25
|
+
viewBox: "0 0 88 24",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M45.502 4.144h4.81l.014.448c.036 2.124-.12 11.282-5.306 15.896l1.409 1.4.186-.12.162-.115c1.146-.85 4.78-4.157 5.792-12.516h7.455l-.01 2.091-.024 1.855c-.03 1.85-.089 3.83-.199 4.663-.245 1.81-2.07 1.78-2.32 1.768l-2.473-.163.449 1.992c1.098.137 2.206.185 3.312.144 3.76-.086 3.72-4.137 3.72-4.137l.212-9.72h-9.975c.085-1.086.125-2.245.115-3.486h11.047V2.71H45.502v1.434zm-2.079 6.658H25.047v1.435h18.376v-1.435zM21.107 2v1.435h-7.501v.714h8.397l.022.227.014.206c.05.861.057 2.86-.713 4.752l-1.79-.323c.168-1.136.23-2.285.188-3.432h-6.118v3.634h-2.394V5.579H5.435a10.913 10.913 0 01-1.453 3.523L2.29 8.427c.5-1.383.833-2.82.993-4.283h7.929v-.71H3.71V2h17.396zM10.442 8.23v.983H5.753v-.984h4.689zm8.493 0v.983h-4.689v-.984h4.69zm-8.493-1.661v.983H5.753V6.57h4.689zm8.493 0v.983h-4.689V6.57h4.69zm-5.65 5.992l.185 1.654h4.08v1.44l-.087.17c-.28.516-1.294 2.13-3.772 3.856.385.332.752.685 1.1 1.056l-1.042 1.056a47.585 47.585 0 00-6-3.915l1.094-1.753.444.289a52.17 52.17 0 012.94 2.087 13.41 13.41 0 002.617-2.844H6.948V14.22h4.62l-.62-1.452 2.337-.207zm1.208-2.523c2.114 1.518 4.955 2.766 8.453 2.27l-.073 1.38-.156.042c-.859.213-5.163 1.043-9.935-2.21h-.617c-5.34 3.639-10.091 2.168-10.091 2.168L2 12.308c3.498.496 6.336-.752 8.454-2.27h4.039zm57.552-8.005v4.985h2.5v1.44h-2.5v3.708a20.898 20.898 0 012.385-1.056l.738 1.497-.942.544c-.557.327-1.32.785-2.18 1.325V22h-2.392v-5.955a46.133 46.133 0 00-2.19 1.598l-1.485-2.019 1.356-.824.51-.302c.54-.318 1.16-.677 1.813-1.043V8.453H68.52l-.11.648c-.189 1.073-.412 2.094-.665 2.84l-1.697-.348.093-.561c.201-1.27.658-4.485.658-7.502l2.329.063-.124 1.216-.098.859c-.05.416-.108.873-.173 1.35h.921V2.033h2.391zm3.422 0l2.334.065-.11 1.056-.094.795c-.037.29-.079.603-.125.93L86 4.878l-.215 12.684-.01.184c-.075.925-.557 3.78-3.707 3.851a20.348 20.348 0 01-2.743-.21l-.422-1.961 1.889.2h.152l.149-.007c.605-.046 1.806-.319 2.002-1.763l.022-.198.025-.31c.073-1.036.117-2.963.144-4.918l.034-3.794.007-2.278h-.682c-.69 10.837-5.617 14.292-6.25 14.693l-.067.04-.913-.963c4.115-3.658 5.065-10.17 5.264-13.77h-.692c-1.052 10.532-6.213 13.45-6.213 13.45l-.914-.964c3.66-3.255 4.814-8.774 5.164-12.486h-.79a20.988 20.988 0 01-.696 2.904l-1.696-.351c.417-2.269.626-4.571.625-6.878z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
export default Icon;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Combine from './components/Combine';
|
|
3
|
+
import Mono from './components/Mono';
|
|
4
|
+
import Text from './components/Text';
|
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
|
6
|
+
Avatar: typeof Avatar;
|
|
7
|
+
Combine: typeof Combine;
|
|
8
|
+
Text: typeof Text;
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
declare const Icons: CompoundedIcon;
|
|
13
|
+
export default Icons;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Combine from "./components/Combine";
|
|
3
|
+
import Mono from "./components/Mono";
|
|
4
|
+
import Text from "./components/Text";
|
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
6
|
+
var Icons = Mono;
|
|
7
|
+
Icons.Text = Text;
|
|
8
|
+
Icons.Combine = Combine;
|
|
9
|
+
Icons.Avatar = Avatar;
|
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
11
|
+
Icons.title = TITLE;
|
|
12
|
+
export default Icons;
|
package/es/index.d.ts
CHANGED
|
@@ -46,4 +46,5 @@ export type { IconType } from './types';
|
|
|
46
46
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
|
47
47
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
|
48
48
|
export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
|
|
49
|
+
export { default as ZeroOne, type CompoundedIcon as ZeroOneProps } from './ZeroOne';
|
|
49
50
|
export { default as Zhipu, type CompoundedIcon as ZhipuProps } from './Zhipu';
|
package/es/index.js
CHANGED
|
@@ -45,4 +45,5 @@ export { default as Tongyi } from "./Tongyi";
|
|
|
45
45
|
export { default as Wenxin } from "./Wenxin";
|
|
46
46
|
export { default as WorkersAI } from "./WorkersAI";
|
|
47
47
|
export { default as Yi } from "./Yi";
|
|
48
|
+
export { default as ZeroOne } from "./ZeroOne";
|
|
48
49
|
export { default as Zhipu } from "./Zhipu";
|