@lobehub/icons 1.52.0 → 1.54.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/Kimi/components/Avatar.d.ts +5 -0
- package/es/Kimi/components/Avatar.js +30 -0
- package/es/Kimi/components/Color.d.ts +3 -0
- package/es/Kimi/components/Color.js +44 -0
- package/es/Kimi/components/Combine.d.ts +5 -0
- package/es/Kimi/components/Combine.js +32 -0
- package/es/Kimi/components/Mono.d.ts +3 -0
- package/es/Kimi/components/Mono.js +43 -0
- package/es/Kimi/components/Text.d.ts +3 -0
- package/es/Kimi/components/Text.js +41 -0
- package/es/Kimi/index.d.ts +15 -0
- package/es/Kimi/index.js +16 -0
- package/es/Kimi/style.d.ts +4 -0
- package/es/Kimi/style.js +4 -0
- package/es/LangChain/components/Avatar.d.ts +5 -0
- package/es/LangChain/components/Avatar.js +26 -0
- package/es/LangChain/components/Color.d.ts +3 -0
- package/es/LangChain/components/Color.js +45 -0
- package/es/LangChain/components/Combine.d.ts +7 -0
- package/es/LangChain/components/Combine.js +32 -0
- package/es/LangChain/components/Mono.d.ts +3 -0
- package/es/LangChain/components/Mono.js +44 -0
- package/es/LangChain/components/Text.d.ts +3 -0
- package/es/LangChain/components/Text.js +48 -0
- package/es/LangChain/index.d.ts +15 -0
- package/es/LangChain/index.js +16 -0
- package/es/LangChain/style.d.ts +4 -0
- package/es/LangChain/style.js +4 -0
- package/es/Nova/components/Avatar.d.ts +5 -0
- package/es/Nova/components/Avatar.js +27 -0
- package/es/Nova/components/Color.d.ts +3 -0
- package/es/Nova/components/Color.js +158 -0
- package/es/Nova/components/Combine.d.ts +7 -0
- package/es/Nova/components/Combine.js +32 -0
- package/es/Nova/components/Mono.d.ts +3 -0
- package/es/Nova/components/Mono.js +50 -0
- package/es/Nova/components/Text.d.ts +3 -0
- package/es/Nova/components/Text.js +40 -0
- package/es/Nova/index.d.ts +16 -0
- package/es/Nova/index.js +17 -0
- package/es/Nova/style.d.ts +5 -0
- package/es/Nova/style.js +5 -0
- package/es/icons.d.ts +3 -0
- package/es/icons.js +3 -0
- package/es/toc.js +55 -0
- package/package.json +1 -1
@@ -0,0 +1,44 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M8.373 14.538c.013-.06.024-.119.038-.171l.061.147c.115.283.229.564.506.723-.012.258-.334.362-.552.33-.048-.115-.115-.23-.255-.166-.143.057-.3-.01-.266-.187.333-.013.407-.377.468-.676zM18.385 9.21c-.318 0-.616.123-.839.346l-.902.9a1.18 1.18 0 00-.343.925l.006.057c.032.265.149.504.337.691.13.13.273.212.447.27a.884.884 0 01-.247.788l-.056.055a1.962 1.962 0 01-.779-.48c-.301-.3-.5-.68-.576-1.096l-.01-.058-.046.037c-.03.025-.06.052-.088.08l-.902.899a1.183 1.183 0 00.84 2.02c.304 0 .607-.116.838-.347l.902-.9a1.183 1.183 0 00-.436-1.948.972.972 0 01.276-.853c.302.103.57.27.796.495.3.3.5.679.575 1.097l.01.058.047-.037c.03-.025.06-.052.088-.08l.902-.9a1.182 1.182 0 00-.84-2.02z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
clipRule: "evenodd",
|
40
|
+
d: "M17.901 5.92H6.1C2.736 5.92 0 8.648 0 12.002c0 3.354 2.736 6.083 6.099 6.083H17.9c3.363 0 6.099-2.729 6.099-6.083S21.264 5.92 17.901 5.92zm-5.821 9.536c-.195.04-.414.047-.562-.108-.045.101-.136.078-.221.057a.755.755 0 00-.061-.014l-.026.074c-.329.022-.575-.313-.732-.565a4.959 4.959 0 00-.473-.214c-.172-.07-.345-.141-.509-.232a2.281 2.281 0 00-.004.175c-.002.248-.004.51-.227.66-.007.299.236.296.476.293.207-.002.41-.005.447.188-.016.002-.033.002-.05.002-.046 0-.092 0-.127.035-.117.113-.242.064-.372.013-.12-.047-.243-.095-.367-.02-.112.056-.191.11-.262.156a.962.962 0 01-.548.196c-.024-.036-.014-.06.006-.081a.58.58 0 00.043-.056c.019-.029.035-.058.051-.086.054-.095.103-.183.242-.223-.185-.029-.344.056-.5.14l-.004.002-.065.034c-.097.04-.154.009-.212-.024-.082-.045-.168-.093-.376.04-.04-.032-.02-.06.002-.086.091-.11.21-.127.345-.12-.351-.196-.604-.058-.81.055-.182.1-.327.179-.471-.013-.065.018-.102.064-.138.11a.612.612 0 01-.047.056c-.035-.039-.027-.084-.018-.13a.792.792 0 00.008-.056l-.027-.011c-.053-.022-.105-.044-.09-.125-.117-.04-.2.03-.286.095-.054-.042-.01-.096.032-.147.019-.024.037-.046.045-.066.038-.066.103-.068.166-.07.054 0 .108-.002.145-.042.133-.076.297-.037.462.002a1 1 0 00.354.043c.203.026.454-.182.352-.39-.186-.236-.184-.536-.183-.824v-.145c-.016-.11-.172-.236-.328-.363-.12-.097-.24-.194-.298-.284-.16-.18-.285-.387-.409-.593l-.015-.025c-.212-.409-.297-.871-.382-1.332-.103-.554-.205-1.106-.526-1.562-.266.146-.612.077-.841-.12-.12.11-.13.252-.138.403l-.001.014c-.297-.297-.26-.856-.023-1.186.097-.13.213-.237.342-.331.03-.022.04-.042.039-.075.235-1.054 1.836-.85 2.342-.104.167.209.281.448.395.687.137.287.273.573.5.806.22.24.452.469.684.698.359.354.718.708 1.032 1.104.49.596.839 1.294 1.144 1.998.05.093.08.195.11.296.044.152.089.303.2.423.026.036.084.089.149.15.156.145.357.332.289.415a.21.21 0 00.05.06c.032.03.074.06.116.09.122.088.25.18.16.253zm7.778-3.594l-.902.9c-.24.24-.537.418-.859.516l-.017.005-.006.016a2.052 2.052 0 01-.474.731l-.902.9a2.073 2.073 0 01-1.474.608 2.077 2.077 0 01-1.474-3.549l.902-.9c.242-.24.531-.413.859-.514l.016-.005.006-.015c.105-.277.265-.523.475-.734l.902-.9a2.073 2.073 0 011.474-.608c.558 0 1.08.216 1.474.609.394.392.61.914.61 1.47a2.06 2.06 0 01-.61 1.47z"
|
41
|
+
})]
|
42
|
+
}));
|
43
|
+
});
|
44
|
+
export default Icon;
|
@@ -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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 117 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M99.476 0c-1.04 0-1.795.755-1.795 1.794 0 1.04.755 1.795 1.795 1.795 1.039 0 1.794-.755 1.794-1.795S100.515 0 99.476 0zM74.402 6.575c.933-.696 2.122-1.063 3.459-1.063l.001.003c3.194 0 5.257 2.008 5.257 5.117v8.373H80.32v-8c0-1.921-.842-2.855-2.575-2.855-1.61 0-3.343 1.09-3.343 3.481v7.372h-2.799V.4h2.799v6.175zM67.41 13.62c-.58 1.875-2.07 2.91-4.193 2.91-3.035 0-4.923-2.306-4.923-6.016s1.904-6.016 4.97-6.016c2.122 0 3.344.832 3.967 2.695l.29.872 2.642-1.24-.248-.699c-1.006-2.835-3.33-4.332-6.72-4.332-2.304 0-4.26.832-5.656 2.405-1.381 1.557-2.113 3.74-2.113 6.316 0 5.297 3.058 8.72 7.791 8.72 3.336 0 5.92-1.744 6.911-4.668l.253-.748-2.714-1.032-.257.832zM4.798 2.027H2v16.975h12.003v-2.704H4.798V2.027zM28.074 19.002h2.794v-.03h.037l.005-.125c.001-.036.012-.376-.04-.9V11.63c0-2.377 1.733-3.459 3.343-3.459 1.732 0 2.575.934 2.575 2.855v7.976h2.799v-8.348c0-3.171-2.015-5.142-5.257-5.142-1.377 0-2.607.392-3.572 1.135l-.026-.902h-2.658v13.257z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
clipRule: "evenodd",
|
39
|
+
d: "M47.342 5.512c1.41 0 2.661.417 3.634 1.207h.002l.056-.974h2.588v11.86c0 2.038-.571 3.633-1.7 4.74C50.804 23.444 49.201 24 47.157 24c-3.012 0-5.083-1.321-5.542-3.535l-.024-.111 2.719-.83.025.139c.206 1.113 1.21 1.678 2.985 1.678 2.11 0 3.397-1.22 3.477-3.275-.936.69-2.124 1.052-3.455 1.052-3.773 0-6.117-2.626-6.117-6.815 0-4.188 2.344-6.79 6.117-6.79zm.163 10.949c2.064 0 3.296-1.512 3.296-4.04v-.327c-.02-2.42-1.282-3.923-3.296-3.923-2.213 0-3.482 1.492-3.482 4.133s1.269 4.157 3.482 4.157z"
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
41
|
+
d: "M105.869 6.647c.966-.743 2.194-1.135 3.572-1.135h.003c3.242 0 5.257 1.97 5.257 5.142v8.348h-2.799v-7.976c0-1.921-.843-2.855-2.575-2.855-1.611 0-3.343 1.082-3.343 3.459v7.372h-2.799V5.745h2.657l.027.902zM100.833 5.745H98.05v6.572a7.787 7.787 0 00-2.71-1.46v-.669c0-2.928-1.922-4.676-5.142-4.676-2.615 0-4.572 1.229-5.369 3.369l-.214.577 2.243 1.654.385-1.003c.507-1.323 1.447-1.94 2.955-1.94 1.51 0 2.344.727 2.344 2.157v.075a9.34 9.34 0 00-.271-.008c-2.996-.048-5.182.653-6.496 2.08-1.345 1.46-1.228 3.1-1.21 3.28l.013.126h.012c.21 2.042 1.993 3.354 4.586 3.354 1.427 0 2.747-.398 3.744-1.124l.011.892h2.41v-4.147l-.053-.038c-.34-.25-.934-.571-1.828-.684a6.523 6.523 0 00-.403-.039 4.706 4.706 0 00-.392-.01h-.125v.382c0 .877-1.008 2.111-3.25 2.111-1.654 0-1.901-.696-1.901-1.11v-.043a1.73 1.73 0 01.502-1.066c.522-.54 1.698-1.172 4.334-1.131 1.908.03 3.373.563 4.353 1.586 1.203 1.256 1.43 2.975 1.47 3.648v.542h2.785V5.745z"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
clipRule: "evenodd",
|
44
|
+
d: "M15.466 8.823c.796-2.14 2.753-3.368 5.368-3.368 3.22 0 5.14 1.747 5.14 4.675v8.813h-2.407l-.012-.892c-.998.726-2.316 1.124-3.745 1.124-2.798 0-4.606-1.52-4.606-3.77s1.713-3.694 5.092-4.292l2.882-.508v-.337c0-1.43-.835-2.156-2.344-2.156-1.508 0-2.447.616-2.955 1.939l-.385 1.003L15.251 9.4l.215-.577zm7.712 5.585v-1.181l-2.22.406c-2.931.544-2.931 1.407-2.931 1.776 0 .415.245 1.11 1.9 1.11 2.242 0 3.25-1.234 3.25-2.11z"
|
45
|
+
})]
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
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,16 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
9
|
+
var Icons = Mono;
|
10
|
+
Icons.Color = Color;
|
11
|
+
Icons.Text = Text;
|
12
|
+
Icons.Combine = Combine;
|
13
|
+
Icons.Avatar = Avatar;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.title = TITLE;
|
16
|
+
export default Icons;
|
@@ -0,0 +1,27 @@
|
|
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 = ["background"];
|
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 IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_GRADIENT, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_GRADIENT,
|
24
|
+
color: '#fff'
|
25
|
+
}, rest));
|
26
|
+
});
|
27
|
+
export default Avatar;
|
@@ -0,0 +1,158 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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, 4),
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 4),
|
30
|
+
a = _useFillIds2[0],
|
31
|
+
b = _useFillIds2[1],
|
32
|
+
c = _useFillIds2[2],
|
33
|
+
d = _useFillIds2[3];
|
34
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
35
|
+
height: size,
|
36
|
+
ref: ref,
|
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: "M12.557 2.257a.432.432 0 00-.202-.366L9.42.063a.42.42 0 00-.444 0L3.601 3.395l-.022.015a.43.43 0 00-.18.352v3.443L.709 8.8a.43.43 0 00-.209.37v5.618a.43.43 0 00.214.343l2.685 1.56v3.512a.43.43 0 00.201.367l5.374 3.366a.42.42 0 00.442.002l2.935-1.79a.43.43 0 00.205-.369v-8.688h-.849v1.138L6.08 17.65l.436.737 5.191-3.156v6.305L9.2 23.066l-2.092-1.31 2.2-1.326-.434-.74-2.58 1.556-2.047-1.282v-3.406l2.374-1.43-.433-.739-2.476 1.493-2.363-1.373v-2.265l2.585-1.56-.434-.738-2.151 1.297V9.415l2.465-1.462 2.342 1.512v2.171l-1.75 1.15.461.72 1.67-1.095 1.533 1.088.486-.705-1.55-1.1v-2.27L9.56 7.817a.433.433 0 00.2-.366V4.728h-.848v2.483L6.55 8.7 4.247 7.216V4.003L6.12 2.84v2.712h.85V2.315L9.197.934l2.509 1.563v8.14h.85v-8.38z",
|
49
|
+
fill: a.fill
|
50
|
+
}), /*#__PURE__*/_jsx("path", {
|
51
|
+
clipRule: "evenodd",
|
52
|
+
d: "M18.946 12.273a2.25 2.25 0 100-.818h-8.219v.818h8.22zm3.645-.41a1.432 1.432 0 11-2.863 0 1.432 1.432 0 012.863 0z",
|
53
|
+
fill: b.fill,
|
54
|
+
fillRule: "evenodd"
|
55
|
+
}), /*#__PURE__*/_jsx("path", {
|
56
|
+
clipRule: "evenodd",
|
57
|
+
d: "M18.091 14.727h-4.705v-.818h5.523V18h1.637v4.091h-4.091v-4.09h1.636v-3.274zm-.818 6.546v-2.455h2.454v2.455h-2.454z",
|
58
|
+
fill: c.fill,
|
59
|
+
fillRule: "evenodd"
|
60
|
+
}), /*#__PURE__*/_jsx("path", {
|
61
|
+
clipRule: "evenodd",
|
62
|
+
d: "M18.091 9h-4.705v.818h5.523v-4.09h2.375L18.5 1.273l-2.783 4.453h2.374V9zm.41-6.183L17.192 4.91h2.615L18.5 2.817z",
|
63
|
+
fill: d.fill,
|
64
|
+
fillRule: "evenodd"
|
65
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
66
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
67
|
+
gradientUnits: "userSpaceOnUse",
|
68
|
+
id: a.id,
|
69
|
+
x1: "3.5",
|
70
|
+
x2: "20.5",
|
71
|
+
y1: "3.5",
|
72
|
+
y2: "21.5",
|
73
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
74
|
+
stopColor: "#43E3E4"
|
75
|
+
}), /*#__PURE__*/_jsx("stop", {
|
76
|
+
offset: ".25",
|
77
|
+
stopColor: "#4A9FFF"
|
78
|
+
}), /*#__PURE__*/_jsx("stop", {
|
79
|
+
offset: ".5",
|
80
|
+
stopColor: "#AA4BFB"
|
81
|
+
}), /*#__PURE__*/_jsx("stop", {
|
82
|
+
offset: ".75",
|
83
|
+
stopColor: "#FC5978"
|
84
|
+
}), /*#__PURE__*/_jsx("stop", {
|
85
|
+
offset: "1",
|
86
|
+
stopColor: "#FF6D32"
|
87
|
+
})]
|
88
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
89
|
+
gradientUnits: "userSpaceOnUse",
|
90
|
+
id: b.id,
|
91
|
+
x1: "3.5",
|
92
|
+
x2: "20.5",
|
93
|
+
y1: "3.5",
|
94
|
+
y2: "21.5",
|
95
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
96
|
+
stopColor: "#43E3E4"
|
97
|
+
}), /*#__PURE__*/_jsx("stop", {
|
98
|
+
offset: ".25",
|
99
|
+
stopColor: "#4A9FFF"
|
100
|
+
}), /*#__PURE__*/_jsx("stop", {
|
101
|
+
offset: ".5",
|
102
|
+
stopColor: "#AA4BFB"
|
103
|
+
}), /*#__PURE__*/_jsx("stop", {
|
104
|
+
offset: ".75",
|
105
|
+
stopColor: "#FC5978"
|
106
|
+
}), /*#__PURE__*/_jsx("stop", {
|
107
|
+
offset: "1",
|
108
|
+
stopColor: "#FF6D32"
|
109
|
+
})]
|
110
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
111
|
+
gradientUnits: "userSpaceOnUse",
|
112
|
+
id: c.id,
|
113
|
+
x1: "3.5",
|
114
|
+
x2: "20.5",
|
115
|
+
y1: "3.5",
|
116
|
+
y2: "21.5",
|
117
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
118
|
+
stopColor: "#43E3E4"
|
119
|
+
}), /*#__PURE__*/_jsx("stop", {
|
120
|
+
offset: ".25",
|
121
|
+
stopColor: "#4A9FFF"
|
122
|
+
}), /*#__PURE__*/_jsx("stop", {
|
123
|
+
offset: ".5",
|
124
|
+
stopColor: "#AA4BFB"
|
125
|
+
}), /*#__PURE__*/_jsx("stop", {
|
126
|
+
offset: ".75",
|
127
|
+
stopColor: "#FC5978"
|
128
|
+
}), /*#__PURE__*/_jsx("stop", {
|
129
|
+
offset: "1",
|
130
|
+
stopColor: "#FF6D32"
|
131
|
+
})]
|
132
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
133
|
+
gradientUnits: "userSpaceOnUse",
|
134
|
+
id: d.id,
|
135
|
+
x1: "3.5",
|
136
|
+
x2: "20.5",
|
137
|
+
y1: "3.5",
|
138
|
+
y2: "21.5",
|
139
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
140
|
+
stopColor: "#43E3E4"
|
141
|
+
}), /*#__PURE__*/_jsx("stop", {
|
142
|
+
offset: ".25",
|
143
|
+
stopColor: "#4A9FFF"
|
144
|
+
}), /*#__PURE__*/_jsx("stop", {
|
145
|
+
offset: ".5",
|
146
|
+
stopColor: "#AA4BFB"
|
147
|
+
}), /*#__PURE__*/_jsx("stop", {
|
148
|
+
offset: ".75",
|
149
|
+
stopColor: "#FC5978"
|
150
|
+
}), /*#__PURE__*/_jsx("stop", {
|
151
|
+
offset: "1",
|
152
|
+
stopColor: "#FF6D32"
|
153
|
+
})]
|
154
|
+
})]
|
155
|
+
})]
|
156
|
+
}));
|
157
|
+
});
|
158
|
+
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 { SPACE_MULTIPLE, 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: SPACE_MULTIPLE,
|
29
|
+
textMultiple: TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,50 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M12.557 2.257a.432.432 0 00-.202-.366L9.42.063a.42.42 0 00-.444 0L3.601 3.395l-.022.015a.43.43 0 00-.18.352v3.443L.709 8.8a.43.43 0 00-.209.37v5.618a.43.43 0 00.214.343l2.685 1.56v3.512a.43.43 0 00.201.367l5.374 3.366a.42.42 0 00.442.002l2.935-1.79a.43.43 0 00.205-.369v-8.688h-.849v1.138L6.08 17.65l.436.737 5.191-3.156v6.305L9.2 23.066l-2.092-1.31 2.2-1.326-.434-.74-2.58 1.556-2.047-1.282v-3.406l2.374-1.43-.433-.739-2.476 1.493-2.363-1.373v-2.265l2.585-1.56-.434-.738-2.151 1.297V9.415l2.465-1.462 2.342 1.512v2.171l-1.75 1.15.461.72 1.67-1.095 1.533 1.088.486-.705-1.55-1.1v-2.27L9.56 7.817a.433.433 0 00.2-.366V4.728h-.848v2.483L6.55 8.7 4.247 7.216V4.003L6.12 2.84v2.712h.85V2.315L9.197.934l2.509 1.563v8.14h.85v-8.38z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
clipRule: "evenodd",
|
40
|
+
d: "M18.946 12.273a2.25 2.25 0 100-.818h-8.219v.818h8.22zm3.645-.41a1.432 1.432 0 11-2.863 0 1.432 1.432 0 012.863 0z"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
clipRule: "evenodd",
|
43
|
+
d: "M18.091 14.727h-4.705v-.818h5.523V18h1.637v4.091h-4.091v-4.09h1.636v-3.274zm-.818 6.546v-2.455h2.454v2.455h-2.454z"
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
45
|
+
clipRule: "evenodd",
|
46
|
+
d: "M18.091 9h-4.705v.818h5.523v-4.09h2.375L18.5 1.273l-2.783 4.453h2.374V9zm.41-6.183L17.192 4.91h2.615L18.5 2.817z"
|
47
|
+
})]
|
48
|
+
}));
|
49
|
+
});
|
50
|
+
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 194 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M183.349 22c-1.461 0-2.636-.415-3.525-1.244-.869-.83-1.303-1.935-1.303-3.317 0-1.462.533-2.627 1.599-3.495 1.086-.889 2.518-1.333 4.295-1.333.948 0 1.995.128 3.14.385v-1.481c0-.909-.188-1.53-.563-1.866-.375-.336-1.066-.504-2.073-.504-.691 0-1.422.07-2.192.208-.77.118-1.55.286-2.34.503-.158.04-.267.06-.326.06-.336 0-.503-.228-.503-.682V7.901c0-.316.039-.533.118-.651.099-.119.277-.237.533-.356.691-.296 1.531-.523 2.518-.681a16.69 16.69 0 012.962-.267c2.034 0 3.515.415 4.443 1.244.948.81 1.422 2.093 1.422 3.85v9.746c0 .493-.247.74-.741.74h-2.014c-.435 0-.711-.217-.829-.651l-.178-.682a7.346 7.346 0 01-2.133 1.333c-.79.316-1.56.474-2.31.474zm1.214-2.903c1.027 0 2.024-.404 2.992-1.214v-2.577c-.375-.06-.77-.109-1.185-.148-.415-.04-.8-.06-1.155-.06-1.718 0-2.577.692-2.577 2.074 0 .612.168 1.086.504 1.422.335.335.809.503 1.421.503zM170.756 21.526h-2.577c-.276 0-.494-.05-.652-.148-.158-.1-.296-.306-.414-.622l-5.065-13.181a11.554 11.554 0 01-.148-.415 1.023 1.023 0 01-.059-.326c0-.296.197-.444.592-.444h2.962c.553 0 .898.257 1.037.77l3.05 10.485 3.11-10.485c.139-.513.484-.77 1.037-.77h2.873c.395 0 .593.148.593.444 0 .1-.02.208-.06.326-.039.119-.089.257-.148.415l-5.065 13.18c-.118.317-.256.524-.414.623-.158.098-.376.148-.652.148zM153.044 21.97c-2.31 0-4.137-.69-5.48-2.073-1.342-1.402-2.014-3.386-2.014-5.953 0-2.548.672-4.512 2.014-5.895 1.343-1.402 3.17-2.103 5.48-2.103 2.31 0 4.137.701 5.48 2.103 1.342 1.383 2.014 3.347 2.014 5.895 0 2.567-.672 4.551-2.014 5.953-1.343 1.382-3.17 2.073-5.48 2.073zm0-3.317c.987 0 1.748-.365 2.281-1.096.553-.75.829-1.955.829-3.613 0-1.64-.276-2.824-.829-3.555-.533-.75-1.294-1.125-2.281-1.125-.968 0-1.728.375-2.281 1.125-.553.73-.829 1.916-.829 3.555 0 1.658.276 2.863.829 3.613.553.73 1.313 1.096 2.281 1.096zM128.034 21.526h-2.429c-.493 0-.74-.247-.74-.74V1.74c0-.493.247-.74.74-.74h3.288c.316 0 .533.05.652.148.138.08.276.227.414.444l7.998 13.774V1.74c0-.493.246-.74.74-.74h2.429c.493 0 .74.247.74.74v19.046c0 .493-.247.74-.74.74h-3.288c-.316 0-.543-.04-.681-.118a2.05 2.05 0 01-.385-.474l-7.998-13.655v13.507c0 .493-.246.74-.74.74zM102.264 21.526h-2.843c-.494 0-.74-.247-.74-.74V7.13c0-.494.246-.74.74-.74h2.133c.454 0 .73.217.829.651l.266.978c1.778-1.383 3.673-2.074 5.687-2.074 1.402 0 2.479.385 3.229 1.155.77.75 1.155 1.827 1.155 3.229v10.456c0 .493-.247.74-.74.74h-2.844c-.494 0-.74-.247-.74-.74v-9.182c0-1.56-.721-2.34-2.163-2.34-1.086 0-2.162.335-3.228 1.007v10.515c0 .493-.247.74-.741.74zM87.817 21.97c-2.31 0-4.136-.69-5.48-2.073-1.342-1.402-2.013-3.386-2.013-5.953 0-2.548.671-4.512 2.014-5.895 1.343-1.402 3.17-2.103 5.48-2.103 2.31 0 4.136.701 5.48 2.103 1.342 1.383 2.013 3.347 2.013 5.895 0 2.567-.671 4.551-2.014 5.953-1.343 1.382-3.17 2.073-5.48 2.073zm0-3.317c.988 0 1.748-.365 2.281-1.096.553-.75.83-1.955.83-3.613 0-1.64-.277-2.824-.83-3.555-.533-.75-1.293-1.125-2.28-1.125-.968 0-1.728.375-2.281 1.125-.553.73-.83 1.916-.83 3.555 0 1.658.277 2.863.83 3.613.553.73 1.313 1.096 2.28 1.096zM77.617 21.526H66.39c-.494 0-.74-.247-.74-.74v-1.511c0-.297.029-.534.088-.711.06-.178.188-.375.385-.593L73.44 9.59h-6.753c-.494 0-.74-.247-.74-.74V7.13c0-.494.246-.74.74-.74h10.782c.493 0 .74.246.74.74V8.7c0 .296-.03.533-.089.71-.06.178-.188.376-.385.593l-7.405 8.323h7.287c.493 0 .74.247.74.74v1.718c0 .494-.247.74-.74.74zM54.487 22c-1.462 0-2.636-.415-3.525-1.244-.869-.83-1.303-1.935-1.303-3.317 0-1.462.533-2.627 1.6-3.495 1.085-.889 2.517-1.333 4.294-1.333.948 0 1.994.128 3.14.385v-1.481c0-.909-.188-1.53-.563-1.866-.375-.336-1.066-.504-2.074-.504-.69 0-1.421.07-2.191.208-.77.118-1.55.286-2.34.503-.158.04-.267.06-.326.06-.336 0-.504-.228-.504-.682V7.901c0-.316.04-.533.119-.651.099-.119.276-.237.533-.356.691-.296 1.53-.523 2.518-.681a16.689 16.689 0 012.962-.267c2.034 0 3.515.415 4.443 1.244.947.81 1.421 2.093 1.421 3.85v9.746c0 .493-.247.74-.74.74h-2.014c-.435 0-.711-.217-.83-.651l-.177-.682a7.35 7.35 0 01-2.133 1.333c-.79.316-1.56.474-2.31.474zm1.214-2.903c1.027 0 2.024-.404 2.992-1.214v-2.577c-.375-.06-.77-.109-1.185-.148-.415-.04-.8-.06-1.155-.06-1.718 0-2.577.692-2.577 2.074 0 .612.168 1.086.503 1.422.336.335.81.503 1.422.503zM27.03 21.526h-2.844c-.494 0-.74-.247-.74-.74V7.13c0-.494.246-.74.74-.74h2.133c.454 0 .73.217.83.651l.236.8c1.027-.671 1.955-1.155 2.784-1.451a7.947 7.947 0 012.636-.445c1.778 0 3.032.632 3.762 1.896 1.007-.671 1.955-1.155 2.844-1.451a8.654 8.654 0 012.754-.445c1.382 0 2.449.385 3.2 1.155.77.75 1.154 1.827 1.154 3.229v10.456c0 .493-.247.74-.74.74h-2.844c-.493 0-.74-.247-.74-.74v-9.508c0-1.343-.602-2.014-1.807-2.014-1.066 0-2.142.256-3.228.77v10.752c0 .493-.247.74-.741.74h-2.843c-.494 0-.74-.247-.74-.74v-9.508c0-1.343-.603-2.014-1.808-2.014-.533 0-1.066.069-1.6.207a7.649 7.649 0 00-1.658.592v10.723c0 .493-.247.74-.74.74zM2.592 21.526c-.395 0-.592-.148-.592-.444 0-.099.02-.217.06-.355.058-.158.118-.326.177-.504L8.812 1.77c.119-.316.257-.523.415-.622C9.385 1.05 9.602 1 9.88 1h3.288c.276 0 .493.05.651.148.178.099.316.306.415.622l6.575 18.453c.06.178.109.346.148.504.06.138.09.256.09.355 0 .296-.198.444-.593.444h-3.258c-.316 0-.543-.059-.681-.177-.139-.119-.257-.316-.356-.593l-1.214-3.91h-7.08l-1.154 3.91c-.08.277-.198.474-.356.593-.138.118-.375.177-.71.177H2.591zm6.22-7.878h5.213l-2.636-8.59-2.577 8.59z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
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/Nova/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
|
9
|
+
var Icons = Mono;
|
10
|
+
Icons.Color = Color;
|
11
|
+
Icons.Text = Text;
|
12
|
+
Icons.Combine = Combine;
|
13
|
+
Icons.Avatar = Avatar;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
16
|
+
Icons.title = TITLE;
|
17
|
+
export default Icons;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const TITLE = "Nova";
|
2
|
+
export declare const TEXT_MULTIPLE = 0.6;
|
3
|
+
export declare const SPACE_MULTIPLE = 0.1;
|
4
|
+
export declare const COLOR_PRIMARY = "#222F3E";
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(135deg, #43E3E4, #4A9FFF, #AA4BFB, #FC5978, #FF6D32)";
|
package/es/Nova/style.js
ADDED
package/es/icons.d.ts
CHANGED
@@ -53,7 +53,9 @@ export { default as Higress, type CompoundedIcon as HigressProps } from './Higre
|
|
53
53
|
export { default as HuggingFace, type CompoundedIcon as HuggingFaceProps } from './HuggingFace';
|
54
54
|
export { default as Hunyuan, type CompoundedIcon as HunyuanProps } from './Hunyuan';
|
55
55
|
export { default as InternLM, type CompoundedIcon as InternLMProps } from './InternLM';
|
56
|
+
export { default as Kimi, type CompoundedIcon as KimiProps } from './Kimi';
|
56
57
|
export { default as Kling, type CompoundedIcon as KlingProps } from './Kling';
|
58
|
+
export { default as LangChain, type CompoundedIcon as LangChainProps } from './LangChain';
|
57
59
|
export { default as Langfuse, type CompoundedIcon as LangfuseProps } from './Langfuse';
|
58
60
|
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
59
61
|
export { default as LmStudio, type CompoundedIcon as LmStudioProps } from './LmStudio';
|
@@ -67,6 +69,7 @@ export { default as Mistral, type CompoundedIcon as MistralProps } from './Mistr
|
|
67
69
|
export { default as Moonshot, type CompoundedIcon as MoonshotProps } from './Moonshot';
|
68
70
|
export { default as MyShell, type CompoundedIcon as MyShellProps } from './MyShell';
|
69
71
|
export { default as Notion, type CompoundedIcon as NotionProps } from './Notion';
|
72
|
+
export { default as Nova, type CompoundedIcon as NovaProps } from './Nova';
|
70
73
|
export { default as Novita, type CompoundedIcon as NovitaProps } from './Novita';
|
71
74
|
export { default as Nvidia, type CompoundedIcon as NvidiaProps } from './Nvidia';
|
72
75
|
export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
|
package/es/icons.js
CHANGED
@@ -53,7 +53,9 @@ export { default as Higress } from "./Higress";
|
|
53
53
|
export { default as HuggingFace } from "./HuggingFace";
|
54
54
|
export { default as Hunyuan } from "./Hunyuan";
|
55
55
|
export { default as InternLM } from "./InternLM";
|
56
|
+
export { default as Kimi } from "./Kimi";
|
56
57
|
export { default as Kling } from "./Kling";
|
58
|
+
export { default as LangChain } from "./LangChain";
|
57
59
|
export { default as Langfuse } from "./Langfuse";
|
58
60
|
export { default as LLaVA } from "./LLaVA";
|
59
61
|
export { default as LmStudio } from "./LmStudio";
|
@@ -67,6 +69,7 @@ export { default as Mistral } from "./Mistral";
|
|
67
69
|
export { default as Moonshot } from "./Moonshot";
|
68
70
|
export { default as MyShell } from "./MyShell";
|
69
71
|
export { default as Notion } from "./Notion";
|
72
|
+
export { default as Nova } from "./Nova";
|
70
73
|
export { default as Novita } from "./Novita";
|
71
74
|
export { default as Nvidia } from "./Nvidia";
|
72
75
|
export { default as Ollama } from "./Ollama";
|