@lobehub/icons 1.48.0 → 1.50.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.
Files changed (71) hide show
  1. package/README.md +29 -27
  2. package/es/AlibabaCloud/components/Avatar.d.ts +5 -0
  3. package/es/AlibabaCloud/components/Avatar.js +26 -0
  4. package/es/AlibabaCloud/components/Color.d.ts +3 -0
  5. package/es/AlibabaCloud/components/Color.js +43 -0
  6. package/es/AlibabaCloud/components/Combine.d.ts +7 -0
  7. package/es/AlibabaCloud/components/Combine.js +32 -0
  8. package/es/AlibabaCloud/components/Mono.d.ts +3 -0
  9. package/es/AlibabaCloud/components/Mono.js +43 -0
  10. package/es/AlibabaCloud/components/Text.d.ts +3 -0
  11. package/es/AlibabaCloud/components/Text.js +40 -0
  12. package/es/AlibabaCloud/components/TextCn.d.ts +3 -0
  13. package/es/AlibabaCloud/components/TextCn.js +48 -0
  14. package/es/AlibabaCloud/index.d.ts +17 -0
  15. package/es/AlibabaCloud/index.js +18 -0
  16. package/es/AlibabaCloud/style.d.ts +4 -0
  17. package/es/AlibabaCloud/style.js +4 -0
  18. package/es/Coze/components/Avatar.d.ts +5 -0
  19. package/es/Coze/components/Avatar.js +28 -0
  20. package/es/Coze/components/Combine.d.ts +5 -0
  21. package/es/Coze/components/Combine.js +29 -0
  22. package/es/Coze/components/Mono.d.ts +3 -0
  23. package/es/Coze/components/Mono.js +42 -0
  24. package/es/Coze/components/Text.d.ts +3 -0
  25. package/es/Coze/components/Text.js +43 -0
  26. package/es/Coze/index.d.ts +13 -0
  27. package/es/Coze/index.js +14 -0
  28. package/es/Coze/style.d.ts +4 -0
  29. package/es/Coze/style.js +4 -0
  30. package/es/Dify/components/Avatar.js +9 -2
  31. package/es/Dify/components/TextColor.js +1 -3
  32. package/es/Notion/components/Avatar.d.ts +5 -0
  33. package/es/Notion/components/Avatar.js +28 -0
  34. package/es/Notion/components/Combine.d.ts +5 -0
  35. package/es/Notion/components/Combine.js +26 -0
  36. package/es/Notion/components/Mono.d.ts +3 -0
  37. package/es/Notion/components/Mono.js +42 -0
  38. package/es/Notion/components/Text.d.ts +3 -0
  39. package/es/Notion/components/Text.js +40 -0
  40. package/es/Notion/index.d.ts +13 -0
  41. package/es/Notion/index.js +14 -0
  42. package/es/Notion/style.d.ts +4 -0
  43. package/es/Notion/style.js +4 -0
  44. package/es/V0/components/Avatar.d.ts +5 -0
  45. package/es/V0/components/Avatar.js +27 -0
  46. package/es/V0/components/Mono.d.ts +3 -0
  47. package/es/V0/components/Mono.js +42 -0
  48. package/es/V0/index.d.ts +9 -0
  49. package/es/V0/index.js +10 -0
  50. package/es/V0/style.d.ts +4 -0
  51. package/es/V0/style.js +4 -0
  52. package/es/Vercel/components/Avatar.d.ts +5 -0
  53. package/es/Vercel/components/Avatar.js +28 -0
  54. package/es/Vercel/components/Combine.d.ts +5 -0
  55. package/es/Vercel/components/Combine.js +26 -0
  56. package/es/Vercel/components/Mono.d.ts +3 -0
  57. package/es/Vercel/components/Mono.js +41 -0
  58. package/es/Vercel/components/Text.d.ts +3 -0
  59. package/es/Vercel/components/Text.js +40 -0
  60. package/es/Vercel/index.d.ts +13 -0
  61. package/es/Vercel/index.js +14 -0
  62. package/es/Vercel/style.d.ts +4 -0
  63. package/es/Vercel/style.js +4 -0
  64. package/es/features/IconAvatar/index.js +5 -1
  65. package/es/features/IconAvatar/util.d.ts +1 -0
  66. package/es/features/IconAvatar/util.js +9 -0
  67. package/es/features/modelConfig.js +1 -1
  68. package/es/icons.d.ts +5 -0
  69. package/es/icons.js +5 -0
  70. package/es/toc.js +90 -0
  71. package/package.json +2 -1
