@lobehub/icons 2.20.0 → 2.22.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 (41) hide show
  1. package/README.md +1 -0
  2. package/es/GLMV/components/Avatar.d.ts +5 -0
  3. package/es/GLMV/components/Avatar.js +25 -0
  4. package/es/GLMV/components/Color.js +51 -0
  5. package/es/GLMV/components/Combine.d.ts +7 -0
  6. package/es/GLMV/components/Combine.js +32 -0
  7. package/es/GLMV/components/Mono.d.ts +3 -0
  8. package/es/GLMV/components/Mono.js +48 -0
  9. package/es/GLMV/components/Text.d.ts +3 -0
  10. package/es/GLMV/components/Text.js +39 -0
  11. package/es/GLMV/index.d.ts +15 -0
  12. package/es/GLMV/index.js +14 -0
  13. package/es/GLMV/style.d.ts +7 -0
  14. package/es/GLMV/style.js +9 -0
  15. package/es/Trae/components/Avatar.js +2 -2
  16. package/es/Trae/components/Color.js +2 -5
  17. package/es/Trae/components/Mono.js +1 -1
  18. package/es/Trae/components/Text.js +2 -2
  19. package/es/Trae/style.d.ts +5 -5
  20. package/es/Trae/style.js +5 -5
  21. package/es/ZAI/components/Avatar.d.ts +5 -0
  22. package/es/ZAI/components/Avatar.js +25 -0
  23. package/es/ZAI/components/Combine.d.ts +5 -0
  24. package/es/ZAI/components/Combine.js +26 -0
  25. package/es/ZAI/components/Mono.d.ts +3 -0
  26. package/es/{Trae/components/Inner.js → ZAI/components/Mono.js} +1 -1
  27. package/es/ZAI/components/Text.d.ts +3 -0
  28. package/es/ZAI/components/Text.js +39 -0
  29. package/es/ZAI/index.d.ts +13 -0
  30. package/es/ZAI/index.js +12 -0
  31. package/es/ZAI/style.d.ts +7 -0
  32. package/es/ZAI/style.js +9 -0
  33. package/es/components/Editor/Color.js +1 -1
  34. package/es/components/Editor/Mono.js +1 -1
  35. package/es/components/Editor/Text.js +1 -1
  36. package/es/features/modelConfig.js +4 -0
  37. package/es/icons.d.ts +2 -0
  38. package/es/icons.js +2 -0
  39. package/es/toc.js +37 -1
  40. package/package.json +1 -1
  41. /package/es/{Trae/components/Inner.d.ts → GLMV/components/Color.d.ts} +0 -0
package/README.md CHANGED
@@ -180,6 +180,7 @@ Contributions, corrections & requests can be made on GitHub.
180
180
  | | <a href="https://lobehub.com/icons/zhipu"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zhipu-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zhipu-color.png" /></picture><br/>Zhipu (智谱) | <a href="https://lobehub.com/icons/viggle"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/viggle.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/viggle.png" /></picture><br/>Viggle |
181
181
  | | | <a href="https://lobehub.com/icons/windsurf"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/windsurf.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/windsurf.png" /></picture><br/>Windsurf |
182
182
  | | | <a href="https://lobehub.com/icons/yuanbao"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/yuanbao-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/yuanbao-color.png" /></picture><br/>Yuanbao (腾讯元宝) |
183
+ | | | <a href="https://lobehub.com/icons/zai"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zai.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zai.png" /></picture><br/>Z.ai |
183
184
  | | | <a href="https://lobehub.com/icons/zapier"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zapier-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zapier-color.png" /></picture><br/>Zapier |
184
185
  | | | <a href="https://lobehub.com/icons/zeabur"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/dark/zeabur-color.png" /><img height="56px" width="56px" src="https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-png/light/zeabur-color.png" /></picture><br/>Zeabur |
185
186
 
