@lobehub/icons 1.45.1 → 1.46.1

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.
Files changed (73) hide show
  1. package/README.md +72 -58
  2. package/es/ComfyUI/components/Avatar.d.ts +5 -0
  3. package/es/ComfyUI/components/Avatar.js +28 -0
  4. package/es/ComfyUI/components/Color.d.ts +3 -0
  5. package/es/ComfyUI/components/Color.js +310 -0
  6. package/es/ComfyUI/components/Combine.d.ts +7 -0
  7. package/es/ComfyUI/components/Combine.js +32 -0
  8. package/es/ComfyUI/components/Mono.d.ts +3 -0
  9. package/es/ComfyUI/components/Mono.js +84 -0
  10. package/es/ComfyUI/components/Text.d.ts +3 -0
  11. package/es/ComfyUI/components/Text.js +40 -0
  12. package/es/ComfyUI/index.d.ts +16 -0
  13. package/es/ComfyUI/index.js +17 -0
  14. package/es/ComfyUI/style.d.ts +5 -0
  15. package/es/ComfyUI/style.js +5 -0
  16. package/es/Hailuo/components/Avatar.d.ts +5 -0
  17. package/es/Hailuo/components/Avatar.js +28 -0
  18. package/es/Hailuo/components/Color.d.ts +3 -0
  19. package/es/Hailuo/components/Color.js +69 -0
  20. package/es/Hailuo/components/Combine.d.ts +7 -0
  21. package/es/Hailuo/components/Combine.js +32 -0
  22. package/es/Hailuo/components/Mono.d.ts +3 -0
  23. package/es/Hailuo/components/Mono.js +41 -0
  24. package/es/Hailuo/components/Text.d.ts +3 -0
  25. package/es/Hailuo/components/Text.js +40 -0
  26. package/es/Hailuo/index.d.ts +16 -0
  27. package/es/Hailuo/index.js +17 -0
  28. package/es/Hailuo/style.d.ts +5 -0
  29. package/es/Hailuo/style.js +5 -0
  30. package/es/Kling/index.js +2 -1
  31. package/es/Kling/style.d.ts +1 -0
  32. package/es/Kling/style.js +2 -1
  33. package/es/Replit/components/Avatar.d.ts +5 -0
  34. package/es/Replit/components/Avatar.js +27 -0
  35. package/es/Replit/components/Color.d.ts +3 -0
  36. package/es/Replit/components/Color.js +40 -0
  37. package/es/Replit/components/Combine.d.ts +7 -0
  38. package/es/Replit/components/Combine.js +32 -0
  39. package/es/Replit/components/Mono.d.ts +3 -0
  40. package/es/Replit/components/Mono.js +41 -0
  41. package/es/Replit/components/Text.d.ts +3 -0
  42. package/es/Replit/components/Text.js +40 -0
  43. package/es/Replit/index.d.ts +15 -0
  44. package/es/Replit/index.js +16 -0
  45. package/es/Replit/style.d.ts +4 -0
  46. package/es/Replit/style.js +4 -0
  47. package/es/TII/components/Avatar.d.ts +5 -0
  48. package/es/TII/components/Avatar.js +27 -0
  49. package/es/TII/components/Color.d.ts +3 -0
  50. package/es/TII/components/Color.js +43 -0
  51. package/es/TII/components/Combine.d.ts +7 -0
  52. package/es/TII/components/Combine.js +32 -0
  53. package/es/TII/components/Mono.d.ts +3 -0
  54. package/es/TII/components/Mono.js +43 -0
  55. package/es/TII/components/Text.d.ts +3 -0
  56. package/es/TII/components/Text.js +40 -0
  57. package/es/TII/index.d.ts +15 -0
  58. package/es/TII/index.js +16 -0
  59. package/es/TII/style.d.ts +4 -0
  60. package/es/TII/style.js +4 -0
  61. package/es/components/Dashboard/index.js +2 -2
  62. package/es/components/Editor/Color.js +1 -1
  63. package/es/components/Editor/Mono.js +1 -1
  64. package/es/components/Editor/Text.js +1 -1
  65. package/es/features/IconAvatar/util.js +1 -6
  66. package/es/features/getLobeIconCDN/index.d.ts +7 -0
  67. package/es/features/getLobeIconCDN/index.js +33 -0
  68. package/es/features/index.d.ts +1 -0
  69. package/es/features/index.js +1 -0
  70. package/es/icons.d.ts +4 -0
  71. package/es/icons.js +4 -0
  72. package/es/toc.js +1656 -1585
  73. package/package.json +4 -3
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,43 @@
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
+ height: size,
23
+ ref: ref,
24
+ style: _objectSpread({
25
+ flex: 'none',
26
+ lineHeight: 1
27
+ }, style),
28
+ viewBox: "0 0 24 24",
29
+ width: size,
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M11.098 7.563H4.75V9.77h1.77v6.668h2.807V9.77h1.77V7.563zM14.812 7.563h-2.807v8.875h2.807V7.563zM19.433 7.563h-2.807v8.875h2.807V7.563z",
36
+ fill: "#6400FF"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M12 24v-1.055c3.01 0 5.613-1.079 7.737-3.208 2.123-2.13 3.209-4.727 3.209-7.737 0-3.009-1.08-5.607-3.209-7.736-2.128-2.13-4.732-3.21-7.736-3.21V0c3.294 0 6.148 1.184 8.482 3.518C22.817 5.852 24 8.706 24 12c0 3.295-1.183 6.155-3.518 8.483C18.147 22.811 15.3 24 12.001 24z",
39
+ fill: "#6400FF"
40
+ })]
41
+ }));
42
+ });
43
+ 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,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,43 @@
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: "M11.098 7.563H4.75V9.77h1.77v6.668h2.807V9.77h1.77V7.563zM14.812 7.563h-2.807v8.875h2.807V7.563zM19.433 7.563h-2.807v8.875h2.807V7.563z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M12 24v-1.055c3.01 0 5.613-1.079 7.737-3.208 2.123-2.13 3.209-4.727 3.209-7.737 0-3.009-1.08-5.607-3.209-7.736-2.128-2.13-4.732-3.21-7.736-3.21V0c3.294 0 6.148 1.184 8.482 3.518C22.817 5.852 24 8.706 24 12c0 3.295-1.183 6.155-3.518 8.483C18.147 22.811 15.3 24 12.001 24z"
40
+ })]
41
+ }));
42
+ });
43
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ 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 56 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: "M4.223.714H2V0h5.198v.714h-2.22V6.71h-.755V.714zM9.248 6.118a2.018 2.018 0 001.542-.692l.454.409a2.53 2.53 0 01-2.015.918c-1.344 0-2.44-1.033-2.44-2.559 0-1.416.992-2.56 2.345-2.56 1.447 0 2.28 1.157 2.28 2.597.002.086-.002.172-.01.257H7.52c.11 1.033.867 1.63 1.728 1.63zM10.677 3.9c-.087-.885-.597-1.65-1.561-1.65-.842 0-1.487.707-1.59 1.65h3.15zM12.2 4.212v-.017a2.558 2.558 0 011.65-2.397 2.542 2.542 0 012.816.708l-.482.512c-.388-.408-.823-.739-1.485-.739-.994 0-1.751.843-1.751 1.896v.02c0 1.062.777 1.906 1.797 1.906.625 0 1.107-.313 1.496-.73l.462.436c-.49.549-1.077.947-1.995.947a2.506 2.506 0 01-2.324-1.572 2.522 2.522 0 01-.183-.97zM17.719 0h.727v2.613c.165-.301.408-.55.703-.721.295-.17.631-.256.971-.246 1.183 0 1.873.804 1.873 1.982v3.075h-.727V3.818c0-.919-.493-1.494-1.352-1.494-.86 0-1.468.622-1.468 1.551V6.71h-.727V0zM23.358 1.736h.728v.843c.164-.295.408-.539.703-.705.295-.167.631-.25.97-.24 1.184 0 1.874.786 1.874 1.937v3.006h-.727V3.749c0-.898-.493-1.46-1.353-1.46s-1.467.608-1.467 1.516v2.772h-.728v-4.84zM28.695 4.21v-.018a2.555 2.555 0 012.54-2.563 2.548 2.548 0 012.559 2.544v.02a2.546 2.546 0 01-1.581 2.369 2.536 2.536 0 01-.983.187 2.503 2.503 0 01-2.35-1.563 2.513 2.513 0 01-.185-.976zm4.352 0v-.018c0-1.06-.786-1.913-1.817-1.913-1.06 0-1.789.861-1.789 1.894v.02c0 1.05.777 1.904 1.809 1.904 1.059 0 1.797-.854 1.797-1.887zM34.988 0h.729v6.71h-.73V0zM36.918 4.21v-.018a2.556 2.556 0 012.54-2.563 2.548 2.548 0 012.56 2.544v.02a2.545 2.545 0 01-2.565 2.556 2.503 2.503 0 01-2.35-1.563 2.513 2.513 0 01-.185-.976zm4.352 0v-.018c0-1.06-.786-1.913-1.817-1.913-1.06 0-1.787.861-1.787 1.894v.02c0 1.05.775 1.904 1.807 1.904 1.06 0 1.804-.854 1.804-1.887h-.007zM43.089 7.486l.33-.567a3.126 3.126 0 001.882.624c1.08 0 1.78-.596 1.78-1.742v-.578c-.427.568-1.022 1.033-1.92 1.033a2.261 2.261 0 01-2.296-2.298V3.94a2.32 2.32 0 011.619-2.206 2.313 2.313 0 012.59.879v-.884h.73v4.044c0 .757-.228 1.335-.626 1.733-.434.436-1.087.654-1.862.654a3.83 3.83 0 01-2.227-.674zm4.01-3.535v-.02c0-1.004-.87-1.656-1.798-1.656-.927 0-1.693.643-1.693 1.647v.02a1.656 1.656 0 001.693 1.665c.92.004 1.803-.66 1.803-1.653l-.005-.003zM48.955 7.851l.245-.57c.236.123.5.183.766.174.437 0 .707-.225 1.003-.907l-2.223-4.81h.805l1.779 4.028 1.57-4.029h.776L51.623 6.73c-.417 1-.883 1.365-1.627 1.365a2.25 2.25 0 01-1.041-.243zM4.126 8.61h.747v6.71h-.747V8.61zM6.5 10.34h.73v.841c.164-.294.408-.538.703-.705.295-.167.631-.25.971-.24 1.183 0 1.873.786 1.873 1.938v3.005h-.729v-2.827c0-.898-.49-1.46-1.352-1.46-.862 0-1.466.607-1.466 1.516v2.771H6.5v-4.84zM12.142 10.34h.73v.841a1.84 1.84 0 01.703-.701c.295-.166.63-.249.969-.239 1.183 0 1.873.787 1.873 1.938v3.006h-.729v-2.833c0-.898-.49-1.46-1.353-1.46-.861 0-1.465.607-1.465 1.516v2.771h-.728v-4.84zM17.479 12.814v-.02a2.555 2.555 0 012.54-2.562 2.548 2.548 0 012.559 2.543v.02a2.547 2.547 0 01-1.581 2.37 2.536 2.536 0 01-.983.187 2.5 2.5 0 01-2.35-1.562 2.513 2.513 0 01-.186-.976zm4.352 0v-.02c0-1.051-.786-1.912-1.817-1.912-1.06 0-1.789.86-1.789 1.893v.02c0 1.05.777 1.905 1.809 1.905 1.059 0 1.797-.855 1.797-1.886zM22.938 10.34h.805l1.646 4.073 1.656-4.073h.784l-2.119 4.944h-.644l-2.128-4.944zM28.182 13.845v-.017c0-1.07.852-1.615 2.091-1.615a5.044 5.044 0 011.494.21v-.153c0-.877-.53-1.337-1.446-1.337a3.382 3.382 0 00-1.487.356l-.217-.602a3.989 3.989 0 011.78-.421c.69 0 1.236.19 1.578.546.343.354.512.82.512 1.45v3.018h-.72v-.734a2.129 2.129 0 01-1.766.84c-.907-.002-1.819-.528-1.819-1.54zm3.596-.381v-.458a4.985 4.985 0 00-1.429-.21c-.91 0-1.428.4-1.428.992v.018c0 .62.566.984 1.236.984.891.002 1.62-.543 1.62-1.326zM34.05 14.004v-2.99h-.682v-.654h.682V8.864h.728v1.496h1.555v.654h-1.552v2.894c0 .605.332.825.825.825.246-.002.488-.063.706-.18v.633a1.806 1.806 0 01-.883.21c-.782.008-1.379-.384-1.379-1.392zM37.447 8.922h.828v.812h-.831l.003-.812zm.048 1.425h.727v4.932h-.727v-4.932zM39.425 12.814v-.02a2.555 2.555 0 012.54-2.562 2.548 2.548 0 012.56 2.543v.02a2.547 2.547 0 01-1.582 2.37 2.535 2.535 0 01-.982.187 2.5 2.5 0 01-2.351-1.561 2.51 2.51 0 01-.185-.977zm4.353 0v-.02c0-1.051-.786-1.912-1.817-1.912-1.06 0-1.79.86-1.79 1.893v.02c0 1.05.776 1.905 1.809 1.905s1.798-.855 1.798-1.886zM45.651 10.34h.73v.841c.164-.294.407-.538.702-.705.295-.167.631-.25.971-.24 1.183 0 1.874.786 1.874 1.938v3.005h-.73v-2.827c0-.898-.49-1.46-1.352-1.46-.862 0-1.466.607-1.466 1.516v2.771h-.729v-4.84zM4.126 17.212h.747v6.71h-.747v-6.71zM6.5 18.942h.73v.841a1.84 1.84 0 01.703-.705c.295-.166.631-.25.971-.24 1.183 0 1.873.786 1.873 1.937v3.007h-.729v-2.829c0-.897-.49-1.46-1.352-1.46-.862 0-1.466.608-1.466 1.516v2.773H6.5v-4.84zM11.735 23.248l.369-.524c.482.39 1.076.61 1.693.63.586 0 1.012-.305 1.012-.783v-.02c0-.495-.576-.685-1.22-.867-.767-.22-1.618-.486-1.618-1.393v-.02c0-.85.707-1.413 1.665-1.413a3.333 3.333 0 011.766.535l-.337.57a2.75 2.75 0 00-1.448-.478c-.576 0-.945.307-.945.713v.02c0 .466.604.648 1.257.85.758.227 1.57.523 1.57 1.41v.02c0 .936-.766 1.48-1.74 1.48a3.345 3.345 0 01-2.024-.73zM16.825 22.607v-2.99h-.681v-.654h.681v-1.496h.73v1.496h1.55v.653h-1.55v2.895c0 .605.33.825.822.825.246-.002.489-.063.707-.18v.634a1.842 1.842 0 01-.883.21c-.779.007-1.376-.385-1.376-1.393zM20.223 17.467h.833v.803h-.834v-.803zm.047 1.473h.728v4.883h-.733l.005-4.883zM22.758 22.607v-2.99h-.68v-.654h.68v-1.496h.73v1.496h1.544v.653H23.48v2.895c0 .605.33.825.823.825.246-.002.488-.063.706-.18v.634a1.836 1.836 0 01-.883.21c-.771.007-1.368-.385-1.368-1.393zM26.062 21.946v-3.003h.736v2.825c0 .9.493 1.46 1.353 1.46.833 0 1.467-.608 1.467-1.516v-2.77h.712v4.841h-.72v-.841c-.165.293-.409.536-.704.703-.295.166-.63.25-.97.241-1.184-.003-1.874-.789-1.874-1.94zM32.032 22.607v-2.99h-.68v-.654h.68v-1.496h.729v1.496h1.552v.653h-1.552v2.895c0 .605.33.825.823.825.246-.002.488-.063.706-.18v.634a1.837 1.837 0 01-.883.21c-.782.007-1.375-.385-1.375-1.393zM37.426 23.318a2.017 2.017 0 001.543-.692l.454.409a2.529 2.529 0 01-2.015.918c-1.343 0-2.442-1.033-2.442-2.559 0-1.416.995-2.56 2.347-2.56 1.448 0 2.28 1.157 2.28 2.597v.257h-3.885c.095 1.039.858 1.63 1.718 1.63zm1.429-2.218c-.085-.885-.595-1.649-1.561-1.649-.843 0-1.485.708-1.59 1.65h3.15z"
37
+ })]
38
+ }));
39
+ });
40
+ export default Icon;
@@ -0,0 +1,15 @@
1
+ import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
3
+ import Combine from './components/Combine';
4
+ import Mono from './components/Mono';
5
+ import Text from './components/Text';
6
+ export type CompoundedIcon = typeof Mono & {
7
+ Avatar: typeof Avatar;
8
+ Color: typeof Color;
9
+ Combine: typeof Combine;
10
+ Text: typeof Text;
11
+ colorPrimary: string;
12
+ title: string;
13
+ };
14
+ declare const Icons: CompoundedIcon;
15
+ export default Icons;
@@ -0,0 +1,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,4 @@
1
+ export declare const TITLE = "Technology Innovation Institute";
2
+ export declare const TEXT_MULTIPLE = 0.5;
3
+ export declare const SPACE_MULTIPLE = 0.1;
4
+ export declare const COLOR_PRIMARY = "#6400FF";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'Technology Innovation Institute';
2
+ export var TEXT_MULTIPLE = 0.5;
3
+ export var SPACE_MULTIPLE = 0.1;
4
+ export var COLOR_PRIMARY = '#6400FF';
@@ -78,8 +78,8 @@ var Dashboard = /*#__PURE__*/memo(function () {
78
78
  }
79
79
  })]
