@lobehub/icons 1.48.0 → 1.49.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 (69) hide show
  1. package/es/AlibabaCloud/components/Avatar.d.ts +5 -0
  2. package/es/AlibabaCloud/components/Avatar.js +26 -0
  3. package/es/AlibabaCloud/components/Color.d.ts +3 -0
  4. package/es/AlibabaCloud/components/Color.js +43 -0
  5. package/es/AlibabaCloud/components/Combine.d.ts +7 -0
  6. package/es/AlibabaCloud/components/Combine.js +32 -0
  7. package/es/AlibabaCloud/components/Mono.d.ts +3 -0
  8. package/es/AlibabaCloud/components/Mono.js +43 -0
  9. package/es/AlibabaCloud/components/Text.d.ts +3 -0
  10. package/es/AlibabaCloud/components/Text.js +40 -0
  11. package/es/AlibabaCloud/components/TextCn.d.ts +3 -0
  12. package/es/AlibabaCloud/components/TextCn.js +48 -0
  13. package/es/AlibabaCloud/index.d.ts +17 -0
  14. package/es/AlibabaCloud/index.js +18 -0
  15. package/es/AlibabaCloud/style.d.ts +4 -0
  16. package/es/AlibabaCloud/style.js +4 -0
  17. package/es/Coze/components/Avatar.d.ts +5 -0
  18. package/es/Coze/components/Avatar.js +28 -0
  19. package/es/Coze/components/Combine.d.ts +5 -0
  20. package/es/Coze/components/Combine.js +29 -0
  21. package/es/Coze/components/Mono.d.ts +3 -0
  22. package/es/Coze/components/Mono.js +42 -0
  23. package/es/Coze/components/Text.d.ts +3 -0
  24. package/es/Coze/components/Text.js +43 -0
  25. package/es/Coze/index.d.ts +13 -0
  26. package/es/Coze/index.js +14 -0
  27. package/es/Coze/style.d.ts +4 -0
  28. package/es/Coze/style.js +4 -0
  29. package/es/Dify/components/Avatar.js +9 -2
  30. package/es/Dify/components/TextColor.js +1 -3
  31. package/es/Notion/components/Avatar.d.ts +5 -0
  32. package/es/Notion/components/Avatar.js +28 -0
  33. package/es/Notion/components/Combine.d.ts +5 -0
  34. package/es/Notion/components/Combine.js +26 -0
  35. package/es/Notion/components/Mono.d.ts +3 -0
  36. package/es/Notion/components/Mono.js +42 -0
  37. package/es/Notion/components/Text.d.ts +3 -0
  38. package/es/Notion/components/Text.js +40 -0
  39. package/es/Notion/index.d.ts +13 -0
  40. package/es/Notion/index.js +14 -0
  41. package/es/Notion/style.d.ts +4 -0
  42. package/es/Notion/style.js +4 -0
  43. package/es/V0/components/Avatar.d.ts +5 -0
  44. package/es/V0/components/Avatar.js +27 -0
  45. package/es/V0/components/Mono.d.ts +3 -0
  46. package/es/V0/components/Mono.js +42 -0
  47. package/es/V0/index.d.ts +9 -0
  48. package/es/V0/index.js +10 -0
  49. package/es/V0/style.d.ts +4 -0
  50. package/es/V0/style.js +4 -0
  51. package/es/Vercel/components/Avatar.d.ts +5 -0
  52. package/es/Vercel/components/Avatar.js +28 -0
  53. package/es/Vercel/components/Combine.d.ts +5 -0
  54. package/es/Vercel/components/Combine.js +26 -0
  55. package/es/Vercel/components/Mono.d.ts +3 -0
  56. package/es/Vercel/components/Mono.js +41 -0
  57. package/es/Vercel/components/Text.d.ts +3 -0
  58. package/es/Vercel/components/Text.js +40 -0
  59. package/es/Vercel/index.d.ts +13 -0
  60. package/es/Vercel/index.js +14 -0
  61. package/es/Vercel/style.d.ts +4 -0
  62. package/es/Vercel/style.js +4 -0
  63. package/es/features/IconAvatar/index.js +5 -1
  64. package/es/features/IconAvatar/util.d.ts +1 -0
  65. package/es/features/IconAvatar/util.js +9 -0
  66. package/es/icons.d.ts +5 -0
  67. package/es/icons.js +5 -0
  68. package/es/toc.js +90 -0
  69. package/package.json +2 -1