@@ -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,51 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ height: size,
23
+ style: _objectSpread({
24
+ flex: 'none',
25
+ lineHeight: 1
26
+ }, style),
27
+ viewBox: "0 0 24 24",
28
+ width: size,
29
+ xmlns: "http://www.w3.org/2000/svg"
30
+ }, rest), {}, {
31
+ children: [/*#__PURE__*/_jsx("title", {
32
+ children: TITLE
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M19.028 3.853a1.31 1.31 0 101.309 1.309 1.31 1.31 0 00-1.31-1.31zm.594 1.987a.664.664 0 11.001-1.329.664.664 0 01-.001 1.329z",
35
+ fill: "#0039C6"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M19.67 4.814a.348.348 0 000 .695.348.348 0 000-.695zM14.117 16.317a.037.037 0 00-.027-.061c-.314-.005-1.499-.093-2.105-1.082a2.088 2.088 0 01-.089-2.027.04.04 0 000-.033l-1.005-1.81c-.008-.016-.027-.02-.044-.017-2.018.396-3.194 2.104-2.838 3.788.096.458.285.864.578 1.237.748.95 1.859 1.26 2.675 1.235 1.69-.05 2.63-.977 2.856-1.23zM4.766 6.906a9.903 9.903 0 012.487-2.153L5.63 1.829a.58.58 0 00-.514-.298l-4.809.04a.31.31 0 00-.268.46l3.62 6.525c.41-.756.823-1.311 1.106-1.65zM17.52 10.93c-.422.01-.824-.01-1.044.027-.183.031-.657.121-1.14.574a.037.037 0 00.016.062c.329.087.633.237.928.416.63.383 1.205 1.346 1.383 1.8.01.03.051.032.066.004l1.72-3.27c.015-.03-.015-.064-.047-.051-.806.328-1.476.43-1.883.439h.001zM23.687 1.512l-4.546.037a.58.58 0 00-.507.306l-.126.27c.364-.009 2.426.152 4.158 2.308l1.298-2.467a.31.31 0 00-.277-.455v.001zM10.846 21.497l.843 1.517a.31.31 0 00.533.016l1.31-2.064a8.27 8.27 0 01-2.686.53z",
38
+ fill: "#0039C6"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M22.327 5.379c-1.461-2.435-3.529-2.393-3.529-2.393-.951-.186-1.436-1.263-3.626-1.797-2.046-.5-3.188.112-2.368.451 1.322.548 2.075 2.73 2.462 4.374.494 2.1 1.569 2.14 2.758 2.011.924-.098 2.775-1.058 3.721-1.256 1.03-.216 1.353-.101.58-1.39h.002zm-3.373 1.538a1.757 1.757 0 11.001-3.514 1.757 1.757 0 010 3.514zM12.756 13.364c-.261.623.032 1.57 1.316 1.656.08 0 .12-.053.12-.12 0-.065-.058-.097-.12-.119-.062-.022-.654-.226-.524-.918.042-.23.248-.438.5-.533-.142-.265-.143-.622.06-.965-.343 0-1.015.194-1.353 1v-.001zM16.836 14.624c0-.684-.451-1.41-.805-1.64-.307-.107-.816.06-1.103.487.337.22.553.572.59 1.48.046 1.174-.844 2.184-2.035 2.76 1.764-.34 3.353-1.79 3.353-3.087zM6.201 16.591C2.802 12.248 4.841 6.44 9.795 4.472c-6.168 2.08-8.01 8.89-4.547 13.168 2.299 2.84 6.254 2.937 8.373 2.2-2.571-.213-5.33-.578-7.42-3.248zM15.09 10.445c.03-.012.03-.054 0-.067-.06-.028-.175-.05-.387.004-.411.102-1.42.264-1.34-.226.055-.349.614-.46 1.023-1.128.202-.33-.06-.875-.59-.875-.408 0-.828.186-1.285.67-.64.676-.766 1.31-.518 1.776.234.442.784.633 1.702.48.628-.103.82-.381 1.396-.635v.001z",
41
+ fill: "#0039C6"
42
+ }), /*#__PURE__*/_jsx("path", {
43
+ d: "M14.685 12.364s-.492.177-.436.934c.183-.046.239-.028.488.092.114-.338.407-.623.84-.623.078 0 .155.009.23.024-.29-.219-.591-.4-1.12-.427h-.002zM18.253 9.573c-2.444.515-2.48-1.58-4.28-1.985-2.423-.544-5.526.905-6.888 3.545-.554 1.074-1.076 3.178.283 4.97-.854-2.323.434-4.032 1.264-4.702.782-.629 1.738-1.026 2.682-1.267a.035.035 0 00.027-.034c.016-.51.276-1.055.767-1.574.521-.552 1.055-.819 1.631-.819.422 0 .793.215.994.573.185.33.185.725 0 1.026-.11.18-.228.326-.345.447-.022.021-.006.06.024.06 1.132.071 2.063.347 2.893.284 3.134-.24 4.25-1.91 4.652-2.217.365-.278-2.385 1.413-3.706 1.69l.002.003z",
44
+ fill: "#0039C6"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M15.159 16.452c-.916.916-2.416 2.208-5.318 1.665-2.105-.394-3.719-3.312-3.25-6.832.252-1.883 1.712-3.64 3.082-4.206 2.995-1.24 4.57.081 5.298.897.516.579 1.106 1.773 3.014 1.757 1.456-.012 3.978-1.726 4.678-2.372.24-.221-.021-.343-.418-.308-1.514.136-2.916 1.752-4.976 1.664-1.017-.043-2.298-.742-2.75-2.25-.542-1.812-.553-2.19-1.176-2.297-.653-.112-1.648-.173-3.087.275-1.863.583-4.784 3.436-4.97 6.84-.324 5.884 2.306 8.243 6.36 8.743.459.056 1.462-.066 1.909-.162a5.727 5.727 0 001.565-.967c1.01-.908 1.626-1.918 1.77-3.376.05-.49-.069-1.14-.135-1.425-.023.302-.623 1.376-1.597 2.35v.004z",
47
+ fill: "#0039C6"
48
+ })]
49
+ }));
50
+ });
51
+ 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,48 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { 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: "M19.028 3.853a1.31 1.31 0 101.309 1.309 1.31 1.31 0 00-1.31-1.31zm.594 1.987a.664.664 0 11.001-1.329.664.664 0 01-.001 1.329z"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M19.67 4.814a.348.348 0 000 .695.348.348 0 000-.695zM14.117 16.317a.037.037 0 00-.027-.061c-.314-.005-1.499-.093-2.105-1.082a2.088 2.088 0 01-.089-2.027.04.04 0 000-.033l-1.005-1.81c-.008-.016-.027-.02-.044-.017-2.018.396-3.194 2.104-2.838 3.788.096.458.285.864.578 1.237.748.95 1.859 1.26 2.675 1.235 1.69-.05 2.63-.977 2.856-1.23zM4.766 6.906a9.903 9.903 0 012.487-2.153L5.63 1.829a.58.58 0 00-.514-.298l-4.809.04a.31.31 0 00-.268.46l3.62 6.525c.41-.756.823-1.311 1.106-1.65zM17.52 10.93c-.422.01-.824-.01-1.044.027-.183.031-.657.121-1.14.574a.037.037 0 00.016.062c.329.087.633.237.928.416.63.383 1.205 1.346 1.383 1.8.01.03.051.032.066.004l1.72-3.27c.015-.03-.015-.064-.047-.051-.806.328-1.476.43-1.883.439h.001zM23.687 1.512l-4.546.037a.58.58 0 00-.507.306l-.126.27c.364-.009 2.426.152 4.158 2.308l1.298-2.467a.31.31 0 00-.277-.455v.001zM10.846 21.497l.843 1.517a.31.31 0 00.533.016l1.31-2.064a8.27 8.27 0 01-2.686.53z"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M22.327 5.379c-1.461-2.435-3.529-2.393-3.529-2.393-.951-.186-1.436-1.263-3.626-1.797-2.046-.5-3.188.112-2.368.451 1.322.548 2.075 2.73 2.462 4.374.494 2.1 1.569 2.14 2.758 2.011.924-.098 2.775-1.058 3.721-1.256 1.03-.216 1.353-.101.58-1.39h.002zm-3.373 1.538a1.757 1.757 0 11.001-3.514 1.757 1.757 0 010 3.514zM12.756 13.364c-.261.623.032 1.57 1.316 1.656.08 0 .12-.053.12-.12 0-.065-.058-.097-.12-.119-.062-.022-.654-.226-.524-.918.042-.23.248-.438.5-.533-.142-.265-.143-.622.06-.965-.343 0-1.015.194-1.353 1v-.001zM16.836 14.624c0-.684-.451-1.41-.805-1.64-.307-.107-.816.06-1.103.487.337.22.553.572.59 1.48.046 1.174-.844 2.184-2.035 2.76 1.764-.34 3.353-1.79 3.353-3.087zM6.201 16.591C2.802 12.248 4.841 6.44 9.795 4.472c-6.168 2.08-8.01 8.89-4.547 13.168 2.299 2.84 6.254 2.937 8.373 2.2-2.571-.213-5.33-.578-7.42-3.248zM15.09 10.445c.03-.012.03-.054 0-.067-.06-.028-.175-.05-.387.004-.411.102-1.42.264-1.34-.226.055-.349.614-.46 1.023-1.128.202-.33-.06-.875-.59-.875-.408 0-.828.186-1.285.67-.64.676-.766 1.31-.518 1.776.234.442.784.633 1.702.48.628-.103.82-.381 1.396-.635v.001z"
41
+ }), /*#__PURE__*/_jsx("path", {
42
+ d: "M14.685 12.364s-.492.177-.436.934c.183-.046.239-.028.488.092.114-.338.407-.623.84-.623.078 0 .155.009.23.024-.29-.219-.591-.4-1.12-.427h-.002zM18.253 9.573c-2.444.515-2.48-1.58-4.28-1.985-2.423-.544-5.526.905-6.888 3.545-.554 1.074-1.076 3.178.283 4.97-.854-2.323.434-4.032 1.264-4.702.782-.629 1.738-1.026 2.682-1.267a.035.035 0 00.027-.034c.016-.51.276-1.055.767-1.574.521-.552 1.055-.819 1.631-.819.422 0 .793.215.994.573.185.33.185.725 0 1.026-.11.18-.228.326-.345.447-.022.021-.006.06.024.06 1.132.071 2.063.347 2.893.284 3.134-.24 4.25-1.91 4.652-2.217.365-.278-2.385 1.413-3.706 1.69l.002.003z"
43
+ }), /*#__PURE__*/_jsx("path", {
44
+ d: "M15.159 16.452c-.916.916-2.416 2.208-5.318 1.665-2.105-.394-3.719-3.312-3.25-6.832.252-1.883 1.712-3.64 3.082-4.206 2.995-1.24 4.57.081 5.298.897.516.579 1.106 1.773 3.014 1.757 1.456-.012 3.978-1.726 4.678-2.372.24-.221-.021-.343-.418-.308-1.514.136-2.916 1.752-4.976 1.664-1.017-.043-2.298-.742-2.75-2.25-.542-1.812-.553-2.19-1.176-2.297-.653-.112-1.648-.173-3.087.275-1.863.583-4.784 3.436-4.97 6.84-.324 5.884 2.306 8.243 6.36 8.743.459.056 1.462-.066 1.909-.162a5.727 5.727 0 001.565-.967c1.01-.908 1.626-1.918 1.77-3.376.05-.49-.069-1.14-.135-1.425-.023.302-.623 1.376-1.597 2.35v.004z"
45
+ })]
46
+ }));
47
+ });
48
+ 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,39 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 80 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: "M8.904 2c1.374 0 2.56.285 3.608.853 1.048.567 1.858 1.346 2.433 2.332.576.988.865 2.077.865 3.27v.138a.346.346 0 01-.09.237.287.287 0 01-.219.099h-3.658a.287.287 0 01-.219-.099.338.338 0 01-.09-.237c0-.727-.235-1.346-.708-1.858-.473-.511-1.113-.768-1.92-.768-.807 0-1.426.279-1.906.838-.48.558-.722 1.285-.722 2.178v6.006c0 .893.268 1.62.8 2.179.53.559 1.2.838 2.008.838.756 0 1.365-.22 1.829-.655.464-.437.696-1.049.696-1.83v-.782c0-.093-.044-.138-.13-.138H8.904a.287.287 0 01-.218-.099.338.338 0 01-.09-.237V11.19c0-.093.03-.171.09-.237a.287.287 0 01.218-.099h6.597c.086 0 .159.033.219.1.06.065.09.143.09.236v3.798c0 1.397-.29 2.627-.865 3.688a6.048 6.048 0 01-2.42 2.458c-1.04.577-2.247.865-3.62.865-1.374 0-2.58-.297-3.62-.893a6.179 6.179 0 01-2.42-2.514C2.288 17.513 2 16.263 2 14.849V9.122c0-1.415.287-2.657.864-3.73a6.222 6.222 0 012.421-2.5C6.325 2.298 7.531 2 8.905 2zm58.488.479c.184 0 .302.09.353.273l2.907 12.442c.017.055.043.082.078.082.034 0 .057-.027.076-.082l2.856-12.442c.051-.182.168-.273.355-.273h3.79c.101 0 .178.036.23.109.05.073.057.165.024.274l-5.18 18.485c-.051.182-.161.273-.33.273H68.71c-.168 0-.278-.09-.33-.273h-.003L63.272 2.862l-.026-.11c0-.182.093-.273.277-.273h3.869zm-45.29.003c.084 0 .156.033.216.095a.33.33 0 01.087.232V17.6c0 .09.042.137.126.137h8.063c.084 0 .155.033.216.095a.33.33 0 01.088.232v3.227a.33.33 0 01-.088.231.282.282 0 01-.216.095H18.512a.279.279 0 01-.168-.053l-.045-.04a.332.332 0 01-.088-.232V2.809a.33.33 0 01.088-.232.278.278 0 01.215-.095h3.588zm25.99-.002a.29.29 0 01.216.095.332.332 0 01.087.233v18.484a.33.33 0 01-.087.231.281.281 0 01-.215.095h-3.59a.284.284 0 01-.215-.095.33.33 0 01-.087-.231V10.3c0-.073-.017-.11-.052-.11-.034 0-.067.028-.1.083l-2.173 3.772c-.068.146-.186.22-.354.22h-1.795c-.168 0-.287-.074-.355-.22l-2.198-3.8c-.035-.055-.068-.082-.1-.082-.034 0-.051.036-.051.11v11.019a.33.33 0 01-.088.231.282.282 0 01-.216.095H33.13a.285.285 0 01-.216-.095.33.33 0 01-.088-.231V2.809a.33.33 0 01.088-.232.28.28 0 01.216-.095h3.564c.152 0 .269.073.355.22l3.514 5.96c.05.11.1.11.15 0l3.463-5.96c.067-.147.184-.22.354-.22l-.004-.002h3.566zm12.506 8.496v3.63h-7.416v-3.63h7.416z"
36
+ })]
37
+ }));
38
+ });
39
+ 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,14 @@
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_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.title = TITLE;
14
+ export default Icons;
@@ -0,0 +1,7 @@
1
+ export declare const TITLE = "GLM-V";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.75;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.1;
4
+ export declare const COLOR_PRIMARY = "#0039C6";
5
+ export declare const AVATAR_BACKGROUND = "#0039C6";
6
+ export declare const AVATAR_COLOR = "#fff";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.7;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'GLM-V';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.75;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.1;
4
+ export var COLOR_PRIMARY = '#0039C6';
5
+
6
+ // Avatar constants
7
+ export var AVATAR_BACKGROUND = COLOR_PRIMARY;
8
+ export var AVATAR_COLOR = '#fff';
9
+ export var AVATAR_ICON_MULTIPLE = 0.7;
@@ -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 Inner from "./Inner";
13
+ import Mono from "./Mono";
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: Inner,
18
+ Icon: Mono,
19
19
  "aria-label": TITLE,