80
80
  }), /*#__PURE__*/_jsx(Grid, {
81
- maxItemWidth: 200,
82
- rows: 8,
81
+ maxItemWidth: 160,
82
+ rows: 5,
83
83
  children: iconsGroup.map(function (_ref3) {
84
84
  var _ref4 = _slicedToArray(_ref3, 2),
85
85
  key = _ref4[0],
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
41
41
  }), /*#__PURE__*/_jsx(Highlighter, {
42
42
  className: styles.code,
43
43
  language: 'tsx',
44
- children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
44
+ children: "'use client';\n\nimport { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
45
45
  })]
46
46
  });
47
47
  });
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
41
41
  }), /*#__PURE__*/_jsx(Highlighter, {
42
42
  className: styles.code,
43
43
  language: 'tsx',
44
- children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
44
+ children: "'use client';\n\nimport { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
45
45
  })]
46
46
  });
47
47
  });
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
41
41
  }), /*#__PURE__*/_jsx(Highlighter, {
42
42
  className: styles.code,
43
43
  language: 'tsx',
44
- children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
44
+ children: "'use client';\n\nimport { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
45
45
  })]
46
46
  });
47
47
  });
@@ -1,8 +1,3 @@
1
1
  export var roundToEven = function roundToEven(number) {
2
- var rounded = Math.round(number);
3
- var diff = Math.abs(number - rounded);
4
- if (diff === 0.5) {
5
- return rounded % 2 === 0 ? rounded : rounded - 1;
6
- }
7
- return rounded;
2
+ return number % 2 === 0 ? number : number - 1;
8
3
  };