@@ -0,0 +1,13 @@
1
+ import Avatar from './components/Avatar';
2
+ import Combine from './components/Combine';
3
+ import Mono from './components/Mono';
4
+ import Text from './components/Text';
5
+ export type CompoundedIcon = typeof Mono & {
6
+ Avatar: typeof Avatar;
7
+ Combine: typeof Combine;
8
+ Text: typeof Text;
9
+ colorPrimary: string;
10
+ title: string;
11
+ };
12
+ declare const Icons: CompoundedIcon;
13
+ export default Icons;
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+
3
+ import Avatar from "./components/Avatar";
4
+ import Combine from "./components/Combine";
5
+ import Mono from "./components/Mono";
6
+ import Text from "./components/Text";
7
+ import { COLOR_PRIMARY, TITLE } from "./style";
8
+ var Icons = Mono;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ Icons.title = TITLE;
14
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "Notion";
2
+ export declare const TEXT_MULTIPLE = 0.7;
3
+ export declare const SPACE_MULTIPLE = 0.3;
4
+ export declare const COLOR_PRIMARY = "#fff";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'Notion';
2
+ export var TEXT_MULTIPLE = 0.7;
3
+ export var SPACE_MULTIPLE = 0.3;
4
+ export var COLOR_PRIMARY = '#fff';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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_PRIMARY, 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_PRIMARY,
24
+ color: '#fff'
25
+ }, rest));
26
+ });
27
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,42 @@
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
+ clipRule: "evenodd",
38
+ d: "M14.252 8.25h5.624c.088 0 .176.006.26.018l-5.87 5.87a1.889 1.889 0 01-.019-.265V8.25h-2.25v5.623a4.124 4.124 0 004.125 4.125h5.624v-2.25h-5.624c-.09 0-.179-.006-.265-.018l5.874-5.875a1.9 1.9 0 01.02.27v5.623H24v-5.624A4.124 4.124 0 0019.876 6h-5.624v2.25zM0 7.5v.006l7.686 9.788c.924 1.176 2.813.523 2.813-.973V7.5H8.25v6.87L2.856 7.5H0z"
39
+ })]
40
+ }));
41
+ });
42
+ export default Icon;
@@ -0,0 +1,9 @@
1
+ import Avatar from './components/Avatar';
2
+ import Mono from './components/Mono';
3
+ export type CompoundedIcon = typeof Mono & {
4
+ Avatar: typeof Avatar;
5
+ colorPrimary: string;
6
+ title: string;
7
+ };
8
+ declare const Icons: CompoundedIcon;
9
+ export default Icons;
package/es/V0/index.js ADDED
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+
3
+ import Avatar from "./components/Avatar";
4
+ import Mono from "./components/Mono";
5
+ import { COLOR_PRIMARY, TITLE } from "./style";
6
+ var Icons = Mono;
7
+ Icons.Avatar = Avatar;
8
+ Icons.colorPrimary = COLOR_PRIMARY;
9
+ Icons.title = TITLE;
10
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "V0";
2
+ export declare const TEXT_MULTIPLE = 0.75;
3
+ export declare const SPACE_MULTIPLE = 0.3;
4
+ export declare const COLOR_PRIMARY = "#000";
package/es/V0/style.js ADDED
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'V0';
2
+ export var TEXT_MULTIPLE = 0.75;
3
+ export var SPACE_MULTIPLE = 0.3;
4
+ export var COLOR_PRIMARY = '#000';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,28 @@
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_PRIMARY, 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_PRIMARY,
24
+ color: '#fff',
25
+ iconMultiple: 0.6
26
+ }, rest));
27
+ });
28
+ export default Avatar;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
4
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
5
+ export default Combine;
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
10
+ import { memo } from 'react';
11
+ import IconCombine from "../../features/IconCombine";
12
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
13
+ import Mono from "./Mono";
14
+ import Text from "./Text";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ var Combine = /*#__PURE__*/memo(function (_ref) {
17
+ var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
18
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
19
+ Icon: Mono,
20
+ Text: Text,
21
+ "aria-label": TITLE,
22
+ spaceMultiple: SPACE_MULTIPLE,
23
+ textMultiple: TEXT_MULTIPLE
24
+ }, rest));
25
+ });
26
+ 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,41 @@
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 0l12 20.785H0L12 0z"
38
+ })]
39
+ }));
40
+ });
41
+ 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 89 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: "M27.97 4.583c-4.6 0-7.916 3-7.916 7.5s3.734 7.5 8.334 7.5c2.779 0 5.229-1.1 6.745-2.954l-3.187-1.842c-.842.921-2.121 1.459-3.559 1.459-1.995 0-3.691-1.042-4.32-2.708h11.675a7.53 7.53 0 00.146-1.459c0-4.496-3.317-7.496-7.917-7.496zm-3.94 6.042c.52-1.662 1.945-2.708 3.937-2.708 1.995 0 3.42 1.046 3.937 2.708H24.03zm48.808-6.042c-4.6 0-7.917 3-7.917 7.5s3.733 7.5 8.333 7.5c2.78 0 5.23-1.1 6.746-2.954l-3.188-1.842c-.841.921-2.12 1.459-3.558 1.459-1.996 0-3.692-1.042-4.32-2.708h11.674c.092-.467.146-.95.146-1.459 0-4.496-3.317-7.496-7.916-7.496zM68.9 10.625c.52-1.662 1.946-2.708 3.938-2.708 1.995 0 3.42 1.046 3.937 2.708H68.9zm-16.263 1.458c0 2.5 1.634 4.167 4.167 4.167 1.717 0 3.004-.78 3.667-2.05l3.2 1.846c-1.325 2.208-3.809 3.537-6.867 3.537-4.604 0-7.916-3-7.916-7.5s3.316-7.5 7.916-7.5c3.058 0 5.538 1.33 6.867 3.538l-3.2 1.846c-.663-1.271-1.95-2.05-3.667-2.05-2.529 0-4.166 1.666-4.166 4.166zM87.005 0v19.167h-3.75V0h3.75zM23.092 0L11.546 20 0 0h4.33l7.216 12.5L18.762 0h4.33zm24.546 5v4.037a4.75 4.75 0 00-1.334-.204c-2.42 0-4.166 1.667-4.166 4.167v6.167h-3.75V5h3.75v3.833C42.138 6.717 44.6 5 47.638 5z"
37
+ })]
38
+ }));
39
+ });
40
+ export default Icon;
@@ -0,0 +1,13 @@
1
+ import Avatar from './components/Avatar';
2
+ import Combine from './components/Combine';
3
+ import Mono from './components/Mono';
4
+ import Text from './components/Text';
5
+ export type CompoundedIcon = typeof Mono & {
6
+ Avatar: typeof Avatar;
7
+ Combine: typeof Combine;
8
+ Text: typeof Text;
9
+ colorPrimary: string;
10
+ title: string;
11
+ };
12
+ declare const Icons: CompoundedIcon;
13
+ export default Icons;
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+
3
+ import Avatar from "./components/Avatar";
4
+ import Combine from "./components/Combine";
5
+ import Mono from "./components/Mono";
6
+ import Text from "./components/Text";
7
+ import { COLOR_PRIMARY, TITLE } from "./style";
8
+ var Icons = Mono;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ Icons.title = TITLE;
14
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "Vercel";
2
+ export declare const TEXT_MULTIPLE = 0.75;
3
+ export declare const SPACE_MULTIPLE = 0.1;
4
+ export declare const COLOR_PRIMARY = "#000";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'Vercel';
2
+ export var TEXT_MULTIPLE = 0.75;
3
+ export var SPACE_MULTIPLE = 0.1;
4
+ export var COLOR_PRIMARY = '#000';
@@ -6,9 +6,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
6
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
7
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
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
+ import { useThemeMode } from 'antd-style';
9
10
  import { forwardRef } from 'react';
