@lobehub/icons 1.6.0 → 1.7.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/Anthropic/index.d.ts +0 -1
- package/es/Automatic/index.d.ts +0 -1
- package/es/Aws/index.d.ts +0 -1
- package/es/Azure/components/Avatar.d.ts +5 -0
- package/es/Azure/components/Avatar.js +20 -0
- package/es/Azure/components/Color.d.ts +3 -0
- package/es/Azure/components/Color.js +40 -0
- package/es/Azure/components/Combine.d.ts +7 -0
- package/es/Azure/components/Combine.js +25 -0
- package/es/Azure/components/Mono.d.ts +3 -0
- package/es/Azure/components/Mono.js +38 -0
- package/es/Azure/components/Text.d.ts +3 -0
- package/es/Azure/components/Text.js +31 -0
- package/es/Azure/index.d.ts +14 -0
- package/es/Azure/index.js +13 -0
- package/es/Azure/style.d.ts +3 -0
- package/es/Azure/style.js +3 -0
- package/es/Baichuan/index.d.ts +0 -1
- package/es/Bedrock/index.d.ts +0 -1
- package/es/ChatGLM/index.d.ts +0 -1
- package/es/Cloudflare/components/Avatar.d.ts +5 -0
- package/es/Cloudflare/components/Avatar.js +19 -0
- package/es/Cloudflare/components/Color.d.ts +3 -0
- package/es/Cloudflare/components/Color.js +38 -0
- package/es/Cloudflare/components/Combine.d.ts +7 -0
- package/es/Cloudflare/components/Combine.js +25 -0
- package/es/Cloudflare/components/Mono.d.ts +3 -0
- package/es/Cloudflare/components/Mono.js +36 -0
- package/es/Cloudflare/components/Text.d.ts +3 -0
- package/es/Cloudflare/components/Text.js +31 -0
- package/es/Cloudflare/index.d.ts +14 -0
- package/es/Cloudflare/index.js +13 -0
- package/es/Cloudflare/style.d.ts +3 -0
- package/es/Cloudflare/style.js +3 -0
- package/es/Cohere/index.d.ts +0 -1
- package/es/Dalle/components/Avatar.d.ts +5 -0
- package/es/Dalle/components/Avatar.js +19 -0
- package/es/Dalle/components/Color.d.ts +3 -0
- package/es/Dalle/components/Color.js +47 -0
- package/es/Dalle/components/Combine.js +1 -1
- package/es/Dalle/components/Mono.js +18 -2
- package/es/Dalle/index.d.ts +4 -0
- package/es/Dalle/index.js +4 -0
- package/es/Fireworks/components/Avatar.d.ts +5 -0
- package/es/Fireworks/components/Avatar.js +20 -0
- package/es/Fireworks/components/Combine.d.ts +5 -0
- package/es/Fireworks/components/Combine.js +20 -0
- package/es/Fireworks/components/Mono.d.ts +3 -0
- package/es/Fireworks/components/Mono.js +31 -0
- package/es/Fireworks/components/Text.d.ts +3 -0
- package/es/Fireworks/components/Text.js +31 -0
- package/es/Fireworks/index.d.ts +13 -0
- package/es/Fireworks/index.js +12 -0
- package/es/Fireworks/style.d.ts +4 -0
- package/es/Fireworks/style.js +4 -0
- package/es/Gemini/index.d.ts +0 -1
- package/es/HuggingFace/components/Avatar.d.ts +5 -0
- package/es/HuggingFace/components/Avatar.js +20 -0
- package/es/HuggingFace/components/Color.d.ts +3 -0
- package/es/HuggingFace/components/Color.js +50 -0
- package/es/HuggingFace/components/Combine.d.ts +7 -0
- package/es/HuggingFace/components/Combine.js +25 -0
- package/es/HuggingFace/components/Mono.d.ts +3 -0
- package/es/HuggingFace/components/Mono.js +31 -0
- package/es/HuggingFace/components/Text.d.ts +3 -0
- package/es/HuggingFace/components/Text.js +31 -0
- package/es/HuggingFace/index.d.ts +14 -0
- package/es/HuggingFace/index.js +13 -0
- package/es/HuggingFace/style.d.ts +3 -0
- package/es/HuggingFace/style.js +3 -0
- package/es/Meta/components/Avatar.d.ts +5 -0
- package/es/Meta/components/Avatar.js +19 -0
- package/es/Meta/components/BrandColor.d.ts +3 -0
- package/es/Meta/components/BrandColor.js +283 -0
- package/es/Meta/components/BrandMono.d.ts +3 -0
- package/es/Meta/components/BrandMono.js +31 -0
- package/es/Meta/components/Color.d.ts +3 -0
- package/es/Meta/components/Color.js +268 -0
- package/es/Meta/components/Combine.d.ts +7 -0
- package/es/Meta/components/Combine.js +25 -0
- package/es/Meta/components/Mono.d.ts +3 -0
- package/es/Meta/components/Mono.js +31 -0
- package/es/Meta/components/Text.d.ts +3 -0
- package/es/Meta/components/Text.js +31 -0
- package/es/Meta/index.d.ts +19 -0
- package/es/Meta/index.js +18 -0
- package/es/Meta/style.d.ts +4 -0
- package/es/Meta/style.js +4 -0
- package/es/Midjourney/index.d.ts +0 -1
- package/es/Minimax/index.d.ts +0 -1
- package/es/Mistral/index.d.ts +0 -1
- package/es/Ollama/index.d.ts +0 -1
- package/es/OpenAI/index.d.ts +0 -1
- package/es/Perplexity/components/Avatar.d.ts +5 -0
- package/es/Perplexity/components/Avatar.js +20 -0
- package/es/Perplexity/components/Color.d.ts +3 -0
- package/es/Perplexity/components/Color.js +31 -0
- package/es/Perplexity/components/Combine.d.ts +7 -0
- package/es/Perplexity/components/Combine.js +25 -0
- package/es/Perplexity/components/Mono.d.ts +3 -0
- package/es/Perplexity/components/Mono.js +31 -0
- package/es/Perplexity/components/Text.d.ts +3 -0
- package/es/Perplexity/components/Text.js +31 -0
- package/es/Perplexity/index.d.ts +14 -0
- package/es/Perplexity/index.js +13 -0
- package/es/Perplexity/style.d.ts +3 -0
- package/es/Perplexity/style.js +3 -0
- package/es/Qingyan/index.d.ts +0 -1
- package/es/Replicate/components/Avatar.d.ts +5 -0
- package/es/Replicate/components/Avatar.js +20 -0
- package/es/Replicate/components/BrandMono.d.ts +3 -0
- package/es/Replicate/components/BrandMono.js +31 -0
- package/es/Replicate/components/Mono.d.ts +3 -0
- package/es/Replicate/components/Mono.js +31 -0
- package/es/Replicate/index.d.ts +10 -0
- package/es/Replicate/index.js +9 -0
- package/es/Replicate/style.d.ts +3 -0
- package/es/Replicate/style.js +3 -0
- package/es/Spark/index.d.ts +0 -1
- package/es/Stability/index.d.ts +0 -1
- package/es/Tongyi/index.d.ts +0 -1
- package/es/Wenxin/index.d.ts +0 -1
- package/es/WorkersAI/components/Avatar.d.ts +5 -0
- package/es/WorkersAI/components/Avatar.js +19 -0
- package/es/WorkersAI/components/Color.d.ts +3 -0
- package/es/WorkersAI/components/Color.js +31 -0
- package/es/WorkersAI/components/Combine.d.ts +7 -0
- package/es/WorkersAI/components/Combine.js +25 -0
- package/es/WorkersAI/components/Mono.d.ts +3 -0
- package/es/WorkersAI/components/Mono.js +31 -0
- package/es/WorkersAI/components/Text.d.ts +3 -0
- package/es/WorkersAI/components/Text.js +31 -0
- package/es/WorkersAI/index.d.ts +14 -0
- package/es/WorkersAI/index.js +13 -0
- package/es/WorkersAI/style.d.ts +3 -0
- package/es/WorkersAI/style.js +3 -0
- package/es/Zhipu/index.d.ts +0 -1
- package/es/Zhipu/style.d.ts +1 -1
- package/es/Zhipu/style.js +1 -1
- package/es/hooks/useFillId.d.ts +4 -0
- package/es/hooks/useFillId.js +12 -0
- package/es/index.d.ts +8 -0
- package/es/index.js +8 -0
- package/package.json +1 -1
package/es/Anthropic/index.d.ts
CHANGED
package/es/Automatic/index.d.ts
CHANGED
package/es/Aws/index.d.ts
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
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
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY,
|
|
17
|
+
iconMultiple: 0.6
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
15
|
+
height: size,
|
|
16
|
+
ref: ref,
|
|
17
|
+
style: _objectSpread({
|
|
18
|
+
flex: 'none',
|
|
19
|
+
lineHeight: 1
|
|
20
|
+
}, style),
|
|
21
|
+
viewBox: "0 0 26 25",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
26
|
+
d: "M12.57.982H.908v11.386h11.664V.982z",
|
|
27
|
+
fill: "#F25022"
|
|
28
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M25.462.982H13.8v11.386h11.663V.982z",
|
|
30
|
+
fill: "#7FBA00"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M12.57 13.565H.908V24.95h11.664V13.565z",
|
|
33
|
+
fill: "#00A4EF"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M25.463 13.565H13.8V24.95h11.663V13.565z",
|
|
36
|
+
fill: "#FFB900"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../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,25 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type"];
|
|
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
|
+
import { memo } from 'react';
|
|
7
|
+
import IconCombine from "../../IconCombine";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
9
|
+
import Color from "./Color";
|
|
10
|
+
import Mono from "./Mono";
|
|
11
|
+
import Text from "./Text";
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var _ref$type = _ref.type,
|
|
15
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
|
+
Icon: Icon,
|
|
20
|
+
Text: Text,
|
|
21
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
22
|
+
textMultiple: TEXT_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Combine;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
height: size,
|
|
18
|
+
ref: ref,
|
|
19
|
+
style: _objectSpread({
|
|
20
|
+
flex: 'none',
|
|
21
|
+
lineHeight: 1
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 26 25",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
28
|
+
d: "M12.57.982H.908v11.386h11.664V.982z"
|
|
29
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
30
|
+
d: "M25.462.982H13.8v11.386h11.663V.982z"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M12.57 13.565H.908V24.95h11.664V13.565z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
34
|
+
d: "M25.463 13.565H13.8V24.95h11.663V13.565z"
|
|
35
|
+
})]
|
|
36
|
+
}));
|
|
37
|
+
});
|
|
38
|
+
export default Icon;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
|
+
var _ref$size = _ref.size,
|
|
10
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
|
+
style = _ref.style,
|
|
12
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
height: size,
|
|
17
|
+
ref: ref,
|
|
18
|
+
style: _objectSpread({
|
|
19
|
+
flex: 'none',
|
|
20
|
+
lineHeight: 1,
|
|
21
|
+
width: 'fit-content'
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 179 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M121.957 3.355l6.915 18.325h-3.509l-1.625-4.548H116.5l-1.562 4.548h-3.485l6.916-18.325h3.589zm-1.806 3.4h-.09l-2.717 7.718h5.508l-2.7-7.719zm10.302 1.788h10.517v1.24l-6.904 9.444h6.943v2.453h-11.043v-1.47l6.802-9.213h-6.315V8.543zm24.2 0V21.68h-3.127v-1.724h-.05a4.185 4.185 0 01-1.646 1.398c-.689.337-1.459.506-2.313.506-1.53 0-2.692-.433-3.49-1.298-.799-.864-1.2-2.208-1.2-4.032V8.543h3.141v7.617c0 1.108.219 1.94.66 2.498.439.558 1.102.837 1.99.837.88 0 1.585-.308 2.115-.926.53-.617.793-1.426.793-2.421V8.543h3.127zm8.908-.217c.247 0 .469.017.666.051.196.034.364.076.5.128v3.131c-.164-.12-.398-.232-.71-.338-.312-.107-.69-.16-1.133-.16-.761 0-1.405.32-1.93.958-.525.64-.788 1.624-.788 2.952v6.632h-3.1V8.543h3.1v2.07h.052c.28-.715.71-1.275 1.28-1.68.573-.404 1.26-.607 2.063-.607zm7.673-.05c1.82 0 3.236.554 4.25 1.667 1.01 1.111 1.516 2.648 1.516 4.607v1.494h-9.018c.138 1.32.562 2.243 1.276 2.768.71.524 1.633.785 2.759.785.743 0 1.453-.113 2.126-.339a6.882 6.882 0 001.794-.887v2.544c-.512.323-1.182.585-2.011.784-.829.201-1.712.301-2.653.301-2.007 0-3.566-.592-4.68-1.776-1.116-1.185-1.672-2.832-1.672-4.945 0-2.036.595-3.714 1.787-5.03 1.19-1.316 2.7-1.974 4.526-1.974zm0 2.363c-.741 0-1.407.267-1.996.8-.59.531-.983 1.312-1.18 2.343h5.893c0-1.021-.236-1.8-.71-2.338-.474-.536-1.142-.805-2.007-.805zM21.881 3.355V21.68h-3.19V7.316h-.051l-5.7 14.364h-2.114L4.984 7.316h-.038V21.68H2V3.355h4.573L11.85 16.94h.076L17.5 3.355h4.381zm2.667 1.393c0-.511.186-.939.558-1.284a1.876 1.876 0 011.325-.518c.546 0 1 .177 1.358.53.359.354.538.778.538 1.272 0 .502-.184.925-.55 1.264-.368.342-.816.512-1.346.512-.529 0-.976-.172-1.338-.517a1.668 1.668 0 01-.545-1.259zm.32 16.932h3.1V8.543h-3.1V21.68zm12.503-2.25c.461 0 .97-.104 1.524-.318a6.414 6.414 0 001.538-.844v2.876a6.291 6.291 0 01-1.685.639A9.22 9.22 0 0136.68 22c-1.94 0-3.515-.611-4.728-1.834-1.212-1.221-1.819-2.783-1.819-4.683 0-2.113.62-3.853 1.858-5.22 1.238-1.368 2.993-2.051 5.265-2.051.58 0 1.168.074 1.761.223.594.148 1.065.32 1.416.518v2.964a6.39 6.39 0 00-1.468-.812 4.236 4.236 0 00-1.53-.287c-1.22 0-2.207.396-2.96 1.189-.75.792-1.126 1.862-1.126 3.207 0 1.329.36 2.365 1.082 3.105.722.742 1.701 1.112 2.94 1.112zM49.258 8.327c.248 0 .471.017.667.051.195.034.363.076.5.128v3.131c-.163-.12-.4-.232-.711-.338-.313-.108-.69-.16-1.134-.16-.76 0-1.403.32-1.928.958-.525.64-.787 1.624-.787 2.952v6.632h-3.1V8.544h3.1v2.07h.05c.282-.716.709-1.276 1.281-1.681.572-.404 1.26-.607 2.062-.607zm1.335 6.977c0-2.172.614-3.893 1.843-5.162 1.231-1.27 2.939-1.904 5.124-1.904 2.06 0 3.666.611 4.824 1.834 1.157 1.223 1.735 2.873 1.735 4.952 0 2.13-.614 3.825-1.844 5.085C61.045 21.371 59.371 22 57.253 22c-2.041 0-3.661-.598-4.86-1.795-1.201-1.197-1.8-2.83-1.8-4.902zm3.228-.101c0 1.37.31 2.42.935 3.143.622.724 1.515 1.086 2.677 1.086 1.128 0 1.985-.362 2.574-1.086.59-.723.884-1.797.884-3.22 0-1.415-.305-2.482-.915-3.2-.611-.721-1.468-1.082-2.568-1.082-1.137 0-2.019.377-2.646 1.132-.628.754-.941 1.829-.941 3.227zm14.91-3.208c0 .443.141.79.422 1.042.283.25.905.568 1.871.951 1.238.495 2.108 1.051 2.607 1.67.5.615.749 1.364.749 2.24 0 1.237-.476 2.23-1.428 2.979-.951.75-2.24 1.124-3.862 1.124a9.273 9.273 0 01-1.813-.198c-.662-.132-1.223-.3-1.685-.506v-3.04c.564.391 1.17.703 1.82.933.649.23 1.238.344 1.768.344.699 0 1.216-.097 1.55-.294.331-.195.499-.523.499-.982 0-.427-.172-.787-.519-1.081-.346-.294-1-.633-1.966-1.016-1.144-.477-1.956-1.014-2.434-1.61-.477-.596-.718-1.354-.718-2.275 0-1.185.473-2.158 1.416-2.92.944-.763 2.167-1.143 3.67-1.143.46 0 .978.05 1.55.152.573.103 1.051.235 1.435.396v2.94a6.63 6.63 0 00-1.435-.703 4.797 4.797 0 00-1.626-.294c-.59 0-1.049.115-1.378.345-.328.23-.494.546-.494.946zm6.982 3.31c0-2.173.614-3.894 1.844-5.163 1.23-1.27 2.937-1.904 5.124-1.904 2.059 0 3.666.611 4.824 1.834 1.157 1.223 1.735 2.873 1.735 4.952 0 2.13-.616 3.825-1.844 5.085C86.166 21.371 84.491 22 82.373 22c-2.04 0-3.66-.598-4.861-1.795-1.2-1.197-1.799-2.83-1.799-4.902zm3.227-.102c0 1.37.313 2.42.935 3.143.625.724 1.517 1.086 2.677 1.086 1.128 0 1.987-.362 2.576-1.086.588-.723.883-1.797.883-3.22 0-1.415-.304-2.482-.916-3.2-.609-.721-1.467-1.082-2.567-1.082-1.136 0-2.018.377-2.646 1.132-.628.754-.942 1.829-.942 3.227zm20.584-4.128h-4.618V21.68H91.77V11.074h-2.203v-2.53h2.203V6.716c0-1.38.45-2.511 1.352-3.393C94.021 2.44 95.177 2 96.586 2c.376 0 .708.02.998.058.292.038.548.095.77.172v2.672a3.233 3.233 0 00-.54-.218 2.792 2.792 0 00-.883-.128c-.648 0-1.148.202-1.498.607-.35.405-.527 1.004-.527 1.795v1.586h4.618V5.592l3.113-.946v3.898h3.138v2.53h-3.138v6.146c0 .81.147 1.38.442 1.712.294.334.758.499 1.391.499.178 0 .394-.042.647-.128.25-.085.47-.186.658-.306v2.556c-.196.112-.523.213-.98.307-.457.093-.906.14-1.35.14-1.308 0-2.287-.347-2.942-1.043-.653-.692-.98-1.739-.98-3.136v-6.747z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -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
|
+
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
|
+
};
|
|
13
|
+
declare const Icons: CompoundedIcon;
|
|
14
|
+
export default Icons;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 } 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
|
+
export default Icons;
|
package/es/Baichuan/index.d.ts
CHANGED
package/es/Bedrock/index.d.ts
CHANGED
package/es/ChatGLM/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
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
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY
|
|
17
|
+
}, rest));
|
|
18
|
+
});
|
|
19
|
+
export default Avatar;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
height: size,
|
|
16
|
+
ref: ref,
|
|
17
|
+
style: _objectSpread({
|
|
18
|
+
flex: 'none',
|
|
19
|
+
lineHeight: 1
|
|
20
|
+
}, style),
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
26
|
+
fill: "none",
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437",
|
|
30
|
+
fill: "#F38020"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777",
|
|
33
|
+
fill: "#FCAD32"
|
|
34
|
+
})]
|
|
35
|
+
})
|
|
36
|
+
}));
|
|
37
|
+
});
|
|
38
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../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,25 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type"];
|
|
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
|
+
import { memo } from 'react';
|
|
7
|
+
import IconCombine from "../../IconCombine";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
9
|
+
import Color from "./Color";
|
|
10
|
+
import Mono from "./Mono";
|
|
11
|
+
import Text from "./Text";
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var _ref$type = _ref.type,
|
|
15
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
|
+
Icon: Icon,
|
|
20
|
+
Text: Text,
|
|
21
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
22
|
+
textMultiple: TEXT_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Combine;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
height: size,
|
|
18
|
+
ref: ref,
|
|
19
|
+
style: _objectSpread({
|
|
20
|
+
flex: 'none',
|
|
21
|
+
lineHeight: 1
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777"
|
|
32
|
+
})]
|
|
33
|
+
})
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
36
|
+
export default Icon;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
9
|
+
var _ref$size = _ref.size,
|
|
10
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
11
|
+
style = _ref.style,
|
|
12
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
height: size,
|
|
17
|
+
ref: ref,
|
|
18
|
+
style: _objectSpread({
|
|
19
|
+
flex: 'none',
|
|
20
|
+
lineHeight: 1,
|
|
21
|
+
width: 'fit-content'
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 242 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M28.4 2.395h5.386v14.606h9.326v4.736H28.4V2.395zM16.71 14.369c-.787 1.71-2.363 2.894-4.465 2.894-2.89 0-4.86-2.368-4.86-5.263 0-2.764 1.97-5.132 4.86-5.132 2.232 0 3.81 1.316 4.597 3.158h5.647C21.571 5.421 17.5 2 12.377 2 6.467 2 2 6.474 2 12s4.335 10 10.377 10c5.122 0 9.062-3.289 10.112-7.763H16.71v.132zM224.37 2.395h15.499v4.606h-10.114v2.894h9.194v4.21h-9.194v3.027H240v4.605h-15.63V2.395zm-24.693 0h9.062c2.89 0 4.991.79 6.305 2.105 1.182 1.052 1.708 2.632 1.708 4.474 0 2.894-1.576 4.868-3.94 5.921l4.596 6.71h-6.174l-3.939-5.79h-2.365v5.79h-5.386V2.395h.133zm8.8 9.211c1.838 0 2.889-.921 2.889-2.238 0-1.579-1.05-2.237-2.89-2.237l-3.546.001v4.605h3.547v-.13zm-29.028-9.343h5.122l8.144 19.474h-5.78l-1.444-3.421h-7.486l-1.315 3.42h-5.516l8.275-19.473zm4.598 11.842l-2.103-5.526-2.232 5.526h4.335zm-33.232-11.71h5.386v14.606h9.325v4.736h-14.711V2.395zm-22.854 0h15.367v4.737h-9.981v3.158h9.062v4.474h-9.062v6.973h-5.386V2.395zm-26.007 0h7.488c6.829 0 10.9 3.947 10.9 9.473 0 5.526-4.071 9.737-11.032 9.737h-7.356V2.395zm7.488 14.606c3.151 0 5.253-1.712 5.253-4.87 0-3.025-2.102-4.868-5.253-4.868h-2.233v9.87h2.233V17zm-33.625-3.816V2.395H81.2v10.658c0 2.763 1.445 4.078 3.547 4.078 2.101 0 3.547-1.315 3.547-3.946V2.263h5.385v10.659c0 6.183-3.548 8.946-9.063 8.946-5.386.132-8.8-2.63-8.8-8.683zm-27.19-1.053C48.628 6.474 53.095 2 59.006 2c5.91 0 10.375 4.474 10.375 10s-4.465 10-10.375 10c-6.042 0-10.377-4.342-10.377-9.868zm15.237 0c0-2.896-1.97-5.264-4.99-5.264-2.891 0-4.861 2.368-4.861 5.132s1.97 5.263 4.86 5.263c3.02 0 4.99-2.368 4.99-5.131z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -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
|
+
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
|
+
};
|
|
13
|
+
declare const Icons: CompoundedIcon;
|
|
14
|
+
export default Icons;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 } 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
|
+
export default Icons;
|
package/es/Cohere/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
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
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Color from "./Color";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Color,
|
|
16
|
+
background: background || COLOR_PRIMARY
|
|
17
|
+
}, rest));
|
|
18
|
+
});
|
|
19
|
+
export default Avatar;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
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
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
height: size,
|
|
16
|
+
ref: ref,
|
|
17
|
+
style: _objectSpread({
|
|
18
|
+
flex: 'none',
|
|
19
|
+
lineHeight: 1
|
|
20
|
+
}, style),
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
26
|
+
fill: "none",
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M0 10h4.8v5H0z",
|
|
30
|
+
fill: "#FFFF67"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M4.8 10h4.8v5H4.8z",
|
|
33
|
+
fill: "#43FFFF"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M9.6 10h4.8v5H9.6z",
|
|
36
|
+
fill: "#51DA4B"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M14.4 10h4.8v5h-4.8z",
|
|
39
|
+
fill: "#FF6E3D"
|
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
+
d: "M19.2 10H24v5h-4.8z",
|
|
42
|
+
fill: "#3C46FF"
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
}));
|
|
46
|
+
});
|
|
47
|
+
export default Icon;
|