@lobehub/icons 1.9.0 → 1.10.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/README.md +9 -2
- package/es/Bing/components/Avatar.d.ts +5 -0
- package/es/Bing/components/Avatar.js +25 -0
- package/es/Bing/components/Color.d.ts +3 -0
- package/es/Bing/components/Color.js +95 -0
- package/es/Bing/components/Combine.d.ts +7 -0
- package/es/Bing/components/Combine.js +25 -0
- package/es/Bing/components/Mono.d.ts +3 -0
- package/es/Bing/components/Mono.js +31 -0
- package/es/Bing/components/Text.d.ts +3 -0
- package/es/Bing/components/Text.js +31 -0
- package/es/Bing/index.d.ts +15 -0
- package/es/Bing/index.js +14 -0
- package/es/Bing/style.d.ts +4 -0
- package/es/Bing/style.js +4 -0
- package/es/Copilot/components/Avatar.d.ts +5 -0
- package/es/Copilot/components/Avatar.js +19 -0
- package/es/Copilot/components/Color.d.ts +3 -0
- package/es/Copilot/components/Color.js +169 -0
- package/es/Copilot/components/Combine.d.ts +7 -0
- package/es/Copilot/components/Combine.js +25 -0
- package/es/Copilot/components/Mono.d.ts +3 -0
- package/es/Copilot/components/Mono.js +31 -0
- package/es/Copilot/components/Text.d.ts +3 -0
- package/es/Copilot/components/Text.js +31 -0
- package/es/Copilot/index.d.ts +14 -0
- package/es/Copilot/index.js +13 -0
- package/es/Copilot/style.d.ts +3 -0
- package/es/Copilot/style.js +3 -0
- package/es/DeepMind/components/Avatar.d.ts +5 -0
- package/es/DeepMind/components/Avatar.js +19 -0
- package/es/DeepMind/components/Color.d.ts +3 -0
- package/es/DeepMind/components/Color.js +31 -0
- package/es/DeepMind/components/Combine.d.ts +7 -0
- package/es/DeepMind/components/Combine.js +25 -0
- package/es/DeepMind/components/Mono.d.ts +3 -0
- package/es/DeepMind/components/Mono.js +31 -0
- package/es/DeepMind/components/Text.d.ts +3 -0
- package/es/DeepMind/components/Text.js +31 -0
- package/es/DeepMind/index.d.ts +14 -0
- package/es/DeepMind/index.js +13 -0
- package/es/DeepMind/style.d.ts +3 -0
- package/es/DeepMind/style.js +3 -0
- package/es/Github/components/Avatar.d.ts +5 -0
- package/es/Github/components/Avatar.js +20 -0
- package/es/Github/components/Combine.d.ts +5 -0
- package/es/Github/components/Combine.js +20 -0
- package/es/Github/components/Mono.d.ts +3 -0
- package/es/Github/components/Mono.js +31 -0
- package/es/Github/components/Text.d.ts +3 -0
- package/es/Github/components/Text.js +31 -0
- package/es/Github/index.d.ts +12 -0
- package/es/Github/index.js +11 -0
- package/es/Github/style.d.ts +3 -0
- package/es/Github/style.js +3 -0
- package/es/GithubCopilot/components/Avatar.d.ts +5 -0
- package/es/GithubCopilot/components/Avatar.js +20 -0
- package/es/GithubCopilot/components/Combine.d.ts +5 -0
- package/es/GithubCopilot/components/Combine.js +20 -0
- package/es/GithubCopilot/components/Mono.d.ts +3 -0
- package/es/GithubCopilot/components/Mono.js +31 -0
- package/es/GithubCopilot/components/Text.d.ts +3 -0
- package/es/GithubCopilot/components/Text.js +31 -0
- package/es/GithubCopilot/index.d.ts +12 -0
- package/es/GithubCopilot/index.js +11 -0
- package/es/GithubCopilot/style.d.ts +3 -0
- package/es/GithubCopilot/style.js +3 -0
- package/es/Google/components/Avatar.d.ts +5 -0
- package/es/Google/components/Avatar.js +19 -0
- package/es/Google/components/BrandColor.d.ts +3 -0
- package/es/Google/components/BrandColor.js +50 -0
- package/es/Google/components/BrandMono.d.ts +3 -0
- package/es/Google/components/BrandMono.js +31 -0
- package/es/Google/components/Color.d.ts +3 -0
- package/es/Google/components/Color.js +44 -0
- package/es/Google/components/Mono.d.ts +3 -0
- package/es/Google/components/Mono.js +31 -0
- package/es/Google/index.d.ts +14 -0
- package/es/Google/index.js +13 -0
- package/es/Google/style.d.ts +1 -0
- package/es/Google/style.js +1 -0
- package/es/Moonshot/components/Avatar.d.ts +5 -0
- package/es/Moonshot/components/Avatar.js +20 -0
- package/es/Moonshot/components/Combine.d.ts +5 -0
- package/es/Moonshot/components/Combine.js +20 -0
- package/es/Moonshot/components/Mono.d.ts +3 -0
- package/es/Moonshot/components/Mono.js +31 -0
- package/es/Moonshot/components/Text.d.ts +3 -0
- package/es/Moonshot/components/Text.js +31 -0
- package/es/Moonshot/index.d.ts +12 -0
- package/es/Moonshot/index.js +11 -0
- package/es/Moonshot/style.d.ts +3 -0
- package/es/Moonshot/style.js +3 -0
- package/es/Pollinations/components/Avatar.d.ts +5 -0
- package/es/Pollinations/components/Avatar.js +20 -0
- package/es/Pollinations/components/Combine.d.ts +5 -0
- package/es/Pollinations/components/Combine.js +20 -0
- package/es/Pollinations/components/Mono.d.ts +3 -0
- package/es/Pollinations/components/Mono.js +31 -0
- package/es/Pollinations/components/Text.d.ts +3 -0
- package/es/Pollinations/components/Text.js +31 -0
- package/es/Pollinations/index.d.ts +12 -0
- package/es/Pollinations/index.js +11 -0
- package/es/Pollinations/style.d.ts +3 -0
- package/es/Pollinations/style.js +3 -0
- package/es/components/Dashboard/Text.d.ts +5 -0
- package/es/components/Dashboard/Text.js +66 -0
- package/es/components/Dashboard/index.d.ts +5 -0
- package/es/components/Dashboard/index.js +67 -0
- package/es/components/DownloadButton/index.d.ts +10 -0
- package/es/components/DownloadButton/index.js +28 -0
- package/es/components/IconPreview/index.d.ts +2 -1
- package/es/components/IconPreview/index.js +31 -9
- package/es/index.d.ts +8 -0
- package/es/index.js +8 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Popular AI / LLM Model Brand SVG Logo and Icon Collection
|
|
|
27
27
|
[![][github-issues-shield]][github-issues-link]
|
|
28
28
|
[![][github-license-shield]][github-license-link]
|
|
29
29
|
|
|
30
|
-