20
20
  background: AVATAR_BACKGROUND,
21
21
  color: AVATAR_COLOR,
@@ -31,11 +31,8 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
31
31
  children: [/*#__PURE__*/_jsx("title", {
32
32
  children: TITLE
33
33
  }), /*#__PURE__*/_jsx("path", {
34
- d: "M21.596 2H2.404A.404.404 0 002 2.404v19.192c0 .223.18.404.404.404h19.192c.223 0 .404-.18.404-.404V2.404A.404.404 0 0021.596 2z",
35
- fill: "#FF4A36"
36
- }), /*#__PURE__*/_jsx("path", {
37
- d: "M18.366 16.15H11.9v2.214h6.465v-2.215z",
38
- fill: "#fff"
34
+ d: "M24 20.541H3.428v-3.426H0V3.4h24V20.54zM3.428 17.115h17.144V6.827H3.428v10.288zm8.573-5.196l-2.425 2.424-2.424-2.424 2.424-2.424 2.425 2.424zm6.857-.001l-2.424 2.423-2.425-2.423 2.425-2.425 2.424 2.425z",
35
+ fill: "#32F08C"
39
36
  })]
40
37
  }));
41
38
  });
@@ -33,7 +33,7 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
33
  children: [/*#__PURE__*/_jsx("title", {
34
34
  children: TITLE
35
35
  }), /*#__PURE__*/_jsx("path", {
36
- d: "M21.596 2c.223 0 .404.181.404.404v19.192a.405.405 0 01-.404.404H2.404A.405.405 0 012 21.596V2.404C2 2.181 2.181 2 2.404 2h19.192zM11.9 18.363h6.465V16.15h-6.465v2.214z"
36
+ d: "M24 20.541H3.428v-3.426H0V3.4h24V20.54zM3.428 17.115h17.144V6.827H3.428v10.288zm8.573-5.196l-2.425 2.424-2.424-2.424 2.424-2.424 2.425 2.424zm6.857-.001l-2.424 2.423-2.425-2.423 2.425-2.425 2.424 2.425z"
37
37
  })]
