@lobehub/icons 2.20.0 → 2.21.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.
- package/es/Trae/components/Avatar.js +2 -2
- package/es/Trae/components/Color.js +2 -5
- package/es/Trae/components/Mono.js +1 -1
- package/es/Trae/components/Text.js +2 -2
- package/es/Trae/style.d.ts +5 -5
- package/es/Trae/style.js +5 -5
- package/es/ZAI/components/Avatar.d.ts +5 -0
- package/es/ZAI/components/Avatar.js +25 -0
- package/es/ZAI/components/Combine.d.ts +5 -0
- package/es/ZAI/components/Combine.js +26 -0
- package/es/{Trae/components/Inner.js → ZAI/components/Mono.js} +1 -1
- package/es/ZAI/components/Text.d.ts +3 -0
- package/es/ZAI/components/Text.js +39 -0
- package/es/ZAI/index.d.ts +13 -0
- package/es/ZAI/index.js +12 -0
- package/es/ZAI/style.d.ts +7 -0
- package/es/ZAI/style.js +9 -0
- package/es/components/Editor/Color.js +1 -1
- package/es/components/Editor/Mono.js +1 -1
- package/es/components/Editor/Text.js +1 -1
- package/es/icons.d.ts +1 -0
- package/es/icons.js +1 -0
- package/es/toc.js +19 -1
- package/package.json +1 -1
- /package/es/{Trae/components/Inner.d.ts → ZAI/components/Mono.d.ts} +0 -0
@@ -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
|
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:
|
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: "
|
35
|
-
fill: "#
|
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: "
|
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
|
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: "
|
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
|
});
|
package/es/Trae/style.d.ts
CHANGED
@@ -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.
|
4
|
-
export declare const COLOR_PRIMARY = "#
|
5
|
-
export declare const AVATAR_BACKGROUND = "#
|
6
|
-
export declare const AVATAR_COLOR = "#
|
7
|
-
export declare const AVATAR_ICON_MULTIPLE =
|
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.
|
4
|
-
export var COLOR_PRIMARY = '#
|
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 =
|
8
|
-
export var AVATAR_COLOR =
|
9
|
-
export var AVATAR_ICON_MULTIPLE =
|
7
|
+
export var AVATAR_BACKGROUND = '#000';
|
8
|
+
export var AVATAR_COLOR = COLOR_PRIMARY;
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.65;
|
@@ -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;
|
@@ -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: "
|
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,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;
|
package/es/ZAI/index.js
ADDED
@@ -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;
|
package/es/ZAI/style.js
ADDED
@@ -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
|
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
|
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
|
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
|
});
|
package/es/icons.d.ts
CHANGED
@@ -220,6 +220,7 @@ export { default as Xuanyuan, type CompoundedIcon as XuanyuanProps } from './Xua
|
|
220
220
|
export { default as Yandex, type CompoundedIcon as YandexProps } from './Yandex';
|
221
221
|
export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
|
222
222
|
export { default as Yuanbao, type CompoundedIcon as YuanbaoProps } from './Yuanbao';
|
223
|
+
export { default as ZAI, type CompoundedIcon as ZAIProps } from './ZAI';
|
223
224
|
export { default as Zapier, type CompoundedIcon as ZapierProps } from './Zapier';
|
224
225
|
export { default as Zeabur, type CompoundedIcon as ZeaburProps } from './Zeabur';
|
225
226
|
export { default as ZeroOne, type CompoundedIcon as ZeroOneProps } from './ZeroOne';
|
package/es/icons.js
CHANGED
@@ -220,6 +220,7 @@ export { default as Xuanyuan } from "./Xuanyuan";
|
|
220
220
|
export { default as Yandex } from "./Yandex";
|
221
221
|
export { default as Yi } from "./Yi";
|
222
222
|
export { default as Yuanbao } from "./Yuanbao";
|
223
|
+
export { default as ZAI } from "./ZAI";
|
223
224
|
export { default as Zapier } from "./Zapier";
|
224
225
|
export { default as Zeabur } from "./Zeabur";
|
225
226
|
export { default as ZeroOne } from "./ZeroOne";
|
package/es/toc.js
CHANGED
@@ -3607,7 +3607,7 @@ var toc = [{
|
|
3607
3607
|
},
|
3608
3608
|
"title": "TopazLabs"
|
3609
3609
|
}, {
|
3610
|
-
"color": "#
|
3610
|
+
"color": "#32F08C",
|
3611
3611
|
"desc": "https://trae.ai",
|
3612
3612
|
"docsUrl": "trae",
|
3613
3613
|
"fullTitle": "TRAE",
|
@@ -4023,6 +4023,24 @@ var toc = [{
|
|
4023
4023
|
"hasTextColor": false
|
4024
4024
|
},
|
4025
4025
|
"title": "Yuanbao"
|
4026
|
+
}, {
|
4027
|
+
"color": "#000",
|
4028
|
+
"desc": "https://z.ai",
|
4029
|
+
"docsUrl": "zai",
|
4030
|
+
"fullTitle": "Z.ai",
|
4031
|
+
"group": "application",
|
4032
|
+
"id": "ZAI",
|
4033
|
+
"param": {
|
4034
|
+
"hasAvatar": true,
|
4035
|
+
"hasBrand": false,
|
4036
|
+
"hasBrandColor": false,
|
4037
|
+
"hasColor": false,
|
4038
|
+
"hasCombine": true,
|
4039
|
+
"hasText": true,
|
4040
|
+
"hasTextCn": false,
|
4041
|
+
"hasTextColor": false
|
4042
|
+
},
|
4043
|
+
"title": "Z.ai"
|
4026
4044
|
}, {
|
4027
4045
|
"color": "#FF4F00",
|
4028
4046
|
"desc": "https://zapier.com",
|
package/package.json
CHANGED
File without changes
|