@lobehub/icons 2.39.0 → 2.40.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 +12 -11
- package/es/Sora/components/Avatar.d.ts +5 -0
- package/es/Sora/components/Avatar.js +25 -0
- package/es/Sora/components/Color.d.ts +3 -0
- package/es/Sora/components/Color.js +155 -0
- package/es/Sora/components/Combine.d.ts +7 -0
- package/es/Sora/components/Combine.js +32 -0
- package/es/Sora/components/Inner.d.ts +3 -0
- package/es/Sora/components/Inner.js +138 -0
- package/es/Sora/components/Mono.d.ts +3 -0
- package/es/Sora/components/Mono.js +51 -0
- package/es/Sora/components/Text.d.ts +3 -0
- package/es/Sora/components/Text.js +39 -0
- package/es/Sora/index.d.ts +16 -0
- package/es/Sora/index.js +15 -0
- package/es/Sora/style.d.ts +8 -0
- package/es/Sora/style.js +10 -0
- package/es/features/modelConfig.js +5 -1
- package/es/icons.d.ts +1 -0
- package/es/icons.js +1 -0
- package/es/toc.js +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -174,17 +174,18 @@ Contributions, corrections & requests can be made on GitHub.
|
|
174
174
|
| | <a href="https://lobehub.com/icons/sophnet"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/sophnet-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/sophnet-color.png" /></picture><br/>SophNet | <a href="https://lobehub.com/icons/tripo"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/tripo-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/tripo-color.png" /></picture><br/>Tripo |
|
175
175
|
| | <a href="https://lobehub.com/icons/stability"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/stability-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/stability-color.png" /></picture><br/>Stability (StableDiffusion) | <a href="https://lobehub.com/icons/turix"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/turix.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/turix.png" /></picture><br/>TuriX |
|
176
176
|
| | <a href="https://lobehub.com/icons/statecloud"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/statecloud-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/statecloud-color.png" /></picture><br/>StateCloud (天翼云) | <a href="https://lobehub.com/icons/udio"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/udio-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/udio-color.png" /></picture><br/>Udio |
|
177
|
-
| | <a href="https://lobehub.com/icons/
|
178
|
-
| | <a href="https://lobehub.com/icons/
|
179
|
-
| | <a href="https://lobehub.com/icons/
|
180
|
-
| | <a href="https://lobehub.com/icons/
|
181
|
-
| | <a href="https://lobehub.com/icons/
|
182
|
-
| | <a href="https://lobehub.com/icons/
|
183
|
-
| | <a href="https://lobehub.com/icons/
|
184
|
-
| | <a href="https://lobehub.com/icons/
|
185
|
-
| | <a href="https://lobehub.com/icons/
|
186
|
-
| | <a href="https://lobehub.com/icons/
|
187
|
-
| | <a href="https://lobehub.com/icons/
|
177
|
+
| | <a href="https://lobehub.com/icons/straico"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/straico-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/straico-color.png" /></picture><br/>Straico | <a href="https://lobehub.com/icons/unstructured"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/unstructured-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/unstructured-color.png" /></picture><br/>Unstructured |
|
178
|
+
| | <a href="https://lobehub.com/icons/submodel"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/submodel-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/submodel-color.png" /></picture><br/>SubModel | <a href="https://lobehub.com/icons/v0"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/v0.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/v0.png" /></picture><br/>V0 (Vercel) |
|
179
|
+
| | <a href="https://lobehub.com/icons/targon"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/targon-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/targon-color.png" /></picture><br/>Targon | <a href="https://lobehub.com/icons/vectorizerai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/vectorizerai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/vectorizerai.png" /></picture><br/>Vectorizer.AI |
|
180
|
+
| | <a href="https://lobehub.com/icons/tii"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/tii-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/tii-color.png" /></picture><br/>Technology Innovation Institute (Falcon) | <a href="https://lobehub.com/icons/vidu"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/vidu-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/vidu-color.png" /></picture><br/>Vidu |
|
181
|
+
| | <a href="https://lobehub.com/icons/tencent"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/tencent-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/tencent-color.png" /></picture><br/>Tencent | <a href="https://lobehub.com/icons/viggle"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/viggle.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/viggle.png" /></picture><br/>Viggle |
|
182
|
+
| | <a href="https://lobehub.com/icons/tencentcloud"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/tencentcloud-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/tencentcloud-color.png" /></picture><br/>TencentCloud (腾讯云) | <a href="https://lobehub.com/icons/windsurf"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/windsurf.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/windsurf.png" /></picture><br/>Windsurf |
|
183
|
+
| | <a href="https://lobehub.com/icons/together"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/together-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/together-color.png" /></picture><br/>together.ai | <a href="https://lobehub.com/icons/youmind"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/youmind.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/youmind.png" /></picture><br/>YouMind |
|
184
|
+
| | <a href="https://lobehub.com/icons/upstage"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/upstage-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/upstage-color.png" /></picture><br/>Upstage | <a href="https://lobehub.com/icons/yuanbao"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/yuanbao-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/yuanbao-color.png" /></picture><br/>Yuanbao (腾讯元宝) |
|
185
|
+
| | <a href="https://lobehub.com/icons/vercel"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/vercel.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/vercel.png" /></picture><br/>Vercel | <a href="https://lobehub.com/icons/zai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zai.png" /></picture><br/>Z.ai |
|
186
|
+
| | <a href="https://lobehub.com/icons/vertexai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/vertexai-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/vertexai-color.png" /></picture><br/>VertexAI (Google) | <a href="https://lobehub.com/icons/zapier"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zapier-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zapier-color.png" /></picture><br/>Zapier |
|
187
|
+
| | <a href="https://lobehub.com/icons/vllm"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/vllm-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/vllm-color.png" /></picture><br/>vLLM | <a href="https://lobehub.com/icons/zeabur"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zeabur-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zeabur-color.png" /></picture><br/>Zeabur |
|
188
|
+
| | <a href="https://lobehub.com/icons/volcengine"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/volcengine-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/volcengine-color.png" /></picture><br/>Volcengine (火山引擎) | |
|
188
189
|
| | <a href="https://lobehub.com/icons/workersai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/workersai-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/workersai-color.png" /></picture><br/>WorkersAI (Cloudflare) | |
|
189
190
|
| | <a href="https://lobehub.com/icons/xai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/xai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/xai.png" /></picture><br/>xAI | |
|
190
191
|
| | <a href="https://lobehub.com/icons/xinference"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/xinference-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/xinference-color.png" /></picture><br/>Xinference | |
|
@@ -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 Inner from "./Inner";
|
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: Inner,
|
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,155 @@
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
11
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
16
|
+
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; }
|
17
|
+
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; }
|
18
|
+
import { memo } from 'react';
|
19
|
+
import { useFillIds } from "../../hooks/useFillId";
|
20
|
+
import { TITLE } from "../style";
|
21
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
23
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
24
|
+
var _ref$size = _ref.size,
|
25
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
26
|
+
style = _ref.style,
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
28
|
+
var _useFillIds = useFillIds(TITLE, 6),
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 6),
|
30
|
+
a = _useFillIds2[0],
|
31
|
+
b = _useFillIds2[1],
|
32
|
+
c = _useFillIds2[2],
|
33
|
+
d = _useFillIds2[3],
|
34
|
+
e = _useFillIds2[4],
|
35
|
+
f = _useFillIds2[5];
|
36
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
37
|
+
height: size,
|
38
|
+
style: _objectSpread({
|
39
|
+
flex: 'none',
|
40
|
+
lineHeight: 1
|
41
|
+
}, style),
|
42
|
+
viewBox: "0 0 24 24",
|
43
|
+
width: size,
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
45
|
+
}, rest), {}, {
|
46
|
+
children: [/*#__PURE__*/_jsx("title", {
|
47
|
+
children: TITLE
|
48
|
+
}), /*#__PURE__*/_jsx("path", {
|
49
|
+
d: "M19.503 0H4.496A4.496 4.496 0 000 4.496v15.007A4.496 4.496 0 004.496 24h15.007A4.496 4.496 0 0024 19.503V4.496A4.496 4.496 0 0019.503 0z",
|
50
|
+
fill: a.fill
|
51
|
+
}), /*#__PURE__*/_jsx("path", {
|
52
|
+
d: "M9.726 11.36a.306.306 0 110 .612.306.306 0 010-.612z",
|
53
|
+
fill: b.fill
|
54
|
+
}), /*#__PURE__*/_jsx("path", {
|
55
|
+
clipRule: "evenodd",
|
56
|
+
d: "M8.408 9.561c.033-.009.065.002.096.033.145.15.292.298.44.447l.021.016c.01.005.017.009.024.01l.608.157c.042.01.068.033.077.066.009.035-.002.067-.033.098l-.447.439a.098.098 0 00-.016.022.1.1 0 00-.01.024l-.157.607c-.01.042-.033.068-.067.077-.034.01-.066-.002-.096-.033l-.44-.446a.117.117 0 00-.047-.027c-.202-.053-.405-.105-.607-.156-.042-.01-.068-.033-.077-.068-.01-.033.002-.066.033-.096.15-.146.298-.292.447-.44a.092.092 0 00.016-.021.101.101 0 00.01-.025l.157-.607c.01-.042.033-.068.068-.077z",
|
57
|
+
fill: c.fill,
|
58
|
+
fillRule: "evenodd"
|
59
|
+
}), /*#__PURE__*/_jsx("path", {
|
60
|
+
d: "M14.87 9.982a.307.307 0 110 .613.307.307 0 010-.613z",
|
61
|
+
fill: d.fill
|
62
|
+
}), /*#__PURE__*/_jsx("path", {
|
63
|
+
clipRule: "evenodd",
|
64
|
+
d: "M13.553 8.187c.035-.01.067.002.097.032l.438.448a.117.117 0 00.046.026l.606.158c.042.01.067.033.077.068.009.033-.002.065-.034.095l-.447.438a.123.123 0 00-.027.046l-.157.605c-.01.042-.034.068-.068.077-.034.009-.066-.002-.096-.033-.145-.15-.291-.299-.437-.447a.09.09 0 00-.022-.017.09.09 0 00-.025-.01l-.605-.158c-.042-.01-.068-.033-.077-.067-.009-.034.002-.066.033-.096.15-.145.298-.291.447-.437a.093.093 0 00.017-.022.1.1 0 00.01-.025l.158-.605c.01-.042.033-.068.066-.076z",
|
65
|
+
fill: e.fill,
|
66
|
+
fillRule: "evenodd"
|
67
|
+
}), /*#__PURE__*/_jsx("path", {
|
68
|
+
clipRule: "evenodd",
|
69
|
+
d: "M9.065 3.343a4.577 4.577 0 012.284-.311c1 .114 1.891.54 2.673 1.274a.086.086 0 00.08.022 4.549 4.549 0 013.046.275l.047.021.116.058a4.58 4.58 0 012.188 2.398c.209.51.314 1.041.316 1.595.015.415-.03.823-.135 1.224a.12.12 0 00.03.116c.594.606.988 1.329 1.183 2.168.289 1.426-.007 2.71-.887 3.855l-.136.166a4.546 4.546 0 01-2.201 1.387.12.12 0 00-.08.077c-.191.551-.384 1.023-.741 1.494-.9 1.186-2.221 1.846-3.711 1.838-1.187-.006-2.24-.44-3.157-1.302a.106.106 0 00-.106-.024c-.388.125-.78.144-1.203.139a4.44 4.44 0 01-1.946-.467 4.542 4.542 0 01-1.61-1.336c-.152-.201-.303-.391-.413-.616a5.805 5.805 0 01-.37-.961 4.58 4.58 0 01-.013-2.299.122.122 0 00.005-.055.084.084 0 00-.027-.048 4.466 4.466 0 01-1.035-1.651 3.896 3.896 0 01-.25-1.192 5.183 5.183 0 01.141-1.6c.337-1.112.982-1.985 1.933-2.619.212-.14.412-.25.601-.329.215-.09.43-.165.646-.228a.096.096 0 00.065-.065 4.51 4.51 0 01.828-1.616 4.535 4.535 0 011.839-1.388zm.723 5.735c-.865-.614-2.048-.31-2.483.656-.226.5-.27 1.026-.133 1.58l.108.44.195.712c.08.4.232.765.459 1.096l.022.032c.12.142.252.272.394.389 1.039.854 2.456.284 2.739-.992l.037-.16.01-.06c.044-.3.03-.594-.04-.882a35.608 35.608 0 00-.41-1.517c-.163-.554-.462-.985-.898-1.294zm5.328-1.235c-.646-.6-1.643-.623-2.285-.019-.25.235-.425.552-.523.949a2.603 2.603 0 000 1.226l.01.04.042.136c.095.315.183.625.264.93.085.317.152.53.204.638.43.905 1.365 1.556 2.382 1.141.946-.386 1.23-1.507 1.016-2.415a9.78 9.78 0 00-.105-.41c-.15-.583-.256-.976-.321-1.179a2.41 2.41 0 00-.684-1.037z",
|
70
|
+
fill: f.fill,
|
71
|
+
fillRule: "evenodd"
|
72
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
73
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
74
|
+
gradientUnits: "userSpaceOnUse",
|
75
|
+
id: a.id,
|
76
|
+
x1: "12",
|
77
|
+
x2: "12",
|
78
|
+
y1: "0",
|
79
|
+
y2: "24",
|
80
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
81
|
+
stopColor: "#012659"
|
82
|
+
}), /*#__PURE__*/_jsx("stop", {
|
83
|
+
offset: "1",
|
84
|
+
stopColor: "#0968DA"
|
85
|
+
})]
|
86
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
87
|
+
gradientUnits: "userSpaceOnUse",
|
88
|
+
id: b.id,
|
89
|
+
x1: "9.859",
|
90
|
+
x2: "14.219",
|
91
|
+
y1: "3",
|
92
|
+
y2: "21.017",
|
93
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
94
|
+
stopColor: "#fff"
|
95
|
+
}), /*#__PURE__*/_jsx("stop", {
|
96
|
+
offset: "1",
|
97
|
+
stopColor: "#6BB6FE"
|
98
|
+
})]
|
99
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
100
|
+
gradientUnits: "userSpaceOnUse",
|
101
|
+
id: c.id,
|
102
|
+
x1: "9.859",
|
103
|
+
x2: "14.219",
|
104
|
+
y1: "3",
|
105
|
+
y2: "21.017",
|
106
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
107
|
+
stopColor: "#fff"
|
108
|
+
}), /*#__PURE__*/_jsx("stop", {
|
109
|
+
offset: "1",
|
110
|
+
stopColor: "#6BB6FE"
|
111
|
+
})]
|
112
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
113
|
+
gradientUnits: "userSpaceOnUse",
|
114
|
+
id: d.id,
|
115
|
+
x1: "9.859",
|
116
|
+
x2: "14.219",
|
117
|
+
y1: "3",
|
118
|
+
y2: "21.017",
|
119
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
120
|
+
stopColor: "#fff"
|
121
|
+
}), /*#__PURE__*/_jsx("stop", {
|
122
|
+
offset: "1",
|
123
|
+
stopColor: "#6BB6FE"
|
124
|
+
})]
|
125
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
126
|
+
gradientUnits: "userSpaceOnUse",
|
127
|
+
id: e.id,
|
128
|
+
x1: "9.859",
|
129
|
+
x2: "14.219",
|
130
|
+
y1: "3",
|
131
|
+
y2: "21.017",
|
132
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
133
|
+
stopColor: "#fff"
|
134
|
+
}), /*#__PURE__*/_jsx("stop", {
|
135
|
+
offset: "1",
|
136
|
+
stopColor: "#6BB6FE"
|
137
|
+
})]
|
138
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
139
|
+
gradientUnits: "userSpaceOnUse",
|
140
|
+
id: f.id,
|
141
|
+
x1: "9.859",
|
142
|
+
x2: "14.219",
|
143
|
+
y1: "3",
|
144
|
+
y2: "21.017",
|
145
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
146
|
+
stopColor: "#fff"
|
147
|
+
}), /*#__PURE__*/_jsx("stop", {
|
148
|
+
offset: "1",
|
149
|
+
stopColor: "#6BB6FE"
|
150
|
+
})]
|
151
|
+
})]
|
152
|
+
})]
|
153
|
+
}));
|
154
|
+
});
|
155
|
+
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,138 @@
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
11
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
16
|
+
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; }
|
17
|
+
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; }
|
18
|
+
import { memo } from 'react';
|
19
|
+
import { useFillIds } from "../../hooks/useFillId";
|
20
|
+
import { TITLE } from "../style";
|
21
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
23
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
24
|
+
var _ref$size = _ref.size,
|
25
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
26
|
+
style = _ref.style,
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
28
|
+
var _useFillIds = useFillIds(TITLE, 5),
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 5),
|
30
|
+
a = _useFillIds2[0],
|
31
|
+
b = _useFillIds2[1],
|
32
|
+
c = _useFillIds2[2],
|
33
|
+
d = _useFillIds2[3],
|
34
|
+
e = _useFillIds2[4];
|
35
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
36
|
+
height: size,
|
37
|
+
style: _objectSpread({
|
38
|
+
flex: 'none',
|
39
|
+
lineHeight: 1
|
40
|
+
}, style),
|
41
|
+
viewBox: "0 0 24 24",
|
42
|
+
width: size,
|
43
|
+
xmlns: "http://www.w3.org/2000/svg"
|
44
|
+
}, rest), {}, {
|
45
|
+
children: [/*#__PURE__*/_jsx("title", {
|
46
|
+
children: TITLE
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
48
|
+
d: "M8.968 11.147a.408.408 0 110 .816.408.408 0 010-.816z",
|
49
|
+
fill: a.fill
|
50
|
+
}), /*#__PURE__*/_jsx("path", {
|
51
|
+
clipRule: "evenodd",
|
52
|
+
d: "M7.21 8.748c.045-.012.087.003.128.044.195.2.39.398.587.596a.15.15 0 00.061.035l.81.209c.056.014.09.043.102.088.013.046-.002.09-.043.13l-.596.585a.139.139 0 00-.021.03.134.134 0 00-.015.033c-.07.27-.14.54-.208.81-.014.055-.044.09-.09.102-.045.012-.088-.003-.128-.045-.195-.199-.39-.397-.587-.595a.158.158 0 00-.062-.035l-.81-.209c-.056-.014-.09-.044-.103-.09-.011-.044.004-.087.045-.128.2-.194.398-.39.596-.585a.12.12 0 00.022-.03.134.134 0 00.014-.032c.07-.27.14-.54.208-.81.014-.056.044-.09.09-.103z",
|
53
|
+
fill: b.fill,
|
54
|
+
fillRule: "evenodd"
|
55
|
+
}), /*#__PURE__*/_jsx("path", {
|
56
|
+
d: "M15.827 9.31a.409.409 0 110 .817.409.409 0 010-.818z",
|
57
|
+
fill: c.fill
|
58
|
+
}), /*#__PURE__*/_jsx("path", {
|
59
|
+
clipRule: "evenodd",
|
60
|
+
d: "M14.071 6.915c.046-.012.09.003.13.044.194.2.388.398.583.596a.155.155 0 00.062.036l.807.21c.056.014.09.045.103.09.012.045-.003.088-.045.128l-.596.583a.168.168 0 00-.036.061l-.21.808c-.014.056-.044.09-.09.103-.045.011-.088-.004-.128-.045-.194-.2-.389-.398-.583-.596a.12.12 0 00-.03-.022.12.12 0 00-.032-.014l-.808-.21c-.056-.014-.09-.044-.102-.09-.012-.045.003-.087.044-.128.2-.194.398-.388.596-.583a.119.119 0 00.022-.03.132.132 0 00.015-.032l.21-.806c.014-.057.043-.09.088-.103z",
|
61
|
+
fill: d.fill,
|
62
|
+
fillRule: "evenodd"
|
63
|
+
}), /*#__PURE__*/_jsx("path", {
|
64
|
+
clipRule: "evenodd",
|
65
|
+
d: "M8.086.457a6.102 6.102 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.116.116 0 00.107.029c1.409-.346 2.762-.224 4.062.366l.061.029.155.077c1.357.703 2.33 1.769 2.918 3.197.278.68.418 1.388.421 2.127a5.65 5.65 0 01-.18 1.631.164.164 0 00.04.154 5.98 5.98 0 011.577 2.892c.386 1.901-.008 3.614-1.182 5.14l-.181.22a6.062 6.062 0 01-2.936 1.85.16.16 0 00-.106.103c-.255.736-.512 1.364-.988 1.992-1.199 1.582-2.962 2.462-4.948 2.45-1.583-.007-2.986-.586-4.21-1.736a.142.142 0 00-.14-.031c-.518.167-1.04.191-1.605.185a5.923 5.923 0 01-2.594-.622 6.057 6.057 0 01-2.146-1.781c-.203-.27-.404-.522-.552-.821a7.742 7.742 0 01-.494-1.283 6.108 6.108 0 01-.017-3.065.163.163 0 00.007-.074.112.112 0 00-.036-.063 5.954 5.954 0 01-1.38-2.202 5.193 5.193 0 01-.333-1.59 6.911 6.911 0 01.188-2.13c.45-1.485 1.309-2.65 2.578-3.494.282-.188.549-.334.8-.439a8.21 8.21 0 01.862-.303.128.128 0 00.087-.087 6.014 6.014 0 011.104-2.155C6.315 1.463 7.132.846 8.086.457zm.965 7.647c-1.154-.82-2.73-.413-3.311.875-.301.666-.36 1.368-.178 2.106l.145.586.26.95c.105.533.31 1.02.612 1.462l.03.043c.16.189.335.362.524.518 1.386 1.139 3.275.379 3.652-1.323l.05-.213.012-.08c.06-.4.042-.792-.053-1.175a47.673 47.673 0 00-.546-2.024c-.217-.738-.616-1.313-1.197-1.725zm7.104-1.646c-.862-.802-2.191-.831-3.047-.026-.334.314-.566.736-.697 1.265a3.47 3.47 0 000 1.635l.014.054.055.18c.127.42.245.834.353 1.241.112.423.202.706.27.85.574 1.206 1.82 2.074 3.177 1.522 1.261-.514 1.641-2.01 1.355-3.22-.043-.183-.09-.365-.14-.546a34.426 34.426 0 00-.428-1.573c-.162-.508-.466-.968-.912-1.382z",
|
66
|
+
fill: e.fill,
|
67
|
+
fillRule: "evenodd"
|
68
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
69
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
70
|
+
gradientUnits: "userSpaceOnUse",
|
71
|
+
id: a.id,
|
72
|
+
x1: "9.145",
|
73
|
+
x2: "14.959",
|
74
|
+
y1: "0",
|
75
|
+
y2: "24.022",
|
76
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
77
|
+
stopColor: "#fff"
|
78
|
+
}), /*#__PURE__*/_jsx("stop", {
|
79
|
+
offset: "1",
|
80
|
+
stopColor: "#6BB6FE"
|
81
|
+
})]
|
82
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
83
|
+
gradientUnits: "userSpaceOnUse",
|
84
|
+
id: b.id,
|
85
|
+
x1: "9.145",
|
86
|
+
x2: "14.959",
|
87
|
+
y1: "0",
|
88
|
+
y2: "24.022",
|
89
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
90
|
+
stopColor: "#fff"
|
91
|
+
}), /*#__PURE__*/_jsx("stop", {
|
92
|
+
offset: "1",
|
93
|
+
stopColor: "#6BB6FE"
|
94
|
+
})]
|
95
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
96
|
+
gradientUnits: "userSpaceOnUse",
|
97
|
+
id: c.id,
|
98
|
+
x1: "9.145",
|
99
|
+
x2: "14.959",
|
100
|
+
y1: "0",
|
101
|
+
y2: "24.022",
|
102
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
103
|
+
stopColor: "#fff"
|
104
|
+
}), /*#__PURE__*/_jsx("stop", {
|
105
|
+
offset: "1",
|
106
|
+
stopColor: "#6BB6FE"
|
107
|
+
})]
|
108
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
109
|
+
gradientUnits: "userSpaceOnUse",
|
110
|
+
id: d.id,
|
111
|
+
x1: "9.145",
|
112
|
+
x2: "14.959",
|
113
|
+
y1: "0",
|
114
|
+
y2: "24.022",
|
115
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
116
|
+
stopColor: "#fff"
|
117
|
+
}), /*#__PURE__*/_jsx("stop", {
|
118
|
+
offset: "1",
|
119
|
+
stopColor: "#6BB6FE"
|
120
|
+
})]
|
121
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
122
|
+
gradientUnits: "userSpaceOnUse",
|
123
|
+
id: e.id,
|
124
|
+
x1: "9.145",
|
125
|
+
x2: "14.959",
|
126
|
+
y1: "0",
|
127
|
+
y2: "24.022",
|
128
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
129
|
+
stopColor: "#fff"
|
130
|
+
}), /*#__PURE__*/_jsx("stop", {
|
131
|
+
offset: "1",
|
132
|
+
stopColor: "#6BB6FE"
|
133
|
+
})]
|
134
|
+
})]
|
135
|
+
})]
|
136
|
+
}));
|
137
|
+
});
|
138
|
+
export default Icon;
|
@@ -0,0 +1,51 @@
|
|
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: "M8.968 11.147a.408.408 0 110 .816.408.408 0 010-.816z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
clipRule: "evenodd",
|
39
|
+
d: "M7.21 8.748c.045-.012.087.003.128.044.195.2.39.398.587.596a.15.15 0 00.061.035l.81.209c.056.014.09.043.102.088.013.046-.002.09-.043.13l-.596.585a.139.139 0 00-.021.03.134.134 0 00-.015.033c-.07.27-.14.54-.208.81-.014.055-.044.09-.09.102-.045.012-.088-.003-.128-.045-.195-.199-.39-.397-.587-.595a.158.158 0 00-.062-.035l-.81-.209c-.056-.014-.09-.044-.103-.09-.011-.044.004-.087.045-.128.2-.194.398-.39.596-.585a.12.12 0 00.022-.03.134.134 0 00.014-.032c.07-.27.14-.54.208-.81.014-.056.044-.09.09-.103z"
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
41
|
+
d: "M15.827 9.31a.409.409 0 110 .817.409.409 0 010-.818z"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
clipRule: "evenodd",
|
44
|
+
d: "M14.071 6.915c.046-.012.09.003.13.044.194.2.388.398.583.596a.155.155 0 00.062.036l.807.21c.056.014.09.045.103.09.012.045-.003.088-.045.128l-.596.583a.168.168 0 00-.036.061l-.21.808c-.014.056-.044.09-.09.103-.045.011-.088-.004-.128-.045-.194-.2-.389-.398-.583-.596a.12.12 0 00-.03-.022.12.12 0 00-.032-.014l-.808-.21c-.056-.014-.09-.044-.102-.09-.012-.045.003-.087.044-.128.2-.194.398-.388.596-.583a.119.119 0 00.022-.03.132.132 0 00.015-.032l.21-.806c.014-.057.043-.09.088-.103z"
|
45
|
+
}), /*#__PURE__*/_jsx("path", {
|
46
|
+
clipRule: "evenodd",
|
47
|
+
d: "M8.086.457a6.102 6.102 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.116.116 0 00.107.029c1.409-.346 2.762-.224 4.062.366l.061.029.155.077c1.357.703 2.33 1.769 2.918 3.197.278.68.418 1.388.421 2.127a5.65 5.65 0 01-.18 1.631.164.164 0 00.04.154 5.98 5.98 0 011.577 2.892c.386 1.901-.008 3.614-1.182 5.14l-.181.22a6.062 6.062 0 01-2.936 1.85.16.16 0 00-.106.103c-.255.736-.512 1.364-.988 1.992-1.199 1.582-2.962 2.462-4.948 2.45-1.583-.007-2.986-.586-4.21-1.736a.142.142 0 00-.14-.031c-.518.167-1.04.191-1.605.185a5.923 5.923 0 01-2.594-.622 6.057 6.057 0 01-2.146-1.781c-.203-.27-.404-.522-.552-.821a7.742 7.742 0 01-.494-1.283 6.108 6.108 0 01-.017-3.065.163.163 0 00.007-.074.112.112 0 00-.036-.063 5.954 5.954 0 01-1.38-2.202 5.193 5.193 0 01-.333-1.59 6.911 6.911 0 01.188-2.13c.45-1.485 1.309-2.65 2.578-3.494.282-.188.549-.334.8-.439a8.21 8.21 0 01.862-.303.128.128 0 00.087-.087 6.014 6.014 0 011.104-2.155C6.315 1.463 7.132.846 8.086.457zm.965 7.647c-1.154-.82-2.73-.413-3.311.875-.301.666-.36 1.368-.178 2.106l.145.586.26.95c.105.533.31 1.02.612 1.462l.03.043c.16.189.335.362.524.518 1.386 1.139 3.275.379 3.652-1.323l.05-.213.012-.08c.06-.4.042-.792-.053-1.175a47.673 47.673 0 00-.546-2.024c-.217-.738-.616-1.313-1.197-1.725zm7.104-1.646c-.862-.802-2.191-.831-3.047-.026-.334.314-.566.736-.697 1.265a3.47 3.47 0 000 1.635l.014.054.055.18c.127.42.245.834.353 1.241.112.423.202.706.27.85.574 1.206 1.82 2.074 3.177 1.522 1.261-.514 1.641-2.01 1.355-3.22-.043-.183-.09-.365-.14-.546a34.426 34.426 0 00-.428-1.573c-.162-.508-.466-.968-.912-1.382z"
|
48
|
+
})]
|
49
|
+
}));
|
50
|
+
});
|
51
|
+
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 61 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M51.144 21.972c-1.424 0-2.58-.388-3.468-1.165-.869-.776-1.303-1.793-1.303-3.05 0-1.332.471-2.359 1.414-3.08.944-.721 2.34-1.165 4.189-1.331l3.44-.306v-.388c0-.702-.24-1.248-.722-1.636-.48-.389-1.11-.583-1.886-.583h-.083c-.684 0-1.258.148-1.72.444-.444.296-.721.684-.832 1.165h-3.495c.11-.832.425-1.59.943-2.275.536-.684 1.248-1.23 2.136-1.636.888-.407 1.904-.61 3.051-.61 1.923 0 3.412.49 4.466 1.47 1.054.98 1.581 2.293 1.581 3.939v5.658c0 1.184.065 2.22.194 3.107h-3.328a8.484 8.484 0 01-.167-1.72c-.444.573-1.054 1.054-1.83 1.443-.777.37-1.637.554-2.58.554zm.832-2.884c.943 0 1.748-.278 2.413-.833.684-.554 1.026-1.331 1.026-2.33v-.305l-3.162.25c-1.645.13-2.468.703-2.468 1.72 0 .444.184.804.554 1.082.389.277.907.416 1.554.416h.083zM36.884 7.826h3.578v2.58a4 4 0 011.526-1.998c.721-.5 1.581-.749 2.58-.749h.61v3.329h-.999c-1.183 0-2.099.36-2.746 1.082-.629.72-.943 1.738-.943 3.05v6.575h-3.606V7.825zM26.872 22c-1.331 0-2.543-.314-3.634-.943a6.97 6.97 0 01-2.524-2.607c-.61-1.11-.915-2.349-.915-3.717 0-1.35.305-2.57.915-3.662a6.71 6.71 0 012.524-2.607c1.091-.63 2.303-.943 3.634-.943 1.35 0 2.561.314 3.634.943a6.711 6.711 0 012.524 2.607c.61 1.091.915 2.312.915 3.662 0 1.368-.305 2.607-.915 3.717a6.97 6.97 0 01-2.524 2.607c-1.073.629-2.284.943-3.634.943zm.055-2.996c1.018 0 1.831-.388 2.442-1.165.628-.776.943-1.812.943-3.106 0-1.276-.315-2.293-.944-3.052-.61-.776-1.423-1.165-2.44-1.165h-.14c-.998 0-1.811.389-2.44 1.165-.629.759-.943 1.776-.943 3.052 0 1.294.314 2.33.943 3.106.629.777 1.442 1.165 2.44 1.165h.14zM9.933 21.972c-2.552 0-4.503-.592-5.853-1.775C2.75 19.013 2.055 17.349 2 15.204h3.717c.037 1.072.398 1.914 1.082 2.524.703.61 1.729.915 3.079.915h.25c1.072 0 1.923-.212 2.551-.638.648-.425.971-.998.971-1.72 0-.591-.203-1.081-.61-1.47-.407-.388-1.082-.675-2.025-.86l-3.329-.638C4.302 12.67 2.61 10.84 2.61 7.825c0-1.054.296-2.025.888-2.912.592-.888 1.433-1.59 2.524-2.109C7.132 2.268 8.426 2 9.906 2c1.516 0 2.829.268 3.938.804 1.129.537 1.988 1.286 2.58 2.247.61.943.934 2.044.971 3.301H13.65c-.11-.961-.499-1.701-1.165-2.219-.665-.536-1.553-.804-2.663-.804h-.25c-.942 0-1.72.23-2.33.693-.61.462-.915 1.026-.915 1.692 0 .61.185 1.082.555 1.415.388.314 1.017.545 1.886.693l3.246.583c1.757.314 3.106.962 4.05 1.942.961.98 1.442 2.246 1.442 3.8 0 1.146-.305 2.163-.915 3.051-.61.87-1.49 1.553-2.636 2.053-1.146.48-2.487.72-4.022.72z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
export default Icon;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Color from './components/Color';
|
3
|
+
import Combine from './components/Combine';
|
4
|
+
import Mono from './components/Mono';
|
5
|
+
import Text from './components/Text';
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorGradient: string;
|
12
|
+
colorPrimary: string;
|
13
|
+
title: string;
|
14
|
+
};
|
15
|
+
declare const Icons: CompoundedIcon;
|
16
|
+
export default Icons;
|
package/es/Sora/index.js
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Color from "./components/Color";
|
3
|
+
import Combine from "./components/Combine";
|
4
|
+
import Mono from "./components/Mono";
|
5
|
+
import Text from "./components/Text";
|
6
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
|
7
|
+
var Icons = Mono;
|
8
|
+
Icons.Color = Color;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
14
|
+
Icons.title = TITLE;
|
15
|
+
export default Icons;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const TITLE = "Doubao";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export declare const COLOR_PRIMARY = "#0968DA";
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(180deg, #012659 0%, #0968DA 100%)";
|
6
|
+
export declare const AVATAR_BACKGROUND = "linear-gradient(180deg, #012659 0%, #0968DA 100%)";
|
7
|
+
export declare const AVATAR_COLOR = "#fff";
|
8
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
package/es/Sora/style.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
export var TITLE = 'Doubao';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export var COLOR_PRIMARY = '#0968DA';
|
5
|
+
export var COLOR_GRADIENT = 'linear-gradient(180deg, #012659 0%, #0968DA 100%)';
|
6
|
+
|
7
|
+
// Avatar constants
|
8
|
+
export var AVATAR_BACKGROUND = COLOR_GRADIENT;
|
9
|
+
export var AVATAR_COLOR = '#fff';
|
10
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -40,7 +40,6 @@ import Inflection from "../Inflection";
|
|
40
40
|
import InternLM from "../InternLM";
|
41
41
|
import Jina from "../Jina";
|
42
42
|
import Kolors from "../Kolors";
|
43
|
-
import { Kwaipilot } from "../icons";
|
44
43
|
import LG from "../LG";
|
45
44
|
import LLaVA from "../LLaVA";
|
46
45
|
import Liquid from "../Liquid";
|
@@ -64,6 +63,7 @@ import Qwen from "../Qwen";
|
|
64
63
|
import Rwkv from "../Rwkv";
|
65
64
|
import SenseNova from "../SenseNova";
|
66
65
|
import Skywork from "../Skywork";
|
66
|
+
import Sora from "../Sora";
|
67
67
|
import Spark from "../Spark";
|
68
68
|
import Stability from "../Stability";
|
69
69
|
import Stepfun from "../Stepfun";
|
@@ -77,6 +77,7 @@ import Voyage from "../Voyage";
|
|
77
77
|
import Wenxin from "../Wenxin";
|
78
78
|
import Yi from "../Yi";
|
79
79
|
import ZAI from "../ZAI";
|
80
|
+
import { Kwaipilot } from "../icons";
|
80
81
|
|
81
82
|
// Define a type for our model mapping
|
82
83
|
|
@@ -99,6 +100,9 @@ export var modelMappings = [{
|
|
99
100
|
props: {
|
100
101
|
type: 'gpt5'
|
101
102
|
}
|
103
|
+
}, {
|
104
|
+
Icon: Sora,
|
105
|
+
keywords: ['sora']
|
102
106
|
}, {
|
103
107
|
Icon: OpenAI,
|
104
108
|
keywords: ['gpt-oss'],
|
package/es/icons.d.ts
CHANGED
@@ -201,6 +201,7 @@ export { default as Skywork, type CompoundedIcon as SkyworkProps } from './Skywo
|
|
201
201
|
export { default as Smithery, type CompoundedIcon as SmitheryProps } from './Smithery';
|
202
202
|
export { default as Snowflake, type CompoundedIcon as SnowflakeProps } from './Snowflake';
|
203
203
|
export { default as SophNet, type CompoundedIcon as SophNetLabsProps } from './SophNet';
|
204
|
+
export { default as Sora, type CompoundedIcon as SoraProps } from './Sora';
|
204
205
|
export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
|
205
206
|
export { default as Stability, type CompoundedIcon as StabilityProps } from './Stability';
|
206
207
|
export { default as StateCloud, type CompoundedIcon as StateCloudProps } from './StateCloud';
|
package/es/icons.js
CHANGED
@@ -201,6 +201,7 @@ export { default as Skywork } from "./Skywork";
|
|
201
201
|
export { default as Smithery } from "./Smithery";
|
202
202
|
export { default as Snowflake } from "./Snowflake";
|
203
203
|
export { default as SophNet } from "./SophNet";
|
204
|
+
export { default as Sora } from "./Sora";
|
204
205
|
export { default as Spark } from "./Spark";
|
205
206
|
export { default as Stability } from "./Stability";
|
206
207
|
export { default as StateCloud } from "./StateCloud";
|
package/es/toc.js
CHANGED
@@ -3675,6 +3675,25 @@ var toc = [{
|
|
3675
3675
|
"hasTextColor": false
|
3676
3676
|
},
|
3677
3677
|
"title": "SophNet"
|
3678
|
+
}, {
|
3679
|
+
"color": "#0968DA",
|
3680
|
+
"colorGradient": "linear-gradient(180deg, #012659 0%, #0968DA 100%)",
|
3681
|
+
"desc": "https://platform.openai.com/docs/models/sora-2",
|
3682
|
+
"docsUrl": "sora",
|
3683
|
+
"fullTitle": "Sora (OpenAI)",
|
3684
|
+
"group": "model",
|
3685
|
+
"id": "Sora",
|
3686
|
+
"param": {
|
3687
|
+
"hasAvatar": true,
|
3688
|
+
"hasBrand": false,
|
3689
|
+
"hasBrandColor": false,
|
3690
|
+
"hasColor": true,
|
3691
|
+
"hasCombine": true,
|
3692
|
+
"hasText": true,
|
3693
|
+
"hasTextCn": false,
|
3694
|
+
"hasTextColor": false
|
3695
|
+
},
|
3696
|
+
"title": "Doubao"
|
3678
3697
|
}, {
|
3679
3698
|
"color": "#0070f0",
|
3680
3699
|
"desc": "https://xinghuo.xfyun.cn",
|