@@ -0,0 +1,7 @@
1
+ export interface LobeIconCdnConfig {
2
+ cdn?: 'aliyun' | 'unpkg';
3
+ format?: 'svg' | 'png' | 'webp';
4
+ isDarkMode?: boolean;
5
+ type?: 'mono' | 'color' | 'text' | 'text-cn' | 'brand' | 'brand-color';
6
+ }
7
+ export declare const getLobeIconCDN: (id: string, config?: LobeIconCdnConfig) => string;
@@ -0,0 +1,33 @@
1
+ var ALIYUN_ICON_CDN = function ALIYUN_ICON_CDN(type) {
2
+ return "https://registry.npmmirror.com/@lobehub/icons-static-".concat(type, "/latest/files");
3
+ };
4
+ var UNPKG_ICON_CDN = function UNPKG_ICON_CDN(type) {
5
+ return "https://unpkg.com/@lobehub/icons-static-".concat(type, "@latest");
6
+ };
7
+ export var getLobeIconCDN = function getLobeIconCDN(id, config) {
8
+ var _ref = config || {},
9
+ _ref$format = _ref.format,
10
+ format = _ref$format === void 0 ? 'png' : _ref$format,
11
+ _ref$isDarkMode = _ref.isDarkMode,
12
+ isDarkMode = _ref$isDarkMode === void 0 ? false : _ref$isDarkMode,
13
+ _ref$type = _ref.type,
14
+ type = _ref$type === void 0 ? 'color' : _ref$type,
15
+ _ref$cdn = _ref.cdn,
16
+ cdn = _ref$cdn === void 0 ? 'aliyun' : _ref$cdn;
17
+ var baseUrl = cdn === 'unpkg' ? UNPKG_ICON_CDN(format) : ALIYUN_ICON_CDN(format);
18
+ var addon = type === 'mono' ? '' : "-".concat(type);
19
+ switch (format) {
20
+ case 'svg':
21
+ {
22
+ return "".concat(baseUrl, "/icons/").concat(id.toLowerCase() + addon, ".svg");
23
+ }
24
+ case 'webp':
25
+ {
26
+ return "".concat(baseUrl, "/").concat(isDarkMode ? 'dark' : 'light', "/").concat(id.toLowerCase() + addon, ".webp");
27
+ }
28
+ default:
29
+ {
30
+ return "".concat(baseUrl, "/").concat(isDarkMode ? 'dark' : 'light', "/").concat(id.toLowerCase() + addon, ".png");
31
+ }
32
+ }
33
+ };
@@ -1,3 +1,4 @@
1
+ export { getLobeIconCDN, type LobeIconCdnConfig } from './getLobeIconCDN';
1
2
  export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