38
38
  }));
39
39
  });
@@ -26,13 +26,13 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
26
26
  flex: 'none',
27
27
  lineHeight: 1
28
28
  }, style),
29
- viewBox: "0 0 91 24",
29
+ viewBox: "0 0 85 24",
30
30
  xmlns: "http://www.w3.org/2000/svg"
31
31
  }, rest), {}, {
32
32
  children: [/*#__PURE__*/_jsx("title", {
33
33
  children: TITLE
34
34
  }), /*#__PURE__*/_jsx("path", {
35
- d: "M13.235 2.029H2v4.114h7.12V22h4.115V6.143H20.358V2.029H13.236zM41.283 8.638c0-3.635-2.975-6.61-6.61-6.61h-8.282V6.14h8.282a2.517 2.517 0 012.499 2.498 2.517 2.517 0 01-2.499 2.499h-8.282v4.11h6.714L37.143 22h4.79l-4.422-7.397c2.226-1.066 3.772-3.343 3.772-5.965zM55.561 2l-7.914 20h4.375l5.727-13.99L63.474 22h4.375L59.936 2H55.56zM89.016 17.885H73.474V22h15.542v-4.114zM89.016 9.959H73.474v4.114h15.542V9.959zM89.016 2.029H73.474v4.114h15.542V2.029z"
35
+ d: "M20.12 2.012c.002 0 .004.002.005.003a.015.015 0 01.003.005v4.046l-.003.004a.015.015 0 01-.005.003l-.005.002h-6.749a.014.014 0 00-.01.003c-.002.003-.004.007-.004.01v15.898a.014.014 0 01-.004.01.014.014 0 01-.01.003H8.75a.014.014 0 01-.01-.003.014.014 0 01-.004-.01V6.088a.014.014 0 00-.004-.01.015.015 0 00-.01-.003H2.015l-.005-.001a.016.016 0 01-.005-.003A.015.015 0 012 6.06V2.025l.001-.005c0-.002.002-.004.003-.005a.016.016 0 01.01-.004h18.101l.005.001zm63.123-.01c.003 0 .006 0 .008.002s.003.006.003.009v4.038a.016.016 0 01-.005.01.016.016 0 01-.01.006l-11.636-.001a.012.012 0 00-.007.004.013.013 0 00-.004.008 9521.218 9521.218 0 00.003 11.846.014.014 0 00.008.004h11.634c.005 0 .009.002.012.005a.016.016 0 01.005.01v4.039a.014.014 0 01-.004.009.012.012 0 01-.008.003H66.981a.013.013 0 01-.01-.004.013.013 0 01-.003-.01 47458.37 47458.37 0 01.002-19.972c0-.001 0-.004.002-.005l.005-.002H83.243zM34.048 2c.875 0 1.744.026 2.612.164.935.15 1.863.416 2.623 1 .433.331.776.745 1.03 1.238.155.3.285.633.388.999.115.407.197.854.245 1.342.099.997.105 1.987.02 2.966-.022.242-.073.527-.115.76-.058.318-.151.645-.28.982a4.048 4.048 0 01-1.425 1.858 6.349 6.349 0 01-1.581.814 299.29 299.29 0 00-.474.168l-.003.005-.002.007c0 .002 0 .005.002.007l3.954 7.663.002.006a.011.011 0 01-.002.005.012.012 0 01-.004.004H35.99c-.004 0-.008 0-.011-.002a.025.025 0 01-.01-.01l-3.652-7.153a.03.03 0 00-.01-.012.03.03 0 00-.015-.004h-4.9a.012.012 0 00-.008.004.013.013 0 00-.004.009v7.16a.012.012 0 01-.004.009.013.013 0 01-.009.003h-4.509a.012.012 0 01-.003-.003.015.015 0 01-.003-.005.011.011 0 01-.001-.005V2.017A.017.017 0 0122.866 2h11.182zm23.003.016a.027.027 0 01.01.012l7.851 19.948.001.006-.003.006a.011.011 0 01-.004.003.011.011 0 01-.006.002h-4.788a.026.026 0 01-.014-.005.027.027 0 01-.011-.012l-1.91-4.713a.021.021 0 00-.007-.01.023.023 0 00-.013-.004h-8.55a.03.03 0 00-.018.005.031.031 0 00-.01.015l-1.747 4.706a.026.026 0 01-.01.013.028.028 0 01-.015.005h-4.995l-.002-.002-.003-.001-.001-.003v-.004l8.108-19.961a.017.017 0 01.007-.008.018.018 0 01.01-.003h6.105c.005 0 .01.002.015.005zm22.606 6.843l3.578 3.178a.024.024 0 01.006.008.025.025 0 010 .02.025.025 0 01-.006.008l-3.579 3.177a.025.025 0 01-.032 0l-3.367-3.178a.025.025 0 01-.006-.008.025.025 0 01-.002-.01.024.024 0 01.008-.017l3.368-3.178a.023.023 0 01.016-.006c.006 0 .012.002.016.006zm-26.022-2.41a.015.015 0 00-.005.007L51 13.658a.013.013 0 00-.001.005.015.015 0 00.007.011l.007.001h5.877a.015.015 0 00.005-.006l.002-.006v-.005l-2.664-7.202a.015.015 0 00-.005-.006.014.014 0 00-.007-.002h-.578c-.003 0-.006 0-.008.002zm-26.252-.46a.015.015 0 00-.004.01 2309.791 2309.791 0 00.003 4.935c0 .004.001.007.004.01a.014.014 0 00.01.004c2.4 0 4.506-.001 6.318-.006.388-.001.767-.05 1.135-.148.644-.17 1.188-.527 1.364-1.196.031-.119.048-.307.05-.564l-.001-.572v-.571a2.504 2.504 0 00-.05-.564c-.177-.669-.72-1.026-1.365-1.196a4.469 4.469 0 00-1.136-.146c-1.812-.003-3.918-.004-6.318 0a.016.016 0 00-.01.005z"
36
36
  })]
37
37
  }));