|
|
31
31
|
|
|
32
32
|
</div>
|
|
33
33
|
|
|
@@ -36,6 +36,7 @@ Popular AI / LLM Model Brand SVG Logo and Icon Collection
|
|
|
36
36
|
|
|
37
37
|
#### TOC
|
|
38
38
|
|
|
39
|
+
- [✨ Features](#-features)
|
|
39
40
|
- [📦 Installation](#-installation)
|
|
40
41
|
- [Compile with NextJS](#compile-with-nextjs)
|
|
41
42
|
- [⌨️ Local Development](#️-local-development)
|
|
@@ -53,6 +54,12 @@ Popular AI / LLM Model Brand SVG Logo and Icon Collection
|
|
|
53
54
|
- 🌳 **Tree Shakable**: The collection is tree-shakable, ensuring that you only import the icons that you use, which helps in reducing the overall bundle size of your project.
|
|
54
55
|
- 👥 **Active Community**: Lobe Icons boasts an active community of designers and developers. Engage with us on platforms like GitHub and Discord to contribute or get support.
|
|
55
56
|
|
|
57
|
+
<div align="right">
|
|
58
|
+
|
|
59
|
+
[![][back-to-top]](#readme-top)
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
|
|
56
63
|
## 📦 Installation
|
|
57
64
|
|
|
58
65
|
> \[!IMPORTANT]\
|
|
@@ -169,7 +176,7 @@ This project is [MIT](./LICENSE) licensed.
|
|
|
169
176
|
[bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge
|
|
170
177
|
[codespaces-link]: https://codespaces.new/lobehub/lobe-icons
|
|
171
178
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
|
172
|
-
[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/
|
|
179
|
+
[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/icons
|
|
173
180
|
[contributors-link]: https://github.com/lobehub/lobe-icons/graphs/contributors
|
|
174
181
|
[discord-link]: https://discord.gg/AYFPHvv2jT
|
|
175
182
|
[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
|
|
@@ -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 = ["background", "iconStyle", "size"];
|
|
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
|
+
iconStyle = _ref.iconStyle,
|
|
14
|
+
size = _ref.size,
|
|
15
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
17
|
+
Icon: Mono,
|
|
18
|
+
background: background || COLOR_GRADIENT,
|
|
19
|
+
iconStyle: _objectSpread({
|
|
20
|
+
marginLeft: size * 0.08
|
|
21
|
+
}, iconStyle),
|
|
22
|
+
size: size
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Avatar;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
+
var _excluded = ["size", "style"];
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { useFillIds } from "../../hooks/useFillId";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
12
|
+
var _ref$size = _ref.size,
|
|
13
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
14
|
+
style = _ref.style,
|
|
15
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
var _useFillIds = useFillIds('bing', 3),
|
|
17
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 3),
|
|
18
|
+
a = _useFillIds2[0],
|
|
19
|
+
b = _useFillIds2[1],
|
|
20
|
+
c = _useFillIds2[2];
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
height: size,
|
|
23
|
+
ref: ref,
|
|
24
|
+
style: _objectSpread({
|
|
25
|
+
flex: 'none',
|
|
26
|
+
lineHeight: 1
|
|
27
|
+
}, style),
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
width: size,
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, rest), {}, {
|
|
32
|
+
children: [/*#__PURE__*/_jsxs("defs", {
|
|
33
|
+
children: [/*#__PURE__*/_jsxs("radialGradient", {
|
|
34
|
+
cx: "93.717%",
|
|
35
|
+
cy: "77.818%",
|
|
36
|
+
fx: "93.717%",
|
|
37
|
+
fy: "77.818%",
|
|
38
|
+
gradientTransform: "scale(-1 -.7146) rotate(49.288 2.035 -2.198)",
|
|
39
|
+
id: a.id,
|
|
40
|
+
r: "143.691%",
|
|
41
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
42
|
+
offset: "0%",
|
|
43
|
+
stopColor: "#00CACC"
|
|
44
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
45
|
+
offset: "100%",
|
|
46
|
+
stopColor: "#048FCE"
|
|
47
|
+
})]
|
|
48
|
+
}), /*#__PURE__*/_jsxs("radialGradient", {
|
|
49
|
+
cx: "13.893%",
|
|
50
|
+
cy: "71.448%",
|
|
51
|
+
fx: "13.893%",
|
|
52
|
+
fy: "71.448%",
|
|
53
|
+
gradientTransform: "scale(.6042 1) rotate(-23.34 .184 .494)",
|
|
54
|
+
id: b.id,
|
|
55
|
+
r: "149.21%",
|
|
56
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
57
|
+
offset: "0%",
|
|
58
|
+
stopColor: "#00BBEC"
|
|
59
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
60
|
+
offset: "100%",
|
|
61
|
+
stopColor: "#2756A9"
|
|
62
|
+
})]
|
|
63
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
64
|
+
id: c.id,
|
|
65
|
+
x1: "50%",
|
|
66
|
+
x2: "50%",
|
|
67
|
+
y1: "0%",
|
|
68
|
+
y2: "100%",
|
|
69
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
70
|
+
offset: "0%",
|
|
71
|
+
stopColor: "#00BBEC"
|
|
72
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
73
|
+
offset: "100%",
|
|
74
|
+
stopColor: "#2756A9"
|
|
75
|
+
})]
|
|
76
|
+
})]
|
|
77
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
78
|
+
fill: "none",
|
|
79
|
+
fillRule: "evenodd",
|
|
80
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
81
|
+
d: "M11.97 7.569a.92.92 0 00-.805.863c-.013.195-.01.209.43 1.347 1 2.59 1.242 3.214 1.283 3.302.099.213.237.413.41.592.134.138.222.212.37.311.26.176.39.224 1.405.527.989.295 1.529.49 1.994.723.603.302 1.024.644 1.29 1.051.191.292.36.815.434 1.342.029.206.029.661 0 .847a2.491 2.491 0 01-.376 1.026c-.1.151-.065.126.081-.058.415-.52.838-1.408 1.054-2.213a6.728 6.728 0 00.102-3.012 6.626 6.626 0 00-3.291-4.53 104.157 104.157 0 00-1.322-.698l-.254-.133a737.941 737.941 0 01-1.575-.827c-.548-.29-.78-.406-.846-.426a1.376 1.376 0 00-.29-.045l-.093.01z",
|
|
82
|
+
fill: a.fill
|
|
83
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
84
|
+
d: "M13.164 17.24a4.385 4.385 0 00-.202.125 511.45 511.45 0 00-1.795 1.115 163.087 163.087 0 01-.989.614l-.463.288a99.198 99.198 0 01-1.502.941c-.326.2-.704.334-1.09.387-.18.024-.52.024-.7 0a2.807 2.807 0 01-1.318-.538 3.665 3.665 0 01-.543-.545 2.837 2.837 0 01-.506-1.141 2.161 2.161 0 00-.041-.182c-.008-.008.006.138.032.33.027.199.085.487.147.733.482 1.907 1.85 3.457 3.705 4.195a6.31 6.31 0 001.658.412c.22.025.844.035 1.074.017 1.054-.08 1.972-.393 2.913-.992a325.28 325.28 0 01.937-.596l.384-.244.684-.435.234-.149.009-.005.025-.017.013-.007.172-.11.597-.38c.76-.481.987-.65 1.34-.998.148-.146.37-.394.381-.425.002-.007.042-.068.088-.136a2.49 2.49 0 00.373-1.023 4.181 4.181 0 000-.847 4.336 4.336 0 00-.318-1.137c-.224-.472-.7-.9-1.383-1.245a2.972 2.972 0 00-.406-.181c-.01 0-.646.392-1.413.87a7089.171 7089.171 0 00-1.658 1.031l-.439.274z",
|
|
85
|
+
fill: b.fill,
|
|
86
|
+
fillRule: "nonzero"
|
|
87
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
88
|
+
d: "M4.003 14.946l.004 3.33.042.193c.134.604.366 1.04.77 1.445a2.701 2.701 0 001.955.814c.536 0 1-.135 1.479-.43l.703-.435.556-.346V8.003c0-2.306-.004-3.675-.012-3.782a2.734 2.734 0 00-.797-1.765c-.145-.144-.268-.24-.637-.496A1780.102 1780.102 0 015.762.362C5.406.115 5.38.098 5.271.059a.943.943 0 00-1.254.696C4.003.818 4 1.659 4 6.223v5.394H4l.003 3.329z",
|
|
89
|
+
fill: c.fill,
|
|
90
|
+
fillRule: "nonzero"
|
|
91
|
+
})]
|
|
92
|
+
})]
|
|
93
|
+
}));
|
|
94
|
+
});
|
|
95
|
+
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: "M4.842.005a.966.966 0 01.604.142l2.62 1.813c.369.256.492.352.637.496.471.47.752 1.09.797 1.765l.008.847.003 1.441.004 13.002.144-.094 7.015-4.353.015.003.029.01c-.398-.17-.893-.339-1.655-.566l-.484-.146c-.584-.18-.71-.238-.921-.38a2.009 2.009 0 01-.37-.312 2.172 2.172 0 01-.41-.592L11.32 9.063c-.166-.444-.166-.49-.156-.63a.92.92 0 01.806-.864l.094-.01c.044-.005.22.023.29.044l.052.021c.06.026.16.075.313.154l3.63 1.908a6.626 6.626 0 013.292 4.531c.194.99.159 2.037-.102 3.012-.216.805-.639 1.694-1.054 2.213l-.08.099-.047.05c-.01.01-.013.01-.01.002l.043-.074-.072.114c-.011.031-.233.28-.38.425l-.17.161c-.22.202-.431.36-.832.62L13.544 23c-.941.6-1.86.912-2.913.992-.23.018-.854.008-1.074-.017a6.31 6.31 0 01-1.658-.412c-1.854-.738-3.223-2.288-3.705-4.195a8.077 8.077 0 01-.121-.57l-.046-.325a1.123 1.123 0 01-.014-.168l-.006-.029L4 11.617 4.01.866a.981.981 0 01.007-.111.943.943 0 01.825-.75z"
|
|
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 44 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M2 18.658V2.763h4.956c1.509 0 2.71.336 3.59 1.01.881.672 1.322 1.547 1.322 2.624 0 .898-.253 1.683-.75 2.356a4.048 4.048 0 01-2.08 1.413v.045c1.079.124 1.927.527 2.565 1.223.65.673.97 1.57.97 2.658 0 1.358-.529 2.468-1.575 3.298-1.047.83-2.379 1.268-3.987 1.268H2zM4.588 4.883v4.52h1.674c.903 0 1.608-.224 2.115-.639.517-.449.77-1.054.77-1.84 0-1.368-.891-2.041-2.676-2.041H4.588zm0 6.64v5.026h2.203c.969 0 1.718-.224 2.235-.673.529-.46.793-1.088.793-1.885 0-1.648-1.112-2.467-3.359-2.467H4.588zm11.146-6.595c-.408 0-.771-.146-1.058-.415-.297-.27-.44-.617-.44-1.044 0-.426.143-.774.44-1.054.298-.28.65-.415 1.068-.415.419 0 .782.135 1.08.415.297.28.44.64.44 1.054 0 .404-.143.74-.44 1.032-.298.28-.661.427-1.09.427zm1.255 13.73h-2.522V7.306H17l-.011 11.352zm12.5 0h-2.522v-6.394c0-2.131-.738-3.186-2.203-3.186-.77 0-1.41.303-1.916.898a3.292 3.292 0 00-.749 2.21v6.472h-2.533V7.306H22.1V9.19h.044a4.007 4.007 0 011.505-1.602 3.909 3.909 0 012.107-.551c1.212 0 2.137.403 2.776 1.211.639.797.958 1.952.958 3.478v6.932zm12.5-.909c0 4.162-2.048 6.249-6.167 6.249a9.049 9.049 0 01-3.8-.74V20.9c1.211.718 2.379 1.066 3.47 1.066 2.643 0 3.975-1.324 3.975-3.982V16.75h-.044a4.125 4.125 0 01-1.579 1.632 4.026 4.026 0 01-2.188.533 4.034 4.034 0 01-1.811-.365 4.107 4.107 0 01-1.47-1.138 6.238 6.238 0 01-1.245-4.072c0-1.93.44-3.455 1.344-4.6.903-1.143 2.114-1.704 3.678-1.704 1.465 0 2.555.617 3.27 1.84h.045V7.305H42l-.01 10.443zm-2.5-4.285v-1.48c0-.797-.264-1.481-.782-2.042a2.534 2.534 0 00-.878-.642 2.491 2.491 0 00-1.06-.21c-.958 0-1.707.37-2.247 1.088a4.937 4.937 0 00-.815 3.017c0 1.122.265 2.008.77 2.681.53.673 1.212.998 2.071.998.882 0 1.587-.325 2.126-.953.55-.65.815-1.458.815-2.468v.011z"
|
|
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
|
+
Text: typeof Text;
|
|
11
|
+
colorGradient: string;
|
|
12
|
+
colorPrimary: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
export default Icons;
|
package/es/Bing/index.js
ADDED
|
@@ -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/Bing/style.js
ADDED
|
@@ -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,169 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
+
var _excluded = ["size", "style"];
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { useFillIds } from "../../hooks/useFillId";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
12
|
+
var _ref$size = _ref.size,
|
|
13
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
14
|
+
style = _ref.style,
|
|
15
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
16
|
+
var _useFillIds = useFillIds('copilot', 6),
|
|
17
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 6),
|
|
18
|
+
a = _useFillIds2[0],
|
|
19
|
+
b = _useFillIds2[1],
|
|
20
|
+
c = _useFillIds2[2],
|
|
21
|
+
d = _useFillIds2[3],
|
|
22
|
+
e = _useFillIds2[4],
|
|
23
|
+
f = _useFillIds2[5];
|
|
24
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
25
|
+
height: size,
|
|
26
|
+
ref: ref,
|
|
27
|
+
style: _objectSpread({
|
|
28
|
+
flex: 'none',
|
|
29
|
+
lineHeight: 1
|
|
30
|
+
}, style),
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
width: size,
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
34
|
+
}, rest), {}, {
|
|
35
|
+
children: [/*#__PURE__*/_jsxs("defs", {
|
|
36
|
+
children: [/*#__PURE__*/_jsxs("radialGradient", {
|
|
37
|
+
cx: "85.44%",
|
|
38
|
+
cy: "100.653%",
|
|
39
|
+
fx: "85.44%",
|
|
40
|
+
fy: "100.653%",
|
|
41
|
+
gradientTransform: "scale(-.8553 -1) rotate(50.927 2.041 -1.946)",
|
|
42
|
+
id: a.id,
|
|
43
|
+
r: "105.116%",
|
|
44
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
45
|
+
offset: "9.6%",
|
|
46
|
+
stopColor: "#00AEFF"
|
|
47
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
48
|
+
offset: "77.3%",
|
|
49
|
+
stopColor: "#2253CE"
|
|
50
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
51
|
+
offset: "100%",
|
|
52
|
+
stopColor: "#0736C4"
|
|
53
|
+
})]
|
|
54
|
+
}), /*#__PURE__*/_jsxs("radialGradient", {
|
|
55
|
+
cx: "18.143%",
|
|
56
|
+
cy: "32.928%",
|
|
57
|
+
fx: "18.143%",
|
|
58
|
+
fy: "32.928%",
|
|
59
|
+
gradientTransform: "scale(.8897 1) rotate(52.069 .193 .352)",
|
|
60
|
+
id: b.id,
|
|
61
|
+
r: "95.612%",
|
|
62
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
63
|
+
offset: "0%",
|
|
64
|
+
stopColor: "#FFB657"
|
|
65
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
66
|
+
offset: "63.4%",
|
|
67
|
+
stopColor: "#FF5F3D"
|
|
68
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
69
|
+
offset: "92.3%",
|
|
70
|
+
stopColor: "#C02B3C"
|
|
71
|
+
})]
|
|
72
|
+
}), /*#__PURE__*/_jsxs("radialGradient", {
|
|
73
|
+
cx: "82.987%",
|
|
74
|
+
cy: "-9.792%",
|
|
75
|
+
fx: "82.987%",
|
|
76
|
+
fy: "-9.792%",
|
|
77
|
+
gradientTransform: "scale(-1 -.9441) rotate(-70.872 .142 1.17)",
|
|
78
|
+
id: e.id,
|
|
79
|
+
r: "140.622%",
|
|
80
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
81
|
+
offset: "6.6%",
|
|
82
|
+
stopColor: "#8C48FF"
|
|
83
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
84
|
+
offset: "50%",
|
|
85
|
+
stopColor: "#F2598A"
|
|
86
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
87
|
+
offset: "89.6%",
|
|
88
|
+
stopColor: "#FFB152"
|
|
89
|
+
})]
|
|
90
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
91
|
+
id: c.id,
|
|
92
|
+
x1: "39.465%",
|
|
93
|
+
x2: "46.884%",
|
|
94
|
+
y1: "12.117%",
|
|
95
|
+
y2: "103.774%",
|
|
96
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
97
|
+
offset: "15.6%",
|
|
98
|
+
stopColor: "#0D91E1"
|
|
99
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
100
|
+
offset: "48.7%",
|
|
101
|
+
stopColor: "#52B471"
|
|
102
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
103
|
+
offset: "65.2%",
|
|
104
|
+
stopColor: "#98BD42"
|
|
105
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
106
|
+
offset: "93.7%",
|
|
107
|
+
stopColor: "#FFC800"
|
|
108
|
+
})]
|
|
109
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
110
|
+
id: d.id,
|
|
111
|
+
x1: "45.949%",
|
|
112
|
+
x2: "50%",
|
|
113
|
+
y1: "0%",
|
|
114
|
+
y2: "100%",
|
|
115
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
116
|
+
offset: "0%",
|
|
117
|
+
stopColor: "#3DCBFF"
|
|
118
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
119
|
+
offset: "24.7%",
|
|
120
|
+
stopColor: "#0588F7",
|
|
121
|
+
stopOpacity: "0"
|
|
122
|
+
})]
|
|
123
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
124
|
+
id: f.id,
|
|
125
|
+
x1: "83.507%",
|
|
126
|
+
x2: "83.453%",
|
|
127
|
+
y1: "-6.106%",
|
|
128
|
+
y2: "21.131%",
|
|
129
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
130
|
+
offset: "5.8%",
|
|
131
|
+
stopColor: "#F8ADFA"
|
|
132
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
133
|
+
offset: "70.8%",
|
|
134
|
+
stopColor: "#A86EDD",
|
|
135
|
+
stopOpacity: "0"
|
|
136
|
+
})]
|
|
137
|
+
})]
|
|
138
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
139
|
+
fill: "none",
|
|
140
|
+
fillRule: "nonzero",
|
|
141
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
142
|
+
d: "M17.533 1.829A2.528 2.528 0 0015.11 0h-.737a2.531 2.531 0 00-2.484 2.087l-1.263 6.937.314-1.08a2.528 2.528 0 012.424-1.833h4.284l1.797.706 1.731-.706h-.505a2.528 2.528 0 01-2.423-1.829l-.715-2.453z",
|
|
143
|
+
fill: a.fill,
|
|
144
|
+
transform: "translate(0 1)"
|
|
145
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
146
|
+
d: "M6.726 20.16A2.528 2.528 0 009.152 22h1.566c1.37 0 2.49-1.1 2.525-2.48l.17-6.69-.357 1.228a2.528 2.528 0 01-2.423 1.83h-4.32l-1.54-.842-1.667.843h.497c1.124 0 2.113.75 2.426 1.84l.697 2.432z",
|
|
147
|
+
fill: b.fill,
|
|
148
|
+
transform: "translate(0 1)"
|
|
149
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
150
|
+
d: "M15 0H6.252c-2.5 0-4 3.331-5 6.662-1.184 3.947-2.734 9.225 1.75 9.225H6.78c1.13 0 2.12-.753 2.43-1.847.657-2.317 1.809-6.359 2.713-9.436.46-1.563.842-2.906 1.43-3.742A1.97 1.97 0 0115 0",
|
|
151
|
+
fill: c.fill,
|
|
152
|
+
transform: "translate(0 1)"
|
|
153
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
154
|
+
d: "M15 0H6.252c-2.5 0-4 3.331-5 6.662-1.184 3.947-2.734 9.225 1.75 9.225H6.78c1.13 0 2.12-.753 2.43-1.847.657-2.317 1.809-6.359 2.713-9.436.46-1.563.842-2.906 1.43-3.742A1.97 1.97 0 0115 0",
|
|
155
|
+
fill: d.fill,
|
|
156
|
+
transform: "translate(0 1)"
|
|
157
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
158
|
+
d: "M9 22h8.749c2.5 0 4-3.332 5-6.663 1.184-3.948 2.734-9.227-1.75-9.227H17.22c-1.129 0-2.12.754-2.43 1.848a1149.2 1149.2 0 01-2.713 9.437c-.46 1.564-.842 2.907-1.43 3.743A1.97 1.97 0 019 22",
|
|
159
|
+
fill: e.fill,
|
|
160
|
+
transform: "translate(0 1)"
|
|
161
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
162
|
+
d: "M9 22h8.749c2.5 0 4-3.332 5-6.663 1.184-3.948 2.734-9.227-1.75-9.227H17.22c-1.129 0-2.12.754-2.43 1.848a1149.2 1149.2 0 01-2.713 9.437c-.46 1.564-.842 2.907-1.43 3.743A1.97 1.97 0 019 22",
|
|
163
|
+
fill: f.fill,
|
|
164
|
+
transform: "translate(0 1)"
|
|
165
|
+
})]
|
|
166
|
+
})]
|
|
167
|
+
}));
|
|
168
|
+
});
|
|
169
|
+
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: "M9 23l.073-.001a2.53 2.53 0 01-2.347-1.838l-.697-2.433a2.529 2.529 0 00-2.426-1.839h-.497l-.104-.002c-4.485 0-2.935-5.278-1.75-9.225l.162-.525C2.412 3.99 3.883 1 6.25 1h8.86c1.12 0 2.106.745 2.422 1.829l.715 2.453a2.53 2.53 0 002.247 1.823l.147.005.534.001c3.557.115 3.088 3.745 2.156 7.206l-.113.413c-.154.548-.315 1.089-.47 1.607l-.163.525C21.588 20.01 20.116 23 17.75 23h-8.75zm8.22-15.89l-3.856.001a2.526 2.526 0 00-2.35 1.615L9.21 15.04a2.529 2.529 0 01-2.43 1.847l3.853.002c1.056 0 1.992-.661 2.361-1.644l1.796-6.287a2.529 2.529 0 012.43-1.848z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|