@lobehub/icons 2.37.0 → 2.39.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/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/Straico/components/Avatar.d.ts +5 -0
- package/es/Straico/components/Avatar.js +25 -0
- package/es/{Cursor → Straico}/components/Color.js +3 -25
- package/es/Straico/components/Combine.d.ts +7 -0
- package/es/Straico/components/Combine.js +36 -0
- package/es/Straico/components/Mono.d.ts +3 -0
- package/es/Straico/components/Mono.js +40 -0
- package/es/Straico/components/Text.d.ts +3 -0
- package/es/Straico/components/Text.js +40 -0
- package/es/Straico/index.d.ts +15 -0
- package/es/Straico/index.js +14 -0
- package/es/Straico/style.d.ts +7 -0
- package/es/Straico/style.js +9 -0
- package/es/Vercel/components/Text.js +2 -2
- package/es/Vercel/style.d.ts +2 -2
- package/es/Vercel/style.js +2 -2
- package/es/features/modelConfig.js +3 -3
- package/es/features/providerConfig.js +10 -0
- package/es/features/providerEnum.d.ts +2 -0
- package/es/features/providerEnum.js +2 -0
- package/es/icons.d.ts +1 -0
- package/es/icons.js +1 -0
- package/es/toc.js +19 -1
- package/package.json +1 -1
- /package/es/{Cursor → Straico}/components/Color.d.ts +0 -0
@@ -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';
|
@@ -0,0 +1,25 @@
|
|
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
|
+
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
|
+
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; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
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); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Mono,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -24,37 +24,15 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
24
24
|
flex: 'none',
|
25
25
|
lineHeight: 1
|
26
26
|
}, style),
|
27
|
-
viewBox: "0 0
|
27
|
+
viewBox: "0 0 24 24",
|
28
28
|
width: size,
|
29
29
|
xmlns: "http://www.w3.org/2000/svg"
|
30
30
|
}, rest), {}, {
|
31
31
|
children: [/*#__PURE__*/_jsx("title", {
|
32
32
|
children: TITLE
|
33
33
|
}), /*#__PURE__*/_jsx("path", {
|
34
|
-
d: "
|
35
|
-
|
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
|
-
}
|
34
|
+
d: "M22 6h-5.278l3.166-6h-8.443L3 16h6.333v8L22 6z",
|
35
|
+
fill: "#464BBA"
|
58
36
|
})]
|
59
37
|
}));
|
60
38
|
});
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/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,36 @@
|
|
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 = ["type", "extraStyle"];
|
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 IconCombine from "../../features/IconCombine";
|
14
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
extraStyle = _ref.extraStyle,
|
23
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
24
|
+
var Icon = type === 'color' ? Color : Mono;
|
25
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
26
|
+
Icon: Icon,
|
27
|
+
Text: Text,
|
28
|
+
"aria-label": TITLE,
|
29
|
+
extraStyle: _objectSpread({
|
30
|
+
fontWeight: 500
|
31
|
+
}, extraStyle),
|
32
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
33
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
34
|
+
}, rest));
|
35
|
+
});
|
36
|
+
export default Combine;
|
@@ -0,0 +1,40 @@
|
|
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 24 24",
|
30
|
+
width: size,
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M22 6h-5.278l3.166-6h-8.443L3 16h6.333v8L22 6z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
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 97 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M8.628 22c-1.485 0-2.796-.238-3.929-.713-1.132-.475-2.034-1.112-2.699-1.91l2.772-2.395A5.528 5.528 0 006.77 18.28c.742.276 1.447.413 2.114.413.267 0 .504-.028.714-.086a1.58 1.58 0 00.528-.242c.143-.104.252-.227.329-.37.076-.142.115-.308.115-.498 0-.38-.172-.675-.515-.884-.17-.096-.457-.21-.857-.343a29.882 29.882 0 00-1.543-.456c-.895-.228-1.67-.499-2.328-.813-.657-.313-1.195-.679-1.615-1.097a4.476 4.476 0 01-.885-1.325c-.21-.486-.314-1.031-.314-1.64 0-.704.166-1.341.5-1.91.342-.581.799-1.086 1.343-1.484A6.189 6.189 0 016.3 6.59a7.924 7.924 0 012.27-.329c.838 0 1.638.095 2.4.286a9.68 9.68 0 012.128.798 8.057 8.057 0 011.756 1.226l-2.398 2.679a6.714 6.714 0 00-1.157-.87 6.694 6.694 0 00-1.329-.612 4.044 4.044 0 00-1.257-.228c-.286 0-.538.025-.757.072-.199.039-.388.116-.558.227a1.047 1.047 0 00-.342.371 1.046 1.046 0 00-.113.5c0 .188.052.37.157.54.104.171.252.315.442.428.19.115.496.242.915.385.567.189 1.139.364 1.714.527.895.248 1.666.524 2.314.828.647.303 1.162.664 1.543 1.082.304.324.534.7.685 1.127.153.428.23.888.23 1.383 0 .969-.272 1.83-.815 2.58-.542.75-1.29 1.34-2.243 1.767-.953.427-2.038.64-3.257.64V22zM26.263 6.578h-2.942V2.814h-4.57v3.764h-2.686v3.99h2.685v11.147h4.571V10.568h2.942v-3.99zm1.843 15.137V6.578h4.342l.095 2.315c.115-.179.24-.352.377-.519a6.07 6.07 0 011.843-1.54 4.686 4.686 0 012.256-.57c.343 0 .662.029.958.086.295.058.567.123.814.2l-1.257 5.046c-.21-.134-.49-.242-.842-.328a4.63 4.63 0 00-1.1-.129c-.42 0-.81.07-1.171.214a2.462 2.462 0 00-.914.613 2.975 2.975 0 00-.586.94 3.32 3.32 0 00-.215 1.226v7.583h-4.6zm44.08.234c-1.468 0-2.782-.342-3.943-1.026a7.509 7.509 0 01-2.757-2.808c-.677-1.188-1.015-2.532-1.015-4.034 0-1.502.339-2.846 1.015-4.033a7.51 7.51 0 012.756-2.808c1.162-.685 2.476-1.027 3.944-1.027 1.352 0 2.594.239 3.727.713 1.133.475 2.033 1.14 2.7 1.996l-2.486 2.964a5.946 5.946 0 00-.942-.855 4.522 4.522 0 00-1.2-.627 4.166 4.166 0 00-1.371-.228c-.724 0-1.362.166-1.914.499a3.4 3.4 0 00-1.286 1.383c-.305.589-.457 1.264-.457 2.023 0 .76.157 1.378.471 1.966a3.61 3.61 0 001.3 1.397c.551.342 1.18.514 1.885.514.496 0 .953-.062 1.371-.186a3.95 3.95 0 001.158-.555c.352-.247.68-.551.985-.913l2.457 2.993c-.648.817-1.548 1.464-2.7 1.94a9.618 9.618 0 01-3.7.712h.002zm14.644 0c-1.581 0-2.985-.342-4.214-1.026a7.76 7.76 0 01-2.914-2.793c-.714-1.179-1.07-2.528-1.07-4.048s.357-2.87 1.07-4.048a7.754 7.754 0 012.914-2.793c1.229-.685 2.633-1.027 4.214-1.027 1.581 0 2.986.342 4.214 1.027a7.646 7.646 0 012.9 2.793C94.646 11.213 95 12.562 95 14.082s-.353 2.87-1.057 4.048a7.641 7.641 0 01-2.899 2.793c-1.228.683-2.634 1.026-4.214 1.026zm0-3.934c.686 0 1.295-.17 1.828-.513.537-.345.97-.828 1.257-1.397.305-.589.447-1.264.43-2.024.017-.76-.125-1.44-.43-2.038a3.55 3.55 0 00-1.257-1.411c-.533-.343-1.142-.514-1.828-.514-.686 0-1.3.17-1.843.513a3.516 3.516 0 00-1.271 1.412c-.304.598-.448 1.278-.429 2.038-.019.76.125 1.435.429 2.024.304.59.729 1.055 1.271 1.397a3.384 3.384 0 001.843.513zM62.279 4.049c.485-.438.728-1.008.728-1.712 0-.741-.239-1.315-.714-1.723C61.816.204 61.149 0 60.292 0c-.856 0-1.505.22-2 .656-.495.438-.742.998-.742 1.681 0 .761.243 1.346.728 1.754.486.409 1.158.613 2.015.613.857 0 1.5-.218 1.986-.655zm-7.654 16.4v-4.197H51.47l3.154-6.293v-3.38H50.08v1.834a5.777 5.777 0 00-.941-.964 5.22 5.22 0 00-1.586-.87 6.016 6.016 0 00-1.985-.314c-1.315 0-2.486.338-3.514 1.014-1.029.674-1.839 1.601-2.429 2.779-.59 1.178-.886 2.537-.886 4.075 0 1.54.296 2.846.886 4.034.59 1.188 1.386 2.12 2.386 2.793 1 .676 2.138 1.013 3.414 1.013.685 0 1.333-.104 1.943-.313a6.22 6.22 0 001.657-.855 5.582 5.582 0 001.257-1.255c.205-.285.377-.58.514-.886a6.293 6.293 0 005.535 3.313v-4.08l-1.706 2.553-.001-.002zm-4.914-4.193c-.286.6-.686 1.06-1.2 1.383-.514.324-1.123.485-1.828.485-.705 0-1.281-.162-1.786-.485-.504-.323-.899-.784-1.186-1.383-.285-.598-.428-1.305-.428-2.123 0-.817.142-1.525.428-2.123.287-.6.681-1.065 1.186-1.397.505-.333 1.1-.5 1.786-.5.686 0 1.315.167 1.828.5.514.332.915.798 1.2 1.397.286.598.429 1.306.429 2.123 0 .817-.143 1.525-.429 2.123zm12.867-9.678h-4.57v1.283h1.872l-1.577 3.147h2.627l-2.923 4.376v6.354c2.634-.744 4.57-3.163 4.57-6.026V6.576l.002.002z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Color from './components/Color';
|
3
|
+
import Combine from './components/Combine';
|
4
|
+
import Mono from './components/Mono';
|
5
|
+
import Text from './components/Text';
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorPrimary: string;
|
12
|
+
title: string;
|
13
|
+
};
|
14
|
+
declare const Icons: CompoundedIcon;
|
15
|
+
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_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.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const TITLE = "Straico";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.9;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.1;
|
4
|
+
export declare const COLOR_PRIMARY = "#464bba";
|
5
|
+
export declare const AVATAR_BACKGROUND = "#464bba";
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.6;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'Straico';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.9;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.1;
|
4
|
+
export var COLOR_PRIMARY = '#464bba';
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.6;
|
@@ -26,13 +26,13 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
26
26
|
flex: 'none',
|
27
27
|
lineHeight: 1
|
28
28
|
}, style),
|
29
|
-
viewBox: "0 0
|
29
|
+
viewBox: "0 0 94 24",
|
30
30
|
xmlns: "http://www.w3.org/2000/svg"
|
31
31
|
}, rest), {}, {
|
32
32
|
children: [/*#__PURE__*/_jsx("title", {
|
33
33
|
children: TITLE
|
34
34
|
}), /*#__PURE__*/_jsx("path", {
|
35
|
-
d: "
|
35
|
+
d: "M14.208 21.634L25.623 0h-4.937l-7.874 15.712L4.937 0H0l11.415 21.634h2.793zM92 0v21.634h-4.088V0H92zM69.247 13.56c0-1.687.351-3.17 1.054-4.45a7.317 7.317 0 012.938-2.955c1.256-.69 2.725-1.036 4.407-1.036 1.49 0 2.831.325 4.023.975 1.192.65 2.14 1.615 2.842 2.895.703 1.28 1.065 2.844 1.086 4.692v.945H73.558c.085 1.34.479 2.397 1.182 3.169.724.752 1.692 1.127 2.906 1.127.766 0 1.469-.203 2.107-.609a3.8 3.8 0 001.437-1.645l4.184.304c-.511 1.524-1.47 2.743-2.874 3.657-1.406.914-3.024 1.371-4.854 1.371-1.682 0-3.151-.345-4.407-1.036a7.317 7.317 0 01-2.938-2.956c-.703-1.28-1.054-2.762-1.054-4.448zm12.135-1.524c-.15-1.32-.564-2.285-1.246-2.895-.68-.63-1.511-.944-2.49-.944-1.128 0-2.044.335-2.746 1.005-.703.67-1.14 1.615-1.31 2.834h7.792zm-19.03-2.895c.68.549 1.106 1.31 1.277 2.286l4.215-.214c-.15-1.239-.586-2.315-1.31-3.23-.723-.914-1.66-1.615-2.81-2.102-1.128-.508-2.373-.762-3.736-.762-1.682 0-3.15.345-4.407 1.036a7.316 7.316 0 00-2.938 2.956c-.702 1.28-1.053 2.762-1.053 4.448 0 1.687.35 3.17 1.053 4.45a7.316 7.316 0 002.938 2.955c1.256.69 2.725 1.036 4.407 1.036 1.405 0 2.682-.254 3.832-.762 1.15-.528 2.087-1.27 2.81-2.224.724-.955 1.16-2.072 1.31-3.352l-4.248-.183c-.148 1.077-.564 1.91-1.245 2.499-.681.569-1.501.853-2.459.853-1.32 0-2.342-.457-3.066-1.371-.723-.914-1.085-2.214-1.085-3.9 0-1.687.362-2.987 1.085-3.9.724-.915 1.746-1.372 3.066-1.372.916 0 1.703.284 2.363.853zM41.614 5.484h3.804l.11 3.108c.27-.88.645-1.563 1.126-2.05.697-.705 1.67-1.058 2.916-1.058h1.553v3.327H49.54c-.888 0-1.617.12-2.188.363-.549.242-.972.625-1.267 1.15-.275.523-.412 1.189-.412 1.995v9.315h-4.058V5.484zM24.07 9.111c-.702 1.28-1.053 2.762-1.053 4.448 0 1.687.35 3.17 1.053 4.45a7.316 7.316 0 002.938 2.955c1.256.69 2.725 1.036 4.407 1.036 1.831 0 3.45-.457 4.854-1.371 1.405-.914 2.363-2.133 2.874-3.657l-4.183-.304a3.8 3.8 0 01-1.437 1.645 3.848 3.848 0 01-2.108.61c-1.213 0-2.182-.376-2.906-1.128-.702-.772-1.096-1.828-1.181-3.169h12.039v-.945c-.021-1.848-.383-3.412-1.086-4.692-.703-1.28-1.65-2.245-2.842-2.895-1.193-.65-2.534-.975-4.024-.975-1.682 0-3.15.345-4.407 1.036a7.316 7.316 0 00-2.938 2.956zm9.836.03c.681.61 1.096 1.575 1.245 2.895H27.36c.17-1.219.607-2.163 1.31-2.834.702-.67 1.618-1.005 2.746-1.005.98 0 1.81.315 2.491.944z"
|
36
36
|
})]
|
37
37
|
}));
|
38
38
|
});
|
package/es/Vercel/style.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const TITLE = "Vercel";
|
2
|
-
export declare const COMBINE_TEXT_MULTIPLE = 0.
|
3
|
-
export declare const COMBINE_SPACE_MULTIPLE = 0.
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.05;
|
4
4
|
export declare const COLOR_PRIMARY = "#000";
|
5
5
|
export declare const AVATAR_BACKGROUND = "#000";
|
6
6
|
export declare const AVATAR_COLOR = "#fff";
|
package/es/Vercel/style.js
CHANGED
@@ -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";
|
@@ -78,6 +79,7 @@ import SiliconCloud from "../SiliconCloud";
|
|
78
79
|
import SophNet from "../SophNet";
|
79
80
|
import Spark from "../Spark";
|
80
81
|
import Stepfun from "../Stepfun";
|
82
|
+
import Straico from "../Straico";
|
81
83
|
import TencentCloud from "../TencentCloud";
|
82
84
|
import Together from "../Together";
|
83
85
|
import Upstage from "../Upstage";
|
@@ -517,4 +519,12 @@ export var providerMappings = [{
|
|
517
519
|
Icon: LongCat,
|
518
520
|
combineMultiple: 1,
|
519
521
|
keywords: [ModelProvider.LongCat]
|
522
|
+
}, {
|
523
|
+
Icon: Cerebras,
|
524
|
+
combineMultiple: 1,
|
525
|
+
keywords: [ModelProvider.Cerebras]
|
526
|
+
}, {
|
527
|
+
Icon: Straico,
|
528
|
+
combineMultiple: 1,
|
529
|
+
keywords: [ModelProvider.Straico]
|
520
530
|
}];
|
@@ -11,6 +11,7 @@ export declare enum ModelProvider {
|
|
11
11
|
Bedrock = "bedrock",
|
12
12
|
Bfl = "bfl",
|
13
13
|
BurnCloud = "burncloud",
|
14
|
+
Cerebras = "cerebras",
|
14
15
|
Cloudflare = "cloudflare",
|
15
16
|
Cohere = "cohere",
|
16
17
|
CometAPI = "cometapi",
|
@@ -56,6 +57,7 @@ export declare enum ModelProvider {
|
|
56
57
|
SophNet = "sophnet",
|
57
58
|
Spark = "spark",
|
58
59
|
Stepfun = "stepfun",
|
60
|
+
Straico = "straico",
|
59
61
|
Taichu = "taichu",
|
60
62
|
TencentCloud = "tencentcloud",
|
61
63
|
TogetherAI = "togetherai",
|
@@ -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";
|
@@ -56,6 +57,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
56
57
|
ModelProvider["SophNet"] = "sophnet";
|
57
58
|
ModelProvider["Spark"] = "spark";
|
58
59
|
ModelProvider["Stepfun"] = "stepfun";
|
60
|
+
ModelProvider["Straico"] = "straico";
|
59
61
|
ModelProvider["Taichu"] = "taichu";
|
60
62
|
ModelProvider["TencentCloud"] = "tencentcloud";
|
61
63
|
ModelProvider["TogetherAI"] = "togetherai";
|
package/es/icons.d.ts
CHANGED
@@ -205,6 +205,7 @@ export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
|
|
205
205
|
export { default as Stability, type CompoundedIcon as StabilityProps } from './Stability';
|
206
206
|
export { default as StateCloud, type CompoundedIcon as StateCloudProps } from './StateCloud';
|
207
207
|
export { default as Stepfun, type CompoundedIcon as StepfunProps } from './Stepfun';
|
208
|
+
export { default as Straico, type CompoundedIcon as StraicoProps } from './Straico';
|
208
209
|
export { default as SubModel, type CompoundedIcon as SubModelProps } from './SubModel';
|
209
210
|
export { default as Suno, type CompoundedIcon as SunoProps } from './Suno';
|
210
211
|
export { default as Sync, type CompoundedIcon as SyncProps } from './Sync';
|
package/es/icons.js
CHANGED
@@ -205,6 +205,7 @@ export { default as Spark } from "./Spark";
|
|
205
205
|
export { default as Stability } from "./Stability";
|
206
206
|
export { default as StateCloud } from "./StateCloud";
|
207
207
|
export { default as Stepfun } from "./Stepfun";
|
208
|
+
export { default as Straico } from "./Straico";
|
208
209
|
export { default as SubModel } from "./SubModel";
|
209
210
|
export { default as Suno } from "./Suno";
|
210
211
|
export { default as Sync } from "./Sync";
|
package/es/toc.js
CHANGED
@@ -1060,7 +1060,7 @@ var toc = [{
|
|
1060
1060
|
"hasAvatar": true,
|
1061
1061
|
"hasBrand": false,
|
1062
1062
|
"hasBrandColor": false,
|
1063
|
-
"hasColor":
|
1063
|
+
"hasColor": false,
|
1064
1064
|
"hasCombine": true,
|
1065
1065
|
"hasText": true,
|
1066
1066
|
"hasTextCn": false,
|
@@ -3749,6 +3749,24 @@ var toc = [{
|
|
3749
3749
|
"hasTextColor": false
|
3750
3750
|
},
|
3751
3751
|
"title": "Stepfun"
|
3752
|
+
}, {
|
3753
|
+
"color": "#464bba",
|
3754
|
+
"desc": "https://straico.com",
|
3755
|
+
"docsUrl": "straico",
|
3756
|
+
"fullTitle": "Straico",
|
3757
|
+
"group": "provider",
|
3758
|
+
"id": "Straico",
|
3759
|
+
"param": {
|
3760
|
+
"hasAvatar": true,
|
3761
|
+
"hasBrand": false,
|
3762
|
+
"hasBrandColor": false,
|
3763
|
+
"hasColor": true,
|
3764
|
+
"hasCombine": true,
|
3765
|
+
"hasText": true,
|
3766
|
+
"hasTextCn": false,
|
3767
|
+
"hasTextColor": false
|
3768
|
+
},
|
3769
|
+
"title": "Straico"
|
3752
3770
|
}, {
|
3753
3771
|
"color": "#fff",
|
3754
3772
|
"desc": "https://submodel.ai",
|
package/package.json
CHANGED
File without changes
|