@lobehub/icons 5.6.0 → 5.8.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.
@@ -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,25 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
10
+ import { memo } from 'react';
11
+ import IconAvatar from "../../features/IconAvatar";
12
+ import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
13
+ import Mono from "./Mono";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
16
+ var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
17
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
18
+ Icon: Mono,
19
+ "aria-label": TITLE,
20
+ background: AVATAR_BACKGROUND,
21
+ color: AVATAR_COLOR,
22
+ iconMultiple: AVATAR_ICON_MULTIPLE
23
+ }, rest));
24
+ });
25
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,64 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import { useFillId } from "../../hooks/useFillId";
14
+ import { TITLE } from "../style";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ var Icon = /*#__PURE__*/memo(function (_ref) {
18
+ var _ref$size = _ref.size,
19
+ size = _ref$size === void 0 ? '1em' : _ref$size,
20
+ style = _ref.style,
21
+ rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ id = _useFillId.id,
24
+ fill = _useFillId.fill;
25
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
26
+ height: size,
27
+ style: _objectSpread({
28
+ flex: 'none',
29
+ lineHeight: 1
30
+ }, style),
31
+ viewBox: "0 0 24 24",
32
+ width: size,
33
+ xmlns: "http://www.w3.org/2000/svg"
34
+ }, rest), {}, {
35
+ children: [/*#__PURE__*/_jsx("title", {
36
+ children: TITLE
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M18.821 0H5.18A5.179 5.179 0 000 5.179V18.82A5.179 5.179 0 005.179 24H18.82A5.179 5.179 0 0024 18.821V5.18A5.179 5.179 0 0018.821 0z",
39
+ fill: fill
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ d: "M18.777 1.647c.28-.02.536.114.972.51 1.018.926 2.437 2.828 3.318 4.452l.34.631.482.24.11.06v3.638a5.206 5.206 0 00-5.32-1.23c-.491.166-1.021.471-2.08 1.082l-6.09 3.516c-1.057.61-1.586.916-1.975 1.259a5.208 5.208 0 00-1.493 5.572c.165.49.471 1.02 1.082 2.08l.315.543h-3.26c-.685 0-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846 11.846 0 01-.057-1.711l.02-.444-.667-1.18C2.1 15.622 1.445 14.078 1.192 12.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175 3.162-.017 5.575.41l.25.043.551-.487c.915-.81 1.522-1.264 2.641-1.962 1.167-.73 2.484-1.331 3.967-1.807l.476-.152.261-.688c.937-2.471 1.896-4.293 2.58-4.9.235-.21.25-.22.422-.23z",
42
+ fill: "#fff"
43
+ }), /*#__PURE__*/_jsx("path", {
44
+ d: "M12.139 18.2a1.203 1.203 0 011.642.44l1.296 2.243a1.204 1.204 0 01-2.083 1.203l-1.296-2.243a1.203 1.203 0 01.44-1.644zM18.629 14.452a1.203 1.203 0 011.642.44l1.295 2.244a1.203 1.203 0 11-2.083 1.203l-1.295-2.243a1.203 1.203 0 01.44-1.644z",
45
+ fill: "#fff"
46
+ }), /*#__PURE__*/_jsx("defs", {
47
+ children: /*#__PURE__*/_jsxs("radialGradient", {
48
+ cx: "0",
49
+ cy: "0",
50
+ gradientTransform: "matrix(-9.00009 -16 16 -9.00009 21 24.5)",
51
+ gradientUnits: "userSpaceOnUse",
52
+ id: id,
53
+ r: "1",
54
+ children: [/*#__PURE__*/_jsx("stop", {
55
+ stopColor: "#2EA99D"
56
+ }), /*#__PURE__*/_jsx("stop", {
57
+ offset: "1",
58
+ stopColor: "#6C4DFF"
59
+ })]
60
+ })
61
+ })]
62
+ }));
63
+ });
64
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
4
+ type?: 'color' | 'mono';
5
+ }
6
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
7
+ export default Combine;
@@ -0,0 +1,32 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["type"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import IconCombine from "../../features/IconCombine";
14
+ import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
15
+ import Color from "./Color";
16
+ import Mono from "./Mono";
17
+ import Text from "./Text";
18
+ import { jsx as _jsx } from "react/jsx-runtime";
19
+ var Combine = /*#__PURE__*/memo(function (_ref) {
20
+ var _ref$type = _ref.type,
21
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
22
+ rest = _objectWithoutProperties(_ref, _excluded);
23
+ var Icon = type === 'color' ? Color : Mono;
24
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
25
+ Icon: Icon,
26
+ Text: Text,
27
+ "aria-label": TITLE,
28
+ spaceMultiple: COMBINE_SPACE_MULTIPLE,
29
+ textMultiple: COMBINE_TEXT_MULTIPLE
30
+ }, rest));
31
+ });
32
+ export default Combine;
@@ -0,0 +1,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 { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 24 24",
30
+ width: size,
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ d: "M18.777 1.647c.28-.02.536.114.972.51 1.018.926 2.437 2.828 3.318 4.452l.34.631.482.24.11.06v3.638a5.206 5.206 0 00-5.32-1.23c-.491.166-1.021.471-2.08 1.082l-6.09 3.516c-1.057.61-1.586.916-1.975 1.259a5.208 5.208 0 00-1.493 5.572c.165.49.471 1.02 1.082 2.08l.315.543h-3.26c-.685 0-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846 11.846 0 01-.057-1.711l.02-.444-.667-1.18C2.1 15.622 1.445 14.078 1.192 12.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175 3.162-.017 5.575.41l.25.043.551-.487c.915-.81 1.522-1.264 2.641-1.962 1.167-.73 2.484-1.331 3.967-1.807l.476-.152.261-.688c.937-2.471 1.896-4.293 2.58-4.9.235-.21.25-.22.422-.23z"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M12.139 18.2a1.203 1.203 0 011.642.44l1.296 2.243a1.204 1.204 0 01-2.083 1.203l-1.296-2.243a1.203 1.203 0 01.44-1.644zM18.629 14.452a1.203 1.203 0 011.642.44l1.295 2.244a1.203 1.203 0 11-2.083 1.203l-1.295-2.243a1.203 1.203 0 01.44-1.644z"
39
+ })]
40
+ }));
41
+ });
42
+ 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,49 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 58 24",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M13.9 18.777c0 .314.009.639.028.973.028.324.1.62.216.887.124.267.315.487.573.659.258.162.621.243 1.09.243.468 0 .827-.081 1.076-.243.258-.172.448-.392.573-.659a2.42 2.42 0 00.215-.887c.029-.334.043-.659.043-.973V12.91h2.796v6.253c0 1.68-.386 2.905-1.16 3.678-.765.772-1.946 1.159-3.543 1.159-1.597 0-2.783-.387-3.557-1.16-.774-.772-1.162-1.998-1.162-3.677V12.91H13.9v5.867zM49.797 17.01l1.77 1.454-1.77 1.455L44.045 24v-3.473l3.023-2.077-3.023-2.063v-3.472l5.752 4.095zM57 23.917h-5.504v-2.969H57v2.969z"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ clipRule: "evenodd",
38
+ d: "M5.704 12.831c1.874 0 3.393 1.36 3.393 3.228 0 .61-.163 1.183-.448 1.678a3.598 3.598 0 011.22 2.701c0 1.995-1.624 3.458-3.625 3.458H1.54V12.83h4.164zm-1.85 8.76h2.164c.341 0 .667-.141.9-.39a1.226 1.226 0 000-1.68 1.236 1.236 0 00-.9-.389H3.853v2.459zm0-4.457h1.785a.997.997 0 100-1.998H3.853v1.998zM26.293 12.908c3.024 0 5.474 2.443 5.475 5.455 0 3.013-2.451 5.456-5.475 5.456H22.36v-10.91h3.932zm-1.31 8.299h1.31a2.848 2.848 0 002.853-2.844 2.848 2.848 0 00-2.853-2.843h-1.31v5.687zM37.089 12.908c3.023 0 5.475 2.443 5.475 5.455 0 3.013-2.452 5.456-5.475 5.456h-3.933v-10.91h3.933zm-1.311 2.612v5.687h1.31a2.848 2.848 0 002.854-2.844 2.849 2.849 0 00-2.853-2.843h-1.311zM15.793 0c.728 0 1.4.144 2.015.432a4.605 4.605 0 011.582 1.17 5.419 5.419 0 011.043 1.77c.248.669.372 1.393.372 2.173s-.124 1.51-.372 2.188a5.45 5.45 0 01-1.043 1.755c-.44.502-.967.896-1.582 1.184a4.829 4.829 0 01-2.015.418c-.735 0-1.41-.14-2.025-.418a4.8 4.8 0 01-1.571-1.184 5.571 5.571 0 01-1.032-1.755 6.325 6.325 0 01-.37-2.188c0-.78.123-1.504.37-2.173a5.54 5.54 0 011.032-1.77A4.721 4.721 0 0115.793 0zm0 2.647c-.343 0-.671.075-.983.223a2.42 2.42 0 00-.803.599c-.231.26-.415.567-.551.92a3.19 3.19 0 00-.204 1.156c0 .418.068.803.204 1.156.136.353.32.66.552.92.231.26.499.465.802.613.312.14.64.209.983.209.344 0 .668-.07.972-.209.312-.148.583-.353.815-.613.24-.26.428-.567.563-.92.136-.353.204-.738.204-1.156 0-.418-.068-.803-.204-1.156a2.855 2.855 0 00-.563-.92 2.385 2.385 0 00-.815-.599 2.183 2.183 0 00-.972-.223z"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M39.472 2.441h-3.403V8.65h3.403v2.441h-6.264V0h6.264v2.441zM9.252 2.69H6.476a2.849 2.849 0 00-2.854 2.842 2.848 2.848 0 002.854 2.843h2.776v2.613H6.476C3.452 10.988 1 8.545 1 5.532 1 2.52 3.452.077 6.476.077h2.776v2.612z"
41
+ }), /*#__PURE__*/_jsx("path", {
42
+ clipRule: "evenodd",
43
+ d: "M26.293.077c3.024 0 5.475 2.442 5.475 5.455s-2.451 5.456-5.475 5.456H22.36V.077h3.932zm-1.31 8.298h1.31a2.848 2.848 0 002.853-2.843 2.848 2.848 0 00-2.853-2.843h-1.31v5.686z"
44
+ }), /*#__PURE__*/_jsx("path", {
45
+ d: "M42.63 6.53h-3.184V4.166h3.184v2.362z"
46
+ })]
47
+ }));
48
+ });
49
+ 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;
@@ -0,0 +1,15 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
3
+ import Combine from "./components/Combine";
4
+ import Mono from "./components/Mono";
5
+ import Text from "./components/Text";
6
+ import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
7
+ var Icons = Mono;
8
+ Icons.Color = Color;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ Icons.colorGradient = COLOR_GRADIENT;
14
+ Icons.title = TITLE;
15
+ export default Icons;
@@ -0,0 +1,8 @@
1
+ export declare const TITLE = "CodeBuddy";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.9;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#6c4dff";
5
+ export declare const COLOR_GRADIENT = "radial-gradient(66.67% 66.67% at 87.5% 102.08%, #2EA99D 0%, #6C4DFF 100%)";
6
+ export declare const AVATAR_BACKGROUND = "radial-gradient(66.67% 66.67% at 87.5% 102.08%, #2EA99D 0%, #6C4DFF 100%)";
7
+ export declare const AVATAR_COLOR = "#fff";
8
+ export declare const AVATAR_ICON_MULTIPLE = 1;
@@ -0,0 +1,10 @@
1
+ export var TITLE = 'CodeBuddy';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.9;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#6c4dff';
5
+ export var COLOR_GRADIENT = 'radial-gradient(66.67% 66.67% at 87.5% 102.08%, #2EA99D 0%, #6C4DFF 100%)';
6
+
7
+ // Avatar constants
8
+ export var AVATAR_BACKGROUND = COLOR_GRADIENT;
9
+ export var AVATAR_COLOR = '#fff';
10
+ export var AVATAR_ICON_MULTIPLE = 1;
@@ -10,12 +10,12 @@ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("
10
10
  import { memo } from 'react';
11
11
  import IconAvatar from "../../features/IconAvatar";
12
12
  import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
13
- import Mono from "./Mono";
13
+ import Color from "./Color";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var Avatar = /*#__PURE__*/memo(function (_ref) {
16
16
  var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
17
17
  return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
18
- Icon: Mono,
18
+ Icon: Color,
19
19
  "aria-label": TITLE,
20
20
  background: AVATAR_BACKGROUND,
21
21
  color: AVATAR_COLOR,
@@ -11,7 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
11
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
12
  import { memo } from 'react';
13
13
  import IconCombine from "../../features/IconCombine";
14
- import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
14
+ import { COLOR_PRIMARY, COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
15
15
  import Text from "./Text";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Combine = /*#__PURE__*/memo(function (_ref) {
@@ -21,7 +21,7 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
21
21
  return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
22
22
  Text: Text,
23
23
  "aria-label": TITLE,
24
- color: type === 'color' ? '#00ffb3' : undefined,
24
+ color: type === 'color' ? COLOR_PRIMARY : undefined,
25
25
  spaceMultiple: COMBINE_SPACE_MULTIPLE,
26
26
  textMultiple: COMBINE_TEXT_MULTIPLE
27
27
  }, rest));
@@ -33,7 +33,10 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
33
  children: [/*#__PURE__*/_jsx("title", {
34
34
  children: TITLE
35
35
  }), /*#__PURE__*/_jsx("path", {
36
- d: "M5.246 12c0 .837-.086 1.554-.257 2.151-.172.598-.45 1.055-.837 1.373-.386.317-.898.476-1.534.476-.901 0-1.563-.353-1.985-1.059C.211 14.235 0 13.255 0 12c0-.837.086-1.554.257-2.151.172-.598.45-1.055.832-1.373C1.472 8.16 1.981 8 2.618 8c.894 0 1.555.351 1.985 1.053.429.702.643 1.685.643 2.947zm-3.883 0c0 .956.09 1.668.273 2.134.183.467.51.7.982.7.465 0 .792-.23.981-.694.19-.463.285-1.176.285-2.14 0-.956-.095-1.668-.285-2.134-.19-.467-.516-.7-.981-.7-.472 0-.8.233-.982.7-.182.466-.273 1.178-.273 2.134zm8.52 3.771H8.517l.011-6.295-1.823.324V8.571l2.04-.457h1.136v7.657zm2.497-1.6h.543c.3 0 .543.256.543.572v.571a.558.558 0 01-.543.572h-.543a.558.558 0 01-.543-.572v-.571c0-.316.243-.572.543-.572zm10.317-6.057H24v7.772h-1.303V8.114zm-3.692 0l2.606 7.772h-1.303l-.69-2.058h-3.073l-.69 2.058h-1.303l2.606-7.772h1.847zm.191 4.457l-1.115-3.323-1.114 3.323h2.23z"
36
+ clipRule: "evenodd",
37
+ d: "M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.118 1.118 0 01-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128h.001zM16.59 3.052a1.095 1.095 0 011.562-.13c.466.405.522 1.117.126 1.59l-5.938 7.112v9.147c0 .624-.496 1.129-1.108 1.129a1.119 1.119 0 01-1.108-1.13v-9.476l.003-.088.01-.087a1.14 1.14 0 01.261-.654l6.192-7.413zM2.906 2.256a1.094 1.094 0 011.559.157l4.387 5.45a1.142 1.142 0 01-.155 1.587 1.094 1.094 0 01-1.559-.157l-4.387-5.45a1.144 1.144 0 01.06-1.498l.095-.09z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M20.146 12.071c.748 0 1.354-.617 1.354-1.379s-.606-1.379-1.354-1.379c-.748 0-1.354.617-1.354 1.379s.606 1.379 1.354 1.379z"
37
40
  })]
38
41
  }));