38
38
  });
@@ -1,7 +1,7 @@
1
1
  export declare const TITLE = "TRAE";
2
2
  export declare const COMBINE_TEXT_MULTIPLE = 0.8;
3
- export declare const COMBINE_SPACE_MULTIPLE = 0.15;
4
- export declare const COLOR_PRIMARY = "#FF4A36";
5
- export declare const AVATAR_BACKGROUND = "#FF4A36";
6
- export declare const AVATAR_COLOR = "#fff";
7
- export declare const AVATAR_ICON_MULTIPLE = 1;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#32F08C";
5
+ export declare const AVATAR_BACKGROUND = "#000";
6
+ export declare const AVATAR_COLOR = "#32F08C";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.65;
package/es/Trae/style.js CHANGED
@@ -1,9 +1,9 @@
1
1
  export var TITLE = 'TRAE';
2
2
  export var COMBINE_TEXT_MULTIPLE = 0.8;
3
- export var COMBINE_SPACE_MULTIPLE = 0.15;
4
- export var COLOR_PRIMARY = '#FF4A36';
3
+ export var COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#32F08C';
5
5
 
6
6
  // Avatar constants
7
- export var AVATAR_BACKGROUND = COLOR_PRIMARY;
8
- export var AVATAR_COLOR = '#fff';
9
- export var AVATAR_ICON_MULTIPLE = 1;
7
+ export var AVATAR_BACKGROUND = '#000';
8
+ export var AVATAR_COLOR = COLOR_PRIMARY;
9
+ export var AVATAR_ICON_MULTIPLE = 0.65;
@@ -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,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 { COMBINE_SPACE_MULTIPLE, COMBINE_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: COMBINE_SPACE_MULTIPLE,
23
+ textMultiple: COMBINE_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;
@@ -33,7 +33,7 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
33
  children: [/*#__PURE__*/_jsx("title", {
34
34
  children: TITLE
35
35
  }), /*#__PURE__*/_jsx("path", {
36
- d: "M19.639 16.98H11.88v2.657h7.758V16.98z"
36
+ d: "M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"
37
37
  })]
38
38
  }));