@@ -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,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
+ var _excluded = ["background"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import IconAvatar from "../../features/IconAvatar";
14
+ import { COLOR_PRIMARY, TITLE } from "../style";
15
+ import Mono from "./Mono";
16
+ import { jsx as _jsx } from "react/jsx-runtime";
17
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
18
+ var background = _ref.background,
19
+ rest = _objectWithoutProperties(_ref, _excluded);
20
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
21
+ Icon: Mono,
22
+ "aria-label": TITLE,
23
+ background: background || COLOR_PRIMARY
24
+ }, rest));
25
+ });
26
+ 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,43 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ height: size,
23
+ ref: ref,
24
+ style: _objectSpread({
25
+ flex: 'none',
26
+ lineHeight: 1
27
+ }, style),
28
+ viewBox: "0 0 24 24",
29
+ width: size,
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M14.752 4.64h5.274C22.242 4.64 24 6.475 24 8.691V15.8a3.947 3.947 0 01-3.974 3.975h-5.274l1.299-1.835 3.822-1.222c.688-.23 1.146-.918 1.146-1.605v-5.81c0-.687-.458-1.375-1.146-1.605L16.05 6.475l-1.3-1.835zM2.98 15.111c0 .688.46 1.376 1.147 1.606l3.822 1.146 1.3 1.835H3.974A3.947 3.947 0 010 15.723V8.69c0-2.216 1.758-4.05 3.975-4.05h5.273L7.95 6.474 4.127 7.697c-.688.23-1.146.918-1.146 1.606v5.808z",
36
+ fill: "#FF6A00"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M16.051 11.213H8.025v1.835h8.026v-1.835z",
39
+ fill: "#FF6A00"
40
+ })]
41
+ }));
42
+ });
43
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
4
+ type?: 'color' | 'mono';
5
+ }
6
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
7
+ export default Combine;
@@ -0,0 +1,32 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["type"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import IconCombine from "../../features/IconCombine";
14
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
15
+ import Color from "./Color";
16
+ import Mono from "./Mono";
17
+ import TextCn from "./TextCn";
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: TextCn,
27
+ "aria-label": TITLE,
28
+ spaceMultiple: SPACE_MULTIPLE,
29
+ textMultiple: TEXT_MULTIPLE
30
+ }, rest));
31
+ });
32
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,43 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ ref: ref,
26
+ style: _objectSpread({
27
+ flex: 'none',
28
+ lineHeight: 1
29
+ }, style),
30
+ viewBox: "0 0 24 24",
31
+ width: size,
32
+ xmlns: "http://www.w3.org/2000/svg"
33
+ }, rest), {}, {
34
+ children: [/*#__PURE__*/_jsx("title", {
35
+ children: TITLE
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M14.752 4.64h5.274C22.242 4.64 24 6.475 24 8.691V15.8a3.947 3.947 0 01-3.974 3.975h-5.274l1.299-1.835 3.822-1.222c.688-.23 1.146-.918 1.146-1.605v-5.81c0-.687-.458-1.375-1.146-1.605L16.05 6.475l-1.3-1.835zM2.98 15.111c0 .688.46 1.376 1.147 1.606l3.822 1.146 1.3 1.835H3.974A3.947 3.947 0 010 15.723V8.69c0-2.216 1.758-4.05 3.975-4.05h5.273L7.95 6.474 4.127 7.697c-.688.23-1.146.918-1.146 1.606v5.808z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M16.051 11.213H8.025v1.835h8.026v-1.835z"
40
+ })]
41
+ }));
42
+ });
43
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,40 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ ref: ref,
26
+ style: _objectSpread({
27
+ flex: 'none',
28
+ lineHeight: 1
29
+ }, style),
30
+ viewBox: "0 0 147 24",
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ d: "M97.953 15.439a3.721 3.721 0 01-7.437 0V6.485a3.721 3.721 0 017.436 0v.139h2.847v-.107a6.568 6.568 0 00-13.129 0v8.922a6.56 6.56 0 1013.122 0v-.12h-2.846l.007.12zm14.784-9.64a5.617 5.617 0 00-5.667 5.32v5.497a5.665 5.665 0 009.44 3.637 5.665 5.665 0 001.837-3.637v-5.503a5.603 5.603 0 00-5.61-5.314zm2.789 10.496a2.79 2.79 0 01-5.579 0v-4.854a2.79 2.79 0 015.579 0v4.854zM105.042 0h-2.833v21.584h2.833V0zM26.878 5.8h-2.834v15.784h2.834V5.8zM21.21 0h-2.833v21.584h2.834V0zm-9.986 0H7.73L2 21.553h2.827l1.524-5.73h6.296l1.518 5.667h2.827L11.224.013V0zm.63 13.046h-4.76l2.38-8.94 2.38 8.94zm117.002 3.545a2.797 2.797 0 01-5.592 0V5.8h-2.839v11.258A4.878 4.878 0 00122.408 21a4.888 4.888 0 004.351.736c.271-.078.533-.186.781-.32.433-.223.83-.51 1.177-.85l.126-.12v1.158h2.859V5.8h-2.846v10.792zM26.878 0h-2.834v2.84h2.834V0zm9.205 5.78a4.861 4.861 0 00-3.413 1.398l-.12.12V0h-2.84v21.584h2.84v-1.158l.12.12a4.887 4.887 0 008.3-3.489v-6.39a4.893 4.893 0 00-4.887-4.887zm2.084 5.403v5.358a2.802 2.802 0 01-5.604 0v-5.358a2.802 2.802 0 015.604 0zM62.503 5.78a4.86 4.86 0 00-3.419 1.398l-.12.12V0h-2.833v21.584h2.834v-1.158l.12.12a4.887 4.887 0 008.298-3.489v-6.39a4.893 4.893 0 00-4.88-4.887zm2.078 5.403v5.352a2.802 2.802 0 11-5.604 0v-5.352a2.802 2.802 0 015.604 0zM142.173 0v7.298l-.12-.12a4.877 4.877 0 00-5.31-1.017 4.884 4.884 0 00-2.989 4.505v6.41a4.89 4.89 0 005.803 4.772 4.883 4.883 0 002.496-1.302l.12-.12v1.158h2.84V0h-2.84zm0 11.183v5.352a2.81 2.81 0 01-2.802 2.802 2.8 2.8 0 01-2.802-2.802v-5.352a2.798 2.798 0 012.802-2.802 2.8 2.8 0 012.802 2.802zm-88.082-.044a4.722 4.722 0 00-.057-.555v-.075a5.793 5.793 0 00-.97-2.368 5.535 5.535 0 00-4.212-2.348h-.327a5.667 5.667 0 00-5.579 4.609h2.783a2.803 2.803 0 012.74-2.26 2.808 2.808 0 012.77 2.694v1.322h-4.024a4.88 4.88 0 00-1.26 9.603h.077l.27.063.34.05h.07c.244.026.49.038.736.038a5.35 5.35 0 001.706-.246 4.792 4.792 0 001.934-1.165l.126-.12v1.16h2.833v-1.89l.044-8.512zm-6.334 3.148h3.482v1.996a3.148 3.148 0 01-2.576 3.098 2.817 2.817 0 01-.63.075 2.847 2.847 0 01-1.435-.403 3.015 3.015 0 01-.365-.233 2.829 2.829 0 01-.434-.434l-.032-.038a2.519 2.519 0 012.009-4.061h-.02zm32.786-3.136a4.722 4.722 0 00-.057-.554v-.075a5.766 5.766 0 00-.97-2.362 5.572 5.572 0 00-4.212-2.355h-.327a5.667 5.667 0 00-5.58 4.597h2.778a2.79 2.79 0 015.528.428v1.322h-4.03a4.88 4.88 0 00-1.228 9.603h.076l.27.063.34.05h.07c.245.028.49.043.737.044a5.35 5.35 0 001.706-.246 4.937 4.937 0 001.933-1.165l.126-.12v1.16h2.833v-1.89l.007-8.5zM74.208 14.3h3.476v2.022a3.149 3.149 0 01-2.575 3.098 2.811 2.811 0 01-.63.075 2.846 2.846 0 01-1.436-.403 2.404 2.404 0 01-.365-.233 2.879 2.879 0 01-.44-.434v-.038a2.48 2.48 0 01-.523-1.524 2.518 2.518 0 012.493-2.537V14.3z"
37
+ })]
38
+ }));
39
+ });
40
+ 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,48 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ ref: ref,
26
+ style: _objectSpread({
27
+ flex: 'none',
28
+ lineHeight: 1
29
+ }, style),
30
+ viewBox: "0 0 60 24",
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ clipRule: "evenodd",
37
+ d: "M15.476 6.599H10.02v11.23h5.455V6.599zm-2.246 8.984h-1.177V8.738h1.177v6.845z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M2 22h2.139V4.246h2.246l-1.283 5.882v2.14h1.283v4.705c0 .321-.214.535-.535.535h-.534v2.14h1.069a2.145 2.145 0 002.14-2.14v-7.487H7.24L8.524 4.14V2H2v20z"
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ clipRule: "evenodd",
42
+ d: "M31.733 17.508h6.738v-2.139h-6.845v-2.14h6.63V2.108h-15.4V13.23h6.63v2.139h-6.844v2.139h6.845v2.353h-7.38V22h17.005v-2.139h-7.38v-2.353zm.107-13.262h4.492v2.353H31.84V4.246zm0 4.492h4.492v2.246H31.84V8.738zm-2.14 2.246H25.21V8.738H29.7v2.246zm0-4.385H25.21V4.246H29.7v2.353z"
43
+ }), /*#__PURE__*/_jsx("path", {
44
+ d: "M16.866 4.246h-7.38v-2.14h10.375v2.14h-.749v14.332c0 1.925-1.604 3.422-3.422 3.422h-2.246v-2.139h1.604c1.07 0 1.818-.856 1.818-1.818V4.246zM57.401 2.214H42v2.139h15.401v-2.14zM58.257 10.235v2.14H47.989l-3.422 7.486H54.94l-1.604-3.422h2.353l1.818 4.064c.107.107.107.214.107.427 0 .535-.428 1.07-1.07 1.07H42.107v-2.139l3.422-7.487h-4.278v-2.139h17.006z"
45
+ })]
46
+ }));
47
+ });
48
+ export default Icon;
@@ -0,0 +1,17 @@
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 TextCn from './components/TextCn';
7
+ export type CompoundedIcon = typeof Mono & {
8
+ Avatar: typeof Avatar;
9
+ Color: typeof Color;
10
+ Combine: typeof Combine;
11
+ Text: typeof Text;
12
+ TextCn: typeof TextCn;
13
+ colorPrimary: string;
14
+ title: string;
15
+ };
16
+ declare const Icons: CompoundedIcon;
17
+ export default Icons;
@@ -0,0 +1,18 @@
1
+ 'use client';
2
+
3
+ import Avatar from "./components/Avatar";
4
+ import Color from "./components/Color";
5
+ import Combine from "./components/Combine";
6
+ import Mono from "./components/Mono";
7
+ import Text from "./components/Text";
8
+ import TextCn from "./components/TextCn";
9
+ import { COLOR_PRIMARY, TITLE } from "./style";
10
+ var Icons = Mono;
11
+ Icons.Color = Color;
12
+ Icons.Text = Text;
13
+ Icons.TextCn = TextCn;
14
+ Icons.Combine = Combine;
15
+ Icons.Avatar = Avatar;
16
+ Icons.colorPrimary = COLOR_PRIMARY;
17
+ Icons.title = TITLE;
18
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "AlibabaCloud";
2
+ export declare const TEXT_MULTIPLE = 0.65;
3
+ export declare const SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#FF6A00";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'AlibabaCloud';
2
+ export var TEXT_MULTIPLE = 0.65;
3
+ export var SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#FF6A00';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,28 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["background"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { memo } from 'react';
13
+ import IconAvatar from "../../features/IconAvatar";
14
+ import { COLOR_PRIMARY, TITLE } from "../style";
15
+ import Mono from "./Mono";
16
+ import { jsx as _jsx } from "react/jsx-runtime";
17
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
18
+ var background = _ref.background,
19
+ rest = _objectWithoutProperties(_ref, _excluded);
20
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
21
+ Icon: Mono,
22
+ "aria-label": TITLE,
23
+ background: background || COLOR_PRIMARY,
24
+ color: '#fff',
25
+ iconMultiple: 0.7
26
+ }, rest));
27
+ });
28
+ export default Avatar;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
4
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
5
+ export default Combine;
@@ -0,0 +1,29 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
10
+ import { memo } from 'react';
11
+ import IconCombine from "../../features/IconCombine";
12
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
13
+ import Avatar from "./Avatar";
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: Avatar,
20
+ Text: Text,
21
+ "aria-label": TITLE,
22
+ iconProps: {
23
+ shape: 'square'
24
+ },
25
+ spaceMultiple: SPACE_MULTIPLE,
26
+ textMultiple: TEXT_MULTIPLE
27
+ }, rest));
28
+ });
29
+ 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 { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ ref: ref,
26
+ style: _objectSpread({
27
+ flex: 'none',
28
+ lineHeight: 1
29
+ }, style),
30
+ viewBox: "0 0 24 24",
31
+ width: size,
32
+ xmlns: "http://www.w3.org/2000/svg"
33
+ }, rest), {}, {
34
+ children: [/*#__PURE__*/_jsx("title", {
35
+ children: TITLE
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ clipRule: "evenodd",
38
+ d: "M3.908 9.096A8.092 8.092 0 0111.998 1h.006c4.468 0 8.09 3.628 8.09 8.096v3.392h1.942c2.23 0 2.732 3.126.615 3.828l-2.556.85v1.466a1.947 1.947 0 01-2.818 1.742l-1.42-.707c-.067-.03-.149 0-.17.071-1.147 3.587-6.225 3.587-7.373 0a.123.123 0 00-.169-.07l-1.42.706c-1.29.65-2.817-.292-2.817-1.742v-1.466l-2.557-.85c-2.122-.697-1.614-3.828.615-3.828h1.942V9.096zm4.571 2.613a.784.784 0 00-.784.784v1.568a.784.784 0 101.568 0v-1.568a.784.784 0 00-.784-.784zm7.045.779a.784.784 0 100 1.568.784.784 0 000-1.568zm-6.186 3.415a.78.78 0 00.17.254 3.517 3.517 0 004.98 0 .782.782 0 10-1.106-1.107 1.958 1.958 0 01-2.767 0 .78.78 0 00-1.277.254.78.78 0 000 .6z"
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,43 @@
1
+ 'use client';
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ var _excluded = ["size", "style"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ import { forwardRef } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ ref: ref,
26
+ style: _objectSpread({
27
+ flex: 'none',
28
+ lineHeight: 1
29
+ }, style),
30
+ viewBox: "0 0 85 24",
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ clipRule: "evenodd",
37
+ d: "M41.947 11.99c0 5.52-4.57 9.993-10.206 9.993-5.636 0-10.206-4.474-10.206-9.991C21.535 6.473 26.105 2 31.741 2c5.637 0 10.206 4.473 10.206 9.99zm-10.204 6.2c-3.223 0-5.835-2.775-5.835-6.2v.002c0-3.424 2.612-6.2 5.835-6.2 3.222 0 5.834 2.775 5.834 6.2 0 3.423-2.612 6.198-5.834 6.198zM74.142 21.987c-5.541 0-9.815-4.02-9.815-9.924v-.072c0-5.47 3.875-9.96 9.344-9.96 6.085 0 9.163 4.78 9.163 10.286 0 .158 0 .358-.024.594l-.01.136a.541.541 0 01-.541.501h-13.55c.47 3.115 2.68 4.853 5.505 4.853 1.963 0 3.407-.672 4.808-1.933a.563.563 0 01.751-.01l1.795 1.592a.526.526 0 01.048.75c-1.779 1.946-4.181 3.187-7.474 3.187zm4.255-11.973h-9.613c.567-2.624 2.367-4.397 4.85-4.397 2.676 0 4.302 1.884 4.763 4.397z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M18.648 19.592a.528.528 0 00-.064-.367l-1.48-2.56c-.193-.336-.666-.369-.944-.098-1.04 1.019-2.428 1.642-3.954 1.642-3.222 0-5.835-2.776-5.835-6.2 0-3.423 2.613-6.199 5.835-6.199 1.598 0 3.047.683 4.1 1.789.274.288.764.262.963-.082l1.493-2.585a.527.527 0 00-.12-.679 10.299 10.299 0 00-6.436-2.235C6.57 2.018 2 6.49 2 12.009S6.57 22 12.206 22c2.255.006 4.45-.728 6.247-2.09a.527.527 0 00.195-.318zM45.699 2.673a.546.546 0 00-.547.546v2.42a.546.546 0 00.547.546h10.296L44.953 18.176a.545.545 0 00-.144.37v2.304a.547.547 0 00.546.547h15.509a.546.546 0 00.546-.547v-2.42a.546.546 0 00-.546-.546h-10.61L61.42 5.757h.002V3.218a.546.546 0 00-.546-.546H45.7z"
40
+ })]
41
+ }));
42
+ });
43
+ export default Icon;
@@ -0,0 +1,13 @@
1
+ import Avatar from './components/Avatar';
2
+ import Combine from './components/Combine';
3
+ import Mono from './components/Mono';
4
+ import Text from './components/Text';
5
+ export type CompoundedIcon = typeof Mono & {
6
+ Avatar: typeof Avatar;
7
+ Combine: typeof Combine;
8
+ Text: typeof Text;
9
+ colorPrimary: string;
10
+ title: string;
11
+ };
12
+ declare const Icons: CompoundedIcon;
13
+ export default Icons;
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+
3
+ import Avatar from "./components/Avatar";
4
+ import Combine from "./components/Combine";
5
+ import Mono from "./components/Mono";
6
+ import Text from "./components/Text";
7
+ import { COLOR_PRIMARY, TITLE } from "./style";
8
+ var Icons = Mono;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ Icons.title = TITLE;
14
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "Coze";
2
+ export declare const TEXT_MULTIPLE = 0.7;
3
+ export declare const SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#4D53E8";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'Coze';
2
+ export var TEXT_MULTIPLE = 0.7;
3
+ export var SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#4D53E8';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- var _excluded = ["background", "size"];
4
+ var _excluded = ["shape", "background", "size", "iconStyle"];
5
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
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
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; }
@@ -15,8 +15,11 @@ import { COLOR_PRIMARY, TITLE } from "../style";
15
15
  import Color from "./Color";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Avatar = /*#__PURE__*/memo(function (_ref) {
18
- var background = _ref.background,
18
+ var _ref$shape = _ref.shape,
19
+ shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
20
+ background = _ref.background,
19
21
  size = _ref.size,
22
+ iconStyle = _ref.iconStyle,
20
23
  rest = _objectWithoutProperties(_ref, _excluded);
21
24
  return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
22
25
  Icon: Color,
@@ -24,6 +27,10 @@ var Avatar = /*#__PURE__*/memo(function (_ref) {
24
27
  background: background || COLOR_PRIMARY,
25
28
  color: '#fff',
26
29
  iconMultiple: 0.65,
30
+ iconStyle: _objectSpread({
31
+ marginLeft: shape === 'circle' ? size * 0.1 : undefined
32
+ }, iconStyle),
33
+ shape: shape,
27
34
  size: size
28
35
  }, rest));
29
36
  });