39
42
  });
@@ -1,9 +1,11 @@
1
1
  import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
2
3
  import Combine from './components/Combine';
3
4
  import Mono from './components/Mono';
4
5
  import Text from './components/Text';
5
6
  export type CompoundedIcon = typeof Mono & {
6
7
  Avatar: typeof Avatar;
8
+ Color: typeof Color;
7
9
  Combine: typeof Combine;
8
10
  Text: typeof Text;
9
11
  colorPrimary: string;
@@ -1,10 +1,12 @@
1
1
  import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
2
3
  import Combine from "./components/Combine";
3
4
  import Mono from "./components/Mono";
4
5
  import Text from "./components/Text";
5
6
  import { COLOR_PRIMARY, TITLE } from "./style";
6
7
  var Icons = Mono;
7
8
  Icons.Text = Text;
9
+ Icons.Color = Color;
8
10
  Icons.Combine = Combine;
9
11
  Icons.Avatar = Avatar;
10
12
  Icons.colorPrimary = COLOR_PRIMARY;
@@ -38,6 +38,7 @@ var IconAvatar = /*#__PURE__*/memo(function (_ref) {
38
38
  boxShadow: getAvatarShadow(isDarkMode, background),
39
39
  color: color,
40
40
  height: size,
41
+ overflow: 'hidden',
41
42
  width: size
42
43
  }, style)
43
44
  }, rest), {}, {
@@ -4,6 +4,7 @@ import CherryStudio from "../CherryStudio";
4
4
  import Claude from "../Claude";
5
5
  import ClaudeCode from "../ClaudeCode";
6
6
  import Cline from "../Cline";
7
+ import CodeBuddy from "../CodeBuddy";
7
8
  import CodeFlicker from "../CodeFlicker";
8
9
  import Codex from "../Codex";
9
10
  import Copilot from "../Copilot";
@@ -107,13 +108,7 @@ export var agentMappings = [{
107
108
  keywords: ['cline']
108
109
  }, {
109
110
  Icon: OpenCode,
110
- keywords: ['open-code', 'opencode', 'openwork']
111
- }, {
112
- Icon: OpenCode,
113
- keywords: ['open-code-go', 'opencodego', 'opencodecodingplan']
114
- }, {
115
- Icon: OpenCode,
116
- keywords: ['open-code-zen', 'opencodezen']
111
+ keywords: ['open-code', 'opencode', 'openwork', 'open-code-go', 'opencodego', 'opencodecodingplan', 'open-code-zen', 'opencodezen']
117
112
  }, {
118
113
  Icon: OpenHands,
119
114
  keywords: ['open-hands', 'openhands']
@@ -168,4 +163,7 @@ export var agentMappings = [{
168
163
  }, {
169
164
  Icon: Notion,
170
165
  keywords: ['notion']
166
+ }, {
167
+ Icon: CodeBuddy,
168
+ keywords: ['code-buddy', 'codebuddy']
171
169
  }];
package/es/icons.d.ts CHANGED
@@ -56,6 +56,7 @@ export { default as ClaudeCode, type CompoundedIcon as ClaudeCodeProps } from '.
56
56
  export { default as Cline, type CompoundedIcon as ClineProps } from './Cline';
57
57
  export { default as Clipdrop, type CompoundedIcon as ClipdropProps } from './Clipdrop';
58
58
  export { default as Cloudflare, type CompoundedIcon as CloudflareProps } from './Cloudflare';
59
+ export { default as CodeBuddy, type CompoundedIcon as CodeBuddyProps } from './CodeBuddy';
59
60
  export { default as CodeFlicker, type CompoundedIcon as CodeFlickerProps } from './CodeFlicker';
60
61
  export { default as CodeGeeX, type CompoundedIcon as CodeGeeXProps } from './CodeGeeX';
61
62
  export { default as Codex, type CompoundedIcon as CodexProps } from './Codex';
package/es/icons.js CHANGED
@@ -56,6 +56,7 @@ export { default as ClaudeCode } from "./ClaudeCode";
56
56
  export { default as Cline } from "./Cline";
57
57
  export { default as Clipdrop } from "./Clipdrop";
58
58
  export { default as Cloudflare } from "./Cloudflare";
59
+ export { default as CodeBuddy } from "./CodeBuddy";
59
60
  export { default as CodeFlicker } from "./CodeFlicker";
60
61
  export { default as CodeGeeX } from "./CodeGeeX";
61
62
  export { default as Codex } from "./Codex";