@lobehub/icons 1.3.0 → 1.5.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/Automatic/components/Avatar.d.ts +5 -0
- package/es/Automatic/components/Avatar.js +19 -0
- package/es/Automatic/components/Color.d.ts +3 -0
- package/es/Automatic/components/Color.js +46 -0
- package/es/Automatic/components/Combine.d.ts +7 -0
- package/es/Automatic/components/Combine.js +25 -0
- package/es/Automatic/components/Mono.d.ts +3 -0
- package/es/Automatic/components/Mono.js +46 -0
- package/es/Automatic/components/Text.d.ts +1 -0
- package/es/Automatic/components/Text.js +1 -0
- package/es/Automatic/index.d.ts +15 -0
- package/es/Automatic/index.js +13 -0
- package/es/Automatic/style.d.ts +3 -0
- package/es/Automatic/style.js +3 -0
- package/es/Aws/components/Avatar.d.ts +5 -0
- package/es/Aws/components/Avatar.js +20 -0
- package/es/Aws/components/BrandColor.d.ts +3 -0
- package/es/Aws/components/BrandColor.js +37 -0
- package/es/Aws/components/BrandMono.d.ts +3 -0
- package/es/Aws/components/BrandMono.js +36 -0
- package/es/Aws/components/Color.d.ts +3 -0
- package/es/Aws/components/Color.js +37 -0
- package/es/Aws/components/Combine.d.ts +7 -0
- package/es/Aws/components/Combine.js +25 -0
- package/es/Aws/components/Mono.d.ts +3 -0
- package/es/Aws/components/Mono.js +36 -0
- package/es/Aws/components/Text.d.ts +3 -0
- package/es/Aws/components/Text.js +31 -0
- package/es/Aws/index.d.ts +19 -0
- package/es/Aws/index.js +17 -0
- package/es/Aws/style.d.ts +3 -0
- package/es/Aws/style.js +3 -0
- package/es/Baichuan/components/Color.js +18 -61
- package/es/Baichuan/components/Mono.js +4 -65
- package/es/Baichuan/components/Text.js +4 -8
- package/es/Bedrock/components/Avatar.d.ts +5 -0
- package/es/Bedrock/components/Avatar.js +20 -0
- package/es/Bedrock/components/Color.d.ts +3 -0
- package/es/Bedrock/components/Color.js +50 -0
- package/es/Bedrock/components/Combine.d.ts +7 -0
- package/es/Bedrock/components/Combine.js +25 -0
- package/es/Bedrock/components/Mono.d.ts +3 -0
- package/es/Bedrock/components/Mono.js +31 -0
- package/es/Bedrock/components/Text.d.ts +3 -0
- package/es/Bedrock/components/Text.js +31 -0
- package/es/Bedrock/index.d.ts +16 -0
- package/es/Bedrock/index.js +14 -0
- package/es/Bedrock/style.d.ts +4 -0
- package/es/Bedrock/style.js +4 -0
- package/es/Dalle/style.d.ts +1 -1
- package/es/Dalle/style.js +1 -1
- package/es/IconCombine/index.d.ts +1 -1
- package/es/IconCombine/index.js +1 -1
- package/es/Minimax/components/Color.js +18 -38
- package/es/Minimax/components/Mono.js +4 -7
- package/es/Minimax/components/Text.js +4 -10
- package/es/Mistral/components/Avatar.d.ts +5 -0
- package/es/Mistral/components/Avatar.js +21 -0
- package/es/Mistral/components/Color.d.ts +3 -0
- package/es/Mistral/components/Color.js +50 -0
- package/es/Mistral/components/Combine.d.ts +7 -0
- package/es/Mistral/components/Combine.js +25 -0
- package/es/Mistral/components/Mono.d.ts +3 -0
- package/es/Mistral/components/Mono.js +49 -0
- package/es/Mistral/components/Text.d.ts +3 -0
- package/es/Mistral/components/Text.js +31 -0
- package/es/Mistral/index.d.ts +16 -0
- package/es/Mistral/index.js +14 -0
- package/es/Mistral/style.d.ts +4 -0
- package/es/Mistral/style.js +4 -0
- package/es/Ollama/components/Mono.js +4 -9
- package/es/Ollama/components/Text.d.ts +2 -4
- package/es/Ollama/components/Text.js +13 -7
- package/es/Ollama/style.d.ts +1 -1
- package/es/Ollama/style.js +1 -1
- package/es/Qingyan/components/Avatar.d.ts +5 -0
- package/es/Qingyan/components/Avatar.js +19 -0
- package/es/Qingyan/components/Color.d.ts +3 -0
- package/es/Qingyan/components/Color.js +38 -0
- package/es/Qingyan/components/Combine.d.ts +7 -0
- package/es/Qingyan/components/Combine.js +25 -0
- package/es/Qingyan/components/Mono.d.ts +3 -0
- package/es/Qingyan/components/Mono.js +36 -0
- package/es/Qingyan/components/Text.d.ts +3 -0
- package/es/Qingyan/components/Text.js +31 -0
- package/es/Qingyan/index.d.ts +15 -0
- package/es/Qingyan/index.js +13 -0
- package/es/Qingyan/style.d.ts +3 -0
- package/es/Qingyan/style.js +3 -0
- package/es/Stability/components/Avatar.d.ts +5 -0
- package/es/Stability/components/Avatar.js +19 -0
- package/es/Stability/components/BrandColor.d.ts +3 -0
- package/es/Stability/components/BrandColor.js +57 -0
- package/es/Stability/components/BrandMono.d.ts +3 -0
- package/es/Stability/components/BrandMono.js +36 -0
- package/es/Stability/components/Color.d.ts +3 -0
- package/es/Stability/components/Color.js +57 -0
- package/es/Stability/components/Combine.d.ts +7 -0
- package/es/Stability/components/Combine.js +25 -0
- package/es/Stability/components/Mono.d.ts +3 -0
- package/es/Stability/components/Mono.js +36 -0
- package/es/Stability/components/Text.d.ts +3 -0
- package/es/Stability/components/Text.js +31 -0
- package/es/Stability/index.d.ts +20 -0
- package/es/Stability/index.js +18 -0
- package/es/Stability/style.d.ts +4 -0
- package/es/Stability/style.js +4 -0
- package/es/Zhipu/components/Color.js +4 -11
- package/es/Zhipu/components/Mono.js +2 -7
- package/es/Zhipu/components/Text.js +2 -2
- package/es/Zhipu/style.d.ts +1 -1
- package/es/Zhipu/style.js +1 -1
- package/es/components/ColorPreview/index.js +15 -18
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ var _excluded = ["size", "style"];
|
|
|
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 { forwardRef } from 'react';
|
|
7
|
+
import { useFillId } from "../../hooks/useFillId";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
@@ -11,6 +12,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
11
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
13
|
style = _ref.style,
|
|
13
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
var _useFillId = useFillId('baichuan'),
|
|
16
|
+
id = _useFillId.id,
|
|
17
|
+
fill = _useFillId.fill;
|
|
14
18
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
15
19
|
height: size,
|
|
16
20
|
ref: ref,
|
|
@@ -22,72 +26,25 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
22
26
|
width: size,
|
|
23
27
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24
28
|
}, rest), {}, {
|
|
25
|
-
children: [/*#__PURE__*/_jsx("
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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",
|
|
29
|
+
children: [/*#__PURE__*/_jsx("defs", {
|
|
30
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
31
|
+
id: id,
|
|
32
|
+
x1: "17.764%",
|
|
33
|
+
x2: "100%",
|
|
34
|
+
y1: "8.678%",
|
|
35
|
+
y2: "91.322%",
|
|
58
36
|
children: [/*#__PURE__*/_jsx("stop", {
|
|
37
|
+
offset: "0%",
|
|
59
38
|
stopColor: "#FEC13E"
|
|
60
39
|
}), /*#__PURE__*/_jsx("stop", {
|
|
61
|
-
offset: "
|
|
40
|
+
offset: "100%",
|
|
62
41
|
stopColor: "#FF6933"
|
|
63
42
|
})]
|
|
64
|
-
})
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
})]
|
|
43
|
+
})
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2zm7.334 0h-5.2v20h5.2V2zM16.8 7.733H22V22h-5.2V7.733zM22 2h-5.2v4.133H22V2z",
|
|
46
|
+
fill: fill,
|
|
47
|
+
fillRule: "nonzero"
|
|
91
48
|
})]
|
|
92
49
|
}));
|
|
93
50
|
});
|
|
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
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 { forwardRef } from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
14
|
fill: "currentColor",
|
|
16
15
|
fillRule: "evenodd",
|
|
17
16
|
height: size,
|
|
@@ -24,69 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
24
23
|
width: size,
|
|
25
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26
25
|
}, rest), {}, {
|
|
27
|
-
children:
|
|
28
|
-
d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333
|
|
29
|
-
})
|
|
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
|
-
})]
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2zm7.334 0h-5.2v20h5.2V2zM16.8 7.733H22V22h-5.2V7.733zM22 2h-5.2v4.133H22V2z"
|
|
28
|
+
})
|
|
90
29
|
}));
|
|
91
30
|
});
|
|
92
31
|
export default Icon;
|
|
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
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 { forwardRef } from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
14
|
fill: "currentColor",
|
|
16
15
|
fillRule: "evenodd",
|
|
17
16
|
height: size,
|
|
@@ -24,12 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
24
23
|
viewBox: "0 0 45 24",
|
|
25
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26
25
|
}, rest), {}, {
|
|
27
|
-
children:
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
})]
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
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.972zm21.921-7.571h-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.113zm4.067.904h2.712v16.61h-2.711l-.001-16.61zM42.452 2H39.74v19.661h2.712V2z"
|
|
28
|
+
})
|
|
33
29
|
}));
|
|
34
30
|
});
|
|
35
31
|
export default Icon;
|
|
@@ -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_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
|
+
color: '#fff'
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|
|
@@ -0,0 +1,50 @@
|
|
|
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("defs", {
|
|
26
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
27
|
+
id: "a",
|
|
28
|
+
x1: "80%",
|
|
29
|
+
x2: "20%",
|
|
30
|
+
y1: "20%",
|
|
31
|
+
y2: "80%",
|
|
32
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
33
|
+
offset: "0%",
|
|
34
|
+
stopColor: "#6350FB"
|
|
35
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
36
|
+
offset: "50%",
|
|
37
|
+
stopColor: "#3D8FFF"
|
|
38
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
39
|
+
offset: "100%",
|
|
40
|
+
stopColor: "#9AD8F8"
|
|
41
|
+
})]
|
|
42
|
+
})
|
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
44
|
+
d: "M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z",
|
|
45
|
+
fill: "url(#a)",
|
|
46
|
+
fillRule: "nonzero"
|
|
47
|
+
})]
|
|
48
|
+
}));
|
|
49
|
+
});
|
|
50
|
+
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,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
|
+
}, style),
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
width: size,
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
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 214 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M13.269 14.167l-2.47-8.056-2.415 8.056h4.885zM2.555 21.556c-.37 0-.555-.14-.555-.417 0-.093.023-.208.07-.347l.152-.459L8.384 3.028a1.66 1.66 0 01.236-.43.745.745 0 01.291-.223c.111-.046.268-.07.472-.07h3.08c.297 0 .514.056.653.167.139.111.255.297.347.556l6.162 17.305.153.459c.046.139.069.254.069.347 0 .278-.185.417-.555.417h-3.053c-.278 0-.486-.051-.625-.153-.139-.102-.254-.292-.347-.57l-1.138-3.666H7.496l-1.083 3.666c-.092.278-.208.468-.347.57-.139.102-.356.153-.652.153H2.555zm19.54 0c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528V8.056c0-.26.056-.44.167-.542.11-.102.287-.153.527-.153h1.999c.378 0 .625.161.74.483l.259.878c.98-.648 1.864-1.106 2.65-1.375a7.465 7.465 0 012.43-.403c1.664 0 2.84.593 3.524 1.778.944-.63 1.832-1.083 2.665-1.36a8.103 8.103 0 012.58-.418c1.296 0 2.3.362 3.012 1.084.713.722 1.069 1.731 1.069 3.028v9.805c0 .24-.05.417-.153.528-.101.111-.282.167-.54.167h-2.665c-.241 0-.417-.056-.528-.167-.11-.111-.166-.287-.166-.528v-8.917c0-1.259-.565-1.888-1.693-1.888-1 0-2.008.24-3.026.722V20.86c0 .24-.05.417-.152.528-.102.111-.283.167-.542.167h-2.664c-.24 0-.417-.056-.528-.167-.11-.111-.166-.287-.166-.528v-8.917c0-1.259-.565-1.888-1.693-1.888-1.036 0-2.054.25-3.053.75V20.86c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-2.665zm27.7.444c-1.369 0-2.465-.389-3.289-1.167-.823-.777-1.235-1.814-1.235-3.11 0-.908.236-1.71.708-2.404s1.124-1.222 1.957-1.583c.832-.361 1.785-.542 2.859-.542.888 0 1.868.12 2.942.362v-1.39c0-.851-.176-1.435-.528-1.75-.351-.314-.999-.472-1.943-.472-1.118 0-2.36.176-3.728.527l-.518.14a1.095 1.095 0 01-.305.056c-.315 0-.472-.213-.472-.64v-1.25c0-.296.037-.5.11-.61.075-.111.241-.223.5-.334.648-.277 1.43-.495 2.346-.652a16.44 16.44 0 012.79-.237c1.905 0 3.297.385 4.176 1.153.88.769 1.319 1.977 1.319 3.625v9.14c0 .24-.051.416-.153.527-.102.111-.282.167-.541.167h-1.888c-.222 0-.393-.047-.513-.14-.12-.092-.208-.25-.264-.472l-.166-.638a6.708 6.708 0 01-1.985 1.236c-.75.305-1.475.458-2.179.458zm1.138-2.722c.463 0 .94-.102 1.43-.306a5.4 5.4 0 001.374-.833v-2.417a14.088 14.088 0 00-2.193-.194c-1.61 0-2.415.648-2.415 1.944 0 .574.158 1.019.472 1.334.315.314.759.472 1.332.472zm9.326 2.278c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528v-1.417c0-.296.033-.523.098-.68.064-.158.18-.338.347-.542l6.855-7.86h-6.328c-.24 0-.416-.056-.527-.168-.112-.11-.167-.287-.167-.527V8.056c0-.26.055-.44.167-.542.11-.102.286-.153.527-.153H70.64c.259 0 .44.051.541.153.102.102.153.282.153.542v1.472c0 .296-.033.523-.097.68-.065.158-.18.338-.347.542l-6.94 7.806h6.829c.259 0 .44.05.541.152.102.102.153.283.153.542v1.611c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-10.52zm19.374.416c-2.202 0-3.923-.662-5.163-1.986-1.24-1.324-1.86-3.171-1.86-5.542 0-2.351.62-4.19 1.86-5.513 1.24-1.325 2.96-1.987 5.163-1.987 2.202 0 3.923.662 5.162 1.987 1.24 1.324 1.86 3.162 1.86 5.513 0 2.37-.62 4.218-1.86 5.542-1.24 1.324-2.96 1.986-5.162 1.986zm0-3.11c1.943 0 2.914-1.473 2.914-4.418 0-2.925-.971-4.388-2.914-4.388s-2.915 1.463-2.915 4.388c0 2.945.972 4.417 2.915 4.417zm10.186 2.694c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528V8.056c0-.26.056-.44.167-.542.11-.102.287-.153.527-.153h1.999c.425 0 .684.204.777.611l.25.917c1.665-1.296 3.441-1.945 5.329-1.945 1.313 0 2.327.357 3.039 1.07.712.713 1.069 1.727 1.069 3.042v9.805c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-2.665c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528V12.25c0-.76-.166-1.315-.5-1.667-.332-.352-.841-.527-1.526-.527-1.018 0-2.026.314-3.025.944v9.861c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-2.665zm23.148 0c-.24 0-.416-.056-.527-.167-.11-.111-.166-.287-.166-.528V3c0-.26.055-.44.166-.542.111-.102.287-.152.527-.152h6.218c1.85 0 3.344.472 4.482 1.416 1.138.945 1.707 2.176 1.707 3.695 0 .944-.217 1.754-.652 2.43-.435.676-1.078 1.2-1.929 1.57 1.184.352 2.086.93 2.706 1.736.62.805.93 1.791.93 2.958 0 1.667-.62 2.99-1.86 3.972-1.24.982-2.905 1.473-4.996 1.473h-6.606zm6.523-2.973c1.887 0 2.831-.889 2.831-2.666 0-1.834-1.008-2.75-3.025-2.75h-3.081v5.416h3.275zm-.86-8.25c1.795 0 2.692-.833 2.692-2.5 0-1.703-.823-2.555-2.47-2.555h-2.637v5.055h2.415zm16.709 11.64c-2.35 0-4.14-.64-5.371-1.917-1.23-1.278-1.846-3.149-1.846-5.612 0-2.37.61-4.213 1.832-5.527 1.221-1.315 2.914-1.973 5.08-1.973 1.831 0 3.242.505 4.232 1.514.99 1.01 1.485 2.45 1.485 4.32 0 .574-.046 1.231-.139 1.972-.037.278-.11.463-.222.556-.11.092-.277.138-.5.138h-8.02c.073 1.223.443 2.107 1.11 2.653.666.547 1.711.82 3.136.82 1.017 0 2.202-.176 3.553-.528a1.095 1.095 0 01.305-.056c.314 0 .472.213.472.64v1.277c0 .296-.042.505-.125.625-.083.12-.245.227-.486.32-1.406.518-2.905.777-4.496.777zm1.943-9.029v-.472c0-1.815-.796-2.722-2.387-2.722-.907 0-1.624.273-2.152.82-.527.546-.828 1.337-.902 2.374h5.44zm11.046 8.917c-1.202 0-2.248-.31-3.136-.93-.888-.62-1.568-1.482-2.04-2.584s-.708-2.375-.708-3.82c0-2.296.546-4.133 1.638-5.513 1.091-1.38 2.535-2.07 4.33-2.07 1.461 0 2.729.417 3.802 1.25v-6.5c0-.259.056-.44.167-.541.11-.102.286-.153.527-.153h2.665c.259 0 .439.05.54.153.103.102.153.282.153.541v19.167c0 .24-.05.417-.152.528-.102.111-.282.167-.541.167h-2.22c-.223 0-.394-.047-.514-.14-.12-.092-.209-.25-.264-.472l-.167-.638c-1.147 1.037-2.507 1.555-4.08 1.555zm1.333-3.055c.888 0 1.739-.26 2.553-.778v-7.334c-.796-.463-1.711-.694-2.748-.694-.98 0-1.711.366-2.192 1.097-.482.732-.722 1.838-.722 3.32 0 1.481.254 2.583.763 3.305.51.722 1.29 1.084 2.346 1.084zm10.491 2.75c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528V8.056c0-.26.056-.44.167-.542.11-.102.287-.153.527-.153h1.999c.425 0 .684.204.777.611l.36 1.5c.74-.815 1.44-1.393 2.096-1.736a4.468 4.468 0 012.096-.514h.388c.26 0 .444.051.555.153.111.102.167.282.167.542v2.333c0 .24-.05.417-.153.528-.101.11-.282.166-.54.166l-.223-.007-.277-.02a8.873 8.873 0 00-.778-.028c-.425 0-.943.06-1.554.18-.61.12-1.129.274-1.554.459v9.333c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-2.665zm16.154.416c-2.202 0-3.923-.662-5.162-1.986-1.24-1.324-1.86-3.171-1.86-5.542 0-2.351.62-4.19 1.86-5.513 1.24-1.325 2.96-1.987 5.162-1.987s3.923.662 5.163 1.987c1.24 1.324 1.86 3.162 1.86 5.513 0 2.37-.62 4.218-1.86 5.542-1.24 1.324-2.96 1.986-5.163 1.986zm0-3.11c1.943 0 2.914-1.473 2.914-4.418 0-2.925-.971-4.388-2.914-4.388s-2.914 1.463-2.914 4.388c0 2.945.971 4.417 2.914 4.417zm15.738 3c-2.258 0-3.983-.63-5.177-1.89-1.193-1.259-1.79-3.074-1.79-5.444 0-2.352.63-4.185 1.887-5.5 1.259-1.315 3.007-1.972 5.246-1.972 1.11 0 2.156.203 3.137.61.24.093.402.2.485.32.084.12.125.329.125.625V9.89c0 .426-.157.639-.472.639l-.138-.014a1.095 1.095 0 01-.167-.042 8.761 8.761 0 00-2.22-.305c-1.296 0-2.249.328-2.86.986-.61.657-.915 1.699-.915 3.125v.389c0 1.407.3 2.44.902 3.097.601.657 1.531.986 2.79.986.585 0 1.21-.07 1.873-.212l.633-.147c.098-.02.169-.03.213-.03.296 0 .444.185.444.556v1.389c0 .296-.041.504-.124.625-.084.12-.246.226-.486.319a9.46 9.46 0 01-1.68.472 9.88 9.88 0 01-1.706.14zm6.883-.306c-.24 0-.416-.056-.527-.167-.111-.111-.167-.287-.167-.528V1.694c0-.259.056-.44.167-.541.11-.102.286-.153.527-.153h2.637c.259 0 .44.05.541.153.102.102.153.282.153.541v11.723l4.607-5.556c.167-.204.32-.338.458-.403.139-.064.338-.097.597-.097h3.025c.37 0 .555.139.555.417 0 .203-.12.435-.36.694l-4.996 5.667 5.495 6.305c.24.26.361.482.361.667 0 .296-.185.445-.555.445h-3.192c-.26 0-.458-.033-.597-.098-.139-.064-.291-.199-.458-.402l-4.94-5.973v5.778c0 .24-.051.417-.153.528-.102.111-.282.167-.541.167h-2.637z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
colorGradient: string;
|
|
13
|
+
colorPrimary: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Icons: CompoundedIcon;
|
|
16
|
+
export default Icons;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Color from "./components/Color";
|
|
3
|
+
import Combine from "./components/Combine";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import Text from "./components/Text";
|
|
6
|
+
import { COLOR_GRADIENT, 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
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
|
14
|
+
export default Icons;
|
package/es/Dalle/style.d.ts
CHANGED
package/es/Dalle/style.js
CHANGED
|
@@ -3,7 +3,7 @@ import { type FlexboxProps } from 'react-layout-kit';
|
|
|
3
3
|
import { IconType } from "../types";
|
|
4
4
|
export interface IconCombineProps extends FlexboxProps {
|
|
5
5
|
Icon: IconType;
|
|
6
|
-
Text
|
|
6
|
+
Text?: IconType;
|
|
7
7
|
color?: string;
|
|
8
8
|
extra?: string;
|
|
9
9
|
extraClassName?: string;
|
package/es/IconCombine/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var IconCombine = /*#__PURE__*/memo(function (_ref) {
|
|
|
39
39
|
style: {
|
|
40
40
|
marginRight: size * spaceMultiple
|
|
41
41
|
}
|
|
42
|
-
}), showText && /*#__PURE__*/_jsx(Text, {
|
|
42
|
+
}), showText && Text && /*#__PURE__*/_jsx(Text, {
|
|
43
43
|
size: size * textMultiple
|
|
44
44
|
}), extra && /*#__PURE__*/_jsx("span", {
|
|
45
45
|
className: extraClassName,
|
|
@@ -4,6 +4,7 @@ var _excluded = ["size", "style"];
|
|
|
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 { forwardRef } from 'react';
|
|
7
|
+
import { useFillId } from "../../hooks/useFillId";
|
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
@@ -11,6 +12,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
11
12
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
13
|
style = _ref.style,
|
|
13
14
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
var _useFillId = useFillId('minimax'),
|
|
16
|
+
id = _useFillId.id,
|
|
17
|
+
fill = _useFillId.fill;
|
|
14
18
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
15
19
|
height: size,
|
|
16
20
|
ref: ref,
|
|
@@ -22,49 +26,25 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
22
26
|
width: size,
|
|
23
27
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24
28
|
}, rest), {}, {
|
|
25
|
-
children: [/*#__PURE__*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
fill: "url(#c)"
|
|
33
|
-
})]
|
|
34
|
-
}), /*#__PURE__*/_jsxs("defs", {
|
|
35
|
-
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
36
|
-
gradientUnits: "userSpaceOnUse",
|
|
37
|
-
id: "b",
|
|
38
|
-
x1: "0",
|
|
39
|
-
x2: "24.023",
|
|
40
|
-
y1: "12.122",
|
|
41
|
-
y2: "12.122",
|
|
29
|
+
children: [/*#__PURE__*/_jsx("defs", {
|
|
30
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
31
|
+
id: id,
|
|
32
|
+
x1: "0%",
|
|
33
|
+
x2: "100.182%",
|
|
34
|
+
y1: "50.057%",
|
|
35
|
+
y2: "50.057%",
|
|
42
36
|
children: [/*#__PURE__*/_jsx("stop", {
|
|
37
|
+
offset: "0%",
|
|
43
38
|
stopColor: "#E2167E"
|
|
44
39
|
}), /*#__PURE__*/_jsx("stop", {
|
|
45
|
-
offset: "
|
|
40
|
+
offset: "100%",
|
|
46
41
|
stopColor: "#FE603C"
|
|
47
42
|
})]
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
y1: "12.122",
|
|
54
|
-
y2: "12.122",
|
|
55
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
|
56
|
-
stopColor: "#E2167E"
|
|
57
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
58
|
-
offset: "1",
|
|
59
|
-
stopColor: "#FE603C"
|
|
60
|
-
})]
|
|
61
|
-
}), /*#__PURE__*/_jsx("clipPath", {
|
|
62
|
-
id: "a",
|
|
63
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
64
|
-
d: "M0 0h24v24H0z",
|
|
65
|
-
fill: "#fff"
|
|
66
|
-
})
|
|
67
|
-
})]
|
|
43
|
+
})
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
d: "M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z",
|
|
46
|
+
fill: fill,
|
|
47
|
+
fillRule: "nonzero"
|
|
68
48
|
})]
|
|
69
49
|
}));
|
|
70
50
|
});
|