@lobehub/icons 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Automatic/components/Avatar.d.ts +5 -0
- package/es/Automatic/components/Avatar.js +19 -0
- package/es/Automatic/components/Color.d.ts +3 -0
- package/es/Automatic/components/Color.js +46 -0
- package/es/Automatic/components/Combine.d.ts +7 -0
- package/es/Automatic/components/Combine.js +25 -0
- package/es/Automatic/components/Mono.d.ts +3 -0
- package/es/Automatic/components/Mono.js +46 -0
- package/es/Automatic/components/Text.d.ts +1 -0
- package/es/Automatic/components/Text.js +1 -0
- package/es/Automatic/index.d.ts +15 -0
- package/es/Automatic/index.js +13 -0
- package/es/Automatic/style.d.ts +3 -0
- package/es/Automatic/style.js +3 -0
- package/es/Aws/components/Avatar.d.ts +5 -0
- package/es/Aws/components/Avatar.js +20 -0
- package/es/Aws/components/BrandColor.d.ts +3 -0
- package/es/Aws/components/BrandColor.js +37 -0
- package/es/Aws/components/BrandMono.d.ts +3 -0
- package/es/Aws/components/BrandMono.js +36 -0
- package/es/Aws/components/Color.d.ts +3 -0
- package/es/Aws/components/Color.js +37 -0
- package/es/Aws/components/Combine.d.ts +7 -0
- package/es/Aws/components/Combine.js +25 -0
- package/es/Aws/components/Mono.d.ts +3 -0
- package/es/Aws/components/Mono.js +36 -0
- package/es/Aws/components/Text.d.ts +3 -0
- package/es/Aws/components/Text.js +31 -0
- package/es/Aws/index.d.ts +19 -0
- package/es/Aws/index.js +17 -0
- package/es/Aws/style.d.ts +3 -0
- package/es/Aws/style.js +3 -0
- package/es/Baichuan/components/Color.js +18 -61
- package/es/Baichuan/components/Mono.js +4 -65
- package/es/Baichuan/components/Text.js +4 -8
- package/es/Bedrock/components/Avatar.d.ts +5 -0
- package/es/Bedrock/components/Avatar.js +20 -0
- package/es/Bedrock/components/Color.d.ts +3 -0
- package/es/Bedrock/components/Color.js +50 -0
- package/es/Bedrock/components/Combine.d.ts +7 -0
- package/es/Bedrock/components/Combine.js +25 -0
- package/es/Bedrock/components/Mono.d.ts +3 -0
- package/es/Bedrock/components/Mono.js +31 -0
- package/es/Bedrock/components/Text.d.ts +3 -0
- package/es/Bedrock/components/Text.js +31 -0
- package/es/Bedrock/index.d.ts +16 -0
- package/es/Bedrock/index.js +14 -0
- package/es/Bedrock/style.d.ts +4 -0
- package/es/Bedrock/style.js +4 -0
- package/es/Dalle/style.d.ts +1 -1
- package/es/Dalle/style.js +1 -1
- package/es/IconCombine/index.d.ts +1 -1
- package/es/IconCombine/index.js +1 -1
- package/es/Minimax/components/Color.js +18 -38
- package/es/Minimax/components/Mono.js +4 -7
- package/es/Minimax/components/Text.js +4 -10
- package/es/Mistral/components/Avatar.d.ts +5 -0
- package/es/Mistral/components/Avatar.js +21 -0
- package/es/Mistral/components/Color.d.ts +3 -0
- package/es/Mistral/components/Color.js +50 -0
- package/es/Mistral/components/Combine.d.ts +7 -0
- package/es/Mistral/components/Combine.js +25 -0
- package/es/Mistral/components/Mono.d.ts +3 -0
- package/es/Mistral/components/Mono.js +49 -0
- package/es/Mistral/components/Text.d.ts +3 -0
- package/es/Mistral/components/Text.js +31 -0
- package/es/Mistral/index.d.ts +16 -0
- package/es/Mistral/index.js +14 -0
- package/es/Mistral/style.d.ts +4 -0
- package/es/Mistral/style.js +4 -0
- package/es/Ollama/components/Mono.js +4 -9
- package/es/Ollama/components/Text.d.ts +2 -4
- package/es/Ollama/components/Text.js +13 -7
- package/es/Ollama/style.d.ts +1 -1
- package/es/Ollama/style.js +1 -1
- package/es/Qingyan/components/Avatar.d.ts +5 -0
- package/es/Qingyan/components/Avatar.js +19 -0
- package/es/Qingyan/components/Color.d.ts +3 -0
- package/es/Qingyan/components/Color.js +38 -0
- package/es/Qingyan/components/Combine.d.ts +7 -0
- package/es/Qingyan/components/Combine.js +25 -0
- package/es/Qingyan/components/Mono.d.ts +3 -0
- package/es/Qingyan/components/Mono.js +36 -0
- package/es/Qingyan/components/Text.d.ts +3 -0
- package/es/Qingyan/components/Text.js +31 -0
- package/es/Qingyan/index.d.ts +15 -0
- package/es/Qingyan/index.js +13 -0
- package/es/Qingyan/style.d.ts +3 -0
- package/es/Qingyan/style.js +3 -0
- package/es/Stability/components/Avatar.d.ts +5 -0
- package/es/Stability/components/Avatar.js +19 -0
- package/es/Stability/components/BrandColor.d.ts +3 -0
- package/es/Stability/components/BrandColor.js +57 -0
- package/es/Stability/components/BrandMono.d.ts +3 -0
- package/es/Stability/components/BrandMono.js +36 -0
- package/es/Stability/components/Color.d.ts +3 -0
- package/es/Stability/components/Color.js +57 -0
- package/es/Stability/components/Combine.d.ts +7 -0
- package/es/Stability/components/Combine.js +25 -0
- package/es/Stability/components/Mono.d.ts +3 -0
- package/es/Stability/components/Mono.js +36 -0
- package/es/Stability/components/Text.d.ts +3 -0
- package/es/Stability/components/Text.js +31 -0
- package/es/Stability/index.d.ts +20 -0
- package/es/Stability/index.js +18 -0
- package/es/Stability/style.d.ts +4 -0
- package/es/Stability/style.js +4 -0
- package/es/Zhipu/components/Color.js +4 -11
- package/es/Zhipu/components/Mono.js +2 -7
- package/es/Zhipu/components/Text.js +2 -2
- package/es/Zhipu/style.d.ts +1 -1
- package/es/Zhipu/style.js +1 -1
- package/es/components/ColorPreview/index.js +15 -18
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/package.json +1 -1
|
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
14
|
fill: "currentColor",
|
|
16
15
|
fillRule: "evenodd",
|
|
17
16
|
height: size,
|
|
@@ -24,11 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
24
23
|
width: size,
|
|
25
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26
25
|
}, rest), {}, {
|
|
27
|
-
children:
|
|
28
|
-
d: "
|
|
29
|
-
})
|
|
30
|
-
d: "M15.49 4.093a.789.789 0 011.577 0v12.639a2.048 2.048 0 104.096 0V9.177a.766.766 0 111.532 0v6.634a.652.652 0 001.305 0V9.177a2.07 2.07 0 10-4.142 0v7.555a.744.744 0 01-1.487 0V4.093a2.093 2.093 0 10-4.186 0v16.08a.744.744 0 11-1.488 0v-1.956a.652.652 0 00-1.304 0v1.956a2.048 2.048 0 104.096 0V4.093z"
|
|
31
|
-
})]
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"
|
|
28
|
+
})
|
|
32
29
|
}));
|
|
33
30
|
});
|
|
34
31
|
export default Icon;
|
|
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
14
|
fill: "currentColor",
|
|
16
15
|
fillRule: "evenodd",
|
|
17
16
|
height: size,
|
|
@@ -24,14 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
24
23
|
viewBox: "0 0 114 24",
|
|
25
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26
25
|
}, rest), {}, {
|
|
27
|
-
children:
|
|
28
|
-
d: "M2 22V2h4.23l4.41 6.828L14.93 2h3.988v20l-3.987-.06V9.25l-3.263 4.714H9.674L6.23 9.25V22H2zM26.471 2h-3.867v20h3.
|
|
29
|
-
})
|
|
30
|
-
clipRule: "evenodd",
|
|
31
|
-
d: "M76.079 22l6.344-20h5.076l6.404 20h-4.471l-.89-3.021h-7.139L80.49 22h-4.41zm6.369-6.405h5.078l-2.505-8.338-2.573 8.338z"
|
|
32
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
33
|
-
d: "M111.97 2h-4.774l-3.619 6.082L99.885 2h-4.592l5.961 9.985L95.294 22h4.591l3.698-6.113 3.613 6.053h4.774l-6.025-9.956L111.97 2z"
|
|
34
|
-
})]
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M2 22V2h4.23l4.41 6.828L14.93 2h3.988v20l-3.987-.06V9.25l-3.263 4.714H9.674L6.23 9.25V22H2zM26.471 2h-3.867v20h3.867V2zm3.565 0h4.049l7.492 12.387V2h3.988v20h-3.988L34.085 9.734V21.94h-4.049V2zm23.082 0h-4.109v20h4.109V2zm3.504 0v20h4.23V9.25l3.444 4.714h1.994l3.263-4.713V21.94l3.988.06V2h-3.988l-4.29 6.828L60.852 2h-4.23zm19.457 20l6.344-20h5.076l6.404 20h-4.471l-.89-3.021h-7.139L80.49 22h-4.411zm6.369-6.405h5.078l-2.505-8.338-2.573 8.338zM111.97 2h-4.774l-3.619 6.082L99.885 2h-4.592l5.961 9.985L95.294 22h4.591l3.698-6.113 3.613 6.053h4.774l-6.025-9.956L111.97 2z"
|
|
28
|
+
})
|
|
35
29
|
}));
|
|
36
30
|
});
|
|
37
31
|
export default Icon;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["background"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import IconAvatar from "../../IconAvatar";
|
|
8
|
+
import { COLOR_GRADIENT } from "../style";
|
|
9
|
+
import Mono from "./Mono";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
12
|
+
var background = _ref.background,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
15
|
+
Icon: Mono,
|
|
16
|
+
background: background || COLOR_GRADIENT,
|
|
17
|
+
color: '#000',
|
|
18
|
+
iconMultiple: 0.7
|
|
19
|
+
}, rest));
|
|
20
|
+
});
|
|
21
|
+
export default Avatar;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
height: size,
|
|
16
|
+
ref: ref,
|
|
17
|
+
style: _objectSpread({
|
|
18
|
+
flex: 'none',
|
|
19
|
+
lineHeight: 1
|
|
20
|
+
}, style),
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
26
|
+
fill: "none",
|
|
27
|
+
fillRule: "nonzero",
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M15 6v4h-2V6h2zm4-4v4h-2V2h2zM3 2H1h2zM1 2h2v20H1V2zm8 12h2v4H9v-4zm8 0h2v8h-2v-8z",
|
|
30
|
+
fill: "#000"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M19 2h4v4h-4V2zM3 2h4v4H3V2z",
|
|
33
|
+
fill: "#F7D046"
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M15 10V6h8v4h-8zM3 10V6h8v4H3z",
|
|
36
|
+
fill: "#F2A73B"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M3 14v-4h20v4z",
|
|
39
|
+
fill: "#EE792F"
|
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
+
d: "M11 14h4v4h-4v-4zm8 0h4v4h-4v-4zM3 14h4v4H3v-4z",
|
|
42
|
+
fill: "#EB5829"
|
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
44
|
+
d: "M19 18h4v4h-4v-4zM3 18h4v4H3v-4z",
|
|
45
|
+
fill: "#EA3326"
|
|
46
|
+
})]
|
|
47
|
+
})
|
|
48
|
+
}));
|
|
49
|
+
});
|
|
50
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../IconCombine";
|
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
|
4
|
+
type?: 'color' | 'mono';
|
|
5
|
+
}
|
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
7
|
+
export default Combine;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["type"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import IconCombine from "../../IconCombine";
|
|
8
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
|
|
9
|
+
import Color from "./Color";
|
|
10
|
+
import Mono from "./Mono";
|
|
11
|
+
import Text from "./Text";
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var _ref$type = _ref.type,
|
|
15
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
16
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
|
+
Icon: Icon,
|
|
20
|
+
Text: Text,
|
|
21
|
+
spaceMultiple: SPACE_MULTIPLE,
|
|
22
|
+
textMultiple: TEXT_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Combine;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
height: size,
|
|
18
|
+
ref: ref,
|
|
19
|
+
style: _objectSpread({
|
|
20
|
+
flex: 'none',
|
|
21
|
+
lineHeight: 1
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M15 6v4h-2V6h2zm4-4v4h-2V2h2zM3 2H1h2zM1 2h2v20H1V2zm8 12h2v4H9v-4zm8 0h2v8h-2v-8z"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M19 2h4v4h-4V2zM3 2h4v4H3V2z",
|
|
32
|
+
opacity: ".4"
|
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
34
|
+
d: "M15 10V6h8v4h-8zM3 10V6h8v4H3z",
|
|
35
|
+
opacity: ".5"
|
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
37
|
+
d: "M3 14v-4h20v4z",
|
|
38
|
+
opacity: ".6"
|
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
40
|
+
d: "M11 14h4v4h-4v-4zm8 0h4v4h-4v-4zM3 14h4v4H3v-4z",
|
|
41
|
+
opacity: ".7"
|
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
43
|
+
d: "M19 18h4v4h-4v-4zM3 18h4v4H3v-4z",
|
|
44
|
+
opacity: ".8"
|
|
45
|
+
})]
|
|
46
|
+
})
|
|
47
|
+
}));
|
|
48
|
+
});
|
|
49
|
+
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 52 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, rest), {}, {
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M2.57 2.14h1.796l.74 2.693.255 1.051h.047l.25-1.05.745-2.694h1.796v7.6H6.75V7.265c.013-.9.153-2.624.229-3.408h-.035l-.58 2.04-.589 1.83h-.83l-.6-1.83-.54-2.04h-.04l.018.182c.087.888.21 2.551.21 3.349V9.74H2.57v-7.6zm7.156 6.158h1.767V3.582H9.726V2.14h5.245v1.442h-1.766v4.716h1.766v1.443H9.726V8.298zm6.69.485l.982-1.182c.572.471 1.278.794 2.01.794.727 0 1.063-.283 1.063-.655 0-.547-.45-.68-1.165-.98l-.986-.423c-.838-.32-1.603-.966-1.603-2.072C16.717 3.006 17.845 2 19.489 2c.91 0 1.829.343 2.512.995l-.862 1.084c-.533-.384-1.005-.593-1.744-.593-.563 0-.946.235-.946.678 0 .458.507.625 1.232.898l.926.394c.99.373 1.616.994 1.616 2.067 0 1.263-1.055 2.357-2.928 2.357a4.346 4.346 0 01-2.88-1.097zm9.005-5.2h-2.268V2.14H29.4v1.442h-2.267v6.159h-1.712V3.582zm6.86-.078h.834c.899 0 1.381.252 1.381 1.003 0 .744-.482 1.133-1.381 1.133h-.835V3.505zm4.257 6.236L34.827 6.7c.808-.367 1.348-1.075 1.348-2.192 0-1.79-1.292-2.357-2.873-2.368h-2.737v7.6h1.715V7.007h.899l1.444 2.735h1.915zm2.841-3.148l.18-.7.586-2.452h.047c.086.382.184.784.283 1.182l.498 1.97H39.38zm2.393 3.147h1.815l-2.356-7.6H39.18l-2.356 7.6h1.752l.462-1.807h2.276l.46 1.807zm3.152-7.6h1.709v6.158H50V9.74h-5.076v-7.6zM4.56 18.786l.179-.7.586-2.452h.047c.086.382.184.784.283 1.182l.498 1.97H4.56zm2.392 3.15h1.815L6.41 14.333H4.357L2 21.936h1.752l.463-1.808h2.277l.459 1.808zm2.775-1.445h1.767v-4.716H9.726v-1.442h5.245v1.442h-1.766v4.716h1.766v1.443H9.726V20.49zm6.767 2.199h5.603V24h-5.603v-1.31z"
|
|
28
|
+
})
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
export default Icon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Mono: typeof Mono;
|
|
11
|
+
Text: typeof Text;
|
|
12
|
+
colorGradient: string;
|
|
13
|
+
colorPrimary: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Icons: CompoundedIcon;
|
|
16
|
+
export default Icons;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Color from "./components/Color";
|
|
3
|
+
import Combine from "./components/Combine";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import Text from "./components/Text";
|
|
6
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
9
|
+
Icons.Text = Text;
|
|
10
|
+
Icons.Combine = Combine;
|
|
11
|
+
Icons.Avatar = Avatar;
|
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
|
14
|
+
export default Icons;
|
|
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
14
|
fill: "currentColor",
|
|
16
15
|
fillRule: "evenodd",
|
|
17
16
|
height: size,
|
|
@@ -24,13 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
24
23
|
width: size,
|
|
25
24
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26
25
|
}, rest), {}, {
|
|
27
|
-
children:
|
|
28
|
-
d: "
|
|
29
|
-
})
|
|
30
|
-
d: "M11.753 10.23a5 5 0 00-.6.08 4.13 4.13 0 00-.872.3c-.863.422-1.457 1.125-1.638 1.938-.037.161-.041.215-.041.486 0 .27.004.327.04.48.24 1.064 1.22 1.849 2.487 1.993.275.03 1.463.03 1.738 0 1.017-.116 1.892-.667 2.285-1.441.104-.207.155-.341.202-.551.035-.154.04-.212.04-.48 0-.272-.005-.326-.041-.487-.264-1.181-1.41-2.112-2.817-2.289a6.289 6.289 0 00-.783-.028zm.59.86c.47.05.942.218 1.321.47.204.137.492.421.615.607.151.231.238.466.278.752.017.131.008.23-.04.442-.074.316-.305.646-.616.877a2.856 2.856 0 01-.632.32c-.35.111-.58.132-1.398.126-.533-.005-.628-.01-.781-.038-.523-.098-.937-.307-1.237-.624-.243-.256-.354-.49-.414-.867-.027-.176.024-.466.126-.711.125-.299.447-.67.766-.883.37-.247.857-.422 1.303-.47.173-.018.538-.018.71 0z"
|
|
31
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
-
d: "M11.395 12.243c-.12.065-.204.23-.179.35.028.132.144.265.324.374.096.058.102.066.107.124.003.035-.01.135-.027.223a1.539 1.539 0 00-.033.204c.002.068.065.178.131.232.059.047.07.05.234.054.15.005.182.001.242-.027.154-.076.194-.215.137-.482-.047-.223-.038-.257.08-.325.126-.073.258-.2.298-.288a.335.335 0 00-.162-.44.362.362 0 00-.165-.03c-.116 0-.19.027-.326.113l-.077.05-.05-.03c-.2-.12-.236-.133-.358-.132a.363.363 0 00-.176.03zM7.56 10.41a.924.924 0 00-.596.585c-.052.14-.078.359-.056.477.053.283.285.54.549.612.331.087.58.03.799-.188.128-.125.197-.234.267-.411.05-.125.053-.147.053-.324l.002-.19-.066-.135a.82.82 0 00-.518-.433.936.936 0 00-.435.006zM15.996 10.405a.82.82 0 00-.512.43l-.066.137.001.19c0 .176.003.198.054.323.07.177.139.286.267.41.22.219.467.276.8.189a.789.789 0 00.473-.4.689.689 0 00.073-.457c-.059-.415-.302-.717-.664-.822a.971.971 0 00-.426 0z"
|
|
33
|
-
})]
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M8.405 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.94 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.94 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z"
|
|
28
|
+
})
|
|
34
29
|
}));
|
|
35
30
|
});
|
|
36
31
|
export default Icon;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Icon:
|
|
3
|
-
size: string | number;
|
|
4
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import type { IconType } from "../../types";
|
|
2
|
+
declare const Icon: IconType;
|
|
5
3
|
export default Icon;
|
|
@@ -4,22 +4,28 @@ var _excluded = ["size", "style"];
|
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { Flexbox } from 'react-layout-kit';
|
|
8
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
8
|
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
9
|
var _ref$size = _ref.size,
|
|
11
10
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
11
|
style = _ref.style,
|
|
13
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
-
return /*#__PURE__*/_jsx(
|
|
13
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
height: size,
|
|
15
17
|
ref: ref,
|
|
16
18
|
style: _objectSpread({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, style)
|
|
19
|
+
flex: 'none',
|
|
20
|
+
lineHeight: 1,
|
|
21
|
+
width: 'fit-content'
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 87 24",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
21
25
|
}, rest), {}, {
|
|
22
|
-
children: "
|
|
26
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
27
|
+
d: "M11.333 2c-2.959 0-5.272.943-6.94 2.884C2.78 6.717 2 9.09 2 12.027c0 2.911.78 5.283 2.394 7.116C6.06 21.03 8.374 22 11.333 22c2.931 0 5.244-.943 6.939-2.83 1.614-1.806 2.42-4.178 2.42-7.143s-.806-5.364-2.42-7.17C16.577 2.943 14.264 2 11.332 2zm0 2.776c1.99 0 3.523.62 4.599 1.914 1.049 1.294 1.587 3.073 1.587 5.337s-.538 4.016-1.587 5.283c-1.076 1.267-2.609 1.914-4.6 1.914-1.99 0-3.55-.674-4.625-1.995-1.05-1.294-1.56-3.019-1.56-5.202 0-2.21.51-3.935 1.56-5.23 1.102-1.347 2.636-2.02 4.626-2.02zM22.979 2v19.623h3.066V2h-3.066zm6.159 0v19.623h3.066V2h-3.066zm12.21 5.31c-1.775 0-3.173.296-4.195.943-1.21.701-1.964 1.833-2.26 3.37l3.04.242c.161-.728.564-1.267 1.156-1.617.511-.323 1.184-.458 2.044-.458 1.99 0 2.986.89 2.986 2.722v.54l-3.04.08c-2.044.054-3.63.485-4.76 1.294-1.237.835-1.829 2.048-1.829 3.612 0 1.159.43 2.102 1.29 2.857.835.728 1.964 1.105 3.417 1.105 1.21 0 2.259-.216 3.146-.62.78-.377 1.453-.89 1.99-1.59v1.833h2.852v-8.895c0-1.698-.43-2.992-1.291-3.882-.969-1.024-2.502-1.536-4.546-1.536zm2.77 7.951v.701c0 1.078-.43 1.968-1.237 2.669-.806.674-1.802 1.024-2.985 1.024-.672 0-1.21-.189-1.64-.512-.431-.324-.62-.728-.62-1.213 0-1.614 1.129-2.473 3.41-2.58l3.073-.089zM56.572 7.31c-1.344 0-2.609.593-3.765 1.806V7.687H49.74v13.936h3.066v-8.356c0-.917.269-1.725.807-2.372.538-.7 1.237-1.024 2.125-1.024 1.828 0 2.743 1.05 2.743 3.18v8.572h3.066v-8.518c0-1.024.242-1.806.78-2.372.511-.593 1.13-.862 1.883-.862 1.075 0 1.829.242 2.313.754.457.486.699 1.294.699 2.4v8.598h3.066v-9.138c0-1.536-.484-2.776-1.398-3.746-.969-.97-2.152-1.429-3.578-1.429-.941 0-1.72.162-2.34.485-.699.324-1.371.917-2.017 1.78-.887-1.51-2.34-2.265-4.384-2.265zm22.593 0c-1.775 0-3.174.296-4.196.943-1.21.701-1.963 1.833-2.26 3.37l3.04.242c.161-.728.565-1.267 1.156-1.617.511-.323 1.184-.458 2.044-.458 1.99 0 2.986.89 2.986 2.722v.54l-3.04.08c-2.043.054-3.63.485-4.76 1.294-1.237.835-1.829 2.048-1.829 3.612 0 1.159.43 2.102 1.291 2.857.834.728 1.964 1.105 3.416 1.105 1.21 0 2.26-.216 3.147-.62.78-.377 1.452-.89 1.99-1.59v1.833H85v-8.895c0-1.698-.43-2.992-1.291-3.882-.968-1.024-2.501-1.536-4.545-1.536zm2.77 7.951v.701c0 1.078-.43 1.968-1.237 2.669-.807.674-1.802 1.024-2.986 1.024-.672 0-1.21-.189-1.64-.512-.43-.324-.619-.728-.619-1.213 0-1.614 1.128-2.473 3.41-2.58l3.072-.089z"
|
|
28
|
+
})
|
|
23
29
|
}));
|
|
24
30
|
});
|
|
25
31
|
export default Icon;
|
package/es/Ollama/style.d.ts
CHANGED
package/es/Ollama/style.js
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;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
height: size,
|
|
16
|
+
ref: ref,
|
|
17
|
+
style: _objectSpread({
|
|
18
|
+
flex: 'none',
|
|
19
|
+
lineHeight: 1
|
|
20
|
+
}, style),
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
width: size,
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, rest), {}, {
|
|
25
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
26
|
+
fill: "none",
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M6.075 10.494C7.6 9.446 9.768 8.759 12.222 8.759c2.453 0 4.622.687 6.147 1.735.77.53 1.352 1.133 1.74 1.77C20 10 20 10 20.687 9.362a9.276 9.276 0 00-1.008-.8c-1.958-1.347-4.598-2.143-7.457-2.143-2.858 0-5.499.796-7.457 2.144-1.955 1.345-3.325 3.322-3.325 5.647 0 2.326 1.37 4.303 3.322 5.646C6.721 21.205 9.362 22 12.22 22c2.859 0 5.5-.795 7.457-2.144C21.63 18.513 23 16.538 23 14.21c0-1.48-.554-2.817-1.46-3.94-.046 1.036-.41 2.03-1.012 2.937.099.325.149.663.15 1.003 0 1.33-.782 2.664-2.313 3.717-1.524 1.048-3.692 1.735-6.146 1.735-2.453 0-4.623-.687-6.147-1.735C4.544 16.874 3.76 15.54 3.76 14.21c.003-1.33.785-2.663 2.315-3.716z",
|
|
30
|
+
fill: "#3762FF"
|
|
31
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
32
|
+
d: "M3.747 11.494c-.62 1.77-.473 3.365.332 4.51.806 1.144 2.254 1.813 4.117 1.813 1.86 0 4.029-.68 6.021-2.1 1.993-1.42 3.35-3.251 3.967-5.017.62-1.769.473-3.364-.332-4.51-.806-1.143-2.254-1.812-4.117-1.812-1.86 0-4.029.68-6.021 2.099-1.993 1.42-3.35 3.252-3.967 5.017zm-2.228-.79c.8-2.28 2.487-4.498 4.83-6.167C8.691 2.866 11.33 2 13.734 2c2.4 0 4.678.874 6.045 2.817 1.366 1.943 1.431 4.394.633 6.674-.8 2.282-2.487 4.499-4.83 6.168-2.344 1.67-4.981 2.536-7.387 2.537-2.4 0-4.678-.874-6.045-2.817-1.368-1.943-1.431-4.396-.633-6.674h.002z",
|
|
33
|
+
fill: "#1041F3"
|
|
34
|
+
})]
|
|
35
|
+
})
|
|
36
|
+
}));
|
|
37
|
+
});
|
|
38
|
+
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,36 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["size", "style"];
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
|
+
var _ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
12
|
+
style = _ref.style,
|
|
13
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
14
|
+
return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
height: size,
|
|
18
|
+
ref: ref,
|
|
19
|
+
style: _objectSpread({
|
|
20
|
+
flex: 'none',
|
|
21
|
+
lineHeight: 1
|
|
22
|
+
}, style),
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
width: size,
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
+
}, rest), {}, {
|
|
27
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
28
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
29
|
+
d: "M6.075 10.494C7.6 9.446 9.768 8.759 12.222 8.759c2.453 0 4.622.687 6.147 1.735.77.53 1.352 1.133 1.74 1.77C20 10 20 10 20.687 9.362a9.276 9.276 0 00-1.008-.8c-1.958-1.347-4.598-2.143-7.457-2.143-2.858 0-5.499.796-7.457 2.144-1.955 1.345-3.325 3.322-3.325 5.647 0 2.326 1.37 4.303 3.322 5.646C6.721 21.205 9.362 22 12.22 22c2.859 0 5.5-.795 7.457-2.144C21.63 18.513 23 16.538 23 14.21c0-1.48-.554-2.817-1.46-3.94-.046 1.036-.41 2.03-1.012 2.937.099.325.149.663.15 1.003 0 1.33-.782 2.664-2.313 3.717-1.524 1.048-3.692 1.735-6.146 1.735-2.453 0-4.623-.687-6.147-1.735C4.544 16.874 3.76 15.54 3.76 14.21c.003-1.33.785-2.663 2.315-3.716z"
|
|
30
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
31
|
+
d: "M3.747 11.494c-.62 1.77-.473 3.365.332 4.51.806 1.144 2.254 1.813 4.117 1.813 1.86 0 4.029-.68 6.021-2.1 1.993-1.42 3.35-3.251 3.967-5.017.62-1.769.473-3.364-.332-4.51-.806-1.143-2.254-1.812-4.117-1.812-1.86 0-4.029.68-6.021 2.099-1.993 1.42-3.35 3.252-3.967 5.017zm-2.228-.79c.8-2.28 2.487-4.498 4.83-6.167C8.691 2.866 11.33 2 13.734 2c2.4 0 4.678.874 6.045 2.817 1.366 1.943 1.431 4.394.633 6.674-.8 2.282-2.487 4.499-4.83 6.168-2.344 1.67-4.981 2.536-7.387 2.537-2.4 0-4.678-.874-6.045-2.817-1.368-1.943-1.431-4.396-.633-6.674h.002z"
|
|
32
|
+
})]
|
|
33
|
+
})
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
36
|
+
export default Icon;
|