10
11
  import { Center } from 'react-layout-kit';
11
- import { roundToEven } from "./util";
12
+ import { getAvatarShadow, roundToEven } from "./util";
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
14
  var IconAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
14
15
  var _ref$shape = _ref.shape,
@@ -23,12 +24,15 @@ var IconAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
24
  Icon = _ref.Icon,
24
25
  iconStyle = _ref.iconStyle,
25
26
  iconClassName = _ref.iconClassName;
27
+ var _useThemeMode = useThemeMode(),
28
+ isDarkMode = _useThemeMode.isDarkMode;
26
29
  return /*#__PURE__*/_jsx(Center, {
27
30
  flex: 'none',
28
31
  ref: ref,
29
32
  style: _objectSpread({
30
33
  background: background,
31
34
  borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
35
+ boxShadow: getAvatarShadow(isDarkMode, background),
32
36
  color: color,
33
37
  height: size,
34
38
  width: size
@@ -1 +1,2 @@
1
1
  export declare const roundToEven: (number: number) => number;
2
+ export declare const getAvatarShadow: (isDarkMode: boolean, background?: string) => "0 0 0 1px rgba(255,255,255,0.1) inset" | "0 0 0 1px rgba(0,0,0,0.05) inset" | undefined;
@@ -1,3 +1,12 @@
1
1
  export var roundToEven = function roundToEven(number) {
2
2
  return number % 2 === 0 ? number : number - 1;
3
+ };
4
+ export var getAvatarShadow = function getAvatarShadow(isDarkMode, background) {
5
+ if (!background) return;
6
+ if (isDarkMode && background === '#000') {
7
+ return '0 0 0 1px rgba(255,255,255,0.1) inset';
8
+ } else if (!isDarkMode && background === '#fff') {
9
+ return '0 0 0 1px rgba(0,0,0,0.05) inset';
10
+ }
11
+ return;
3
12
  };
@@ -110,7 +110,7 @@ export var modelMappings = [{
110
110
  keywords: ['moonshot']
111
111
  }, {
112
112
  Icon: Qwen,
113
- keywords: ['qwen']
113
+ keywords: ['qwen', 'qwq']
114
114
  }, {
115
115
  Icon: Minimax,
116
116
  keywords: ['minmax', 'abab']
package/es/icons.d.ts CHANGED
@@ -4,6 +4,7 @@ export { default as Ai21, type CompoundedIcon as Ai21Props } from './Ai21';
4
4
  export { default as Ai360, type CompoundedIcon as Ai360Props } from './Ai360';
5
5
  export { default as AiMass, type CompoundedIcon as AiMassProps } from './AiMass';
6
6
  export { default as Alibaba, type CompoundedIcon as AlibabaProps } from './Alibaba';
7
+ export { default as AlibabaCloud, type CompoundedIcon as AlibabaCloudProps } from './AlibabaCloud';
7
8
  export { default as AntGroup, type CompoundedIcon as AntGroupProps } from './AntGroup';
8
9
  export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
9
10
  export { default as Automatic, type CompoundedIcon as AutomaticProps } from './Automatic';
@@ -26,6 +27,7 @@ export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere'
26
27
  export { default as Colab, type CompoundedIcon as ColabProps } from './Colab';
27
28
  export { default as ComfyUI, type CompoundedIcon as ComfyUIProps } from './ComfyUI';
28
29
  export { default as Copilot, type CompoundedIcon as CopilotProps } from './Copilot';
30
+ export { default as Coze, type CompoundedIcon as CozeProps } from './Coze';
29
31
  export { default as Cursor, type CompoundedIcon as CursorProps } from './Cursor';
30
32
  export { default as Dalle, type CompoundedIcon as DalleProps } from './Dalle';
31
33
  export { default as Dbrx, type CompoundedIcon as DbrxProps } from './Dbrx';
@@ -63,6 +65,7 @@ export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minim
63
65
  export { default as Mistral, type CompoundedIcon as MistralProps } from './Mistral';
64
66
  export { default as Moonshot, type CompoundedIcon as MoonshotProps } from './Moonshot';
65
67
  export { default as MyShell, type CompoundedIcon as MyShellProps } from './MyShell';
68
+ export { default as Notion, type CompoundedIcon as NotionProps } from './Notion';
66
69
  export { default as Novita, type CompoundedIcon as NovitaProps } from './Novita';
67
70
  export { default as Nvidia, type CompoundedIcon as NvidiaProps } from './Nvidia';
68
71
  export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
@@ -90,6 +93,8 @@ export { default as Tiangong, type CompoundedIcon as TiangongProps } from './Tia
90
93
  export { default as TII, type CompoundedIcon as TIIProps } from './TII';
91
94
  export { default as Together, type CompoundedIcon as TogetherProps } from './Together';
92
95
  export { default as Upstage, type CompoundedIcon as UpstageProps } from './Upstage';
96
+ export { default as V0, type CompoundedIcon as V0Props } from './V0';
97
+ export { default as Vercel, type CompoundedIcon as VercelProps } from './Vercel';
93
98
  export { default as VertexAI, type CompoundedIcon as VertexAIProps } from './VertexAI';
94
99
  export { default as Viggle, type CompoundedIcon as ViggleProps } from './Viggle';
95
100
  export { default as Vllm, type CompoundedIcon as VllmProps } from './Vllm';
package/es/icons.js CHANGED
@@ -4,6 +4,7 @@ export { default as Ai21 } from "./Ai21";
4
4
  export { default as Ai360 } from "./Ai360";
5
5
  export { default as AiMass } from "./AiMass";
6
6
  export { default as Alibaba } from "./Alibaba";
7
+ export { default as AlibabaCloud } from "./AlibabaCloud";
7
8
  export { default as AntGroup } from "./AntGroup";
8
9
  export { default as Anthropic } from "./Anthropic";
9
10
  export { default as Automatic } from "./Automatic";
@@ -26,6 +27,7 @@ export { default as Cohere } from "./Cohere";
26
27
  export { default as Colab } from "./Colab";
27
28
  export { default as ComfyUI } from "./ComfyUI";
28
29
  export { default as Copilot } from "./Copilot";
30
+ export { default as Coze } from "./Coze";
29
31
  export { default as Cursor } from "./Cursor";
30
32
  export { default as Dalle } from "./Dalle";
31
33
  export { default as Dbrx } from "./Dbrx";
@@ -63,6 +65,7 @@ export { default as Minimax } from "./Minimax";
63
65
  export { default as Mistral } from "./Mistral";
64
66
  export { default as Moonshot } from "./Moonshot";
65
67
  export { default as MyShell } from "./MyShell";
68
+ export { default as Notion } from "./Notion";
66
69
  export { default as Novita } from "./Novita";
67
70
  export { default as Nvidia } from "./Nvidia";
68
71
  export { default as Ollama } from "./Ollama";
@@ -90,6 +93,8 @@ export { default as Tiangong } from "./Tiangong";
90
93
  export { default as TII } from "./TII";
91
94
  export { default as Together } from "./Together";
92
95
  export { default as Upstage } from "./Upstage";
96
+ export { default as V0 } from "./V0";
97
+ export { default as Vercel } from "./Vercel";
93
98
  export { default as VertexAI } from "./VertexAI";
94
99
  export { default as Viggle } from "./Viggle";
95
100
  export { default as Vllm } from "./Vllm";
package/es/toc.js CHANGED
@@ -108,6 +108,24 @@ var toc = [{
108
108
  "hasTextColor": false
109
109
  },
110
110
  "title": "Alibaba"
111
+ }, {
112
+ "color": "#FF6A00",
113
+ "desc": "https://www.aliyun.com",
114
+ "docsUrl": "alibaba-cloud",
115
+ "fullTitle": "AlibabaCloud (阿里云)",
116
+ "group": "provider",
117
+ "id": "AlibabaCloud",
118
+ "param": {
119
+ "hasAvatar": true,
120
+ "hasBrand": false,
121
+ "hasBrandColor": false,
122
+ "hasColor": true,
123
+ "hasCombine": true,
124
+ "hasText": true,
125
+ "hasTextCn": true,
126
+ "hasTextColor": false
127
+ },
128
+ "title": "AlibabaCloud"
111
129
  }, {
112
130
  "color": "#1677ff",
113
131
  "desc": "https://antgroup.com",
@@ -510,6 +528,24 @@ var toc = [{
510
528
  "hasTextColor": false
511
529
  },
512
530
  "title": "Copilot"
531
+ }, {
532
+ "color": "#4D53E8",
533
+ "desc": "https://coze.com",
534
+ "docsUrl": "coze",
535
+ "fullTitle": "Coze",
536
+ "group": "application",
537
+ "id": "Coze",
538
+ "param": {
539
+ "hasAvatar": true,
540
+ "hasBrand": false,
541
+ "hasBrandColor": false,
542
+ "hasColor": false,
543
+ "hasCombine": true,
544
+ "hasText": true,
545
+ "hasTextCn": false,
546
+ "hasTextColor": false
547
+ },
548
+ "title": "Coze"
513
549
  }, {
514
550
  "color": "#000",
515
551
  "desc": "https://cursor.com",
@@ -1189,6 +1225,24 @@ var toc = [{
1189
1225
  "hasTextColor": false
1190
1226
  },
1191
1227
  "title": "MyShell"
1228
+ }, {
1229
+ "color": "#fff",
1230
+ "desc": "https://notion.com",
1231
+ "docsUrl": "notion",
1232
+ "fullTitle": "Notion",
1233
+ "group": "application",
1234
+ "id": "Notion",
1235
+ "param": {
1236
+ "hasAvatar": true,
1237
+ "hasBrand": false,
1238
+ "hasBrandColor": false,
1239
+ "hasColor": false,
1240
+ "hasCombine": true,
1241
+ "hasText": true,
1242
+ "hasTextCn": false,
1243
+ "hasTextColor": false
1244
+ },
1245
+ "title": "Notion"
1192
1246
  }, {
1193
1247
  "color": "#6847f5",
1194
1248
  "colorGradient": "linear-gradient(-45deg, #A717FF, #2622FF)",
@@ -1680,6 +1734,42 @@ var toc = [{
1680
1734
  "hasTextColor": false
1681
1735
  },
1682
1736
  "title": "Upsate"
1737
+ }, {
1738
+ "color": "#000",
1739
+ "desc": "https://v0.dev",
1740
+ "docsUrl": "v-0",
1741
+ "fullTitle": "V0 (Vercel)",
1742
+ "group": "application",
1743
+ "id": "V0",
1744
+ "param": {
1745
+ "hasAvatar": true,
1746
+ "hasBrand": false,
1747
+ "hasBrandColor": false,
1748
+ "hasColor": false,
1749
+ "hasCombine": false,
1750
+ "hasText": false,
1751
+ "hasTextCn": false,
1752
+ "hasTextColor": false
1753
+ },
1754
+ "title": "V0"
1755
+ }, {
1756
+ "color": "#000",
1757
+ "desc": "https://sdk.vercel.ai",
1758
+ "docsUrl": "vercel",
1759
+ "fullTitle": "Vercel",
1760
+ "group": "provider",
1761
+ "id": "Vercel",
1762
+ "param": {
1763
+ "hasAvatar": true,
1764
+ "hasBrand": false,
1765
+ "hasBrandColor": false,
1766
+ "hasColor": false,
1767
+ "hasCombine": true,
1768
+ "hasText": true,
1769
+ "hasTextCn": false,
1770
+ "hasTextColor": false
1771
+ },
1772
+ "title": "Vercel"
1683
1773
  }, {
1684
1774
  "color": "#4285F4",
1685
1775
  "desc": "https://cloud.google.com/generative-ai-studio",