@lobehub/icons 2.29.2 → 2.31.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 +92 -90
- package/es/AkashChat/components/Avatar.d.ts +5 -0
- package/es/AkashChat/components/Avatar.js +25 -0
- package/es/AkashChat/components/Color.d.ts +3 -0
- package/es/AkashChat/components/Color.js +65 -0
- package/es/AkashChat/components/Combine.d.ts +7 -0
- package/es/AkashChat/components/Combine.js +32 -0
- package/es/AkashChat/components/Mono.d.ts +3 -0
- package/es/AkashChat/components/Mono.js +47 -0
- package/es/AkashChat/components/Text.d.ts +3 -0
- package/es/AkashChat/components/Text.js +43 -0
- package/es/AkashChat/index.d.ts +15 -0
- package/es/AkashChat/index.js +14 -0
- package/es/AkashChat/style.d.ts +7 -0
- package/es/AkashChat/style.js +9 -0
- package/es/Bailian/components/Avatar.d.ts +5 -0
- package/es/Bailian/components/Avatar.js +25 -0
- package/es/Bailian/components/Color.d.ts +3 -0
- package/es/Bailian/components/Color.js +57 -0
- package/es/Bailian/components/Combine.d.ts +7 -0
- package/es/Bailian/components/Combine.js +32 -0
- package/es/Bailian/components/Mono.d.ts +3 -0
- package/es/Bailian/components/Mono.js +57 -0
- package/es/Bailian/components/Text.d.ts +3 -0
- package/es/Bailian/components/Text.js +39 -0
- package/es/Bailian/index.d.ts +15 -0
- package/es/Bailian/index.js +14 -0
- package/es/Bailian/style.d.ts +7 -0
- package/es/Bailian/style.js +9 -0
- package/es/CometAPI/components/Avatar.d.ts +5 -0
- package/es/CometAPI/components/Avatar.js +25 -0
- package/es/CometAPI/components/Color.d.ts +3 -0
- package/es/CometAPI/components/Color.js +48 -0
- package/es/CometAPI/components/Combine.d.ts +7 -0
- package/es/CometAPI/components/Combine.js +32 -0
- package/es/CometAPI/components/Mono.d.ts +3 -0
- package/es/CometAPI/components/Mono.js +42 -0
- package/es/CometAPI/components/Text.d.ts +3 -0
- package/es/CometAPI/components/Text.js +39 -0
- package/es/CometAPI/index.d.ts +15 -0
- package/es/CometAPI/index.js +14 -0
- package/es/CometAPI/style.d.ts +7 -0
- package/es/CometAPI/style.js +9 -0
- package/es/NewAPI/components/Avatar.d.ts +5 -0
- package/es/NewAPI/components/Avatar.js +25 -0
- package/es/NewAPI/components/Color.d.ts +3 -0
- package/es/NewAPI/components/Color.js +100 -0
- package/es/NewAPI/components/Combine.d.ts +7 -0
- package/es/NewAPI/components/Combine.js +32 -0
- package/es/NewAPI/components/Mono.d.ts +3 -0
- package/es/NewAPI/components/Mono.js +44 -0
- package/es/NewAPI/components/Text.d.ts +3 -0
- package/es/NewAPI/components/Text.js +39 -0
- package/es/NewAPI/index.d.ts +15 -0
- package/es/NewAPI/index.js +14 -0
- package/es/NewAPI/style.d.ts +7 -0
- package/es/NewAPI/style.js +9 -0
- package/es/SophNet/components/Avatar.d.ts +5 -0
- package/es/SophNet/components/Avatar.js +25 -0
- package/es/SophNet/components/Color.d.ts +3 -0
- package/es/SophNet/components/Color.js +48 -0
- package/es/SophNet/components/Combine.d.ts +7 -0
- package/es/SophNet/components/Combine.js +32 -0
- package/es/SophNet/components/Mono.d.ts +3 -0
- package/es/SophNet/components/Mono.js +46 -0
- package/es/SophNet/components/Text.d.ts +3 -0
- package/es/SophNet/components/Text.js +39 -0
- package/es/SophNet/index.d.ts +15 -0
- package/es/SophNet/index.js +14 -0
- package/es/SophNet/style.d.ts +7 -0
- package/es/SophNet/style.js +9 -0
- package/es/TuriX/components/Avatar.d.ts +5 -0
- package/es/TuriX/components/Avatar.js +25 -0
- package/es/TuriX/components/Combine.d.ts +4 -0
- package/es/TuriX/components/Combine.js +26 -0
- package/es/TuriX/components/Mono.d.ts +3 -0
- package/es/TuriX/components/Mono.js +40 -0
- package/es/TuriX/components/Text.d.ts +3 -0
- package/es/TuriX/components/Text.js +40 -0
- package/es/TuriX/index.d.ts +14 -0
- package/es/TuriX/index.js +13 -0
- package/es/TuriX/style.d.ts +8 -0
- package/es/TuriX/style.js +10 -0
- package/es/features/providerConfig.js +20 -1
- package/es/features/providerEnum.d.ts +4 -0
- package/es/features/providerEnum.js +4 -0
- package/es/hooks/useFillId.js +3 -2
- package/es/icons.d.ts +6 -0
- package/es/icons.js +6 -0
- package/es/toc.js +109 -0
- package/package.json +1 -1
@@ -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 = "New API";
|
2
|
+
export declare const COLOR_PRIMARY = "#dd2e57";
|
3
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
4
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.3;
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
6
|
+
export declare const AVATAR_COLOR = "#dd2e57";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'New API';
|
2
|
+
export var COLOR_PRIMARY = '#dd2e57';
|
3
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
4
|
+
export var COMBINE_SPACE_MULTIPLE = 0.3;
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = '#fff';
|
8
|
+
export var AVATAR_COLOR = COLOR_PRIMARY;
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -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 Color from "./Color";
|
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: Color,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,48 @@
|
|
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 24 24",
|
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: "M2 3.124A3.125 3.125 0 015.126 0h15.101a3.125 3.125 0 010 6.249H5.125A3.125 3.125 0 012 3.124z",
|
35
|
+
fill: "#6200EE"
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M3.293 1.035a3.125 3.125 0 014.411.257l8.51 9.562a3.125 3.125 0 01-4.669 4.155L3.036 5.447a3.125 3.125 0 01.257-4.412z",
|
38
|
+
fill: "#6200EE"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M2 13.018a3.125 3.125 0 013.125-3.124h8.853a3.124 3.124 0 110 6.248H5.125A3.125 3.125 0 012 13.018z",
|
41
|
+
fill: "#6200EE"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M8.249 20.829A3.125 3.125 0 112 20.922a3.125 3.125 0 016.249-.093z",
|
44
|
+
fill: "#BF7AFF"
|
45
|
+
})]
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
export default Icon;
|
@@ -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,32 @@
|
|
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"];
|
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
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,46 @@
|
|
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: "M2 3.124A3.125 3.125 0 015.126 0h15.101a3.125 3.125 0 010 6.249H5.125A3.125 3.125 0 012 3.124z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M3.293 1.035a3.125 3.125 0 014.411.257l8.51 9.562a3.125 3.125 0 01-4.669 4.155L3.036 5.447a3.125 3.125 0 01.257-4.412z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M2 13.018a3.125 3.125 0 013.125-3.124h8.853a3.124 3.124 0 110 6.248H5.125A3.125 3.125 0 012 13.018z"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
d: "M8.249 20.829A3.125 3.125 0 112 20.922a3.125 3.125 0 016.249-.093z"
|
43
|
+
})]
|
44
|
+
}));
|
45
|
+
});
|
46
|
+
export default Icon;
|
@@ -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 79 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: "M29.535 6.82c.866-.96 1.837-1.552 3.096-1.407 1.071.12 2.167.813 2.371 1.938.111.608.167 1.239.167 1.892.002 3.258 0 5.707-.005 7.349-.001.58-.134 1.907-.528 2.477-.423.609-1.029.975-1.818 1.099-1.346.209-2.416-.325-3.269-1.33a.041.041 0 00-.02-.012.04.04 0 00-.024 0 .04.04 0 00-.018.016.04.04 0 00-.007.022v3.067a.068.068 0 01-.069.069h-4.266a.047.047 0 01-.034-.014.05.05 0 01-.013-.034V5.72c0-.015.006-.03.017-.04a.06.06 0 01.042-.017h4.251a.07.07 0 01.05.02.07.07 0 01.015.023.07.07 0 01.006.026V6.8c0 .006.002.012.006.017.003.005.01.01.015.012a.033.033 0 00.035-.009zM4.65 2.367a7.78 7.78 0 014.293-.124c.983.243 1.954.66 2.521 1.504.186.28.328.685.427 1.215.15.811.198 1.725.141 2.74a.091.091 0 01-.091.085l-4.033.002a.096.096 0 01-.094-.093c-.028-.713.096-1.496-.13-2.287a.248.248 0 00-.08-.124c-.325-.265-.657-.262-.996.008-.439.349-.38 1.439-.274 1.968.161.803.92 1.308 1.65 1.675 1.213.606 2.374 1.493 3.484 2.66.05.053.094.111.13.174.427.74.685 1.54.774 2.397a10.902 10.902 0 01-.127 3.212c-.155.805-.548 1.427-1.18 1.865-2.003 1.39-5.333 1.419-7.301.058-1.771-1.223-1.648-3.773-1.597-5.647a.088.088 0 01.088-.085H6.28c.023 0 .046.009.062.024a.087.087 0 01.026.061c.017.883-.104 2.111.142 3.208a.275.275 0 00.073.13c.343.338.726.359 1.148.063.15-.105.257-.348.319-.73.116-.714.073-1.372-.13-1.973-.2-.592-.49-.762-1.013-1.178-.844-.672-1.951-1.304-2.345-1.592-.73-.531-1.438-1.024-1.832-1.65C2.122 8.963 1.994 7.79 2 6.597c.01-1.935.573-3.576 2.649-4.231zm56.258 4.66c1.41-1.827 4.652-1.896 6.542-1.072 2.902 1.264 2.583 4.51 2.576 7.057a.055.055 0 01-.054.054h-5.542a.069.069 0 00-.07.066c-.005 1.521-.005 2.68 0 3.477.002.195.04.43.113.703a.453.453 0 00.258.3c.34.15.64.088.9-.182a.273.273 0 00.068-.123c.282-1.033.165-2.3.168-3.158a.115.115 0 01.113-.113h3.949c.024 0 .047.009.064.025.018.017.028.04.029.064.038 1.26.079 2.721-.523 3.858-1.107 2.089-3.307 2.514-5.493 2.216-1.787-.243-3.291-1.143-3.77-2.908a7.957 7.957 0 01-.254-2.005c-.01-1.031-.011-2.71-.004-5.035.003-1.022.281-2.382.93-3.224zM17.823 5.376c1.498-.117 3.308.172 4.409 1.192.87.806 1.317 1.824 1.337 3.054.02 1.206.028 2.808.025 4.806-.002.978-.006 2.321-.371 3.18-.342.8-.861 1.426-1.557 1.876-1.47.953-3.977.894-5.612.37-2.2-.706-2.468-2.851-2.465-4.924l.003-4.67c.002-.65.153-1.456.317-2.043.512-1.822 2.114-2.701 3.914-2.841zM75.99 3.76a.062.062 0 01.061.06v2.09a.085.085 0 00.085.086h.975a.095.095 0 01.096.096V8.18c0 .024-.01.046-.027.063a.092.092 0 01-.064.026h-.983a.08.08 0 00-.056.023.08.08 0 00-.023.055c-.006.264-.008 3.037-.006 8.317 0 .294.046.573.14.837a.179.179 0 00.167.119h.941c.026 0 .051.01.07.028a.098.098 0 01.028.069v2.15c0 .024-.01.047-.026.063a.085.085 0 01-.06.026c-1.502.035-2.666.01-3.49-.075-.723-.075-1.298-.387-1.723-.936-.427-.554-.445-1.847-.44-2.504.013-1.607.017-4.3.012-8.076a.092.092 0 00-.093-.093h-.771a.086.086 0 01-.086-.086V6.082c0-.022.009-.044.024-.06a.084.084 0 01.059-.024h.786a.083.083 0 00.059-.024.083.083 0 00.023-.058V3.848a.093.093 0 01.026-.062.088.088 0 01.028-.02.086.086 0 01.033-.005h4.234zM40.834 2.492a.06.06 0 01.06.06v3.727a.056.056 0 00.029.049c.009.005.02.007.03.007.01 0 .02-.004.028-.01.186-.12.334-.217.444-.291 1.19-.793 2.426-.884 3.709-.273.594.282 1.022.762 1.283 1.437.1.26.163.893.19 1.896.017.628.02 4.227.01 10.797a.056.056 0 01-.016.04.059.059 0 01-.04.016h-4.245a.06.06 0 01-.06-.06c.001-4.51 0-8.009-.003-10.495 0-.377-.037-.753-.11-1.128a.454.454 0 00-.341-.353c-.441-.105-.708.055-.8.48-.064.288-.106.63-.106.89v10.572a.058.058 0 01-.059.058h-4.22a.088.088 0 01-.087-.088V2.56c0-.018.007-.035.02-.048a.072.072 0 01.05-.02h4.234zm11.138 0a.129.129 0 01.122.088L54.53 10.1a.038.038 0 00.042.025.035.035 0 00.02-.011.036.036 0 00.009-.024V2.576c0-.022.01-.044.025-.06a.083.083 0 01.059-.024h3.63c.024 0 .047.01.064.026.017.017.026.04.026.065V19.9a.046.046 0 01-.046.047H54.52a.124.124 0 01-.118-.087l-2.289-7.694a.024.024 0 00-.01-.012.025.025 0 00-.016-.004.024.024 0 00-.014.008.024.024 0 00-.006.014v7.691a.084.084 0 01-.083.084h-3.675a.048.048 0 01-.033-.014.048.048 0 01-.014-.033V2.543a.052.052 0 01.05-.051h3.66zM30.517 8.033c-.378-.179-.683-.143-.917.107a.29.29 0 00-.07.138c-.094.452-.138.814-.132 1.085.006.374.009 1.523.008 3.446a295.7 295.7 0 01-.011 3.447c-.005.271.04.633.132 1.085.01.051.034.098.069.136.234.25.54.288.918.11a.155.155 0 00.085-.11c.08-.39.118-.753.116-1.089-.003-.484-.004-1.677-.004-3.579.001-1.9.003-3.093.006-3.578a5.25 5.25 0 00-.115-1.089.154.154 0 00-.085-.109zm-11.935-.097c-.604 0-.61.574-.628 1.016-.01.256-.014 1.542-.014 3.858 0 2.317.004 3.603.014 3.858.018.441.024 1.015.628 1.015s.61-.574.628-1.015c.01-.255.016-1.541.016-3.858 0-2.316-.006-3.602-.016-3.858-.018-.442-.024-1.016-.628-1.016zm46.241.005c-.124 0-.242.089-.33.244a1.222 1.222 0 00-.134.586l.006 1.92c0 .011.004.023.012.031.008.009.02.013.032.013l1.166-.003a.046.046 0 00.033-.012.046.046 0 00.012-.033l-.005-1.919c0-.108-.013-.217-.037-.317a1.026 1.026 0 00-.102-.269.567.567 0 00-.153-.18.302.302 0 00-.18-.06h-.32z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
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 = "SophNet";
|
2
|
+
export declare const COLOR_PRIMARY = "#6200ee";
|
3
|
+
export declare const COMBINE_TEXT_MULTIPLE = 1;
|
4
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
6
|
+
export declare const AVATAR_COLOR = "#6200ee";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'SophNet';
|
2
|
+
export var COLOR_PRIMARY = '#6200ee';
|
3
|
+
export var COMBINE_TEXT_MULTIPLE = 1;
|
4
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = '#fff';
|
8
|
+
export var AVATAR_COLOR = COLOR_PRIMARY;
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -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;
|
@@ -0,0 +1,26 @@
|
|
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 IconCombine from "../../features/IconCombine";
|
12
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
Text: Text,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
23
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
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: "M21.098 4.62L13.903.507a3.832 3.832 0 00-3.806 0L2.902 4.62A3.76 3.76 0 001 7.885v8.23c0 1.347.725 2.592 1.902 3.264l7.195 4.115a3.832 3.832 0 003.806 0l7.195-4.115A3.757 3.757 0 0023 16.115v-8.23a3.763 3.763 0 00-1.902-3.264zm.605 11.378l-8.34 4.77c-.018.01-.036.015-.055.023-.005.002-.008.007-.015.013-.828.469-1.7.518-2.507.046-.005-.002-.013-.01-.018-.013-.016-.008-.032-.013-.045-.02l-8.432-4.821a.874.874 0 01-.324-1.202l.02-.033a.892.892 0 011.213-.322l3.9 2.231v-3.298l-4.206-2.405A.895.895 0 012.56 9.74.913.913 0 013.8 9.41l4.676 2.675a.696.696 0 01.437.647v4.976l2.229 1.274v-8.617l-4.29-2.454a.894.894 0 01-.333-1.227.912.912 0 011.239-.33l3.384 1.936V4.756c0-.496.406-.898.906-.898s.907.402.907.898v3.48l3.29-1.882a.91.91 0 011.238.33.892.892 0 01-.332 1.227l-4.196 2.4v8.614l2.16-1.235v-4.958c0-.294.181-.542.438-.646l4.675-2.676a.91.91 0 011.24.33.893.893 0 01-.333 1.227l-4.207 2.405v3.278l3.864-2.211a.895.895 0 011.215.322l.018.03c.247.421.1.96-.324 1.205l.002.002z"
|
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 72 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: "M46.285 5.191L46.683 2h3.483l-.399 3.191h-3.482zM2 4.952l.346-2.925h15.763l-.346 2.925h-6.406L9.31 22H6.173L8.22 4.952H2zM49.66 22h3.908l6.3-7.687L64.28 22h3.748l-5.955-10.027 8.108-9.946H66.38L60.506 9.42l-4.147-7.393h-3.695l5.609 9.733L49.66 22zm-2.153 0h-3.056l1.834-14.814h3.057L47.507 22zm-19.541-2.925L29.4 7.186h3.057L30.651 22h-6.673c-3.668 0-5.502-1.684-5.502-5.053 0-.408.026-.851.08-1.33l1.036-8.43h3.057l-1.037 8.51c-.035.23-.053.55-.053.957 0 .922.213 1.56.638 1.915.443.355 1.152.532 2.127.532l3.642-.026zm13.488-9.043c.319 0 1.027.018 2.126.053l.479-2.819a27.05 27.05 0 00-2.26-.08c-2.25 0-3.925.506-5.024 1.516-1.08 1.011-1.754 2.642-2.02 4.894L33.718 22h3.057l1.063-8.484c.142-1.241.497-2.127 1.064-2.66.567-.55 1.417-.824 2.552-.824z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,14 @@
|
|
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
|
+
colorGradient: string;
|
10
|
+
colorPrimary: string;
|
11
|
+
title: string;
|
12
|
+
};
|
13
|
+
declare const Icons: CompoundedIcon;
|
14
|
+
export default Icons;
|
@@ -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
|
+
import { COLOR_GRADIENT, 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.colorGradient = COLOR_GRADIENT;
|
12
|
+
Icons.title = TITLE;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const TITLE = "TuriX";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export declare const COLOR_PRIMARY = "#F7AD8A";
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(-45deg, #FAD076, #F7AD8A, #C768B9)";
|
6
|
+
export declare const AVATAR_BACKGROUND = "linear-gradient(-45deg, #FAD076, #F7AD8A, #C768B9)";
|
7
|
+
export declare const AVATAR_COLOR = "#fff";
|
8
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var TITLE = 'TuriX';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export var COLOR_PRIMARY = '#F7AD8A';
|
5
|
+
export var COLOR_GRADIENT = 'linear-gradient(-45deg, #FAD076, #F7AD8A, #C768B9)';
|
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;
|
@@ -20,6 +20,7 @@ import Ai302 from "../Ai302";
|
|
20
20
|
import Ai360 from "../Ai360";
|
21
21
|
import AiHubMix from "../AiHubMix";
|
22
22
|
import AiMass from "../AiMass";
|
23
|
+
import AkashChat from "../AkashChat";
|
23
24
|
import AlibabaCloud from "../AlibabaCloud";
|
24
25
|
import Anthropic from "../Anthropic";
|
25
26
|
import Aws from "../Aws";
|
@@ -33,6 +34,7 @@ import BurnCloud from "../BurnCloud";
|
|
33
34
|
import Claude from "../Claude";
|
34
35
|
import Cloudflare from "../Cloudflare";
|
35
36
|
import Cohere from "../Cohere";
|
37
|
+
import CometAPI from "../CometAPI";
|
36
38
|
import ComfyUI from "../ComfyUI";
|
37
39
|
import DeepSeek from "../DeepSeek";
|
38
40
|
import Doubao from "../Doubao";
|
@@ -56,6 +58,7 @@ import Mistral from "../Mistral";
|
|
56
58
|
import ModelScope from "../ModelScope";
|
57
59
|
import Moonshot from "../Moonshot";
|
58
60
|
import Nebius from "../Nebius";
|
61
|
+
import NewAPI from "../NewAPI";
|
59
62
|
import Novita from "../Novita";
|
60
63
|
import Nvidia from "../Nvidia";
|
61
64
|
import Ollama from "../Ollama";
|
@@ -70,6 +73,7 @@ import SambaNova from "../SambaNova";
|
|
70
73
|
import Search1API from "../Search1API";
|
71
74
|
import SenseNova from "../SenseNova";
|
72
75
|
import SiliconCloud from "../SiliconCloud";
|
76
|
+
import SophNet from "../SophNet";
|
73
77
|
import Spark from "../Spark";
|
74
78
|
import Stepfun from "../Stepfun";
|
75
79
|
import TencentCloud from "../TencentCloud";
|
@@ -440,6 +444,9 @@ export var providerMappings = [{
|
|
440
444
|
Icon: AiHubMix,
|
441
445
|
combineMultiple: 0.9,
|
442
446
|
keywords: [ModelProvider.AiHubMix]
|
447
|
+
}, {
|
448
|
+
Icon: CometAPI,
|
449
|
+
keywords: [ModelProvider.CometAPI]
|
443
450
|
}, {
|
444
451
|
Combine: /*#__PURE__*/memo(function (_ref8) {
|
445
452
|
var _ref8$size = _ref8.size,
|
@@ -462,6 +469,18 @@ export var providerMappings = [{
|
|
462
469
|
keywords: [ModelProvider.Bfl]
|
463
470
|
}, {
|
464
471
|
Icon: Nebius,
|
465
|
-
combineMultiple: 0.
|
472
|
+
combineMultiple: 0.75,
|
466
473
|
keywords: [ModelProvider.Nebius]
|
474
|
+
}, {
|
475
|
+
Icon: NewAPI,
|
476
|
+
combineMultiple: 0.85,
|
477
|
+
keywords: [ModelProvider.NewAPI]
|
478
|
+
}, {
|
479
|
+
Icon: AkashChat,
|
480
|
+
combineMultiple: 0.8,
|
481
|
+
keywords: [ModelProvider.AkashChat]
|
482
|
+
}, {
|
483
|
+
Icon: SophNet,
|
484
|
+
combineMultiple: 0.85,
|
485
|
+
keywords: [ModelProvider.SophNet]
|
467
486
|
}];
|