2
3
  export { default as IconCombine, type IconCombineProps } from './IconCombine';
3
4
  export { modelMappings } from './modelConfig';
@@ -1,3 +1,4 @@
1
+ export { getLobeIconCDN } from "./getLobeIconCDN";
1
2
  export { default as IconAvatar } from "./IconAvatar";
2
3
  export { default as IconCombine } from "./IconCombine";
3
4
  export { modelMappings } from "./modelConfig";
package/es/icons.d.ts CHANGED
@@ -24,6 +24,7 @@ export { default as CogVideo, type CompoundedIcon as CogVideoProps } from './Cog
24
24
  export { default as CogView, type CompoundedIcon as CogViewProps } from './CogView';
25
25
  export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
26
26
  export { default as Colab, type CompoundedIcon as ColabProps } from './Colab';
27
+ export { default as ComfyUI, type CompoundedIcon as ComfyUIProps } from './ComfyUI';
27
28
  export { default as Copilot, type CompoundedIcon as CopilotProps } from './Copilot';
28
29
  export { default as Dalle, type CompoundedIcon as DalleProps } from './Dalle';
29
30
  export { default as Dbrx, type CompoundedIcon as DbrxProps } from './Dbrx';
@@ -41,6 +42,7 @@ export { default as GithubCopilot, type CompoundedIcon as GithubCopilotProps, }
41
42
  export { default as Google, type CompoundedIcon as GoogleProps } from './Google';
