@lobehub/icons 1.13.0 → 1.14.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 +2 -0
- package/es/Grok/components/Avatar.d.ts +5 -0
- package/es/Grok/components/Avatar.js +22 -0
- package/es/Grok/components/Combine.d.ts +5 -0
- package/es/Grok/components/Combine.js +27 -0
- package/es/Grok/components/Mono.d.ts +3 -0
- package/es/Grok/components/Mono.js +35 -0
- package/es/Grok/components/Text.d.ts +3 -0
- package/es/Grok/components/Text.js +35 -0
- package/es/Grok/index.d.ts +13 -0
- package/es/Grok/index.js +12 -0
- package/es/Grok/style.d.ts +4 -0
- package/es/Grok/style.js +4 -0
- package/es/Groq/components/Combine.d.ts +5 -0
- package/es/Groq/components/Combine.js +21 -0
- package/es/Groq/index.d.ts +2 -0
- package/es/Groq/index.js +2 -0
- package/es/IconAvatar/index.d.ts +1 -1
- package/es/IconAvatar/index.js +3 -2
- package/es/IconCombine/index.d.ts +4 -2
- package/es/IconCombine/index.js +11 -8
- package/es/Yi/components/Avatar.d.ts +5 -0
- package/es/Yi/components/Avatar.js +22 -0
- package/es/Yi/components/Color.d.ts +3 -0
- package/es/Yi/components/Color.js +43 -0
- package/es/Yi/components/Combine.d.ts +7 -0
- package/es/Yi/components/Combine.js +26 -0
- package/es/Yi/components/Mono.d.ts +3 -0
- package/es/Yi/components/Mono.js +42 -0
- package/es/Yi/components/Text.d.ts +3 -0
- package/es/Yi/components/Text.js +35 -0
- package/es/Yi/index.d.ts +15 -0
- package/es/Yi/index.js +14 -0
- package/es/Yi/style.d.ts +4 -0
- package/es/Yi/style.js +4 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/types/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ Contributions, corrections & requests can be made on GitHub.
|
|
|
60
60
|
<!-- ICON LIST -->
|
|
61
61
|
|
|
62
62
|
- [x] [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu)
|
|
63
|
+
- [x] [Yi (零一万物)](https://icons.lobehub.com/components/yi)
|
|
63
64
|
- [x] [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)
|
|
64
65
|
- [x] [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)
|
|
65
66
|
- [x] [Tongyi (通义)](https://icons.lobehub.com/components/tongyi)
|
|
@@ -82,6 +83,7 @@ Contributions, corrections & requests can be made on GitHub.
|
|
|
82
83
|
- [x] [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)
|
|
83
84
|
- [x] [HuggingFace](https://icons.lobehub.com/components/hugging-face)
|
|
84
85
|
- [x] [Groq](https://icons.lobehub.com/components/groq)
|
|
86
|
+
- [x] [Grok](https://icons.lobehub.com/components/grok)
|
|
85
87
|
- [x] [Google](https://icons.lobehub.com/components/google)
|
|
86
88
|
- [x] [Github (Copilot)](https://icons.lobehub.com/components/github-copilot)
|
|
87
89
|
- [x] [Github](https://icons.lobehub.com/components/github)
|
|
@@ -0,0 +1,22 @@
|
|
|
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, TITLE } 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
|
+
"aria-label": TITLE,
|
|
17
|
+
background: background || COLOR_PRIMARY,
|
|
18
|
+
color: '#000',
|
|
19
|
+
iconMultiple: 0.65
|
|
20
|
+
}, rest));
|
|
21
|
+
});
|
|
22
|
+
export default Avatar;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
import { memo } from 'react';
|
|
6
|
+
import IconCombine from "../../IconCombine";
|
|
7
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
8
|
+
import Avatar from "./Avatar";
|
|
9
|
+
import Text from "./Text";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
14
|
+
Icon: Avatar,
|
|
15
|
+
Text: Text,
|
|
16
|
+
"aria-label": TITLE,
|
|
17
|
+
iconProps: {
|
|
18
|
+
shape: 'square',
|
|
19
|
+
style: {
|
|
20
|
+
borderRadius: 0
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
24
|
+
textMultiple: TEXT_MULTIPLE
|
|
25
|
+
}, rest));
|
|
26
|
+
});
|
|
27
|
+
export default Combine;
|
|
@@ -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 { TITLE } from "../style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
width: size,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
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 { TITLE } from "../style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1,
|
|
23
|
+
width: 'fit-content'
|
|
24
|
+
}, style),
|
|
25
|
+
viewBox: "0 0 59 24",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M15.57 21.352c-1.254.395-2.415.594-3.483.594-2.01 0-3.78-.419-5.31-1.255-1.53-.837-2.709-1.984-3.536-3.442C2.414 15.792 2 14.155 2 12.337c0-2.123.445-3.963 1.334-5.52.89-1.556 2.09-2.748 3.603-3.576C8.449 2.414 10.103 2 11.9 2c1.085 0 2.108.13 3.07.391.96.261 1.822.608 2.588 1.04l-.855 2.401c-.57-.323-1.285-.607-2.148-.85-.863-.243-1.641-.364-2.335-.364-1.494 0-2.815.306-3.963.918a6.401 6.401 0 00-2.655 2.618c-.623 1.133-.934 2.456-.934 3.967 0 1.404.31 2.655.934 3.752a6.42 6.42 0 002.642 2.55c1.138.603 2.437.905 3.896.905.676 0 1.334-.068 1.975-.203.64-.135 1.174-.328 1.601-.58v-3.86h-3.843v-2.51h6.458v7.881c-.538.43-1.356.828-2.455 1.196l-.306.1zm10.701-9.77a6.158 6.158 0 011.668-1.08c.587-.252 1.103-.387 1.548-.405l-.107 2.51c-.8-.036-1.526.126-2.175.486-.65.36-1.156.86-1.52 1.498a4.045 4.045 0 00-.548 2.038v5.101h-2.482V10.556h2.215l.187 2.645a4.9 4.9 0 011.023-1.44l.191-.18zm5.764 1.444a5.671 5.671 0 012.189-2.146c.934-.522 1.988-.783 3.162-.783s2.22.261 3.136.783a5.559 5.559 0 012.134 2.132c.507.9.761 1.908.761 3.023 0 1.116-.253 2.128-.76 3.037a5.506 5.506 0 01-2.149 2.145c-.925.522-1.984.783-3.176.783-1.191 0-2.197-.247-3.122-.742a5.433 5.433 0 01-2.175-2.092c-.525-.9-.787-1.943-.787-3.13 0-.998.217-1.918.65-2.76l.137-.25zm2.189 4.98a3.589 3.589 0 001.28 1.403 3.31 3.31 0 001.802.513c1.032 0 1.885-.369 2.562-1.107.676-.737 1.014-1.655 1.014-2.753 0-1.097-.338-2.02-1.014-2.766-.676-.747-1.53-1.12-2.562-1.12-.676 0-1.281.175-1.815.526-.533.35-.956.823-1.267 1.417a4.12 4.12 0 00-.467 1.943c0 .614.12 1.187.357 1.718l.11.225zm18.16-3.05l4.082-3.32-1.52-1.35-5.712 4.642V2h-2.481v19.73h2.481v-4.184l1.442-1.187 3.415 5.371H57l-4.617-6.775z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
export default Icon;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Combine from './components/Combine';
|
|
3
|
+
import Mono from './components/Mono';
|
|
4
|
+
import Text from './components/Text';
|
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
|
6
|
+
Avatar: typeof Avatar;
|
|
7
|
+
Combine: typeof Combine;
|
|
8
|
+
Text: typeof Text;
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
declare const Icons: CompoundedIcon;
|
|
13
|
+
export default Icons;
|
package/es/Grok/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Combine from "./components/Combine";
|
|
3
|
+
import Mono from "./components/Mono";
|
|
4
|
+
import Text from "./components/Text";
|
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
6
|
+
var Icons = Mono;
|
|
7
|
+
Icons.Text = Text;
|
|
8
|
+
Icons.Combine = Combine;
|
|
9
|
+
Icons.Avatar = Avatar;
|
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
11
|
+
Icons.title = TITLE;
|
|
12
|
+
export default Icons;
|
package/es/Grok/style.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
import { memo } from 'react';
|
|
6
|
+
import IconCombine from "../../IconCombine";
|
|
7
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
|
8
|
+
import Avatar from "./Avatar";
|
|
9
|
+
import Text from "./Text";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
14
|
+
Icon: Avatar,
|
|
15
|
+
Text: Text,
|
|
16
|
+
"aria-label": TITLE,
|
|
17
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
18
|
+
textMultiple: TEXT_MULTIPLE
|
|
19
|
+
}, rest));
|
|
20
|
+
});
|
|
21
|
+
export default Combine;
|
package/es/Groq/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Avatar from './components/Avatar';
|
|
2
|
+
import Combine from './components/Combine';
|
|
2
3
|
import Mono from './components/Mono';
|
|
3
4
|
import Text from './components/Text';
|
|
4
5
|
export type CompoundedIcon = typeof Mono & {
|
|
5
6
|
Avatar: typeof Avatar;
|
|
7
|
+
Combine: typeof Combine;
|
|
6
8
|
Text: typeof Text;
|
|
7
9
|
colorPrimary: string;
|
|
8
10
|
title: string;
|
package/es/Groq/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import Avatar from "./components/Avatar";
|
|
2
|
+
import Combine from "./components/Combine";
|
|
2
3
|
import Mono from "./components/Mono";
|
|
3
4
|
import Text from "./components/Text";
|
|
4
5
|
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
5
6
|
var Icons = Mono;
|
|
6
7
|
Icons.Text = Text;
|
|
8
|
+
Icons.Combine = Combine;
|
|
7
9
|
Icons.Avatar = Avatar;
|
|
8
10
|
Icons.colorPrimary = COLOR_PRIMARY;
|
|
9
11
|
Icons.title = TITLE;
|
package/es/IconAvatar/index.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export interface IconAvatarProps extends Omit<FlexboxProps, 'children'> {
|
|
|
11
11
|
shape?: 'circle' | 'square';
|
|
12
12
|
size: number;
|
|
13
13
|
}
|
|
14
|
-
declare const IconAvatar: import("react").
|
|
14
|
+
declare const IconAvatar: import("react").ForwardRefExoticComponent<IconAvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
15
|
export default IconAvatar;
|
package/es/IconAvatar/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
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; }
|
|
3
3
|
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; }
|
|
4
|
-
import {
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
5
|
import { Flexbox } from 'react-layout-kit';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
var IconAvatar = /*#__PURE__*/
|
|
7
|
+
var IconAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
8
8
|
var _ref$shape = _ref.shape,
|
|
9
9
|
shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
|
|
10
10
|
_ref$color = _ref.color,
|
|
@@ -21,6 +21,7 @@ var IconAvatar = /*#__PURE__*/memo(function (_ref) {
|
|
|
21
21
|
align: 'center',
|
|
22
22
|
flex: 'none',
|
|
23
23
|
justify: 'center',
|
|
24
|
+
ref: ref,
|
|
24
25
|
style: _objectSpread({
|
|
25
26
|
background: background,
|
|
26
27
|
borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { type FlexboxProps } from 'react-layout-kit';
|
|
3
|
+
import IconAvatar, { IconAvatarProps } from "../IconAvatar";
|
|
3
4
|
import { IconType } from "../types";
|
|
4
5
|
export interface IconCombineProps extends FlexboxProps {
|
|
5
|
-
Icon: IconType;
|
|
6
|
+
Icon: IconType | typeof IconAvatar;
|
|
6
7
|
Text?: IconType;
|
|
7
8
|
color?: string;
|
|
8
9
|
extra?: string;
|
|
9
10
|
extraClassName?: string;
|
|
10
11
|
extraStyle?: CSSProperties;
|
|
12
|
+
iconProps?: Partial<IconAvatarProps>;
|
|
11
13
|
showLogo?: boolean;
|
|
12
14
|
showText?: boolean;
|
|
13
15
|
size?: number;
|
|
14
16
|
spaceMultiple?: number;
|
|
15
17
|
textMultiple?: number;
|
|
16
18
|
}
|
|
17
|
-
declare const IconCombine: import("react").
|
|
19
|
+
declare const IconCombine: import("react").ForwardRefExoticComponent<IconCombineProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
20
|
export default IconCombine;
|
package/es/IconCombine/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName"];
|
|
3
|
+
var _excluded = ["Icon", "style", "Text", "color", "size", "spaceMultiple", "textMultiple", "extra", "extraStyle", "showText", "showLogo", "extraClassName", "iconProps"];
|
|
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
|
-
import {
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
7
|
import { Flexbox } from 'react-layout-kit';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
var IconCombine = /*#__PURE__*/
|
|
10
|
+
var IconCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
11
|
var Icon = _ref.Icon,
|
|
12
12
|
style = _ref.style,
|
|
13
13
|
Text = _ref.Text,
|
|
@@ -25,22 +25,25 @@ var IconCombine = /*#__PURE__*/memo(function (_ref) {
|
|
|
25
25
|
_ref$showLogo = _ref.showLogo,
|
|
26
26
|
showLogo = _ref$showLogo === void 0 ? true : _ref$showLogo,
|
|
27
27
|
extraClassName = _ref.extraClassName,
|
|
28
|
+
iconProps = _ref.iconProps,
|
|
28
29
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
29
30
|
return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
|
|
30
31
|
align: 'center',
|
|
31
32
|
flex: 'none',
|
|
32
33
|
horizontal: true,
|
|
33
34
|
justify: 'flex-start',
|
|
35
|
+
ref: ref,
|
|
34
36
|
style: _objectSpread({
|
|
35
37
|
color: color
|
|
36
38
|
}, style)
|
|
37
39
|
}, rest), {}, {
|
|
38
|
-
children: [showLogo && /*#__PURE__*/_jsx(Icon, {
|
|
39
|
-
size: size
|
|
40
|
-
|
|
40
|
+
children: [showLogo && /*#__PURE__*/_jsx(Icon, _objectSpread(_objectSpread({
|
|
41
|
+
size: size
|
|
42
|
+
}, iconProps), {}, {
|
|
43
|
+
style: _objectSpread({
|
|
41
44
|
marginRight: size * spaceMultiple
|
|
42
|
-
}
|
|
43
|
-
}), showText && Text && /*#__PURE__*/_jsx(Text, {
|
|
45
|
+
}, iconProps === null || iconProps === void 0 ? void 0 : iconProps.style)
|
|
46
|
+
})), showText && Text && /*#__PURE__*/_jsx(Text, {
|
|
44
47
|
size: size * textMultiple
|
|
45
48
|
}), extra && /*#__PURE__*/_jsx("span", {
|
|
46
49
|
className: extraClassName,
|
|
@@ -0,0 +1,22 @@
|
|
|
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, TITLE } 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
|
+
"aria-label": TITLE,
|
|
17
|
+
background: background || COLOR_PRIMARY,
|
|
18
|
+
color: '#fff',
|
|
19
|
+
iconMultiple: 0.6
|
|
20
|
+
}, rest));
|
|
21
|
+
});
|
|
22
|
+
export default Avatar;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { TITLE } from "../style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
width: size,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
31
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.118 1.118 0 01-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128zM16.59 3.052a1.094 1.094 0 011.562-.129c.466.404.522 1.116.126 1.59l-5.938 7.111v9.147c0 .624-.496 1.129-1.108 1.129a1.118 1.118 0 01-1.108-1.129v-9.477l.003-.088.01-.087c.015-.232.102-.462.261-.654l6.192-7.413zM2.906 2.256a1.094 1.094 0 011.559.157l4.387 5.45a1.142 1.142 0 01-.155 1.587 1.094 1.094 0 01-1.559-.157l-4.387-5.45a1.144 1.144 0 01.06-1.498l.095-.09z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("ellipse", {
|
|
34
|
+
cx: "20.146",
|
|
35
|
+
cy: "10.692",
|
|
36
|
+
fill: "#00FF25",
|
|
37
|
+
rx: "1.354",
|
|
38
|
+
ry: "1.379"
|
|
39
|
+
})]
|
|
40
|
+
})]
|
|
41
|
+
}));
|
|
42
|
+
});
|
|
43
|
+
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,26 @@
|
|
|
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, TITLE } 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
|
+
"aria-label": TITLE,
|
|
22
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
23
|
+
textMultiple: TEXT_MULTIPLE
|
|
24
|
+
}, rest));
|
|
25
|
+
});
|
|
26
|
+
export default Combine;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { TITLE } from "../style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1
|
|
23
|
+
}, style),
|
|
24
|
+
viewBox: "0 0 24 24",
|
|
25
|
+
width: size,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
31
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.118 1.118 0 01-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128zM16.59 3.052a1.094 1.094 0 011.562-.129c.466.404.522 1.116.126 1.59l-5.938 7.111v9.147c0 .624-.496 1.129-1.108 1.129a1.118 1.118 0 01-1.108-1.129v-9.477l.003-.088.01-.087c.015-.232.102-.462.261-.654l6.192-7.413zM2.906 2.256a1.094 1.094 0 011.559.157l4.387 5.45a1.142 1.142 0 01-.155 1.587 1.094 1.094 0 01-1.559-.157l-4.387-5.45a1.144 1.144 0 01.06-1.498l.095-.09z"
|
|
33
|
+
}), /*#__PURE__*/_jsx("ellipse", {
|
|
34
|
+
cx: "20.146",
|
|
35
|
+
cy: "10.692",
|
|
36
|
+
rx: "1.354",
|
|
37
|
+
ry: "1.379"
|
|
38
|
+
})]
|
|
39
|
+
})]
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
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 { TITLE } from "../style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
|
+
var _ref$size = _ref.size,
|
|
12
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
height: size,
|
|
19
|
+
ref: ref,
|
|
20
|
+
style: _objectSpread({
|
|
21
|
+
flex: 'none',
|
|
22
|
+
lineHeight: 1,
|
|
23
|
+
width: 'fit-content'
|
|
24
|
+
}, style),
|
|
25
|
+
viewBox: "0 0 89 24",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
27
|
+
}, rest), {}, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
29
|
+
children: TITLE
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M72.852 2.024v4.958h2.449v1.359h-2.384v3.834l1.578-.687.79-.344.708 1.424c-.888.536-1.725 1.067-2.591 1.551-.403.227-.547.499-.541.963.025 2.041.01 4.08.01 6.122V22h-2.345v-6.022l-2.265 1.627-1.432-1.943c1.097-.645 2.124-1.272 3.177-1.856.379-.21.54-.447.533-.89-.026-1.489-.01-2.978-.01-4.448l-.245-.05c-.93-.183-.947-.108-1.15.827-.184.85-.379 1.7-.582 2.605l-1.427-.246-.142-.024.767-7.998h2.136l-.374 3.356h.997V2.024h2.343zm3.682.022h2.113l-.267 2.776h8.618v.288c.002.202.003.378 0 .553-.074 3.867-.137 7.733-.236 11.6a6.761 6.761 0 01-.32 1.947c-.54 1.608-1.696 2.405-3.385 2.404-.639 0-1.276-.09-1.914-.113l-.213-.005c-.46-.004-.671-.18-.728-.615l-.004-.036c-.043-.393-.144-.78-.237-1.26.472.045.884.07 1.287.124l.11.015c1.664.244 2.767-.571 2.823-2.246.118-3.555.17-7.113.22-10.671.003-.19-.259-.383-.397-.575-.145.188-.4.366-.419.565l-.027.29c-.365 3.71-1.16 7.29-3.127 10.528-.817 1.346-1.797 2.553-3.168 3.498l-.696-.73-.081-.085c.017-.085.01-.147.037-.174 2.953-2.897 4.195-6.579 4.82-10.538.128-.81.21-1.629.302-2.445l.038-.334.016-.125c.027-.227.02-.437-.36-.459-.408-.023-.442.21-.482.528-.386 3.076-1.082 6.064-2.584 8.811-.894 1.637-1.981 3.118-3.625 4.269l-.803-.9c3.522-3.461 4.63-7.902 5.183-12.61l-.092-.026c-.524-.141-.844-.11-.94.526l-.006.037c-.1.744-.336 1.467-.533 2.28l-1.552-.284.536-5.799.093-1.01zM46.061 3.948V2.725h18.464v1.222c-.267.013-.539.036-.812.036-2.782.002-5.564.013-8.347-.003l-1.193-.009c-.603-.005-.833.145-.806.756l.001.038c.055.917.015 1.84.015 2.842h9.928c.02.277.051.48.046.683l-.064 2.94c-.044 1.962-.09 3.922-.144 5.882a7.615 7.615 0 01-.208 1.616c-.43 1.727-1.566 2.672-3.336 2.76-.922.045-1.85-.03-2.772-.016-.543.007-.809-.21-.866-.74l-.003-.038c-.033-.373-.148-.74-.245-1.2.772.048 1.495.112 2.22.135l.11.002c1.632.023 2.425-.62 2.516-2.26.144-2.604.162-5.214.208-7.824.003-.16-.222-.463-.345-.464-2.414-.027-4.83-.02-7.28-.02-.764 4.935-2.051 9.559-6.147 12.887l-1.353-1.366c3.733-3.777 4.849-8.533 5.206-13.573.05-.689.064-1.38.098-2.07l.02-.346c.027-.457-.167-.614-.597-.615h-.033c-1.163.02-2.325.008-3.489.004-.253 0-.507-.021-.792-.036zM21.163 2v1.275h-7.488v.819h8.46c.168 1.7-.034 3.257-.541 4.777-.047.14-.3.313-.443.302-.442-.033-.878-.15-1.287-.227V5.518h-6.21v3.538h-2.358c0-.85-.03-1.702.002-2.553l.011-.256c.032-.606-.136-.818-.75-.807l-.036.001a81.202 81.202 0 01-4.486.003c-.514-.011-.708.171-.867.635l-.012.036c-.299.912-.693 1.794-1.071 2.72l-.081.198-1.654-.646L3.358 4.11h7.784l.023-.071c.214-.678.16-.753-.507-.758h-.034c-1.01-.003-2.018-.004-3.027-.004l-3.845.001V2h17.411zM5.788 8.281h4.568l.04.803H5.832l-.044-.803zM19 8.258v.81h-4.567v-.81H19zm-.005-1.687v.863h-4.574V6.57h4.574zm-8.643.011v.837H5.825v-.837h4.527zm2.887 6.05l.023.061c.04.103.067.156.075.213.125.907.657 1.36 1.597 1.36h2.614c.171.896.12 1.655-.476 2.276-1.044 1.093-2.104 2.168-3.216 3.313l.885.928.058.062-.943.894-4.785-3.114-1.213-.791v-.001l1.012-1.616c.889.62 1.764 1.197 2.604 1.817l.251.187c.404.307.685.378 1.046-.01l.025-.028c.705-.79 1.447-1.545 2.175-2.316l-.1-.207H7.016v-1.385h4.631l-.514-1.356-.039-.101 1.957-.17.187-.016zm3.196-1.497l.083.05c1.933 1.194 4.168 1.497 6.446 1.207l.04.201c.198 1.017.07 1.145-1.027 1.264-2.996.327-5.78-.343-8.322-1.916l-.098-.06c-.738-.465-1.307-.456-2.026-.017l-.045.028c-2.495 1.563-5.225 2.252-8.164 1.993l-.241-.023c-1.1-.11-1.155-.212-1.038-1.385l.009-.087.105.013c2.912.323 5.496-.472 7.897-2.021.278-.18.648-.225.983-.298.18-.04.379.007.568-.008 1.724-.143 3.285.13 4.83 1.059zm27.371 1.017H25.374V10.88h18.432v1.273z"
|
|
32
|
+
})]
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
export default Icon;
|
package/es/Yi/index.d.ts
ADDED
|
@@ -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
|
+
colorPrimary: string;
|
|
12
|
+
title: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
export default Icons;
|
package/es/Yi/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_PRIMARY, TITLE } 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.title = TITLE;
|
|
14
|
+
export default Icons;
|
package/es/Yi/style.d.ts
ADDED
package/es/Yi/style.js
ADDED
package/es/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { default as Gemma, type CompoundedIcon as GemmaProps } from './Gemma';
|
|
|
19
19
|
export { default as Github, type CompoundedIcon as GithubProps } from './Github';
|
|
20
20
|
export { default as GithubCopilot, type CompoundedIcon as GithubCopilotProps, } from './GithubCopilot';
|
|
21
21
|
export { default as Google, type CompoundedIcon as GoogleProps } from './Google';
|
|
22
|
+
export { default as Grok, type CompoundedIcon as GrokProps } from './Grok';
|
|
22
23
|
export { default as Groq, type CompoundedIcon as GroqProps } from './Groq';
|
|
23
24
|
export { default as HuggingFace, type CompoundedIcon as HuggingFaceProps } from './HuggingFace';
|
|
24
25
|
export { default as Hunyuan, type CompoundedIcon as HunyuanProps } from './Hunyuan';
|
|
@@ -44,4 +45,5 @@ export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Tongyi'
|
|
|
44
45
|
export type { IconType } from './types';
|
|
45
46
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
|
46
47
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
|
48
|
+
export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
|
|
47
49
|
export { default as Zhipu, type CompoundedIcon as ZhipuProps } from './Zhipu';
|
package/es/index.js
CHANGED
|
@@ -19,6 +19,7 @@ export { default as Gemma } from "./Gemma";
|
|
|
19
19
|
export { default as Github } from "./Github";
|
|
20
20
|
export { default as GithubCopilot } from "./GithubCopilot";
|
|
21
21
|
export { default as Google } from "./Google";
|
|
22
|
+
export { default as Grok } from "./Grok";
|
|
22
23
|
export { default as Groq } from "./Groq";
|
|
23
24
|
export { default as HuggingFace } from "./HuggingFace";
|
|
24
25
|
export { default as Hunyuan } from "./Hunyuan";
|
|
@@ -43,4 +44,5 @@ export { default as Stability } from "./Stability";
|
|
|
43
44
|
export { default as Tongyi } from "./Tongyi";
|
|
44
45
|
export { default as Wenxin } from "./Wenxin";
|
|
45
46
|
export { default as WorkersAI } from "./WorkersAI";
|
|
47
|
+
export { default as Yi } from "./Yi";
|
|
46
48
|
export { default as Zhipu } from "./Zhipu";
|
package/es/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react';
|
|
2
|
-
export type IconType = ForwardRefExoticComponent<Pick<SVGProps<SVGSVGElement>, 'string' | 'style' | 'clipPath' | 'filter' | 'mask' | 'path' | 'className' | 'color' | 'height' | 'id' | 'lang' | 'max' | 'media' | 'method' | 'min' | 'name' | 'target' | 'type' | 'width' | 'role' | 'tabIndex' | 'crossOrigin' | 'accentHeight' | 'accumulate' | 'additive' | 'alignmentBaseline' | 'allowReorder' | 'alphabetic' | 'amplitude' | 'arabicForm' | 'ascent' | 'attributeName' | 'attributeType' | 'autoReverse' | 'azimuth' | 'baseFrequency' | 'baselineShift' | 'baseProfile' | 'bbox' | 'begin' | 'bias' | 'by' | 'calcMode' | 'capHeight' | 'clip' | 'clipPathUnits' | 'clipRule' | 'colorInterpolation' | 'colorInterpolationFilters' | 'colorProfile' | 'colorRendering' | 'contentScriptType' | 'contentStyleType' | 'cursor' | 'cx' | 'cy' | 'd' | 'decelerate' | 'descent' | 'diffuseConstant' | 'direction' | 'display' | 'divisor' | 'dominantBaseline' | 'dur' | 'dx' | 'dy' | 'edgeMode' | 'elevation' | 'enableBackground' | 'end' | 'exponent' | 'externalResourcesRequired' | 'fill' | 'fillOpacity' | 'fillRule' | 'filterRes' | 'filterUnits' | 'floodColor' | 'floodOpacity' | 'focusable' | 'fontFamily' | 'fontSize' | 'fontSizeAdjust' | 'fontStretch' | 'fontStyle' | 'fontVariant' | 'fontWeight' | 'format' | 'fr' | 'from' | 'fx' | 'fy' | 'g1' | 'g2' | 'glyphName' | 'glyphOrientationHorizontal' | 'glyphOrientationVertical' | 'glyphRef' | 'gradientTransform' | 'gradientUnits' | 'hanging' | 'horizAdvX' | 'horizOriginX' | 'href' | 'ideographic' | 'imageRendering' | 'in2' | 'in' | 'intercept' | 'k1' | 'k2' | 'k3' | 'k4' | 'k' | 'kernelMatrix' | 'kernelUnitLength' | 'kerning' | 'keyPoints' | 'keySplines' | 'keyTimes' | 'lengthAdjust' | 'letterSpacing' | 'lightingColor' | 'limitingConeAngle' | 'local' | 'markerEnd' | 'markerHeight' | 'markerMid' | 'markerStart' | 'markerUnits' | 'markerWidth' | 'maskContentUnits' | 'maskUnits' | 'mathematical' | 'mode' | 'numOctaves' | 'offset' | 'opacity' | 'operator' | 'order' | 'orient' | 'orientation' | 'origin' | 'overflow' | 'overlinePosition' | 'overlineThickness' | 'paintOrder' | 'panose1' | 'pathLength' | 'patternContentUnits' | 'patternTransform' | 'patternUnits' | 'pointerEvents' | 'points' | 'pointsAtX' | 'pointsAtY' | 'pointsAtZ' | 'preserveAlpha' | 'preserveAspectRatio' | 'primitiveUnits' | 'r' | 'radius' | 'refX' | 'refY' | 'renderingIntent' | 'repeatCount' | 'repeatDur' | 'requiredExtensions' | 'requiredFeatures' | 'restart' | 'result' | 'rotate' | 'rx' | 'ry' | 'scale' | 'seed' | 'shapeRendering' | 'slope' | 'spacing' | 'specularConstant' | 'specularExponent' | 'speed' | 'spreadMethod' | 'startOffset' | 'stdDeviation' | 'stemh' | 'stemv' | 'stitchTiles' | 'stopColor' | 'stopOpacity' | 'strikethroughPosition' | 'strikethroughThickness' | 'stroke' | 'strokeDasharray' | 'strokeDashoffset' | 'strokeLinecap' | 'strokeLinejoin' | 'strokeMiterlimit' | 'strokeOpacity' | 'strokeWidth' | 'surfaceScale' | 'systemLanguage' | 'tableValues' | 'targetX' | 'targetY' | 'textAnchor' | 'textDecoration' | 'textLength' | 'textRendering' | 'to' | 'transform' | 'u1' | 'u2' | 'underlinePosition' | 'underlineThickness' | 'unicode' | 'unicodeBidi' | 'unicodeRange' | 'unitsPerEm' | 'vAlphabetic' | 'values' | 'vectorEffect' | 'version' | 'vertAdvY' | 'vertOriginX' | 'vertOriginY' | 'vHanging' | 'vIdeographic' | 'viewBox' | 'viewTarget' | 'visibility' | 'vMathematical' | 'widths' | 'wordSpacing' | 'writingMode' | 'x1' | 'x2' | 'x' | 'xChannelSelector' | 'xHeight' | 'xlinkActuate' | 'xlinkArcrole' | 'xlinkHref' | 'xlinkRole' | 'xlinkShow' | 'xlinkTitle' | 'xlinkType' | 'xmlBase' | 'xmlLang' | 'xmlns' | 'xmlnsXlink' | 'xmlSpace' | 'y1' | 'y2' | 'y' | 'yChannelSelector' | 'z' | 'zoomAndPan' | 'aria-activedescendant' | 'aria-atomic' | 'aria-autocomplete' | 'aria-busy' | 'aria-checked' | 'aria-colcount' | 'aria-colindex' | 'aria-colspan' | 'aria-controls' | 'aria-current' | 'aria-describedby' | 'aria-details' | 'aria-disabled' | 'aria-dropeffect' | 'aria-errormessage' | 'aria-expanded' | 'aria-flowto' | 'aria-grabbed' | 'aria-haspopup' | 'aria-hidden' | 'aria-invalid' | 'aria-keyshortcuts' | 'aria-label' | 'aria-labelledby' | 'aria-level' | 'aria-live' | 'aria-modal' | 'aria-multiline' | 'aria-multiselectable' | 'aria-orientation' | 'aria-owns' | 'aria-placeholder' | 'aria-posinset' | 'aria-pressed' | 'aria-readonly' | 'aria-relevant' | 'aria-required' | 'aria-roledescription' | 'aria-rowcount' | 'aria-rowindex' | 'aria-rowspan' | 'aria-selected' | 'aria-setsize' | 'aria-sort' | 'aria-valuemax' | 'aria-valuemin' | 'aria-valuenow' | 'aria-valuetext' | 'children' | 'dangerouslySetInnerHTML' | 'onCopy' | 'onCopyCapture' | 'onCut' | 'onCutCapture' | 'onPaste' | 'onPasteCapture' | 'onCompositionEnd' | 'onCompositionEndCapture' | 'onCompositionStart' | 'onCompositionStartCapture' | 'onCompositionUpdate' | 'onCompositionUpdateCapture' | 'onFocus' | 'onFocusCapture' | 'onBlur' | 'onBlurCapture' | 'onChange' | 'onChangeCapture' | 'onBeforeInput' | 'onBeforeInputCapture' | 'onInput' | 'onInputCapture' | 'onReset' | 'onResetCapture' | 'onSubmit' | 'onSubmitCapture' | 'onInvalid' | 'onInvalidCapture' | 'onLoad' | 'onLoadCapture' | 'onError' | 'onErrorCapture' | 'onKeyDown' | 'onKeyDownCapture' | 'onKeyPress' | 'onKeyPressCapture' | 'onKeyUp' | 'onKeyUpCapture' | 'onAbort' | 'onAbortCapture' | 'onCanPlay' | 'onCanPlayCapture' | 'onCanPlayThrough' | 'onCanPlayThroughCapture' | 'onDurationChange' | 'onDurationChangeCapture' | 'onEmptied' | 'onEmptiedCapture' | 'onEncrypted' | 'onEncryptedCapture' | 'onEnded' | 'onEndedCapture' | 'onLoadedData' | 'onLoadedDataCapture' | 'onLoadedMetadata' | 'onLoadedMetadataCapture' | 'onLoadStart' | 'onLoadStartCapture' | 'onPause' | 'onPauseCapture' | 'onPlay' | 'onPlayCapture' | 'onPlaying' | 'onPlayingCapture' | 'onProgress' | 'onProgressCapture' | 'onRateChange' | 'onRateChangeCapture' | 'onSeeked' | 'onSeekedCapture' | 'onSeeking' | 'onSeekingCapture' | 'onStalled' | 'onStalledCapture' | 'onSuspend' | 'onSuspendCapture' | 'onTimeUpdate' | 'onTimeUpdateCapture' | 'onVolumeChange' | 'onVolumeChangeCapture' | 'onWaiting' | 'onWaitingCapture' | 'onAuxClick' | 'onAuxClickCapture' | 'onClick' | 'onClickCapture' | 'onContextMenu' | 'onContextMenuCapture' | 'onDoubleClick' | 'onDoubleClickCapture' | 'onDrag' | 'onDragCapture' | 'onDragEnd' | 'onDragEndCapture' | 'onDragEnter' | 'onDragEnterCapture' | 'onDragExit' | 'onDragExitCapture' | 'onDragLeave' | 'onDragLeaveCapture' | 'onDragOver' | 'onDragOverCapture' | 'onDragStart' | 'onDragStartCapture' | 'onDrop' | 'onDropCapture' | 'onMouseDown' | 'onMouseDownCapture' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseMove' | 'onMouseMoveCapture' | 'onMouseOut' | 'onMouseOutCapture' | 'onMouseOver' | 'onMouseOverCapture' | 'onMouseUp' | 'onMouseUpCapture' | 'onSelect' | 'onSelectCapture' | 'onTouchCancel' | 'onTouchCancelCapture' | 'onTouchEnd' | 'onTouchEndCapture' | 'onTouchMove' | 'onTouchMoveCapture' | 'onTouchStart' | 'onTouchStartCapture' | 'onPointerDown' | 'onPointerDownCapture' | 'onPointerMove' | 'onPointerMoveCapture' | 'onPointerUp' | 'onPointerUpCapture' | 'onPointerCancel' | 'onPointerCancelCapture' | 'onPointerEnter' | '
|
|
2
|
+
export type IconType = ForwardRefExoticComponent<Pick<SVGProps<SVGSVGElement>, 'string' | 'style' | 'clipPath' | 'filter' | 'mask' | 'path' | 'className' | 'color' | 'height' | 'id' | 'lang' | 'max' | 'media' | 'method' | 'min' | 'name' | 'target' | 'type' | 'width' | 'role' | 'tabIndex' | 'crossOrigin' | 'accentHeight' | 'accumulate' | 'additive' | 'alignmentBaseline' | 'allowReorder' | 'alphabetic' | 'amplitude' | 'arabicForm' | 'ascent' | 'attributeName' | 'attributeType' | 'autoReverse' | 'azimuth' | 'baseFrequency' | 'baselineShift' | 'baseProfile' | 'bbox' | 'begin' | 'bias' | 'by' | 'calcMode' | 'capHeight' | 'clip' | 'clipPathUnits' | 'clipRule' | 'colorInterpolation' | 'colorInterpolationFilters' | 'colorProfile' | 'colorRendering' | 'contentScriptType' | 'contentStyleType' | 'cursor' | 'cx' | 'cy' | 'd' | 'decelerate' | 'descent' | 'diffuseConstant' | 'direction' | 'display' | 'divisor' | 'dominantBaseline' | 'dur' | 'dx' | 'dy' | 'edgeMode' | 'elevation' | 'enableBackground' | 'end' | 'exponent' | 'externalResourcesRequired' | 'fill' | 'fillOpacity' | 'fillRule' | 'filterRes' | 'filterUnits' | 'floodColor' | 'floodOpacity' | 'focusable' | 'fontFamily' | 'fontSize' | 'fontSizeAdjust' | 'fontStretch' | 'fontStyle' | 'fontVariant' | 'fontWeight' | 'format' | 'fr' | 'from' | 'fx' | 'fy' | 'g1' | 'g2' | 'glyphName' | 'glyphOrientationHorizontal' | 'glyphOrientationVertical' | 'glyphRef' | 'gradientTransform' | 'gradientUnits' | 'hanging' | 'horizAdvX' | 'horizOriginX' | 'href' | 'ideographic' | 'imageRendering' | 'in2' | 'in' | 'intercept' | 'k1' | 'k2' | 'k3' | 'k4' | 'k' | 'kernelMatrix' | 'kernelUnitLength' | 'kerning' | 'keyPoints' | 'keySplines' | 'keyTimes' | 'lengthAdjust' | 'letterSpacing' | 'lightingColor' | 'limitingConeAngle' | 'local' | 'markerEnd' | 'markerHeight' | 'markerMid' | 'markerStart' | 'markerUnits' | 'markerWidth' | 'maskContentUnits' | 'maskUnits' | 'mathematical' | 'mode' | 'numOctaves' | 'offset' | 'opacity' | 'operator' | 'order' | 'orient' | 'orientation' | 'origin' | 'overflow' | 'overlinePosition' | 'overlineThickness' | 'paintOrder' | 'panose1' | 'pathLength' | 'patternContentUnits' | 'patternTransform' | 'patternUnits' | 'pointerEvents' | 'points' | 'pointsAtX' | 'pointsAtY' | 'pointsAtZ' | 'preserveAlpha' | 'preserveAspectRatio' | 'primitiveUnits' | 'r' | 'radius' | 'refX' | 'refY' | 'renderingIntent' | 'repeatCount' | 'repeatDur' | 'requiredExtensions' | 'requiredFeatures' | 'restart' | 'result' | 'rotate' | 'rx' | 'ry' | 'scale' | 'seed' | 'shapeRendering' | 'slope' | 'spacing' | 'specularConstant' | 'specularExponent' | 'speed' | 'spreadMethod' | 'startOffset' | 'stdDeviation' | 'stemh' | 'stemv' | 'stitchTiles' | 'stopColor' | 'stopOpacity' | 'strikethroughPosition' | 'strikethroughThickness' | 'stroke' | 'strokeDasharray' | 'strokeDashoffset' | 'strokeLinecap' | 'strokeLinejoin' | 'strokeMiterlimit' | 'strokeOpacity' | 'strokeWidth' | 'surfaceScale' | 'systemLanguage' | 'tableValues' | 'targetX' | 'targetY' | 'textAnchor' | 'textDecoration' | 'textLength' | 'textRendering' | 'to' | 'transform' | 'u1' | 'u2' | 'underlinePosition' | 'underlineThickness' | 'unicode' | 'unicodeBidi' | 'unicodeRange' | 'unitsPerEm' | 'vAlphabetic' | 'values' | 'vectorEffect' | 'version' | 'vertAdvY' | 'vertOriginX' | 'vertOriginY' | 'vHanging' | 'vIdeographic' | 'viewBox' | 'viewTarget' | 'visibility' | 'vMathematical' | 'widths' | 'wordSpacing' | 'writingMode' | 'x1' | 'x2' | 'x' | 'xChannelSelector' | 'xHeight' | 'xlinkActuate' | 'xlinkArcrole' | 'xlinkHref' | 'xlinkRole' | 'xlinkShow' | 'xlinkTitle' | 'xlinkType' | 'xmlBase' | 'xmlLang' | 'xmlns' | 'xmlnsXlink' | 'xmlSpace' | 'y1' | 'y2' | 'y' | 'yChannelSelector' | 'z' | 'zoomAndPan' | 'aria-activedescendant' | 'aria-atomic' | 'aria-autocomplete' | 'aria-busy' | 'aria-checked' | 'aria-colcount' | 'aria-colindex' | 'aria-colspan' | 'aria-controls' | 'aria-current' | 'aria-describedby' | 'aria-details' | 'aria-disabled' | 'aria-dropeffect' | 'aria-errormessage' | 'aria-expanded' | 'aria-flowto' | 'aria-grabbed' | 'aria-haspopup' | 'aria-hidden' | 'aria-invalid' | 'aria-keyshortcuts' | 'aria-label' | 'aria-labelledby' | 'aria-level' | 'aria-live' | 'aria-modal' | 'aria-multiline' | 'aria-multiselectable' | 'aria-orientation' | 'aria-owns' | 'aria-placeholder' | 'aria-posinset' | 'aria-pressed' | 'aria-readonly' | 'aria-relevant' | 'aria-required' | 'aria-roledescription' | 'aria-rowcount' | 'aria-rowindex' | 'aria-rowspan' | 'aria-selected' | 'aria-setsize' | 'aria-sort' | 'aria-valuemax' | 'aria-valuemin' | 'aria-valuenow' | 'aria-valuetext' | 'children' | 'dangerouslySetInnerHTML' | 'onCopy' | 'onCopyCapture' | 'onCut' | 'onCutCapture' | 'onPaste' | 'onPasteCapture' | 'onCompositionEnd' | 'onCompositionEndCapture' | 'onCompositionStart' | 'onCompositionStartCapture' | 'onCompositionUpdate' | 'onCompositionUpdateCapture' | 'onFocus' | 'onFocusCapture' | 'onBlur' | 'onBlurCapture' | 'onChange' | 'onChangeCapture' | 'onBeforeInput' | 'onBeforeInputCapture' | 'onInput' | 'onInputCapture' | 'onReset' | 'onResetCapture' | 'onSubmit' | 'onSubmitCapture' | 'onInvalid' | 'onInvalidCapture' | 'onLoad' | 'onLoadCapture' | 'onError' | 'onErrorCapture' | 'onKeyDown' | 'onKeyDownCapture' | 'onKeyPress' | 'onKeyPressCapture' | 'onKeyUp' | 'onKeyUpCapture' | 'onAbort' | 'onAbortCapture' | 'onCanPlay' | 'onCanPlayCapture' | 'onCanPlayThrough' | 'onCanPlayThroughCapture' | 'onDurationChange' | 'onDurationChangeCapture' | 'onEmptied' | 'onEmptiedCapture' | 'onEncrypted' | 'onEncryptedCapture' | 'onEnded' | 'onEndedCapture' | 'onLoadedData' | 'onLoadedDataCapture' | 'onLoadedMetadata' | 'onLoadedMetadataCapture' | 'onLoadStart' | 'onLoadStartCapture' | 'onPause' | 'onPauseCapture' | 'onPlay' | 'onPlayCapture' | 'onPlaying' | 'onPlayingCapture' | 'onProgress' | 'onProgressCapture' | 'onRateChange' | 'onRateChangeCapture' | 'onSeeked' | 'onSeekedCapture' | 'onSeeking' | 'onSeekingCapture' | 'onStalled' | 'onStalledCapture' | 'onSuspend' | 'onSuspendCapture' | 'onTimeUpdate' | 'onTimeUpdateCapture' | 'onVolumeChange' | 'onVolumeChangeCapture' | 'onWaiting' | 'onWaitingCapture' | 'onAuxClick' | 'onAuxClickCapture' | 'onClick' | 'onClickCapture' | 'onContextMenu' | 'onContextMenuCapture' | 'onDoubleClick' | 'onDoubleClickCapture' | 'onDrag' | 'onDragCapture' | 'onDragEnd' | 'onDragEndCapture' | 'onDragEnter' | 'onDragEnterCapture' | 'onDragExit' | 'onDragExitCapture' | 'onDragLeave' | 'onDragLeaveCapture' | 'onDragOver' | 'onDragOverCapture' | 'onDragStart' | 'onDragStartCapture' | 'onDrop' | 'onDropCapture' | 'onMouseDown' | 'onMouseDownCapture' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseMove' | 'onMouseMoveCapture' | 'onMouseOut' | 'onMouseOutCapture' | 'onMouseOver' | 'onMouseOverCapture' | 'onMouseUp' | 'onMouseUpCapture' | 'onSelect' | 'onSelectCapture' | 'onTouchCancel' | 'onTouchCancelCapture' | 'onTouchEnd' | 'onTouchEndCapture' | 'onTouchMove' | 'onTouchMoveCapture' | 'onTouchStart' | 'onTouchStartCapture' | 'onPointerDown' | 'onPointerDownCapture' | 'onPointerMove' | 'onPointerMoveCapture' | 'onPointerUp' | 'onPointerUpCapture' | 'onPointerCancel' | 'onPointerCancelCapture' | 'onPointerEnter' | 'onPointerLeave' | 'onPointerOver' | 'onPointerOverCapture' | 'onPointerOut' | 'onPointerOutCapture' | 'onGotPointerCapture' | 'onGotPointerCaptureCapture' | 'onLostPointerCapture' | 'onLostPointerCaptureCapture' | 'onScroll' | 'onScrollCapture' | 'onWheel' | 'onWheelCapture' | 'onAnimationStart' | 'onAnimationStartCapture' | 'onAnimationEnd' | 'onAnimationEndCapture' | 'onAnimationIteration' | 'onAnimationIterationCapture' | 'onTransitionEnd' | 'onTransitionEndCapture' | 'key'> & {
|
|
3
3
|
color?: string;
|
|
4
4
|
size?: string | number;
|
|
5
5
|
title?: string;
|