@lobehub/icons 1.48.0 → 1.50.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 +29 -27
- package/es/AlibabaCloud/components/Avatar.d.ts +5 -0
- package/es/AlibabaCloud/components/Avatar.js +26 -0
- package/es/AlibabaCloud/components/Color.d.ts +3 -0
- package/es/AlibabaCloud/components/Color.js +43 -0
- package/es/AlibabaCloud/components/Combine.d.ts +7 -0
- package/es/AlibabaCloud/components/Combine.js +32 -0
- package/es/AlibabaCloud/components/Mono.d.ts +3 -0
- package/es/AlibabaCloud/components/Mono.js +43 -0
- package/es/AlibabaCloud/components/Text.d.ts +3 -0
- package/es/AlibabaCloud/components/Text.js +40 -0
- package/es/AlibabaCloud/components/TextCn.d.ts +3 -0
- package/es/AlibabaCloud/components/TextCn.js +48 -0
- package/es/AlibabaCloud/index.d.ts +17 -0
- package/es/AlibabaCloud/index.js +18 -0
- package/es/AlibabaCloud/style.d.ts +4 -0
- package/es/AlibabaCloud/style.js +4 -0
- package/es/Coze/components/Avatar.d.ts +5 -0
- package/es/Coze/components/Avatar.js +28 -0
- package/es/Coze/components/Combine.d.ts +5 -0
- package/es/Coze/components/Combine.js +29 -0
- package/es/Coze/components/Mono.d.ts +3 -0
- package/es/Coze/components/Mono.js +42 -0
- package/es/Coze/components/Text.d.ts +3 -0
- package/es/Coze/components/Text.js +43 -0
- package/es/Coze/index.d.ts +13 -0
- package/es/Coze/index.js +14 -0
- package/es/Coze/style.d.ts +4 -0
- package/es/Coze/style.js +4 -0
- package/es/Dify/components/Avatar.js +9 -2
- package/es/Dify/components/TextColor.js +1 -3
- package/es/Notion/components/Avatar.d.ts +5 -0
- package/es/Notion/components/Avatar.js +28 -0
- package/es/Notion/components/Combine.d.ts +5 -0
- package/es/Notion/components/Combine.js +26 -0
- package/es/Notion/components/Mono.d.ts +3 -0
- package/es/Notion/components/Mono.js +42 -0
- package/es/Notion/components/Text.d.ts +3 -0
- package/es/Notion/components/Text.js +40 -0
- package/es/Notion/index.d.ts +13 -0
- package/es/Notion/index.js +14 -0
- package/es/Notion/style.d.ts +4 -0
- package/es/Notion/style.js +4 -0
- package/es/V0/components/Avatar.d.ts +5 -0
- package/es/V0/components/Avatar.js +27 -0
- package/es/V0/components/Mono.d.ts +3 -0
- package/es/V0/components/Mono.js +42 -0
- package/es/V0/index.d.ts +9 -0
- package/es/V0/index.js +10 -0
- package/es/V0/style.d.ts +4 -0
- package/es/V0/style.js +4 -0
- package/es/Vercel/components/Avatar.d.ts +5 -0
- package/es/Vercel/components/Avatar.js +28 -0
- package/es/Vercel/components/Combine.d.ts +5 -0
- package/es/Vercel/components/Combine.js +26 -0
- package/es/Vercel/components/Mono.d.ts +3 -0
- package/es/Vercel/components/Mono.js +41 -0
- package/es/Vercel/components/Text.d.ts +3 -0
- package/es/Vercel/components/Text.js +40 -0
- package/es/Vercel/index.d.ts +13 -0
- package/es/Vercel/index.js +14 -0
- package/es/Vercel/style.d.ts +4 -0
- package/es/Vercel/style.js +4 -0
- package/es/features/IconAvatar/index.js +5 -1
- package/es/features/IconAvatar/util.d.ts +1 -0
- package/es/features/IconAvatar/util.js +9 -0
- package/es/features/modelConfig.js +1 -1
- package/es/icons.d.ts +5 -0
- package/es/icons.js +5 -0
- package/es/toc.js +90 -0
- package/package.json +2 -1
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 147 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M97.953 15.439a3.721 3.721 0 01-7.437 0V6.485a3.721 3.721 0 017.436 0v.139h2.847v-.107a6.568 6.568 0 00-13.129 0v8.922a6.56 6.56 0 1013.122 0v-.12h-2.846l.007.12zm14.784-9.64a5.617 5.617 0 00-5.667 5.32v5.497a5.665 5.665 0 009.44 3.637 5.665 5.665 0 001.837-3.637v-5.503a5.603 5.603 0 00-5.61-5.314zm2.789 10.496a2.79 2.79 0 01-5.579 0v-4.854a2.79 2.79 0 015.579 0v4.854zM105.042 0h-2.833v21.584h2.833V0zM26.878 5.8h-2.834v15.784h2.834V5.8zM21.21 0h-2.833v21.584h2.834V0zm-9.986 0H7.73L2 21.553h2.827l1.524-5.73h6.296l1.518 5.667h2.827L11.224.013V0zm.63 13.046h-4.76l2.38-8.94 2.38 8.94zm117.002 3.545a2.797 2.797 0 01-5.592 0V5.8h-2.839v11.258A4.878 4.878 0 00122.408 21a4.888 4.888 0 004.351.736c.271-.078.533-.186.781-.32.433-.223.83-.51 1.177-.85l.126-.12v1.158h2.859V5.8h-2.846v10.792zM26.878 0h-2.834v2.84h2.834V0zm9.205 5.78a4.861 4.861 0 00-3.413 1.398l-.12.12V0h-2.84v21.584h2.84v-1.158l.12.12a4.887 4.887 0 008.3-3.489v-6.39a4.893 4.893 0 00-4.887-4.887zm2.084 5.403v5.358a2.802 2.802 0 01-5.604 0v-5.358a2.802 2.802 0 015.604 0zM62.503 5.78a4.86 4.86 0 00-3.419 1.398l-.12.12V0h-2.833v21.584h2.834v-1.158l.12.12a4.887 4.887 0 008.298-3.489v-6.39a4.893 4.893 0 00-4.88-4.887zm2.078 5.403v5.352a2.802 2.802 0 11-5.604 0v-5.352a2.802 2.802 0 015.604 0zM142.173 0v7.298l-.12-.12a4.877 4.877 0 00-5.31-1.017 4.884 4.884 0 00-2.989 4.505v6.41a4.89 4.89 0 005.803 4.772 4.883 4.883 0 002.496-1.302l.12-.12v1.158h2.84V0h-2.84zm0 11.183v5.352a2.81 2.81 0 01-2.802 2.802 2.8 2.8 0 01-2.802-2.802v-5.352a2.798 2.798 0 012.802-2.802 2.8 2.8 0 012.802 2.802zm-88.082-.044a4.722 4.722 0 00-.057-.555v-.075a5.793 5.793 0 00-.97-2.368 5.535 5.535 0 00-4.212-2.348h-.327a5.667 5.667 0 00-5.579 4.609h2.783a2.803 2.803 0 012.74-2.26 2.808 2.808 0 012.77 2.694v1.322h-4.024a4.88 4.88 0 00-1.26 9.603h.077l.27.063.34.05h.07c.244.026.49.038.736.038a5.35 5.35 0 001.706-.246 4.792 4.792 0 001.934-1.165l.126-.12v1.16h2.833v-1.89l.044-8.512zm-6.334 3.148h3.482v1.996a3.148 3.148 0 01-2.576 3.098 2.817 2.817 0 01-.63.075 2.847 2.847 0 01-1.435-.403 3.015 3.015 0 01-.365-.233 2.829 2.829 0 01-.434-.434l-.032-.038a2.519 2.519 0 012.009-4.061h-.02zm32.786-3.136a4.722 4.722 0 00-.057-.554v-.075a5.766 5.766 0 00-.97-2.362 5.572 5.572 0 00-4.212-2.355h-.327a5.667 5.667 0 00-5.58 4.597h2.778a2.79 2.79 0 015.528.428v1.322h-4.03a4.88 4.88 0 00-1.228 9.603h.076l.27.063.34.05h.07c.245.028.49.043.737.044a5.35 5.35 0 001.706-.246 4.937 4.937 0 001.933-1.165l.126-.12v1.16h2.833v-1.89l.007-8.5zM74.208 14.3h3.476v2.022a3.149 3.149 0 01-2.575 3.098 2.811 2.811 0 01-.63.075 2.846 2.846 0 01-1.436-.403 2.404 2.404 0 01-.365-.233 2.879 2.879 0 01-.44-.434v-.038a2.48 2.48 0 01-.523-1.524 2.518 2.518 0 012.493-2.537V14.3z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 60 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M15.476 6.599H10.02v11.23h5.455V6.599zm-2.246 8.984h-1.177V8.738h1.177v6.845z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
d: "M2 22h2.139V4.246h2.246l-1.283 5.882v2.14h1.283v4.705c0 .321-.214.535-.535.535h-.534v2.14h1.069a2.145 2.145 0 002.14-2.14v-7.487H7.24L8.524 4.14V2H2v20z"
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
41
|
+
clipRule: "evenodd",
|
42
|
+
d: "M31.733 17.508h6.738v-2.139h-6.845v-2.14h6.63V2.108h-15.4V13.23h6.63v2.139h-6.844v2.139h6.845v2.353h-7.38V22h17.005v-2.139h-7.38v-2.353zm.107-13.262h4.492v2.353H31.84V4.246zm0 4.492h4.492v2.246H31.84V8.738zm-2.14 2.246H25.21V8.738H29.7v2.246zm0-4.385H25.21V4.246H29.7v2.353z"
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
44
|
+
d: "M16.866 4.246h-7.38v-2.14h10.375v2.14h-.749v14.332c0 1.925-1.604 3.422-3.422 3.422h-2.246v-2.139h1.604c1.07 0 1.818-.856 1.818-1.818V4.246zM57.401 2.214H42v2.139h15.401v-2.14zM58.257 10.235v2.14H47.989l-3.422 7.486H54.94l-1.604-3.422h2.353l1.818 4.064c.107.107.107.214.107.427 0 .535-.428 1.07-1.07 1.07H42.107v-2.139l3.422-7.487h-4.278v-2.139h17.006z"
|
45
|
+
})]
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
export default Icon;
|
@@ -0,0 +1,17 @@
|
|
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 TextCn from './components/TextCn';
|
7
|
+
export type CompoundedIcon = typeof Mono & {
|
8
|
+
Avatar: typeof Avatar;
|
9
|
+
Color: typeof Color;
|
10
|
+
Combine: typeof Combine;
|
11
|
+
Text: typeof Text;
|
12
|
+
TextCn: typeof TextCn;
|
13
|
+
colorPrimary: string;
|
14
|
+
title: string;
|
15
|
+
};
|
16
|
+
declare const Icons: CompoundedIcon;
|
17
|
+
export default Icons;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
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 TextCn from "./components/TextCn";
|
9
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
10
|
+
var Icons = Mono;
|
11
|
+
Icons.Color = Color;
|
12
|
+
Icons.Text = Text;
|
13
|
+
Icons.TextCn = TextCn;
|
14
|
+
Icons.Combine = Combine;
|
15
|
+
Icons.Avatar = Avatar;
|
16
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
17
|
+
Icons.title = TITLE;
|
18
|
+
export default Icons;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY,
|
24
|
+
color: '#fff',
|
25
|
+
iconMultiple: 0.7
|
26
|
+
}, rest));
|
27
|
+
});
|
28
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
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
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Avatar from "./Avatar";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Avatar,
|
20
|
+
Text: Text,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
iconProps: {
|
23
|
+
shape: 'square'
|
24
|
+
},
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
27
|
+
}, rest));
|
28
|
+
});
|
29
|
+
export default Combine;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
clipRule: "evenodd",
|
38
|
+
d: "M3.908 9.096A8.092 8.092 0 0111.998 1h.006c4.468 0 8.09 3.628 8.09 8.096v3.392h1.942c2.23 0 2.732 3.126.615 3.828l-2.556.85v1.466a1.947 1.947 0 01-2.818 1.742l-1.42-.707c-.067-.03-.149 0-.17.071-1.147 3.587-6.225 3.587-7.373 0a.123.123 0 00-.169-.07l-1.42.706c-1.29.65-2.817-.292-2.817-1.742v-1.466l-2.557-.85c-2.122-.697-1.614-3.828.615-3.828h1.942V9.096zm4.571 2.613a.784.784 0 00-.784.784v1.568a.784.784 0 101.568 0v-1.568a.784.784 0 00-.784-.784zm7.045.779a.784.784 0 100 1.568.784.784 0 000-1.568zm-6.186 3.415a.78.78 0 00.17.254 3.517 3.517 0 004.98 0 .782.782 0 10-1.106-1.107 1.958 1.958 0 01-2.767 0 .78.78 0 00-1.277.254.78.78 0 000 .6z"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
export default Icon;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 85 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M41.947 11.99c0 5.52-4.57 9.993-10.206 9.993-5.636 0-10.206-4.474-10.206-9.991C21.535 6.473 26.105 2 31.741 2c5.637 0 10.206 4.473 10.206 9.99zm-10.204 6.2c-3.223 0-5.835-2.775-5.835-6.2v.002c0-3.424 2.612-6.2 5.835-6.2 3.222 0 5.834 2.775 5.834 6.2 0 3.423-2.612 6.198-5.834 6.198zM74.142 21.987c-5.541 0-9.815-4.02-9.815-9.924v-.072c0-5.47 3.875-9.96 9.344-9.96 6.085 0 9.163 4.78 9.163 10.286 0 .158 0 .358-.024.594l-.01.136a.541.541 0 01-.541.501h-13.55c.47 3.115 2.68 4.853 5.505 4.853 1.963 0 3.407-.672 4.808-1.933a.563.563 0 01.751-.01l1.795 1.592a.526.526 0 01.048.75c-1.779 1.946-4.181 3.187-7.474 3.187zm4.255-11.973h-9.613c.567-2.624 2.367-4.397 4.85-4.397 2.676 0 4.302 1.884 4.763 4.397z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
d: "M18.648 19.592a.528.528 0 00-.064-.367l-1.48-2.56c-.193-.336-.666-.369-.944-.098-1.04 1.019-2.428 1.642-3.954 1.642-3.222 0-5.835-2.776-5.835-6.2 0-3.423 2.613-6.199 5.835-6.199 1.598 0 3.047.683 4.1 1.789.274.288.764.262.963-.082l1.493-2.585a.527.527 0 00-.12-.679 10.299 10.299 0 00-6.436-2.235C6.57 2.018 2 6.49 2 12.009S6.57 22 12.206 22c2.255.006 4.45-.728 6.247-2.09a.527.527 0 00.195-.318zM45.699 2.673a.546.546 0 00-.547.546v2.42a.546.546 0 00.547.546h10.296L44.953 18.176a.545.545 0 00-.144.37v2.304a.547.547 0 00.546.547h15.509a.546.546 0 00.546-.547v-2.42a.546.546 0 00-.546-.546h-10.61L61.42 5.757h.002V3.218a.546.546 0 00-.546-.546H45.7z"
|
40
|
+
})]
|
41
|
+
}));
|
42
|
+
});
|
43
|
+
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/Coze/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
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/Coze/style.js
ADDED
@@ -1,7 +1,7 @@
|
|
1
1
|
'use client';
|
2
2
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
-
var _excluded = ["background", "size"];
|
4
|
+
var _excluded = ["shape", "background", "size", "iconStyle"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -15,8 +15,11 @@ import { COLOR_PRIMARY, TITLE } from "../style";
|
|
15
15
|
import Color from "./Color";
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
17
17
|
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
-
var
|
18
|
+
var _ref$shape = _ref.shape,
|
19
|
+
shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
|
20
|
+
background = _ref.background,
|
19
21
|
size = _ref.size,
|
22
|
+
iconStyle = _ref.iconStyle,
|
20
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
21
24
|
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
22
25
|
Icon: Color,
|
@@ -24,6 +27,10 @@ var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
24
27
|
background: background || COLOR_PRIMARY,
|
25
28
|
color: '#fff',
|
26
29
|
iconMultiple: 0.65,
|
30
|
+
iconStyle: _objectSpread({
|
31
|
+
marginLeft: shape === 'circle' ? size * 0.1 : undefined
|
32
|
+
}, iconStyle),
|
33
|
+
shape: shape,
|
27
34
|
size: size
|
28
35
|
}, rest));
|
29
36
|
});
|
@@ -35,11 +35,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
35
35
|
}), /*#__PURE__*/_jsx("path", {
|
36
36
|
clipRule: "evenodd",
|
37
37
|
d: "M7.605 3.781H2v14.771h5.605a7.386 7.386 0 100-14.771zM7.08 6.295H4.933v9.743h2.148a4.872 4.872 0 000-9.743z",
|
38
|
-
fill: "#fff",
|
39
38
|
fillRule: "evenodd"
|
40
39
|
}), /*#__PURE__*/_jsx("path", {
|
41
|
-
d: "M19.548 2a1.729 1.729 0 100 3.457h.21a1.729 1.729 0 100-3.457h-.21zM21.171 6.819h-3.038v11.733h3.038V6.82zM35.314 6.82h-3.143l4.62 11.392L34.266 24h3.038l7.28-17.18h-3.037l-3.182 8.186-3.052-8.187zM30.233 4.567v-2.41s-2.142-.04-3.195.681c-.911.624-1.571 1.724-1.571 2.829 0 .468-.006.847-.015 1.152h-1.347v2.41h1.257v9.323H28.4V9.23h1.99v-2.41h-2.01c-.02-.663-.002-1.45.387-1.833.532-.525 1.466-.42 1.466-.42z"
|
42
|
-
fill: "#fff"
|
40
|
+
d: "M19.548 2a1.729 1.729 0 100 3.457h.21a1.729 1.729 0 100-3.457h-.21zM21.171 6.819h-3.038v11.733h3.038V6.82zM35.314 6.82h-3.143l4.62 11.392L34.266 24h3.038l7.28-17.18h-3.037l-3.182 8.186-3.052-8.187zM30.233 4.567v-2.41s-2.142-.04-3.195.681c-.911.624-1.571 1.724-1.571 2.829 0 .468-.006.847-.015 1.152h-1.347v2.41h1.257v9.323H28.4V9.23h1.99v-2.41h-2.01c-.02-.663-.002-1.45.387-1.833.532-.525 1.466-.42 1.466-.42z"
|
43
41
|
}), /*#__PURE__*/_jsx("path", {
|
44
42
|
d: "M45.371 16.771h6.914v3.457h-6.914z",
|
45
43
|
fill: "#165EF0"
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY,
|
24
|
+
color: '#000',
|
25
|
+
iconMultiple: 0.7
|
26
|
+
}, rest));
|
27
|
+
});
|
28
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
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
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Mono,
|
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
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
clipRule: "evenodd",
|
38
|
+
d: "M15.257.055l-13.31.98C.874 1.128.5 1.83.5 2.667v14.559c0 .654.233 1.213.794 1.96l3.129 4.06c.513.653.98.794 1.962.745l15.457-.932c1.307-.093 1.681-.7 1.681-1.727V4.954c0-.53-.21-.684-.829-1.135l-.106-.078L18.34.755c-1.027-.746-1.45-.84-3.083-.7zm-8.521 4.63c-1.263.086-1.549.105-2.266-.477L2.647 2.76c-.186-.187-.092-.42.375-.466l12.796-.933c1.074-.094 1.634.28 2.054.606l2.195 1.587c.093.047.326.326.047.326l-13.216.794-.162.01zM5.263 21.193V7.287c0-.606.187-.886.748-.933l15.176-.886c.515-.047.748.28.748.886v13.81c0 .609-.093 1.122-.934 1.168l-14.523.84c-.842.047-1.215-.232-1.215-.98zm14.338-13.16c.093.422 0 .842-.422.89l-.699.139v10.264c-.608.327-1.168.513-1.635.513-.747 0-.934-.232-1.495-.932l-4.576-7.185v6.952l1.448.327s0 .84-1.169.84l-3.221.186c-.094-.187 0-.654.327-.747l.84-.232V9.853L7.832 9.76c-.093-.42.14-1.026.794-1.073l3.456-.232 4.763 7.279v-6.44l-1.214-.14c-.094-.513.28-.887.747-.933l3.223-.187z"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "nonzero",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 87 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M18.995.99v20.708H15.69L5.893 7.531h-.171v14.167H2V.99h3.337l9.776 14.164h.191V.992h3.692l-.001-.001zM28.851 22c-1.516 0-2.831-.333-3.944-1.001a6.731 6.731 0 01-2.578-2.8c-.605-1.2-.91-2.602-.91-4.206 0-1.605.303-3.01.91-4.216.607-1.206 1.467-2.143 2.578-2.81 1.112-.667 2.428-1.002 3.944-1.002 1.51 0 2.82.335 3.932 1.002 1.111.667 1.972 1.604 2.578 2.81.613 1.206.92 2.611.92 4.216 0 1.604-.307 3.006-.92 4.205A6.731 6.731 0 0132.783 21c-1.111.667-2.422 1-3.932 1zm.01-2.912c.836 0 1.53-.225 2.082-.678.554-.457.968-1.07 1.243-1.84.278-.775.416-1.637.416-2.587 0-.95-.138-1.813-.416-2.589-.275-.775-.69-1.392-1.243-1.85-.553-.464-1.246-.697-2.082-.697-.843 0-1.544.233-2.103.698-.56.458-.977 1.074-1.254 1.85-.268.775-.404 1.637-.404 2.588 0 .95.134 1.814.404 2.588.277.769.695 1.382 1.254 1.84.56.452 1.26.677 2.103.677zM46.251 6.17v2.81h-8.897V6.17h8.896zm-6.695-3.723h3.63v14.589c0 .492.075.869.223 1.133.155.262.358.44.607.535.249.095.529.141.84.141.209.002.418-.015.625-.05a7.01 7.01 0 00.446-.09l.605 2.84a8.3 8.3 0 01-.827.223c-.358.08-.796.128-1.316.14-.91.028-1.731-.11-2.466-.414a3.883 3.883 0 01-1.739-1.425c-.425-.647-.633-1.46-.627-2.436V2.447h-.001zm8.92 19.251V6.169h3.642v15.529h-3.641zm1.831-17.744c-.58 0-1.075-.192-1.487-.575a1.859 1.859 0 01-.617-1.396c0-.546.206-1.01.617-1.395A2.101 2.101 0 0150.306 0c.58 0 1.076.196 1.487.588.418.383.626.848.626 1.394 0 .539-.208 1.004-.626 1.395a2.1 2.1 0 01-1.486.577v-.001zm11.485 18.047c-1.516 0-2.83-.333-3.943-1.002a6.73 6.73 0 01-2.578-2.8c-.606-1.2-.91-2.6-.91-4.205s.304-3.01.91-4.216c.607-1.206 1.466-2.144 2.578-2.81 1.113-.667 2.427-1.002 3.943-1.002 1.51 0 2.821.334 3.933 1.001 1.112.667 1.972 1.605 2.579 2.81.613 1.207.92 2.612.92 4.217 0 1.604-.307 3.006-.92 4.205a6.728 6.728 0 01-2.58 2.802c-1.11.667-2.422 1-3.932 1zm.01-2.913c.836 0 1.53-.225 2.083-.677.553-.457.967-1.07 1.244-1.84.276-.775.414-1.637.414-2.588 0-.95-.138-1.812-.414-2.588-.277-.775-.69-1.392-1.244-1.85-.553-.465-1.247-.697-2.082-.697-.843 0-1.544.232-2.103.697-.56.459-.977 1.075-1.255 1.85-.268.776-.403 1.638-.403 2.588 0 .95.134 1.814.403 2.589.278.769.695 1.382 1.255 1.84.56.451 1.26.676 2.103.676zm13.295-6.5v9.109h-3.639V6.17h3.478v2.628h.182a4.446 4.446 0 011.708-2.062c.788-.512 1.763-.77 2.923-.77 1.064 0 1.994.23 2.79.69a4.637 4.637 0 011.86 1.991c.445.869.667 1.924.667 3.164V21.7h-3.628v-9.332c0-1.039-.27-1.85-.81-2.436-.54-.593-1.285-.89-2.236-.89-.638 0-1.208.141-1.708.425-.498.276-.889.68-1.172 1.213-.276.524-.415 1.163-.415 1.91z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|