42
43
  export { default as Grok, type CompoundedIcon as GrokProps } from './Grok';
43
44
  export { default as Groq, type CompoundedIcon as GroqProps } from './Groq';
45
+ export { default as Hailuo, type CompoundedIcon as HailuoProps } from './Hailuo';
44
46
  export { default as Higress, type CompoundedIcon as HigressProps } from './Higress';
45
47
  export { default as HuggingFace, type CompoundedIcon as HuggingFaceProps } from './HuggingFace';
46
48
  export { default as Hunyuan, type CompoundedIcon as HunyuanProps } from './Hunyuan';
@@ -69,6 +71,7 @@ export { default as Pollinations, type CompoundedIcon as PollinationsProps } fro
69
71
  export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
70
72
  export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
71
73
  export { default as Replicate, type CompoundedIcon as ReplicateProps } from './Replicate';
74
+ export { default as Replit, type CompoundedIcon as ReplitProps } from './Replit';
72
75
  export { default as Runway, type CompoundedIcon as RunwayProps } from './Runway';
73
76
  export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
74
77
  export { default as SenseNova, type CompoundedIcon as SenseNovaProps } from './SenseNova';
@@ -78,6 +81,7 @@ export { default as Stability, type CompoundedIcon as StabilityProps } from './S
78
81
  export { default as Stepfun, type CompoundedIcon as StepfunProps } from './Stepfun';
