@lobehub/icons 1.2.1 → 1.3.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/Baichuan/components/Avatar.d.ts +5 -0
- package/es/Baichuan/components/Avatar.js +19 -0
- package/es/Baichuan/components/Color.d.ts +3 -0
- package/es/Baichuan/components/Color.js +94 -0
- package/es/Baichuan/components/Combine.d.ts +7 -0
- package/es/Baichuan/components/Combine.js +29 -0
- package/es/Baichuan/components/Mono.d.ts +3 -0
- package/es/Baichuan/components/Mono.js +92 -0
- package/es/Baichuan/components/Text.d.ts +3 -0
- package/es/Baichuan/components/Text.js +35 -0
- package/es/Baichuan/index.d.ts +15 -0
- package/es/Baichuan/index.js +13 -0
- package/es/Baichuan/style.d.ts +4 -0
- package/es/Baichuan/style.js +4 -0
- package/es/Cohere/components/Avatar.d.ts +5 -0
- package/es/Cohere/components/Avatar.js +19 -0
- package/es/Cohere/components/Color.d.ts +3 -0
- package/es/Cohere/components/Color.js +41 -0
- package/es/Cohere/components/Combine.d.ts +7 -0
- package/es/Cohere/components/Combine.js +29 -0
- package/es/Cohere/components/Mono.d.ts +3 -0
- package/es/Cohere/components/Mono.js +38 -0
- package/es/Cohere/components/Text.d.ts +3 -0
- package/es/Cohere/components/Text.js +31 -0
- package/es/Cohere/index.d.ts +15 -0
- package/es/Cohere/index.js +13 -0
- package/es/Cohere/style.d.ts +3 -0
- package/es/Cohere/style.js +3 -0
- package/es/IconCombine/index.d.ts +1 -0
- package/es/IconCombine/index.js +7 -2
- package/es/Minimax/components/Avatar.d.ts +5 -0
- package/es/Minimax/components/Avatar.js +24 -0
- package/es/Minimax/components/Color.d.ts +3 -0
- package/es/Minimax/components/Color.js +71 -0
- package/es/Minimax/components/Combine.d.ts +7 -0
- package/es/Minimax/components/Combine.js +29 -0
- package/es/Minimax/components/Mono.d.ts +3 -0
- package/es/Minimax/components/Mono.js +34 -0
- package/es/Minimax/components/Text.d.ts +3 -0
- package/es/Minimax/components/Text.js +37 -0
- package/es/Minimax/index.d.ts +16 -0
- package/es/Minimax/index.js +14 -0
- package/es/Minimax/style.d.ts +4 -0
- package/es/Minimax/style.js +4 -0
- package/es/Ollama/components/Avatar.d.ts +5 -0
- package/es/Ollama/components/Avatar.js +20 -0
- package/es/Ollama/components/Combine.d.ts +5 -0
- package/es/Ollama/components/Combine.js +20 -0
- package/es/Ollama/components/Mono.d.ts +3 -0
- package/es/Ollama/components/Mono.js +36 -0
- package/es/Ollama/components/Text.d.ts +5 -0
- package/es/Ollama/components/Text.js +25 -0
- package/es/Ollama/index.d.ts +13 -0
- package/es/Ollama/index.js +11 -0
- package/es/Ollama/style.d.ts +3 -0
- package/es/Ollama/style.js +3 -0
- package/es/Spark/components/Avatar.d.ts +5 -0
- package/es/Spark/components/Avatar.js +19 -0
- package/es/Spark/components/Color.d.ts +3 -0
- package/es/Spark/components/Color.js +39 -0
- package/es/Spark/components/Combine.d.ts +7 -0
- package/es/Spark/components/Combine.js +25 -0
- package/es/Spark/components/Mono.d.ts +3 -0
- package/es/Spark/components/Mono.js +34 -0
- package/es/Spark/components/Text.d.ts +3 -0
- package/es/Spark/components/Text.js +41 -0
- package/es/Spark/index.d.ts +15 -0
- package/es/Spark/index.js +13 -0
- package/es/Spark/style.d.ts +3 -0
- package/es/Spark/style.js +3 -0
- package/es/index.d.ts +5 -0
- package/es/index.js +5 -0
- package/package.json +3 -4
|
@@ -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_GRADIENT } 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_GRADIENT
|
|
17
|
+
}, rest));
|
|
18
|
+
});
|
|
19
|
+
export default Avatar;
|
|
@@ -0,0 +1,94 @@
|
|
|
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 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
26
|
+
d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2z",
|
|
27
|
+
fill: "url(#a)"
|
|
28
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M14.667 2h-5.2v20h5.2V2z",
|
|
30
|
+
fill: "url(#b)"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M16.8 7.733H22V22h-5.2V7.733z",
|
|
33
|
+
fill: "url(#c)"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M22 2h-5.2v4.133H22V2z",
|
|
36
|
+
fill: "url(#d)"
|
|
37
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
38
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
39
|
+
gradientUnits: "userSpaceOnUse",
|
|
40
|
+
id: "a",
|
|
41
|
+
x1: "0",
|
|
42
|
+
x2: "24.091",
|
|
43
|
+
y1: "2",
|
|
44
|
+
y2: "23.818",
|
|
45
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
46
|
+
stopColor: "#FEC13E"
|
|
47
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
48
|
+
offset: "1",
|
|
49
|
+
stopColor: "#FF6933"
|
|
50
|
+
})]
|
|
51
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
52
|
+
gradientUnits: "userSpaceOnUse",
|
|
53
|
+
id: "b",
|
|
54
|
+
x1: "0",
|
|
55
|
+
x2: "24.091",
|
|
56
|
+
y1: "2",
|
|
57
|
+
y2: "23.818",
|
|
58
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
59
|
+
stopColor: "#FEC13E"
|
|
60
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
61
|
+
offset: "1",
|
|
62
|
+
stopColor: "#FF6933"
|
|
63
|
+
})]
|
|
64
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
65
|
+
gradientUnits: "userSpaceOnUse",
|
|
66
|
+
id: "c",
|
|
67
|
+
x1: "0",
|
|
68
|
+
x2: "24.091",
|
|
69
|
+
y1: "2",
|
|
70
|
+
y2: "23.818",
|
|
71
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
72
|
+
stopColor: "#FEC13E"
|
|
73
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
74
|
+
offset: "1",
|
|
75
|
+
stopColor: "#FF6933"
|
|
76
|
+
})]
|
|
77
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
78
|
+
gradientUnits: "userSpaceOnUse",
|
|
79
|
+
id: "d",
|
|
80
|
+
x1: "0",
|
|
81
|
+
x2: "24.091",
|
|
82
|
+
y1: "2",
|
|
83
|
+
y2: "23.818",
|
|
84
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
85
|
+
stopColor: "#FEC13E"
|
|
86
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
87
|
+
offset: "1",
|
|
88
|
+
stopColor: "#FF6933"
|
|
89
|
+
})]
|
|
90
|
+
})]
|
|
91
|
+
})]
|
|
92
|
+
}));
|
|
93
|
+
});
|
|
94
|
+
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,29 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type", "extraStyle"];
|
|
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
|
+
extraStyle = _ref.extraStyle,
|
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
19
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
20
|
+
Icon: Icon,
|
|
21
|
+
Text: Text,
|
|
22
|
+
extraStyle: _objectSpread({
|
|
23
|
+
fontWeight: 500
|
|
24
|
+
}, extraStyle),
|
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
|
27
|
+
}, rest));
|
|
28
|
+
});
|
|
29
|
+
export default Combine;
|
|
@@ -0,0 +1,92 @@
|
|
|
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 24 24",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
28
|
+
d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2z"
|
|
29
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
30
|
+
d: "M14.667 2h-5.2v20h5.2V2z"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M16.8 7.733H22V22h-5.2V7.733z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
34
|
+
d: "M22 2h-5.2v4.133H22V2z"
|
|
35
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
36
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
37
|
+
gradientUnits: "userSpaceOnUse",
|
|
38
|
+
id: "a",
|
|
39
|
+
x1: "0",
|
|
40
|
+
x2: "24.091",
|
|
41
|
+
y1: "2",
|
|
42
|
+
y2: "23.818",
|
|
43
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
44
|
+
stopColor: "#FEC13E"
|
|
45
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
46
|
+
offset: "1",
|
|
47
|
+
stopColor: "#FF6933"
|
|
48
|
+
})]
|
|
49
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
50
|
+
gradientUnits: "userSpaceOnUse",
|
|
51
|
+
id: "b",
|
|
52
|
+
x1: "0",
|
|
53
|
+
x2: "24.091",
|
|
54
|
+
y1: "2",
|
|
55
|
+
y2: "23.818",
|
|
56
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
57
|
+
stopColor: "#FEC13E"
|
|
58
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
59
|
+
offset: "1",
|
|
60
|
+
stopColor: "#FF6933"
|
|
61
|
+
})]
|
|
62
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
63
|
+
gradientUnits: "userSpaceOnUse",
|
|
64
|
+
id: "c",
|
|
65
|
+
x1: "0",
|
|
66
|
+
x2: "24.091",
|
|
67
|
+
y1: "2",
|
|
68
|
+
y2: "23.818",
|
|
69
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
70
|
+
stopColor: "#FEC13E"
|
|
71
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
72
|
+
offset: "1",
|
|
73
|
+
stopColor: "#FF6933"
|
|
74
|
+
})]
|
|
75
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
76
|
+
gradientUnits: "userSpaceOnUse",
|
|
77
|
+
id: "d",
|
|
78
|
+
x1: "0",
|
|
79
|
+
x2: "24.091",
|
|
80
|
+
y1: "2",
|
|
81
|
+
y2: "23.818",
|
|
82
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
83
|
+
stopColor: "#FEC13E"
|
|
84
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
85
|
+
offset: "1",
|
|
86
|
+
stopColor: "#FF6933"
|
|
87
|
+
})]
|
|
88
|
+
})]
|
|
89
|
+
})]
|
|
90
|
+
}));
|
|
91
|
+
});
|
|
92
|
+
export default Icon;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
width: 'fit-content'
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 45 24",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M2 2v2.712h8.136L9.57 7.198H4.26v14.576h2.712v-1.356h9.717v1.356h2.938V7.198H12.51l.677-2.486h8.362V2H2zm4.972 16.045v-2.938h9.717v2.825l-9.717.113zm0-8.361v2.937l9.717-.113V9.684H6.972z"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M28.893 2.113h-2.825v10.735c0 1.92-1.133 4.988-2.712 7.231L25.729 22c1.873-2.578 3.164-6.667 3.164-8.927V2.113zM32.96 3.017h2.712v16.61h-2.711V3.017zM42.452 2H39.74v19.661h2.712V2z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
export default Icon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Mono: typeof Mono;
|
|
11
|
+
Text: typeof Text;
|
|
12
|
+
colorPrimary: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
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;
|
|
@@ -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,41 @@
|
|
|
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 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0018.1 1H7.549A6.55 6.55 0 001 7.55c0 3.617 2.745 6.549 7.128 6.549z",
|
|
28
|
+
fill: "#39594D",
|
|
29
|
+
fillRule: "evenodd"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M9.912 18.61a4.387 4.387 0 012.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 01-5.105 5.104l-3.597-.001a4.386 4.386 0 01-4.386-4.387z",
|
|
33
|
+
fill: "#D18EE2",
|
|
34
|
+
fillRule: "evenodd"
|
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
36
|
+
d: "M4.776 14.962A3.775 3.775 0 001 18.738v.489a3.776 3.776 0 007.551 0v-.49a3.775 3.775 0 00-3.775-3.775z",
|
|
37
|
+
fill: "#FF7759"
|
|
38
|
+
})]
|
|
39
|
+
}));
|
|
40
|
+
});
|
|
41
|
+
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,29 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type", "extraStyle"];
|
|
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
|
+
extraStyle = _ref.extraStyle,
|
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
19
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
20
|
+
Icon: Icon,
|
|
21
|
+
Text: Text,
|
|
22
|
+
extraStyle: _objectSpread({
|
|
23
|
+
fontWeight: 500
|
|
24
|
+
}, extraStyle),
|
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
|
27
|
+
}, rest));
|
|
28
|
+
});
|
|
29
|
+
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 24 24",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0018.1 1H7.549A6.55 6.55 0 001 7.55c0 3.617 2.745 6.549 7.128 6.549z"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M9.912 18.61a4.387 4.387 0 012.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 01-5.105 5.104l-3.597-.001a4.386 4.386 0 01-4.386-4.387z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
34
|
+
d: "M4.776 14.962A3.775 3.775 0 001 18.738v.489a3.776 3.776 0 007.551 0v-.49a3.775 3.775 0 00-3.775-3.775z"
|
|
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 102 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M9.589 21.996c3.12 0 5.85-1.56 6.929-4.709.21-.63-.091-1.05-.69-1.05h-1.17c-.54 0-.9.24-1.141.75-.93 1.83-2.22 2.488-3.839 2.488-2.88 0-4.65-2.01-4.65-5.369 0-3.358 1.831-5.369 4.589-5.369 1.68 0 3.06.72 3.93 2.43.27.51.598.749 1.14.749h1.17c.6 0 .9-.39.69-.96-1.259-3.42-4.08-4.74-6.958-4.74C5.24 6.217 2 9.428 2 14.107c0 4.68 3.09 7.89 7.589 7.89zm78.496-9.27c.389-2.55 2.129-4.14 4.499-4.14 2.37 0 4.14 1.62 4.349 4.14h-8.848zm4.62 9.27c2.76 0 5.519-1.29 6.869-4.199.33-.69.03-1.17-.57-1.17h-1.109c-.539 0-.87.239-1.14.72-.9 1.589-2.46 2.249-4.048 2.249-2.73 0-4.5-1.86-4.71-4.889h11.01c.6 0 .99-.33.99-.96-.12-4.71-3.178-7.528-7.409-7.528-4.23 0-7.589 3.06-7.589 7.89 0 4.829 3.27 7.889 7.71 7.889l-.005-.002zm-17.458-7.498h.99c.6 0 .93-.33 1.02-.961.572-4.053 2.944-4.59 5.467-4.47.54.026.982-.39.982-.93v-.93c0-.599-.3-.96-.9-.99-2.232-.085-4.224.681-5.375 2.85-.063.119-.241.087-.256-.046l-.186-1.636c-.06-.599-.39-.9-.99-.9h-4.53c-.529 0-.96.43-.96.961v.51c0 .53.43.961.96.961h1.86c.53 0 .962.43.962.96v3.66c0 .529.43.96.96.96h-.004zm-4.048 7.2h9.387c.6 0 .961-.36.961-.962v-.51c0-.598-.36-.96-.96-.96h-2.4c-.6 0-.961-.36-.961-.961v-1.65c0-.6-.36-.962-.961-.962h-1.02c-.599 0-.96.36-.96.961v1.651c0 .599-.36.96-.962.96h-2.129c-.599 0-.96.36-.96.962v.51c0 .599.36.96.96.96h.005zm-14.489-8.97c.39-2.55 2.13-4.139 4.5-4.139s4.14 1.619 4.349 4.14H56.71zm4.62 9.27c2.76 0 5.52-1.289 6.87-4.199.33-.69.03-1.17-.57-1.17h-1.108c-.54 0-.87.239-1.141.72-.9 1.589-2.46 2.249-4.049 2.249-2.73 0-4.499-1.86-4.708-4.889h11.009c.599 0 .99-.33.99-.96-.12-4.71-3.178-7.528-7.41-7.528-4.23 0-7.588 3.06-7.588 7.89 0 4.829 3.27 7.889 7.71 7.889l-.005-.002zm-34.703 0c4.5 0 7.71-3.33 7.71-7.89s-3.21-7.89-7.71-7.89c-4.499 0-7.71 3.391-7.71 7.89 0 1.05.18 2.22.72 3.51.271.63.781.719 1.32.33l.87-.631c.451-.33.57-.72.42-1.29-.24-.748-.301-1.409-.301-1.978 0-3.149 1.89-5.31 4.68-5.31 2.788 0 4.678 2.13 4.678 5.37s-1.86 5.368-4.62 5.368c-.96 0-1.86-.18-2.94-.99-.45-.36-.869-.42-1.35-.06l-.66.481c-.54.39-.598.93-.09 1.35 1.56 1.26 3.358 1.74 4.98 1.74h.003zm11.517-.3h.99c.53 0 .962-.43.962-.962V13.57c0-3.029 1.618-4.83 4.139-4.83 2.28 0 3.6 1.5 3.6 4.26v7.74c0 .529.43.96.96.96h1.02c.53 0 .961-.43.961-.96v-8.22c0-4.048-2.07-6.298-5.578-6.298-2.39 0-3.801.978-4.855 2.338a.136.136 0 01-.243-.082V1.96A.97.97 0 0039.135 1h-.99c-.53 0-.962.43-.962.96v18.777c0 .529.43.96.961.96z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Mono: typeof Mono;
|
|
11
|
+
Text: typeof Text;
|
|
12
|
+
colorPrimary: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
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/IconCombine/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["Icon", "Text", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName"];
|
|
3
|
+
var _excluded = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName"];
|
|
4
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
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
6
|
import { memo } from 'react';
|
|
@@ -9,7 +9,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
9
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
var IconCombine = /*#__PURE__*/memo(function (_ref) {
|
|
11
11
|
var Icon = _ref.Icon,
|
|
12
|
+
style = _ref.style,
|
|
12
13
|
Text = _ref.Text,
|
|
14
|
+
color = _ref.color,
|
|
13
15
|
_ref$size = _ref.size,
|
|
14
16
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
15
17
|
_ref$spaceMultiple = _ref.spaceMultiple,
|
|
@@ -27,7 +29,10 @@ var IconCombine = /*#__PURE__*/memo(function (_ref) {
|
|
|
27
29
|
return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
|
|
28
30
|
align: 'center',
|
|
29
31
|
flex: 'none',
|
|
30
|
-
horizontal: true
|
|
32
|
+
horizontal: true,
|
|
33
|
+
style: _objectSpread({
|
|
34
|
+
color: color
|
|
35
|
+
}, style)
|
|
31
36
|
}, rest), {}, {
|
|
32
37
|
children: [showLogo && /*#__PURE__*/_jsx(Icon, {
|
|
33
38
|
size: size,
|