@lobehub/icons 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Anthropic/index.d.ts +0 -1
- package/es/Automatic/index.d.ts +0 -1
- package/es/Aws/index.d.ts +0 -1
- package/es/Azure/components/Avatar.d.ts +5 -0
- package/es/Azure/components/Avatar.js +20 -0
- package/es/Azure/components/Color.d.ts +3 -0
- package/es/Azure/components/Color.js +40 -0
- package/es/Azure/components/Combine.d.ts +7 -0
- package/es/Azure/components/Combine.js +25 -0
- package/es/Azure/components/Mono.d.ts +3 -0
- package/es/Azure/components/Mono.js +38 -0
- package/es/Azure/components/Text.d.ts +3 -0
- package/es/Azure/components/Text.js +31 -0
- package/es/Azure/index.d.ts +14 -0
- package/es/Azure/index.js +13 -0
- package/es/Azure/style.d.ts +3 -0
- package/es/Azure/style.js +3 -0
- package/es/Baichuan/index.d.ts +0 -1
- package/es/Bedrock/index.d.ts +0 -1
- package/es/ChatGLM/index.d.ts +0 -1
- package/es/Cloudflare/components/Avatar.d.ts +5 -0
- package/es/Cloudflare/components/Avatar.js +19 -0
- package/es/Cloudflare/components/Color.d.ts +3 -0
- package/es/Cloudflare/components/Color.js +38 -0
- package/es/Cloudflare/components/Combine.d.ts +7 -0
- package/es/Cloudflare/components/Combine.js +25 -0
- package/es/Cloudflare/components/Mono.d.ts +3 -0
- package/es/Cloudflare/components/Mono.js +36 -0
- package/es/Cloudflare/components/Text.d.ts +3 -0
- package/es/Cloudflare/components/Text.js +31 -0
- package/es/Cloudflare/index.d.ts +14 -0
- package/es/Cloudflare/index.js +13 -0
- package/es/Cloudflare/style.d.ts +3 -0
- package/es/Cloudflare/style.js +3 -0
- package/es/Cohere/index.d.ts +0 -1
- package/es/Dalle/components/Avatar.d.ts +5 -0
- package/es/Dalle/components/Avatar.js +19 -0
- package/es/Dalle/components/Color.d.ts +3 -0
- package/es/Dalle/components/Color.js +47 -0
- package/es/Dalle/components/Combine.js +1 -1
- package/es/Dalle/components/Mono.js +18 -2
- package/es/Dalle/index.d.ts +4 -0
- package/es/Dalle/index.js +4 -0
- package/es/Fireworks/components/Avatar.d.ts +5 -0
- package/es/Fireworks/components/Avatar.js +20 -0
- package/es/Fireworks/components/Combine.d.ts +5 -0
- package/es/Fireworks/components/Combine.js +20 -0
- package/es/Fireworks/components/Mono.d.ts +3 -0
- package/es/Fireworks/components/Mono.js +31 -0
- package/es/Fireworks/components/Text.d.ts +3 -0
- package/es/Fireworks/components/Text.js +31 -0
- package/es/Fireworks/index.d.ts +13 -0
- package/es/Fireworks/index.js +12 -0
- package/es/Fireworks/style.d.ts +4 -0
- package/es/Fireworks/style.js +4 -0
- package/es/Gemini/index.d.ts +0 -1
- package/es/HuggingFace/components/Avatar.d.ts +5 -0
- package/es/HuggingFace/components/Avatar.js +20 -0
- package/es/HuggingFace/components/Color.d.ts +3 -0
- package/es/HuggingFace/components/Color.js +50 -0
- package/es/HuggingFace/components/Combine.d.ts +7 -0
- package/es/HuggingFace/components/Combine.js +25 -0
- package/es/HuggingFace/components/Mono.d.ts +3 -0
- package/es/HuggingFace/components/Mono.js +31 -0
- package/es/HuggingFace/components/Text.d.ts +3 -0
- package/es/HuggingFace/components/Text.js +31 -0
- package/es/HuggingFace/index.d.ts +14 -0
- package/es/HuggingFace/index.js +13 -0
- package/es/HuggingFace/style.d.ts +3 -0
- package/es/HuggingFace/style.js +3 -0
- package/es/Meta/components/Avatar.d.ts +5 -0
- package/es/Meta/components/Avatar.js +19 -0
- package/es/Meta/components/BrandColor.d.ts +3 -0
- package/es/Meta/components/BrandColor.js +283 -0
- package/es/Meta/components/BrandMono.d.ts +3 -0
- package/es/Meta/components/BrandMono.js +31 -0
- package/es/Meta/components/Color.d.ts +3 -0
- package/es/Meta/components/Color.js +268 -0
- package/es/Meta/components/Combine.d.ts +7 -0
- package/es/Meta/components/Combine.js +25 -0
- package/es/Meta/components/Mono.d.ts +3 -0
- package/es/Meta/components/Mono.js +31 -0
- package/es/Meta/components/Text.d.ts +3 -0
- package/es/Meta/components/Text.js +31 -0
- package/es/Meta/index.d.ts +19 -0
- package/es/Meta/index.js +18 -0
- package/es/Meta/style.d.ts +4 -0
- package/es/Meta/style.js +4 -0
- package/es/Midjourney/index.d.ts +0 -1
- package/es/Minimax/index.d.ts +0 -1
- package/es/Mistral/index.d.ts +0 -1
- package/es/Ollama/index.d.ts +0 -1
- package/es/OpenAI/index.d.ts +0 -1
- package/es/Perplexity/components/Avatar.d.ts +5 -0
- package/es/Perplexity/components/Avatar.js +20 -0
- package/es/Perplexity/components/Color.d.ts +3 -0
- package/es/Perplexity/components/Color.js +31 -0
- package/es/Perplexity/components/Combine.d.ts +7 -0
- package/es/Perplexity/components/Combine.js +25 -0
- package/es/Perplexity/components/Mono.d.ts +3 -0
- package/es/Perplexity/components/Mono.js +31 -0
- package/es/Perplexity/components/Text.d.ts +3 -0
- package/es/Perplexity/components/Text.js +31 -0
- package/es/Perplexity/index.d.ts +14 -0
- package/es/Perplexity/index.js +13 -0
- package/es/Perplexity/style.d.ts +3 -0
- package/es/Perplexity/style.js +3 -0
- package/es/Qingyan/index.d.ts +0 -1
- package/es/Replicate/components/Avatar.d.ts +5 -0
- package/es/Replicate/components/Avatar.js +20 -0
- package/es/Replicate/components/BrandMono.d.ts +3 -0
- package/es/Replicate/components/BrandMono.js +31 -0
- package/es/Replicate/components/Mono.d.ts +3 -0
- package/es/Replicate/components/Mono.js +31 -0
- package/es/Replicate/index.d.ts +10 -0
- package/es/Replicate/index.js +9 -0
- package/es/Replicate/style.d.ts +3 -0
- package/es/Replicate/style.js +3 -0
- package/es/Spark/index.d.ts +0 -1
- package/es/Stability/index.d.ts +0 -1
- package/es/Tongyi/index.d.ts +0 -1
- package/es/Wenxin/index.d.ts +0 -1
- package/es/WorkersAI/components/Avatar.d.ts +5 -0
- package/es/WorkersAI/components/Avatar.js +19 -0
- package/es/WorkersAI/components/Color.d.ts +3 -0
- package/es/WorkersAI/components/Color.js +31 -0
- package/es/WorkersAI/components/Combine.d.ts +7 -0
- package/es/WorkersAI/components/Combine.js +25 -0
- package/es/WorkersAI/components/Mono.d.ts +3 -0
- package/es/WorkersAI/components/Mono.js +31 -0
- package/es/WorkersAI/components/Text.d.ts +3 -0
- package/es/WorkersAI/components/Text.js +31 -0
- package/es/WorkersAI/index.d.ts +14 -0
- package/es/WorkersAI/index.js +13 -0
- package/es/WorkersAI/style.d.ts +3 -0
- package/es/WorkersAI/style.js +3 -0
- package/es/Zhipu/index.d.ts +0 -1
- package/es/Zhipu/style.d.ts +1 -1
- package/es/Zhipu/style.js +1 -1
- package/es/hooks/useFillId.d.ts +4 -0
- package/es/hooks/useFillId.js +12 -0
- package/es/index.d.ts +8 -0
- package/es/index.js +8 -0
- package/package.json +1 -1
|
@@ -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: "M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z"
|
|
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 75 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M2 21.73V2.81h2.878V19h9.98v2.73zM17.722 21.73V2h2.69v19.73zM27.352 22c-1.416 0-2.517-.367-3.302-1.101-.784-.735-1.176-1.7-1.176-2.899 0-1.19.441-2.185 1.324-2.986.884-.802 2.294-1.203 4.23-1.203h3.659v-.04c0-2.271-1.04-3.406-3.12-3.406-.87 0-1.603.158-2.2.473a3.828 3.828 0 00-1.446 1.324l-1.842-1.5a5.763 5.763 0 012.266-2.054c.937-.477 2.002-.716 3.194-.716h.296c1.65 0 2.977.477 3.981 1.432 1.005.955 1.507 2.383 1.507 4.284v8.122H32.14v-2.203a5.325 5.325 0 01-2.004 1.831c-.816.428-1.744.642-2.784.642zm.592-2.405c1.04 0 1.905-.237 2.596-.71.69-.473 1.206-1.115 1.547-1.926v-1.027h-3.551c-1.058 0-1.814.17-2.266.507-.453.338-.68.795-.68 1.372 0 1.189.785 1.784 2.354 1.784zM37.776 21.73V8.216h2.69v2.216c.484-.792 1.085-1.414 1.802-1.864.717-.45 1.547-.676 2.488-.676h.296c1.04 0 1.914.257 2.623.77.708.514 1.232 1.252 1.573 2.216.52-.928 1.184-1.657 1.99-2.189.808-.531 1.722-.797 2.744-.797h.296c1.507 0 2.657.527 3.45 1.581.794 1.054 1.19 2.536 1.19 4.446v7.81h-2.69v-7.486c0-2.558-.878-3.838-2.636-3.838h-.269c-.887 0-1.638.282-2.252.845-.615.563-1.074 1.273-1.379 2.128v8.352h-2.69v-7.487c0-2.558-.879-3.838-2.636-3.838h-.269c-.888 0-1.639.282-2.253.845-.614.563-1.074 1.273-1.378 2.128v8.352h-2.69zM65.63 22c-1.417 0-2.518-.367-3.302-1.101-.785-.735-1.177-1.7-1.177-2.899 0-1.19.442-2.185 1.325-2.986.883-.802 2.293-1.203 4.23-1.203h3.658v-.04c0-2.271-1.04-3.406-3.12-3.406-.87 0-1.603.158-2.2.473a3.828 3.828 0 00-1.445 1.324l-1.843-1.5a5.763 5.763 0 012.266-2.054c.937-.477 2.002-.716 3.195-.716h.296c1.65 0 2.976.477 3.98 1.432C72.499 10.28 73 11.707 73 13.608v8.122h-2.582v-2.203a5.325 5.325 0 01-2.004 1.831c-.816.428-1.744.642-2.784.642zm.591-2.405c1.04 0 1.906-.237 2.596-.71.69-.473 1.206-1.115 1.547-1.926v-1.027h-3.55c-1.059 0-1.814.17-2.267.507-.453.338-.68.795-.68 1.372 0 1.189.785 1.784 2.354 1.784z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import BrandColor from './components/BrandColor';
|
|
3
|
+
import BrandMono from './components/BrandMono';
|
|
4
|
+
import Color from './components/Color';
|
|
5
|
+
import Combine from './components/Combine';
|
|
6
|
+
import Mono from './components/Mono';
|
|
7
|
+
import Text from './components/Text';
|
|
8
|
+
export type CompoundedIcon = typeof Mono & {
|
|
9
|
+
Avatar: typeof Avatar;
|
|
10
|
+
Brand: typeof BrandMono;
|
|
11
|
+
BrandColor: typeof BrandColor;
|
|
12
|
+
Color: typeof Color;
|
|
13
|
+
Combine: typeof Combine;
|
|
14
|
+
Text: typeof Text;
|
|
15
|
+
colorGradient: string;
|
|
16
|
+
colorPrimary: string;
|
|
17
|
+
};
|
|
18
|
+
declare const Icons: CompoundedIcon;
|
|
19
|
+
export default Icons;
|
package/es/Meta/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import BrandColor from "./components/BrandColor";
|
|
3
|
+
import BrandMono from "./components/BrandMono";
|
|
4
|
+
import Color from "./components/Color";
|
|
5
|
+
import Combine from "./components/Combine";
|
|
6
|
+
import Mono from "./components/Mono";
|
|
7
|
+
import Text from "./components/Text";
|
|
8
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY } from "./style";
|
|
9
|
+
var Icons = Mono;
|
|
10
|
+
Icons.Color = Color;
|
|
11
|
+
Icons.Text = Text;
|
|
12
|
+
Icons.Combine = Combine;
|
|
13
|
+
Icons.Avatar = Avatar;
|
|
14
|
+
Icons.Brand = BrandMono;
|
|
15
|
+
Icons.BrandColor = BrandColor;
|
|
16
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
17
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
|
18
|
+
export default Icons;
|
package/es/Meta/style.js
ADDED
package/es/Midjourney/index.d.ts
CHANGED
package/es/Minimax/index.d.ts
CHANGED
package/es/Mistral/index.d.ts
CHANGED
package/es/Ollama/index.d.ts
CHANGED
package/es/OpenAI/index.d.ts
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY,
|
|
17
|
+
color: '#000'
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|
|
@@ -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
|
+
height: size,
|
|
15
|
+
ref: ref,
|
|
16
|
+
style: _objectSpread({
|
|
17
|
+
flex: 'none',
|
|
18
|
+
lineHeight: 1
|
|
19
|
+
}, style),
|
|
20
|
+
viewBox: "0 0 24 24",
|
|
21
|
+
width: size,
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
23
|
+
}, rest), {}, {
|
|
24
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
25
|
+
d: "M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z",
|
|
26
|
+
fill: "#22B8CD",
|
|
27
|
+
fillRule: "nonzero"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
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: "M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z"
|
|
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 117 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M38.542 5.218h1.151V7.59h-1.49c-1.167 0-2.036.281-2.612.843-.575.563-.863 1.485-.863 2.768v7.773h-2.351V5.271h2.351v2.187c0 .123.062.185.184.185.069 0 .121-.017.157-.053a.58.58 0 00.104-.211c.453-1.44 1.577-2.16 3.371-2.16h-.002zm15.36 2.938c.617 1.098.928 2.42.928 3.966 0 1.545-.309 2.867-.928 3.965-.62 1.098-1.42 1.92-2.404 2.464a6.446 6.446 0 01-3.174.817c-2.23 0-3.797-.896-4.703-2.688-.069-.14-.157-.211-.262-.211-.105 0-.157.052-.157.158v7.352h-2.351V5.271h2.351v2.345c0 .106.052.159.157.159.105 0 .191-.07.262-.211.906-1.793 2.473-2.689 4.703-2.689 1.132 0 2.19.272 3.174.817.984.545 1.785 1.366 2.404 2.464zm-1.424 3.966c0-1.617-.43-2.877-1.292-3.781-.862-.904-1.998-1.357-3.41-1.357-1.413 0-2.548.453-3.41 1.357-.863.905-1.179 2.166-1.179 3.78 0 1.616.316 2.878 1.178 3.782.863.905 2 1.356 3.41 1.356 1.411 0 2.549-.453 3.411-1.356.862-.904 1.292-2.166 1.292-3.781zM15.05 8.177c.618 1.098.928 2.42.928 3.965 0 1.546-.308 2.868-.928 3.966-.619 1.098-1.42 1.919-2.403 2.464a6.448 6.448 0 01-3.175.817c-2.23 0-3.797-.896-4.702-2.688-.07-.14-.158-.212-.262-.212-.105 0-.158.053-.158.159V24H2V5.292h2.351v2.345c0 .106.053.159.158.159.104 0 .19-.07.261-.212.906-1.792 2.473-2.688 4.703-2.688 1.132 0 2.19.272 3.175.817.983.545 1.784 1.366 2.403 2.464h-.002zm-1.423 3.965c0-1.616-.43-2.877-1.293-3.78-.862-.904-1.998-1.357-3.41-1.357-1.412 0-2.548.453-3.41 1.357-.862.905-1.178 2.165-1.178 3.78 0 1.615.316 2.878 1.178 3.781.862.906 1.998 1.357 3.41 1.357 1.412 0 2.548-.453 3.41-1.357.863-.903 1.293-2.166 1.293-3.78zm14.422 2.481h2.482c-.33 1.283-1.006 2.395-2.023 3.334-1.02.94-2.479 1.41-4.378 1.41-1.429 0-2.686-.295-3.775-.884a6.13 6.13 0 01-2.521-2.516c-.593-1.089-.889-2.372-.889-3.847 0-1.476.288-2.758.863-3.847.574-1.089 1.38-1.928 2.417-2.517 1.036-.588 2.25-.883 3.644-.883 1.393 0 2.547.29 3.514.87.968.58 1.69 1.349 2.168 2.305.48.959.719 2.008.719 3.15v1.58H19.427c.086 1.37.544 2.46 1.37 3.268.828.807 1.939 1.213 3.332 1.213 1.132 0 2-.232 2.6-.698.601-.466 1.04-1.111 1.32-1.938zm-8.595-3.82h8.204c0-1.194-.305-2.13-.914-2.807-.61-.676-1.568-1.015-2.874-1.015-1.22 0-2.217.33-2.99.988-.775.659-1.25 1.604-1.424 2.832l-.002.002zm37.238 8.17h2.352V0H56.69v18.974-.002zM89.316 3.774h2.747V.81h-2.747v2.966zm9.688 13.156c-.426.043-.684.066-.77.066a.39.39 0 01-.289-.106.395.395 0 01-.104-.29c0-.087.022-.348.065-.778.043-.43.066-1.094.066-1.988V7.279h3.354l-.66-2.008h-2.692v-3.69h-2.352v3.688h-2.557v2.008h2.557v7.214c0 1.512.367 2.636 1.098 3.374.732.737 1.846 1.107 3.345 1.107h1.83v-2.107h-.915c-.889 0-1.547.022-1.974.066h-.002zm13.759-11.662l-3.893 11.498c-.053.141-.135.326-.402.326-.268 0-.35-.185-.402-.326l-3.893-11.498h-2.398l4.508 13.703h1.594a.81.81 0 01.235.026c.053.017.096.06.131.133.07.105.06.264-.026.473l-.731 2.002c-.105.264-.305.396-.6.396-.106 0-.349-.023-.732-.066a13.71 13.71 0 00-1.49-.066h-1.907v2.107h2.508c1.463 0 2.344-.25 3.102-.75.757-.5 1.345-1.383 1.764-2.65L115 5.795v-.526h-2.237v.001zm-31.127 5.113L77.953 5.27h-2.588v.527l4.415 5.93-5.382 6.72v.526h2.64l4.285-5.507 3.998 5.507h2.535v-.526l-4.677-6.324 5.07-6.298v-.553h-2.64l-3.971 5.113-.002-.002zm7.931 8.59h2.351v-13.7h-2.35v13.702-.002zm-15.062-4.349c-.331 1.283-1.006 2.395-2.024 3.334-1.02.94-2.479 1.41-4.377 1.41-1.43 0-2.686-.295-3.775-.884a6.13 6.13 0 01-2.522-2.516c-.593-1.089-.888-2.372-.888-3.847 0-1.476.288-2.758.862-3.847.574-1.089 1.38-1.928 2.417-2.517 1.036-.588 2.25-.883 3.644-.883 1.394 0 2.547.29 3.515.87.967.58 1.689 1.349 2.168 2.305.479.959.718 2.008.718 3.15v1.58H63.401c.086 1.37.544 2.46 1.371 3.268.827.807 1.938 1.213 3.332 1.213 1.132 0 2-.232 2.6-.698.6-.466 1.04-1.111 1.319-1.938h2.482zm-11.078-3.82h8.205c0-1.194-.305-2.13-.915-2.807-.61-.676-1.568-1.015-2.873-1.015-1.22 0-2.217.33-2.991.988-.775.659-1.25 1.604-1.424 2.832l-.002.002z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Text: typeof Text;
|
|
11
|
+
colorPrimary: string;
|
|
12
|
+
};
|
|
13
|
+
declare const Icons: CompoundedIcon;
|
|
14
|
+
export default Icons;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Color from "./components/Color";
|
|
3
|
+
import Combine from "./components/Combine";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import Text from "./components/Text";
|
|
6
|
+
import { COLOR_PRIMARY } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
9
|
+
Icons.Text = Text;
|
|
10
|
+
Icons.Combine = Combine;
|
|
11
|
+
Icons.Avatar = Avatar;
|
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
export default Icons;
|
package/es/Qingyan/index.d.ts
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY,
|
|
17
|
+
iconMultiple: 0.6
|
|
18
|
+
}, rest));
|
|
19
|
+
});
|
|
20
|
+
export default Avatar;
|
|
@@ -0,0 +1,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 108 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M26.621 8.045c2.832 0 5.224 1.829 5.348 5.231l.005.28c0 .237 0 .438-.025.801H23.21c.113 1.816 1.58 3.018 3.423 3.018 1.554 0 2.595-.714 3.171-1.69l1.868 1.327c-1.003 1.578-2.733 2.58-5.064 2.58-3.372 0-5.804-2.392-5.804-5.774.012-3.268 2.444-5.773 5.816-5.773zm-3.284 4.521h6.18c-.263-1.603-1.555-2.467-2.984-2.467s-2.87.827-3.196 2.467zM34.46 8.258h2.444v1.49c.627-.889 1.981-1.703 3.573-1.703 3.046 0 5.353 2.593 5.353 5.773 0 3.169-2.307 5.774-5.353 5.774-1.605 0-2.958-.827-3.573-1.716V24h-2.444V8.258zm5.578 2.004c-1.98 0-3.334 1.553-3.334 3.556 0 2.004 1.354 3.557 3.334 3.557 1.956 0 3.31-1.553 3.31-3.557 0-2.003-1.354-3.556-3.31-3.556zm10.726-7.56H48.32v16.644h2.445V2.703zm4.514 3.132c-.89 0-1.642-.727-1.642-1.64 0-.89.752-1.616 1.642-1.616.915 0 1.617.738 1.617 1.615 0 .914-.702 1.64-1.617 1.64zM54.063 8.25h2.444v11.095h-2.444V8.251zM64.85 19.576c-3.334 0-5.867-2.492-5.867-5.773 0-3.281 2.533-5.773 5.867-5.773 2.294 0 4.224 1.227 5.177 3.068l-2.13 1.152c-.54-1.127-1.618-1.954-3.047-1.954-1.98 0-3.372 1.528-3.372 3.507s1.404 3.506 3.372 3.506c1.416 0 2.507-.826 3.046-1.953l2.131 1.152c-.953 1.853-2.896 3.068-5.177 3.068zm11.97-11.53c1.605 0 2.934.826 3.56 1.702v-1.49h2.445v11.096H80.38v-1.49c-.626.889-1.955 1.715-3.56 1.715-3.046 0-5.352-2.592-5.352-5.773 0-3.168 2.306-5.76 5.352-5.76zm.452 2.216c-1.981 0-3.31 1.553-3.31 3.556 0 2.004 1.329 3.557 3.31 3.557 1.98 0 3.309-1.553 3.309-3.557 0-2.003-1.341-3.556-3.31-3.556zm9.741 9.098v-8.93h-2.319V8.253h2.32V5.17h2.444v3.08h4.212v2.18h-4.212v6.737h4.212v2.192h-6.657zM19.663 0v2.18H4.444V19.36H2V0h17.663zm.004 4.132v2.179H9.062v13.05H6.617V4.131h13.05zm-.004 4.116v2.192h-5.992v8.917h-2.444V8.248h8.436zm80.985-.203c2.832 0 5.224 1.829 5.348 5.231l.004.512a9.524 9.524 0 01-.024.569h-8.737c.113 1.816 1.58 3.018 3.422 3.018 1.554 0 2.595-.714 3.172-1.69l1.867 1.327c-1.003 1.578-2.732 2.58-5.064 2.58-3.372 0-5.804-2.392-5.804-5.774.025-3.268 2.444-5.773 5.816-5.773zm-3.284 4.521h6.18c-.263-1.603-1.554-2.467-2.983-2.467-1.417 0-2.858.827-3.197 2.467z"
|
|
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
|
+
}, 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: "M22 10.552v2.26h-7.932V22H11.54V10.552H22zM22 2v2.264H4.528V22H2V2h20zm0 4.276V8.54H9.296V22H6.768V6.276H22z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import BrandMono from './components/BrandMono';
|
|
3
|
+
import Mono from './components/Mono';
|
|
4
|
+
export type CompoundedIcon = typeof Mono & {
|
|
5
|
+
Avatar: typeof Avatar;
|
|
6
|
+
Brand: typeof BrandMono;
|
|
7
|
+
colorPrimary: string;
|
|
8
|
+
};
|
|
9
|
+
declare const Icons: CompoundedIcon;
|
|
10
|
+
export default Icons;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import BrandMono from "./components/BrandMono";
|
|
3
|
+
import Mono from "./components/Mono";
|
|
4
|
+
import { COLOR_PRIMARY } from "./style";
|
|
5
|
+
var Icons = Mono;
|
|
6
|
+
Icons.Avatar = Avatar;
|
|
7
|
+
Icons.Brand = BrandMono;
|
|
8
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
9
|
+
export default Icons;
|
package/es/Spark/index.d.ts
CHANGED
package/es/Stability/index.d.ts
CHANGED
package/es/Tongyi/index.d.ts
CHANGED
package/es/Wenxin/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_PRIMARY } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_PRIMARY
|
|
17
|
+
}, rest));
|
|
18
|
+
});
|
|
19
|
+
export default Avatar;
|