79
82
  export { default as Suno, type CompoundedIcon as SunoProps } from './Suno';
80
83
  export { default as Tencent, type CompoundedIcon as TencentProps } from './Tencent';
84
+ export { default as TII, type CompoundedIcon as TIIProps } from './TII';
81
85
  export { default as Together, type CompoundedIcon as TogetherProps } from './Together';
82
86
  export { default as Upstage, type CompoundedIcon as UpstageProps } from './Upstage';
83
87
  export { default as VertexAI, type CompoundedIcon as VertexAIProps } from './VertexAI';
package/es/icons.js CHANGED
@@ -24,6 +24,7 @@ export { default as CogVideo } from "./CogVideo";
24
24
  export { default as CogView } from "./CogView";
25
25
  export { default as Cohere } from "./Cohere";
26
26
  export { default as Colab } from "./Colab";
27
+ export { default as ComfyUI } from "./ComfyUI";
27
28
  export { default as Copilot } from "./Copilot";
28
29
  export { default as Dalle } from "./Dalle";
29
30
  export { default as Dbrx } from "./Dbrx";
@@ -41,6 +42,7 @@ export { default as GithubCopilot } from "./GithubCopilot";
41
42
  export { default as Google } from "./Google";
42
43
  export { default as Grok } from "./Grok";
43
44
  export { default as Groq } from "./Groq";
45
+ export { default as Hailuo } from "./Hailuo";
44
46
  export { default as Higress } from "./Higress";
45
47
  export { default as HuggingFace } from "./HuggingFace";
46
48
  export { default as Hunyuan } from "./Hunyuan";
@@ -69,6 +71,7 @@ export { default as Pollinations } from "./Pollinations";
69
71
  export { default as Qingyan } from "./Qingyan";
70
72
  export { default as Qwen } from "./Qwen";
71
73
  export { default as Replicate } from "./Replicate";
74
+ export { default as Replit } from "./Replit";
72
75
  export { default as Runway } from "./Runway";
73
76
  export { default as Rwkv } from "./Rwkv";
74
77
  export { default as SenseNova } from "./SenseNova";
@@ -78,6 +81,7 @@ export { default as Stability } from "./Stability";
78
81
  export { default as Stepfun } from "./Stepfun";
79
82
  export { default as Suno } from "./Suno";
80
83
  export { default as Tencent } from "./Tencent";
84
+ export { default as TII } from "./TII";
81
85
  export { default as Together } from "./Together";
82
86
  export { default as Upstage } from "./Upstage";
83
87
  export { default as VertexAI } from "./VertexAI";