@lobehub/icons 2.37.0 → 2.38.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 +1 -1
- package/es/Cursor/components/Avatar.js +2 -2
- package/es/Cursor/components/Mono.js +4 -8
- package/es/Cursor/components/Text.js +4 -7
- package/es/Cursor/index.d.ts +0 -2
- package/es/Cursor/index.js +1 -8
- package/es/Cursor/style.d.ts +1 -6
- package/es/Cursor/style.js +1 -8
- package/es/features/modelConfig.js +3 -3
- package/es/features/providerConfig.js +5 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/toc.js +1 -1
- package/package.json +1 -1
- package/es/Cursor/components/Color.d.ts +0 -3
- package/es/Cursor/components/Color.js +0 -61
package/README.md
CHANGED
@@ -100,7 +100,7 @@ Contributions, corrections & requests can be made on GitHub.
|
|
100
100
|
| <a href="https://lobehub.com/icons/codegeex"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/codegeex-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/codegeex-color.png" /></picture><br/>CodeGeeX | <a href="https://lobehub.com/icons/alibabacloud"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/alibabacloud-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/alibabacloud-color.png" /></picture><br/>AlibabaCloud (阿里云) | <a href="https://lobehub.com/icons/coqui"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/coqui-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/coqui-color.png" /></picture><br/>Coqui |
|
101
101
|
| <a href="https://lobehub.com/icons/cogvideo"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cogvideo-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cogvideo-color.png" /></picture><br/>CogVideo | <a href="https://lobehub.com/icons/antgroup"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/antgroup-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/antgroup-color.png" /></picture><br/>AntGroup | <a href="https://lobehub.com/icons/coze"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/coze.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/coze.png" /></picture><br/>Coze |
|
102
102
|
| <a href="https://lobehub.com/icons/cogview"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cogview-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cogview-color.png" /></picture><br/>CogView | <a href="https://lobehub.com/icons/anthropic"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/anthropic.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/anthropic.png" /></picture><br/>Anthropic | <a href="https://lobehub.com/icons/crewai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/crewai-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/crewai-color.png" /></picture><br/>CrewAI |
|
103
|
-
| <a href="https://lobehub.com/icons/commanda"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/commanda-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/commanda-color.png" /></picture><br/>CommandA (Cohere) | <a href="https://lobehub.com/icons/anyscale"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/anyscale-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/anyscale-color.png" /></picture><br/>Anyscale | <a href="https://lobehub.com/icons/cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cursor.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cursor.png" /></picture><br/>Cursor
|
103
|
+
| <a href="https://lobehub.com/icons/commanda"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/commanda-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/commanda-color.png" /></picture><br/>CommandA (Cohere) | <a href="https://lobehub.com/icons/anyscale"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/anyscale-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/anyscale-color.png" /></picture><br/>Anyscale | <a href="https://lobehub.com/icons/cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/cursor-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/cursor-color.png" /></picture><br/>Cursor |
|
104
104
|
| <a href="https://lobehub.com/icons/dalle"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/dalle-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/dalle-color.png" /></picture><br/>DALL·E (OpenAI) | <a href="https://lobehub.com/icons/aws"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/aws-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/aws-color.png" /></picture><br/>AWS | <a href="https://lobehub.com/icons/deepai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/deepai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/deepai.png" /></picture><br/>DeepAI |
|
105
105
|
| <a href="https://lobehub.com/icons/dbrx"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/dbrx-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/dbrx-color.png" /></picture><br/>DBRX (Databricks) | <a href="https://lobehub.com/icons/azureai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/azureai-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/azureai-color.png" /></picture><br/>AzureAI | <a href="https://lobehub.com/icons/dify"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/dify-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/dify-color.png" /></picture><br/>Dify |
|
106
106
|
| <a href="https://lobehub.com/icons/deepseek"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/deepseek-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/deepseek-color.png" /></picture><br/>DeepSeek | <a href="https://lobehub.com/icons/baidu"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/baidu-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/baidu-color.png" /></picture><br/>Baidu | <a href="https://lobehub.com/icons/doc2x"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/doc2x-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/doc2x-color.png" /></picture><br/>Doc2X |
|
@@ -10,12 +10,12 @@ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("
|
|
10
10
|
import { memo } from 'react';
|
11
11
|
import IconAvatar from "../../features/IconAvatar";
|
12
12
|
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
-
import
|
13
|
+
import Mono from "./Mono";
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
15
15
|
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
16
|
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
17
|
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
-
Icon:
|
18
|
+
Icon: Mono,
|
19
19
|
"aria-label": TITLE,
|
20
20
|
background: AVATAR_BACKGROUND,
|
21
21
|
color: AVATAR_COLOR,
|
@@ -9,7 +9,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
9
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
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
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 { useThemeMode } from 'antd-style';
|
13
12
|
import { memo } from 'react';
|
14
13
|
import { TITLE } from "../style";
|
15
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -19,25 +18,22 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
19
18
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
20
19
|
style = _ref.style,
|
21
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
22
|
-
var _useThemeMode = useThemeMode(),
|
23
|
-
isDarkMode = _useThemeMode.isDarkMode;
|
24
21
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
25
24
|
height: size,
|
26
25
|
style: _objectSpread({
|
27
26
|
flex: 'none',
|
28
27
|
lineHeight: 1
|
29
28
|
}, style),
|
30
|
-
viewBox: "0 0
|
29
|
+
viewBox: "0 0 24 24",
|
31
30
|
width: size,
|
32
31
|
xmlns: "http://www.w3.org/2000/svg"
|
33
32
|
}, rest), {}, {
|
34
33
|
children: [/*#__PURE__*/_jsx("title", {
|
35
34
|
children: TITLE
|
36
35
|
}), /*#__PURE__*/_jsx("path", {
|
37
|
-
d: "
|
38
|
-
style: {
|
39
|
-
fill: isDarkMode ? '#fff' : '#26251e'
|
40
|
-
}
|
36
|
+
d: "M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"
|
41
37
|
})]
|
42
38
|
}));
|
43
39
|
});
|
@@ -9,7 +9,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
9
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
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
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 { useThemeMode } from 'antd-style';
|
13
12
|
import { memo } from 'react';
|
14
13
|
import { TITLE } from "../style";
|
15
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -19,23 +18,21 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
19
18
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
20
19
|
style = _ref.style,
|
21
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
22
|
-
var _useThemeMode = useThemeMode(),
|
23
|
-
isDarkMode = _useThemeMode.isDarkMode;
|
24
21
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
25
24
|
height: size,
|
26
25
|
style: _objectSpread({
|
27
26
|
flex: 'none',
|
28
27
|
lineHeight: 1
|
29
28
|
}, style),
|
30
|
-
viewBox: "0 0
|
31
|
-
width: size,
|
29
|
+
viewBox: "0 0 123 24",
|
32
30
|
xmlns: "http://www.w3.org/2000/svg"
|
33
31
|
}, rest), {}, {
|
34
32
|
children: [/*#__PURE__*/_jsx("title", {
|
35
33
|
children: TITLE
|
36
34
|
}), /*#__PURE__*/_jsx("path", {
|
37
|
-
d: "
|
38
|
-
fill: isDarkMode ? '#fff' : '#26251e'
|
35
|
+
d: "M11.995 2.33h6.516v3.582h-6.295C8.82 5.912 6.169 7.868 6.169 12c0 4.133 2.65 6.089 6.047 6.089h6.295v3.581H11.72C6.03 21.67 2 18.336 2 12c0-6.337 4.307-9.67 9.995-9.67zm9.829 0h4.03V14.15c0 2.947 1.354 4.325 4.53 4.325 3.175 0 4.528-1.377 4.528-4.325V2.33h4.03v12.644c0 4.297-2.733 7.025-8.559 7.025-5.826 0-8.56-2.755-8.56-7.052V2.33zm38.185 5.483c0 2.149-1.243 3.801-2.9 4.518v.055c1.74.248 2.624 1.488 2.65 3.169l.084 6.115h-4.031l-.083-5.454c-.027-1.212-.745-1.956-2.181-1.956h-6.71v7.41h-4.03V2.33h11.127c3.644 0 6.074 1.846 6.074 5.483zm-4.059.55c0-1.652-.883-2.561-2.54-2.561H46.84v5.123h6.626c1.518 0 2.485-.909 2.485-2.562zm19.3 7.66c0-1.378-.884-1.957-2.209-2.067l-4.473-.413c-3.866-.358-5.881-1.873-5.881-5.537 0-3.664 2.485-5.675 6.046-5.675h9.885V5.8h-9.609c-1.38 0-2.263.717-2.263 2.094 0 1.378.91 2.039 2.291 2.15l4.556.385c3.452.303 5.715 1.874 5.715 5.565 0 3.691-2.402 5.675-5.798 5.675H63.184V18.2h9.94c1.297 0 2.126-.882 2.126-2.177zM91.097 2c6.074 0 9.912 3.884 9.912 9.972C101.01 18.061 97.006 22 90.932 22s-9.912-3.94-9.912-10.028C81.02 5.884 85.024 2 91.098 2zm5.743 10c0-4.077-2.374-6.474-5.826-6.474-3.451 0-5.826 2.397-5.826 6.474s2.375 6.473 5.826 6.473c3.452 0 5.826-2.396 5.826-6.473zM121 7.813c0 2.149-1.242 3.801-2.899 4.518v.055c1.739.248 2.623 1.488 2.65 3.169l.083 6.115h-4.031l-.083-5.454c-.027-1.212-.745-1.956-2.181-1.956h-6.709v7.41h-4.031V2.33h11.127c3.645 0 6.074 1.846 6.074 5.483zm-4.059.55c0-1.652-.883-2.561-2.54-2.561h-6.571v5.123h6.626c1.518 0 2.485-.909 2.485-2.562z"
|
39
36
|
})]
|
40
37
|
}));
|
41
38
|
});
|
package/es/Cursor/index.d.ts
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
import Avatar from './components/Avatar';
|
2
|
-
import Color from './components/Color';
|
3
2
|
import Combine from './components/Combine';
|
4
3
|
import Mono from './components/Mono';
|
5
4
|
import Text from './components/Text';
|
6
5
|
export type CompoundedIcon = typeof Mono & {
|
7
6
|
Avatar: typeof Avatar;
|
8
|
-
Color: typeof Color;
|
9
7
|
Combine: typeof Combine;
|
10
8
|
Text: typeof Text;
|
11
9
|
colorBottom: string;
|
package/es/Cursor/index.js
CHANGED
@@ -1,19 +1,12 @@
|
|
1
1
|
import Avatar from "./components/Avatar";
|
2
|
-
import Color from "./components/Color";
|
3
2
|
import Combine from "./components/Combine";
|
4
3
|
import Mono from "./components/Mono";
|
5
4
|
import Text from "./components/Text";
|
6
|
-
import {
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
7
6
|
var Icons = Mono;
|
8
7
|
Icons.Text = Text;
|
9
|
-
Icons.Color = Color;
|
10
8
|
Icons.Combine = Combine;
|
11
9
|
Icons.Avatar = Avatar;
|
12
10
|
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
-
Icons.colorBottom = COLOR_BOTTOM;
|
14
|
-
Icons.colorLeft = COLOR_LEFT;
|
15
|
-
Icons.colorRight = COLOR_RIGHT;
|
16
|
-
Icons.colorTopLight = COLOR_TOP_LIGHT;
|
17
|
-
Icons.colorTopWhite = COLOR_TOP_WHITE;
|
18
11
|
Icons.title = TITLE;
|
19
12
|
export default Icons;
|
package/es/Cursor/style.d.ts
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
export declare const TITLE = "Cursor";
|
2
|
-
export declare const COMBINE_TEXT_MULTIPLE =
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.7;
|
3
3
|
export declare const COMBINE_SPACE_MULTIPLE = 0.1;
|
4
4
|
export declare const COLOR_PRIMARY = "#000";
|
5
|
-
export declare const COLOR_BOTTOM = "#72716d";
|
6
|
-
export declare const COLOR_LEFT = "#55544f";
|
7
|
-
export declare const COLOR_RIGHT = "#43413c";
|
8
|
-
export declare const COLOR_TOP_LIGHT = "#d6d5d2";
|
9
|
-
export declare const COLOR_TOP_WHITE = "#fff";
|
10
5
|
export declare const AVATAR_BACKGROUND = "#000";
|
11
6
|
export declare const AVATAR_COLOR = "#fff";
|
12
7
|
export declare const AVATAR_ICON_MULTIPLE = 0.6;
|
package/es/Cursor/style.js
CHANGED
@@ -1,15 +1,8 @@
|
|
1
1
|
export var TITLE = 'Cursor';
|
2
|
-
export var COMBINE_TEXT_MULTIPLE =
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.7;
|
3
3
|
export var COMBINE_SPACE_MULTIPLE = 0.1;
|
4
4
|
export var COLOR_PRIMARY = '#000';
|
5
5
|
|
6
|
-
// Icon colors from Mono.tsx
|
7
|
-
export var COLOR_BOTTOM = '#72716d';
|
8
|
-
export var COLOR_LEFT = '#55544f';
|
9
|
-
export var COLOR_RIGHT = '#43413c';
|
10
|
-
export var COLOR_TOP_LIGHT = '#d6d5d2';
|
11
|
-
export var COLOR_TOP_WHITE = '#fff';
|
12
|
-
|
13
6
|
// Avatar constants
|
14
7
|
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
15
8
|
export var AVATAR_COLOR = '#fff';
|
@@ -179,7 +179,7 @@ export var modelMappings = [{
|
|
179
179
|
keywords: ['qiniu']
|
180
180
|
}, {
|
181
181
|
Icon: Qwen,
|
182
|
-
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-']
|
182
|
+
keywords: ['qwen', 'qwq', 'qvq', 'wanx', 'wan\\d/', 'wan\\d\\.\\d-', 'tongyi']
|
183
183
|
}, {
|
184
184
|
Icon: Minimax,
|
185
185
|
keywords: ['minimax', 'abab', '^image-']
|
@@ -239,7 +239,7 @@ export var modelMappings = [{
|
|
239
239
|
keywords: ['^d_', '^g_', '^wd_']
|
240
240
|
}, {
|
241
241
|
Icon: ByteDance,
|
242
|
-
keywords: ['skylark']
|
242
|
+
keywords: ['skylark', 'seed-', 'bytedance']
|
243
243
|
}, {
|
244
244
|
Icon: BurnCloud,
|
245
245
|
keywords: ['burncloud']
|
@@ -254,7 +254,7 @@ export var modelMappings = [{
|
|
254
254
|
keywords: ['suno']
|
255
255
|
}, {
|
256
256
|
Icon: Microsoft,
|
257
|
-
keywords: ['wizardlm', '/phi-', '^phi-', '-phi-']
|
257
|
+
keywords: ['wizardlm', '/phi-', '^phi-', '-phi-', 'mai-', 'microsoft']
|
258
258
|
}, {
|
259
259
|
Icon: Adobe,
|
260
260
|
keywords: ['firefly']
|
@@ -32,6 +32,7 @@ import BaiduCloud from "../BaiduCloud";
|
|
32
32
|
import Bedrock from "../Bedrock";
|
33
33
|
import Bfl from "../Bfl";
|
34
34
|
import BurnCloud from "../BurnCloud";
|
35
|
+
import Cerebras from "../Cerebras";
|
35
36
|
import Claude from "../Claude";
|
36
37
|
import Cloudflare from "../Cloudflare";
|
37
38
|
import Cohere from "../Cohere";
|
@@ -517,4 +518,8 @@ export var providerMappings = [{
|
|
517
518
|
Icon: LongCat,
|
518
519
|
combineMultiple: 1,
|
519
520
|
keywords: [ModelProvider.LongCat]
|
521
|
+
}, {
|
522
|
+
Icon: Cerebras,
|
523
|
+
combineMultiple: 1,
|
524
|
+
keywords: [ModelProvider.Cerebras]
|
520
525
|
}];
|
@@ -11,6 +11,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
11
11
|
ModelProvider["Bedrock"] = "bedrock";
|
12
12
|
ModelProvider["Bfl"] = "bfl";
|
13
13
|
ModelProvider["BurnCloud"] = "burncloud";
|
14
|
+
ModelProvider["Cerebras"] = "cerebras";
|
14
15
|
ModelProvider["Cloudflare"] = "cloudflare";
|
15
16
|
ModelProvider["Cohere"] = "cohere";
|
16
17
|
ModelProvider["CometAPI"] = "cometapi";
|
package/es/toc.js
CHANGED
package/package.json
CHANGED
@@ -1,61 +0,0 @@
|
|
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
|
-
height: size,
|
23
|
-
style: _objectSpread({
|
24
|
-
flex: 'none',
|
25
|
-
lineHeight: 1
|
26
|
-
}, style),
|
27
|
-
viewBox: "0 0 466.73 533.32",
|
28
|
-
width: size,
|
29
|
-
xmlns: "http://www.w3.org/2000/svg"
|
30
|
-
}, rest), {}, {
|
31
|
-
children: [/*#__PURE__*/_jsx("title", {
|
32
|
-
children: TITLE
|
33
|
-
}), /*#__PURE__*/_jsx("path", {
|
34
|
-
d: "m233.37 266.66 231.16 133.46a16.45 16.45 0 0 1-6.03 6.03L242.44 530.89a18.142 18.142 0 0 1-18.14 0L8.24 406.15a16.45 16.45 0 0 1-6.03-6.03l231.16-133.46Z",
|
35
|
-
style: {
|
36
|
-
fill: '#72716d'
|
37
|
-
}
|
38
|
-
}), /*#__PURE__*/_jsx("path", {
|
39
|
-
d: "M233.37 0v266.66L2.21 400.12C.79 397.66 0 394.82 0 391.88V141.44c0-5.89 3.14-11.32 8.24-14.27L224.29 2.43C227.1.81 230.23 0 233.36 0h.01Z",
|
40
|
-
style: {
|
41
|
-
fill: '#55544f'
|
42
|
-
}
|
43
|
-
}), /*#__PURE__*/_jsx("path", {
|
44
|
-
d: "M464.52 133.2a16.45 16.45 0 0 0-6.03-6.03L242.43 2.43C239.63.81 236.5 0 233.37 0v266.66l231.16 133.46c1.42-2.46 2.21-5.3 2.21-8.24V141.44c0-2.95-.78-5.77-2.21-8.24h-.01Z",
|
45
|
-
style: {
|
46
|
-
fill: '#43413c'
|
47
|
-
}
|
48
|
-
}), /*#__PURE__*/_jsx("path", {
|
49
|
-
d: "M448.35 142.54c1.31 2.26 1.49 5.16 0 7.74L238.52 513.7c-1.41 2.46-5.16 1.45-5.16-1.38V272.84c0-1.91-.51-3.75-1.44-5.36l216.42-124.95h.01Z",
|
50
|
-
style: {
|
51
|
-
fill: '#d6d5d2'
|
52
|
-
}
|
53
|
-
}), /*#__PURE__*/_jsx("path", {
|
54
|
-
d: "M448.35 142.54 231.93 267.49a10.68 10.68 0 0 0-3.92-3.92L20.62 143.83c-2.46-1.41-1.45-5.16 1.38-5.16h419.65c2.98 0 5.4 1.61 6.7 3.87Z",
|
55
|
-
style: {
|
56
|
-
fill: '#fff'
|
57
|
-
}
|
58
|
-
})]
|
59
|
-
}));
|
60
|
-
});
|
61
|
-
export default Icon;
|