39
39
  });
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,39 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 50 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: "M43.794 21.722V7.02h4.078v14.702h-4.078zm2.048-16.597a2.215 2.215 0 01-1.56-.603c-.427-.408-.641-.896-.641-1.464 0-.562.214-1.043.641-1.445A2.196 2.196 0 0145.842 1c.607 0 1.123.204 1.55.613.435.402.652.883.652 1.445 0 .568-.217 1.056-.651 1.464a2.182 2.182 0 01-1.55.603zM32.351 22c-.938 0-1.773-.163-2.507-.488a4.037 4.037 0 01-1.742-1.465c-.422-.65-.632-1.46-.632-2.43 0-.818.15-1.504.45-2.059.3-.555.708-1.002 1.225-1.34a5.942 5.942 0 011.761-.765c.664-.173 1.36-.294 2.087-.364a52.88 52.88 0 002.067-.249c.523-.083.903-.204 1.14-.364.235-.16.353-.395.353-.708v-.057c0-.607-.191-1.076-.574-1.407-.376-.332-.912-.498-1.608-.498-.734 0-1.318.163-1.752.488a2.246 2.246 0 00-.861 1.206l-3.771-.306a5.124 5.124 0 011.13-2.317c.56-.657 1.285-1.16 2.172-1.512.893-.357 1.927-.536 3.101-.536.817 0 1.599.096 2.345.287.753.192 1.42.488 2 .89.588.402 1.05.92 1.389 1.551.338.625.507 1.375.507 2.25v9.915h-3.867v-2.038h-.115c-.236.46-.552.864-.947 1.215a4.387 4.387 0 01-1.427.814c-.555.191-1.196.287-1.924.287zm1.168-2.814c.6 0 1.13-.118 1.589-.354.46-.243.82-.568 1.082-.977.261-.408.392-.87.392-1.387v-1.56c-.128.082-.303.159-.526.23a9.587 9.587 0 01-.737.181 36.44 36.44 0 01-.824.144l-.746.105c-.479.07-.897.182-1.254.335-.357.153-.635.36-.833.622-.197.255-.296.574-.296.957 0 .555.2.98.603 1.273.408.287.925.43 1.55.43zM22.514 21.971a2.236 2.236 0 01-1.627-.67 2.236 2.236 0 01-.67-1.627c0-.625.223-1.161.67-1.608.453-.446.995-.67 1.627-.67.613 0 1.149.224 1.608.67.46.447.69.983.69 1.608 0 .421-.11.808-.326 1.158-.21.345-.489.623-.833.833a2.193 2.193 0 01-1.139.306zM2.02 21.722v-2.46L11.8 5.537H2V2.12h15.008v2.46L7.216 18.305h9.811v3.417H2.02z"
36
+ })]
37
+ }));
38
+ });
39
+ 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,12 @@
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
+ import { COLOR_PRIMARY, TITLE } from "./style";
6
+ var Icons = Mono;
7
+ Icons.Text = Text;
8
+ Icons.Combine = Combine;
9
+ Icons.Avatar = Avatar;
10
+ Icons.colorPrimary = COLOR_PRIMARY;
11
+ Icons.title = TITLE;
12
+ export default Icons;
@@ -0,0 +1,7 @@
1
+ export declare const TITLE = "Z.ai";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.9;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.3;
4
+ export declare const COLOR_PRIMARY = "#000";
5
+ export declare const AVATAR_BACKGROUND = "#000";
6
+ export declare const AVATAR_COLOR = "#fff";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.6;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'Z.ai';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.9;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.3;
4
+ export var COLOR_PRIMARY = '#000';
5
+
6
+ // Avatar constants
7
+ export var AVATAR_BACKGROUND = COLOR_PRIMARY;
8
+ export var AVATAR_COLOR = '#fff';
9
+ export var AVATAR_ICON_MULTIPLE = 0.6;
@@ -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: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n height={size}\n\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 { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n height={size}\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: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n\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 { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\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: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n\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 { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\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
  });
@@ -24,6 +24,7 @@ import Doubao from "../Doubao";
24
24
  import Fireworks from "../Fireworks";
25
25
  import FishAudio from "../FishAudio";
26
26
  import Flux from "../Flux";
27
+ import GLMV from "../GLMV";
27
28
  import Gemini from "../Gemini";
28
29
  import Gemma from "../Gemma";
29
30
  import Google from "../Google";
@@ -95,6 +96,9 @@ export var modelMappings = [{
95
96
  }, {
96
97
  Icon: OpenAI,
97
98
  keywords: ['^gpt-', '/gpt-', 'openai']
99
+ }, {
100
+ Icon: GLMV,
101
+ keywords: ['^glm-4', '/glm-4']
98
102
  }, {
99
103
  Icon: ChatGLM,
100
104
  keywords: ['^glm-', '/glm-', 'chatglm']
package/es/icons.d.ts CHANGED
@@ -82,6 +82,7 @@ export { default as Github, type CompoundedIcon as GithubProps } from './Github'
82
82
  export { default as GithubCopilot, type CompoundedIcon as GithubCopilotProps, } from './GithubCopilot';
83
83
  export { default as Glama, type CompoundedIcon as GlamaProps } from './Glama';
84
84
  export { default as Glif, type CompoundedIcon as GlifProps } from './Glif';
85
+ export { default as GLMV, type CompoundedIcon as GLMVProps } from './GLMV';
85
86
  export { default as Google, type CompoundedIcon as GoogleProps } from './Google';
86
87
  export { default as Goose, type CompoundedIcon as GooseProps } from './Goose';
87
88
  export { default as Gradio, type CompoundedIcon as GradioProps } from './Gradio';
@@ -220,6 +221,7 @@ export { default as Xuanyuan, type CompoundedIcon as XuanyuanProps } from './Xua
220
221
  export { default as Yandex, type CompoundedIcon as YandexProps } from './Yandex';
221
222
  export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
222
223
  export { default as Yuanbao, type CompoundedIcon as YuanbaoProps } from './Yuanbao';
224
+ export { default as ZAI, type CompoundedIcon as ZAIProps } from './ZAI';
223
225
  export { default as Zapier, type CompoundedIcon as ZapierProps } from './Zapier';
224
226
  export { default as Zeabur, type CompoundedIcon as ZeaburProps } from './Zeabur';
225
227
  export { default as ZeroOne, type CompoundedIcon as ZeroOneProps } from './ZeroOne';
package/es/icons.js CHANGED
@@ -82,6 +82,7 @@ export { default as Github } from "./Github";
82
82
  export { default as GithubCopilot } from "./GithubCopilot";
83
83
  export { default as Glama } from "./Glama";
84
84
  export { default as Glif } from "./Glif";
85
+ export { default as GLMV } from "./GLMV";
85
86
  export { default as Google } from "./Google";
86
87
  export { default as Goose } from "./Goose";
87
88
  export { default as Gradio } from "./Gradio";
@@ -220,6 +221,7 @@ export { default as Xuanyuan } from "./Xuanyuan";
220
221
  export { default as Yandex } from "./Yandex";
221
222
  export { default as Yi } from "./Yi";
222
223
  export { default as Yuanbao } from "./Yuanbao";
224
+ export { default as ZAI } from "./ZAI";
223
225
  export { default as Zapier } from "./Zapier";
224
226
  export { default as Zeabur } from "./Zeabur";
225
227
  export { default as ZeroOne } from "./ZeroOne";
package/es/toc.js CHANGED
@@ -1392,6 +1392,24 @@ var toc = [{
1392
1392
  "hasTextColor": false
1393
1393
  },
1394
1394
  "title": "Friendli"
1395
+ }, {
1396
+ "color": "#0039C6",
1397
+ "desc": "https://huggingface.co/zai-org/GLM-4.1V-9B-Thinking",
1398
+ "docsUrl": "glmv",
1399
+ "fullTitle": "GLM-V",
1400
+ "group": "model",
1401
+ "id": "GLMV",
1402
+ "param": {
1403
+ "hasAvatar": true,
1404
+ "hasBrand": false,
1405
+ "hasBrandColor": false,
1406
+ "hasColor": true,
1407
+ "hasCombine": true,
1408
+ "hasText": true,
1409
+ "hasTextCn": false,
1410
+ "hasTextColor": false
1411
+ },
1412
+ "title": "GLM-V"
1395
1413
  }, {
1396
1414
  "color": "#fff",
1397
1415
  "desc": "https://deepmind.google/technologies/gemini",
@@ -3607,7 +3625,7 @@ var toc = [{
3607
3625
  },
3608
3626
  "title": "TopazLabs"
3609
3627
  }, {
3610
- "color": "#FF4A36",
3628
+ "color": "#32F08C",
3611
3629
  "desc": "https://trae.ai",
3612
3630
  "docsUrl": "trae",
3613
3631
  "fullTitle": "TRAE",
@@ -4023,6 +4041,24 @@ var toc = [{
4023
4041
  "hasTextColor": false
4024
4042
  },
4025
4043
  "title": "Yuanbao"
4044
+ }, {
4045
+ "color": "#000",
4046
+ "desc": "https://z.ai",
4047
+ "docsUrl": "zai",
4048
+ "fullTitle": "Z.ai",
4049
+ "group": "application",
4050
+ "id": "ZAI",
4051
+ "param": {
4052
+ "hasAvatar": true,
4053
+ "hasBrand": false,
4054
+ "hasBrandColor": false,
4055
+ "hasColor": false,
4056
+ "hasCombine": true,
4057
+ "hasText": true,
4058
+ "hasTextCn": false,
4059
+ "hasTextColor": false
4060
+ },
4061
+ "title": "Z.ai"
4026
4062
  }, {
4027
4063
  "color": "#FF4F00",
4028
4064
  "desc": "https://zapier.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "2.20.0",
3
+ "version": "2.22.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",