@@ -35,11 +35,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
35
35
  }), /*#__PURE__*/_jsx("path", {
36
36
  clipRule: "evenodd",
37
37
  d: "M7.605 3.781H2v14.771h5.605a7.386 7.386 0 100-14.771zM7.08 6.295H4.933v9.743h2.148a4.872 4.872 0 000-9.743z",
38
- fill: "#fff",
39
38
  fillRule: "evenodd"
40
39
  }), /*#__PURE__*/_jsx("path", {
41
- d: "M19.548 2a1.729 1.729 0 100 3.457h.21a1.729 1.729 0 100-3.457h-.21zM21.171 6.819h-3.038v11.733h3.038V6.82zM35.314 6.82h-3.143l4.62 11.392L34.266 24h3.038l7.28-17.18h-3.037l-3.182 8.186-3.052-8.187zM30.233 4.567v-2.41s-2.142-.04-3.195.681c-.911.624-1.571 1.724-1.571 2.829 0 .468-.006.847-.015 1.152h-1.347v2.41h1.257v9.323H28.4V9.23h1.99v-2.41h-2.01c-.02-.663-.002-1.45.387-1.833.532-.525 1.466-.42 1.466-.42z",
42
- fill: "#fff"
40
+ d: "M19.548 2a1.729 1.729 0 100 3.457h.21a1.729 1.729 0 100-3.457h-.21zM21.171 6.819h-3.038v11.733h3.038V6.82zM35.314 6.82h-3.143l4.62 11.392L34.266 24h3.038l7.28-17.18h-3.037l-3.182 8.186-3.052-8.187zM30.233 4.567v-2.41s-2.142-.04-3.195.681c-.911.624-1.571 1.724-1.571 2.829 0 .468-.006.847-.015 1.152h-1.347v2.41h1.257v9.323H28.4V9.23h1.99v-2.41h-2.01c-.02-.663-.002-1.45.387-1.833.532-.525 1.466-.42 1.466-.42z"
43
41
  }), /*#__PURE__*/_jsx("path", {
44
42
  d: "M45.371 16.771h6.914v3.457h-6.914z",
45
43
  fill: "#165EF0"