@lobehub/icons 2.39.0 → 2.41.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 +19 -18
- package/es/CapCut/components/Avatar.d.ts +5 -0
- package/es/CapCut/components/Avatar.js +25 -0
- package/es/CapCut/components/Combine.d.ts +5 -0
- package/es/CapCut/components/Combine.js +29 -0
- package/es/CapCut/components/Mono.d.ts +3 -0
- package/es/CapCut/components/Mono.js +40 -0
- package/es/CapCut/components/Text.d.ts +3 -0
- package/es/CapCut/components/Text.js +39 -0
- package/es/CapCut/index.d.ts +13 -0
- package/es/CapCut/index.js +12 -0
- package/es/CapCut/style.d.ts +7 -0
- package/es/CapCut/style.js +9 -0
- package/es/DeepL/components/Avatar.d.ts +5 -0
- package/es/DeepL/components/Avatar.js +25 -0
- package/es/DeepL/components/Color.d.ts +3 -0
- package/es/DeepL/components/Color.js +43 -0
- package/es/DeepL/components/Combine.d.ts +7 -0
- package/es/DeepL/components/Combine.js +32 -0
- package/es/DeepL/components/Mono.d.ts +3 -0
- package/es/DeepL/components/Mono.js +43 -0
- package/es/DeepL/components/Text.d.ts +3 -0
- package/es/DeepL/components/Text.js +39 -0
- package/es/DeepL/index.d.ts +15 -0
- package/es/DeepL/index.js +14 -0
- package/es/DeepL/style.d.ts +7 -0
- package/es/DeepL/style.js +9 -0
- package/es/Sora/components/Avatar.d.ts +5 -0
- package/es/Sora/components/Avatar.js +25 -0
- package/es/Sora/components/Color.d.ts +3 -0
- package/es/Sora/components/Color.js +155 -0
- package/es/Sora/components/Combine.d.ts +7 -0
- package/es/Sora/components/Combine.js +32 -0
- package/es/Sora/components/Inner.d.ts +3 -0
- package/es/Sora/components/Inner.js +138 -0
- package/es/Sora/components/Mono.d.ts +3 -0
- package/es/Sora/components/Mono.js +51 -0
- package/es/Sora/components/Text.d.ts +3 -0
- package/es/Sora/components/Text.js +39 -0
- package/es/Sora/index.d.ts +16 -0
- package/es/Sora/index.js +15 -0
- package/es/Sora/style.d.ts +8 -0
- package/es/Sora/style.js +10 -0
- package/es/features/modelConfig.js +5 -1
- package/es/icons.d.ts +3 -0
- package/es/icons.js +3 -0
- package/es/toc.js +55 -0
- package/package.json +1 -1
@@ -0,0 +1,39 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
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; }
|
6
|
+
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; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 61 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M51.144 21.972c-1.424 0-2.58-.388-3.468-1.165-.869-.776-1.303-1.793-1.303-3.05 0-1.332.471-2.359 1.414-3.08.944-.721 2.34-1.165 4.189-1.331l3.44-.306v-.388c0-.702-.24-1.248-.722-1.636-.48-.389-1.11-.583-1.886-.583h-.083c-.684 0-1.258.148-1.72.444-.444.296-.721.684-.832 1.165h-3.495c.11-.832.425-1.59.943-2.275.536-.684 1.248-1.23 2.136-1.636.888-.407 1.904-.61 3.051-.61 1.923 0 3.412.49 4.466 1.47 1.054.98 1.581 2.293 1.581 3.939v5.658c0 1.184.065 2.22.194 3.107h-3.328a8.484 8.484 0 01-.167-1.72c-.444.573-1.054 1.054-1.83 1.443-.777.37-1.637.554-2.58.554zm.832-2.884c.943 0 1.748-.278 2.413-.833.684-.554 1.026-1.331 1.026-2.33v-.305l-3.162.25c-1.645.13-2.468.703-2.468 1.72 0 .444.184.804.554 1.082.389.277.907.416 1.554.416h.083zM36.884 7.826h3.578v2.58a4 4 0 011.526-1.998c.721-.5 1.581-.749 2.58-.749h.61v3.329h-.999c-1.183 0-2.099.36-2.746 1.082-.629.72-.943 1.738-.943 3.05v6.575h-3.606V7.825zM26.872 22c-1.331 0-2.543-.314-3.634-.943a6.97 6.97 0 01-2.524-2.607c-.61-1.11-.915-2.349-.915-3.717 0-1.35.305-2.57.915-3.662a6.71 6.71 0 012.524-2.607c1.091-.63 2.303-.943 3.634-.943 1.35 0 2.561.314 3.634.943a6.711 6.711 0 012.524 2.607c.61 1.091.915 2.312.915 3.662 0 1.368-.305 2.607-.915 3.717a6.97 6.97 0 01-2.524 2.607c-1.073.629-2.284.943-3.634.943zm.055-2.996c1.018 0 1.831-.388 2.442-1.165.628-.776.943-1.812.943-3.106 0-1.276-.315-2.293-.944-3.052-.61-.776-1.423-1.165-2.44-1.165h-.14c-.998 0-1.811.389-2.44 1.165-.629.759-.943 1.776-.943 3.052 0 1.294.314 2.33.943 3.106.629.777 1.442 1.165 2.44 1.165h.14zM9.933 21.972c-2.552 0-4.503-.592-5.853-1.775C2.75 19.013 2.055 17.349 2 15.204h3.717c.037 1.072.398 1.914 1.082 2.524.703.61 1.729.915 3.079.915h.25c1.072 0 1.923-.212 2.551-.638.648-.425.971-.998.971-1.72 0-.591-.203-1.081-.61-1.47-.407-.388-1.082-.675-2.025-.86l-3.329-.638C4.302 12.67 2.61 10.84 2.61 7.825c0-1.054.296-2.025.888-2.912.592-.888 1.433-1.59 2.524-2.109C7.132 2.268 8.426 2 9.906 2c1.516 0 2.829.268 3.938.804 1.129.537 1.988 1.286 2.58 2.247.61.943.934 2.044.971 3.301H13.65c-.11-.961-.499-1.701-1.165-2.219-.665-.536-1.553-.804-2.663-.804h-.25c-.942 0-1.72.23-2.33.693-.61.462-.915 1.026-.915 1.692 0 .61.185 1.082.555 1.415.388.314 1.017.545 1.886.693l3.246.583c1.757.314 3.106.962 4.05 1.942.961.98 1.442 2.246 1.442 3.8 0 1.146-.305 2.163-.915 3.051-.61.87-1.49 1.553-2.636 2.053-1.146.48-2.487.72-4.022.72z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
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
|
+
Text: typeof Text;
|
11
|
+
colorGradient: string;
|
12
|
+
colorPrimary: string;
|
13
|
+
title: string;
|
14
|
+
};
|
15
|
+
declare const Icons: CompoundedIcon;
|
16
|
+
export default Icons;
|
package/es/Sora/index.js
ADDED
@@ -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
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } 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
|
+
Icons.title = TITLE;
|
15
|
+
export default Icons;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const TITLE = "Sora";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export declare const COLOR_PRIMARY = "#0968DA";
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(180deg, #012659 0%, #0968DA 100%)";
|
6
|
+
export declare const AVATAR_BACKGROUND = "linear-gradient(180deg, #012659 0%, #0968DA 100%)";
|
7
|
+
export declare const AVATAR_COLOR = "#fff";
|
8
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
package/es/Sora/style.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
export var TITLE = 'Sora';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export var COLOR_PRIMARY = '#0968DA';
|
5
|
+
export var COLOR_GRADIENT = 'linear-gradient(180deg, #012659 0%, #0968DA 100%)';
|
6
|
+
|
7
|
+
// Avatar constants
|
8
|
+
export var AVATAR_BACKGROUND = COLOR_GRADIENT;
|
9
|
+
export var AVATAR_COLOR = '#fff';
|
10
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -40,7 +40,6 @@ import Inflection from "../Inflection";
|
|
40
40
|
import InternLM from "../InternLM";
|
41
41
|
import Jina from "../Jina";
|
42
42
|
import Kolors from "../Kolors";
|
43
|
-
import { Kwaipilot } from "../icons";
|
44
43
|
import LG from "../LG";
|
45
44
|
import LLaVA from "../LLaVA";
|
46
45
|
import Liquid from "../Liquid";
|
@@ -64,6 +63,7 @@ import Qwen from "../Qwen";
|
|
64
63
|
import Rwkv from "../Rwkv";
|
65
64
|
import SenseNova from "../SenseNova";
|
66
65
|
import Skywork from "../Skywork";
|
66
|
+
import Sora from "../Sora";
|
67
67
|
import Spark from "../Spark";
|
68
68
|
import Stability from "../Stability";
|
69
69
|
import Stepfun from "../Stepfun";
|
@@ -77,6 +77,7 @@ import Voyage from "../Voyage";
|
|
77
77
|
import Wenxin from "../Wenxin";
|
78
78
|
import Yi from "../Yi";
|
79
79
|
import ZAI from "../ZAI";
|
80
|
+
import { Kwaipilot } from "../icons";
|
80
81
|
|
81
82
|
// Define a type for our model mapping
|
82
83
|
|
@@ -99,6 +100,9 @@ export var modelMappings = [{
|
|
99
100
|
props: {
|
100
101
|
type: 'gpt5'
|
101
102
|
}
|
103
|
+
}, {
|
104
|
+
Icon: Sora,
|
105
|
+
keywords: ['sora']
|
102
106
|
}, {
|
103
107
|
Icon: OpenAI,
|
104
108
|
keywords: ['gpt-oss'],
|
package/es/icons.d.ts
CHANGED
@@ -34,6 +34,7 @@ export { default as BilibiliIndex, type CompoundedIcon as BilibiliIndexProps, }
|
|
34
34
|
export { default as Bing, type CompoundedIcon as BingProps } from './Bing';
|
35
35
|
export { default as BurnCloud, type CompoundedIcon as BurnCloudProps } from './BurnCloud';
|
36
36
|
export { default as ByteDance, type CompoundedIcon as ByteDanceProps } from './ByteDance';
|
37
|
+
export { default as CapCut, type CompoundedIcon as CapCutProps } from './CapCut';
|
37
38
|
export { default as CentML, type CompoundedIcon as CentMLProps } from './CentML';
|
38
39
|
export { default as Cerebras, type CompoundedIcon as CerebrasProps } from './Cerebras';
|
39
40
|
export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
|
@@ -61,6 +62,7 @@ export { default as Dalle, type CompoundedIcon as DalleProps } from './Dalle';
|
|
61
62
|
export { default as Dbrx, type CompoundedIcon as DbrxProps } from './Dbrx';
|
62
63
|
export { default as DeepAI, type CompoundedIcon as DeepAIProps } from './DeepAI';
|
63
64
|
export { default as DeepInfra, type CompoundedIcon as DeepInfraProps } from './DeepInfra';
|
65
|
+
export { default as DeepL, type CompoundedIcon as DeepLProps } from './DeepL';
|
64
66
|
export { default as DeepMind, type CompoundedIcon as DeepMindProps } from './DeepMind';
|
65
67
|
export { default as DeepSeek, type CompoundedIcon as DeepSeekProps } from './DeepSeek';
|
66
68
|
export { default as Dify, type CompoundedIcon as DifyProps } from './Dify';
|
@@ -201,6 +203,7 @@ export { default as Skywork, type CompoundedIcon as SkyworkProps } from './Skywo
|
|
201
203
|
export { default as Smithery, type CompoundedIcon as SmitheryProps } from './Smithery';
|
202
204
|
export { default as Snowflake, type CompoundedIcon as SnowflakeProps } from './Snowflake';
|
203
205
|
export { default as SophNet, type CompoundedIcon as SophNetLabsProps } from './SophNet';
|
206
|
+
export { default as Sora, type CompoundedIcon as SoraProps } from './Sora';
|
204
207
|
export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
|
205
208
|
export { default as Stability, type CompoundedIcon as StabilityProps } from './Stability';
|
206
209
|
export { default as StateCloud, type CompoundedIcon as StateCloudProps } from './StateCloud';
|
package/es/icons.js
CHANGED
@@ -34,6 +34,7 @@ export { default as BilibiliIndex } from "./BilibiliIndex";
|
|
34
34
|
export { default as Bing } from "./Bing";
|
35
35
|
export { default as BurnCloud } from "./BurnCloud";
|
36
36
|
export { default as ByteDance } from "./ByteDance";
|
37
|
+
export { default as CapCut } from "./CapCut";
|
37
38
|
export { default as CentML } from "./CentML";
|
38
39
|
export { default as Cerebras } from "./Cerebras";
|
39
40
|
export { default as ChatGLM } from "./ChatGLM";
|
@@ -61,6 +62,7 @@ export { default as Dalle } from "./Dalle";
|
|
61
62
|
export { default as Dbrx } from "./Dbrx";
|
62
63
|
export { default as DeepAI } from "./DeepAI";
|
63
64
|
export { default as DeepInfra } from "./DeepInfra";
|
65
|
+
export { default as DeepL } from "./DeepL";
|
64
66
|
export { default as DeepMind } from "./DeepMind";
|
65
67
|
export { default as DeepSeek } from "./DeepSeek";
|
66
68
|
export { default as Dify } from "./Dify";
|
@@ -201,6 +203,7 @@ export { default as Skywork } from "./Skywork";
|
|
201
203
|
export { default as Smithery } from "./Smithery";
|
202
204
|
export { default as Snowflake } from "./Snowflake";
|
203
205
|
export { default as SophNet } from "./SophNet";
|
206
|
+
export { default as Sora } from "./Sora";
|
204
207
|
export { default as Spark } from "./Spark";
|
205
208
|
export { default as Stability } from "./Stability";
|
206
209
|
export { default as StateCloud } from "./StateCloud";
|
package/es/toc.js
CHANGED
@@ -651,6 +651,24 @@ var toc = [{
|
|
651
651
|
"hasTextColor": false
|
652
652
|
},
|
653
653
|
"title": "ByteDance"
|
654
|
+
}, {
|
655
|
+
"color": "#fff",
|
656
|
+
"desc": "https://capcut.com",
|
657
|
+
"docsUrl": "cap-cut",
|
658
|
+
"fullTitle": "CapCut",
|
659
|
+
"group": "application",
|
660
|
+
"id": "CapCut",
|
661
|
+
"param": {
|
662
|
+
"hasAvatar": true,
|
663
|
+
"hasBrand": false,
|
664
|
+
"hasBrandColor": false,
|
665
|
+
"hasColor": false,
|
666
|
+
"hasCombine": true,
|
667
|
+
"hasText": true,
|
668
|
+
"hasTextCn": false,
|
669
|
+
"hasTextColor": false
|
670
|
+
},
|
671
|
+
"title": "CapCut"
|
654
672
|
}, {
|
655
673
|
"color": "#004331",
|
656
674
|
"desc": "https://centml.ai",
|
@@ -1140,6 +1158,24 @@ var toc = [{
|
|
1140
1158
|
"hasTextColor": false
|
1141
1159
|
},
|
1142
1160
|
"title": "DeepInfra"
|
1161
|
+
}, {
|
1162
|
+
"color": "#0F2B46",
|
1163
|
+
"desc": "https://deepl.com",
|
1164
|
+
"docsUrl": "deep-l",
|
1165
|
+
"fullTitle": "DeepL",
|
1166
|
+
"group": "application",
|
1167
|
+
"id": "DeepL",
|
1168
|
+
"param": {
|
1169
|
+
"hasAvatar": true,
|
1170
|
+
"hasBrand": false,
|
1171
|
+
"hasBrandColor": false,
|
1172
|
+
"hasColor": true,
|
1173
|
+
"hasCombine": true,
|
1174
|
+
"hasText": true,
|
1175
|
+
"hasTextCn": false,
|
1176
|
+
"hasTextColor": false
|
1177
|
+
},
|
1178
|
+
"title": "DeepL"
|
1143
1179
|
}, {
|
1144
1180
|
"color": "#4285F4",
|
1145
1181
|
"desc": "https://deepmind.google",
|
@@ -3675,6 +3711,25 @@ var toc = [{
|
|
3675
3711
|
"hasTextColor": false
|
3676
3712
|
},
|
3677
3713
|
"title": "SophNet"
|
3714
|
+
}, {
|
3715
|
+
"color": "#0968DA",
|
3716
|
+
"colorGradient": "linear-gradient(180deg, #012659 0%, #0968DA 100%)",
|
3717
|
+
"desc": "https://platform.openai.com/docs/models/sora-2",
|
3718
|
+
"docsUrl": "sora",
|
3719
|
+
"fullTitle": "Sora (OpenAI)",
|
3720
|
+
"group": "model",
|
3721
|
+
"id": "Sora",
|
3722
|
+
"param": {
|
3723
|
+
"hasAvatar": true,
|
3724
|
+
"hasBrand": false,
|
3725
|
+
"hasBrandColor": false,
|
3726
|
+
"hasColor": true,
|
3727
|
+
"hasCombine": true,
|
3728
|
+
"hasText": true,
|
3729
|
+
"hasTextCn": false,
|
3730
|
+
"hasTextColor": false
|
3731
|
+
},
|
3732
|
+
"title": "Sora"
|
3678
3733
|
}, {
|
3679
3734
|
"color": "#0070f0",
|
3680
3735
|
"desc": "https://xinghuo.xfyun.cn",
|