@lobehub/ui 1.163.2 → 1.164.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/awesome.d.ts +1 -1
- package/awesome.js +1 -1
- package/brand.d.ts +1 -1
- package/brand.js +1 -1
- package/chat.d.ts +1 -1
- package/chat.js +1 -1
- package/color.d.ts +1 -1
- package/color.js +1 -1
- package/es/ThemeProvider/GlobalStyle/antdOverride.js +2 -1
- package/es/components.d.ts +0 -2
- package/es/components.js +0 -2
- package/es/icons/Auth0/components/Avatar.d.ts +5 -0
- package/es/icons/Auth0/components/Avatar.js +27 -0
- package/es/icons/Auth0/components/Mono.d.ts +3 -0
- package/es/icons/Auth0/components/Mono.js +41 -0
- package/es/icons/Auth0/index.d.ts +9 -0
- package/es/icons/Auth0/index.js +10 -0
- package/es/icons/Auth0/style.d.ts +2 -0
- package/es/icons/Auth0/style.js +2 -0
- package/es/icons/Authelia/components/Avatar.d.ts +5 -0
- package/es/icons/Authelia/components/Avatar.js +27 -0
- package/es/icons/Authelia/components/Color.d.ts +3 -0
- package/es/icons/Authelia/components/Color.js +133 -0
- package/es/icons/Authelia/components/Mono.d.ts +3 -0
- package/es/icons/Authelia/components/Mono.js +49 -0
- package/es/icons/Authelia/index.d.ts +11 -0
- package/es/icons/Authelia/index.js +12 -0
- package/es/icons/Authelia/style.d.ts +2 -0
- package/es/icons/Authelia/style.js +2 -0
- package/es/icons/Authentik/components/Avatar.d.ts +5 -0
- package/es/icons/Authentik/components/Avatar.js +27 -0
- package/es/icons/Authentik/components/Color.d.ts +3 -0
- package/es/icons/Authentik/components/Color.js +42 -0
- package/es/icons/Authentik/components/Mono.d.ts +3 -0
- package/es/icons/Authentik/components/Mono.js +42 -0
- package/es/icons/Authentik/index.d.ts +11 -0
- package/es/icons/Authentik/index.js +12 -0
- package/es/icons/Authentik/style.d.ts +2 -0
- package/es/icons/Authentik/style.js +2 -0
- package/es/icons/Casdoor/components/Avatar.d.ts +5 -0
- package/es/icons/Casdoor/components/Avatar.js +27 -0
- package/es/icons/Casdoor/components/Color.d.ts +3 -0
- package/es/icons/Casdoor/components/Color.js +99 -0
- package/es/icons/Casdoor/components/Mono.d.ts +3 -0
- package/es/icons/Casdoor/components/Mono.js +45 -0
- package/es/icons/Casdoor/index.d.ts +11 -0
- package/es/icons/Casdoor/index.js +12 -0
- package/es/icons/Casdoor/style.d.ts +2 -0
- package/es/icons/Casdoor/style.js +2 -0
- package/es/icons/Clerk/components/Avatar.d.ts +5 -0
- package/es/icons/Clerk/components/Avatar.js +27 -0
- package/es/icons/Clerk/components/Color.d.ts +3 -0
- package/es/icons/Clerk/components/Color.js +44 -0
- package/es/icons/Clerk/components/Mono.d.ts +3 -0
- package/es/icons/Clerk/components/Mono.js +44 -0
- package/es/icons/Clerk/index.d.ts +11 -0
- package/es/icons/Clerk/index.js +12 -0
- package/es/icons/Clerk/style.d.ts +2 -0
- package/es/icons/Clerk/style.js +2 -0
- package/es/{FileTypeIcon → icons/FileTypeIcon}/index.d.ts +1 -1
- package/es/icons/Logto/components/Avatar.d.ts +5 -0
- package/es/icons/Logto/components/Avatar.js +27 -0
- package/es/icons/Logto/components/Color.d.ts +3 -0
- package/es/icons/Logto/components/Color.js +61 -0
- package/es/icons/Logto/components/Mono.d.ts +3 -0
- package/es/icons/Logto/components/Mono.js +42 -0
- package/es/icons/Logto/index.d.ts +11 -0
- package/es/icons/Logto/index.js +12 -0
- package/es/icons/Logto/style.d.ts +2 -0
- package/es/icons/Logto/style.js +2 -0
- package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/icon-map.json +863 -2591
- package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/index.d.ts +1 -1
- package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/index.js +2 -2
- package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/utils.d.ts +2 -2
- package/es/icons/MicrosoftEntra/components/Avatar.d.ts +5 -0
- package/es/icons/MicrosoftEntra/components/Avatar.js +26 -0
- package/es/icons/MicrosoftEntra/components/Color.d.ts +3 -0
- package/es/icons/MicrosoftEntra/components/Color.js +55 -0
- package/es/icons/MicrosoftEntra/components/Mono.d.ts +3 -0
- package/es/icons/MicrosoftEntra/components/Mono.js +44 -0
- package/es/icons/MicrosoftEntra/index.d.ts +11 -0
- package/es/icons/MicrosoftEntra/index.js +12 -0
- package/es/icons/MicrosoftEntra/style.d.ts +2 -0
- package/es/icons/MicrosoftEntra/style.js +2 -0
- package/es/icons/NextAuth/components/Avatar.d.ts +5 -0
- package/es/icons/NextAuth/components/Avatar.js +27 -0
- package/es/icons/NextAuth/components/Color.d.ts +3 -0
- package/es/icons/NextAuth/components/Color.js +110 -0
- package/es/icons/NextAuth/components/Mono.d.ts +3 -0
- package/es/icons/NextAuth/components/Mono.js +42 -0
- package/es/icons/NextAuth/index.d.ts +11 -0
- package/es/icons/NextAuth/index.js +12 -0
- package/es/icons/NextAuth/style.d.ts +2 -0
- package/es/icons/NextAuth/style.js +2 -0
- package/es/icons/Zitadel/components/Avatar.d.ts +5 -0
- package/es/icons/Zitadel/components/Avatar.js +27 -0
- package/es/icons/Zitadel/components/Color.d.ts +3 -0
- package/es/icons/Zitadel/components/Color.js +185 -0
- package/es/icons/Zitadel/components/Mono.d.ts +3 -0
- package/es/icons/Zitadel/components/Mono.js +71 -0
- package/es/icons/Zitadel/index.d.ts +11 -0
- package/es/icons/Zitadel/index.js +12 -0
- package/es/icons/Zitadel/style.d.ts +2 -0
- package/es/icons/Zitadel/style.js +2 -0
- package/es/icons/components.d.ts +2 -0
- package/es/icons/components.js +2 -0
- package/es/icons/icons.d.ts +10 -0
- package/es/icons/icons.js +10 -0
- package/es/icons/index.d.ts +2 -0
- package/es/icons/index.js +2 -0
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/icons.d.ts +1 -0
- package/icons.js +1 -0
- package/mdx.d.ts +1 -1
- package/mdx.js +1 -1
- package/mobile.d.ts +1 -1
- package/mobile.js +1 -1
- package/package.json +5 -2
- package/storybook.d.ts +1 -1
- package/storybook.js +1 -1
- /package/es/{FileTypeIcon → icons/FileTypeIcon}/index.js +0 -0
- /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/types.d.ts +0 -0
- /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/types.js +0 -0
- /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/utils.js +0 -0
package/awesome.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/
|
|
1
|
+
export * from './es/awesome';
|
package/awesome.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/
|
|
1
|
+
export * from './es/awesome';
|
package/brand.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/brand';
|
|
1
|
+
export * from './es/brand';
|
package/brand.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/brand';
|
|
1
|
+
export * from './es/brand';
|
package/chat.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/chat';
|
|
1
|
+
export * from './es/chat';
|
package/chat.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/chat';
|
|
1
|
+
export * from './es/chat';
|
package/color.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/color';
|
|
1
|
+
export * from './es/color';
|
package/color.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './es/color';
|
|
1
|
+
export * from './es/color';
|
|
@@ -3,5 +3,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
3
3
|
import { css } from 'antd-style';
|
|
4
4
|
import { readableColor, rgba } from 'polished';
|
|
5
5
|
export default (function (token) {
|
|
6
|
-
|
|
6
|
+
var readColor = readableColor(token.colorPrimary);
|
|
7
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .", "-checkbox-inner:after {\n border-color: ", " !important;\n }\n\n .", "-btn {\n box-shadow: none;\n }\n\n .", "-btn-primary:not(:disabled) {\n color: ", " !important;\n\n &:hover {\n color: ", " !important;\n }\n\n &:active {\n color: ", " !important;\n }\n }\n\n .", "-tooltip-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n\n min-height: unset;\n padding-block: 4px;\n padding-inline: 8px;\n\n color: ", " !important;\n\n background-color: ", " !important;\n border-radius: ", "px !important;\n }\n\n .", "-tooltip-arrow {\n &::before,\n &::after {\n background: ", " !important;\n }\n }\n\n .", "-switch-handle::before {\n background: ", " !important;\n }\n\n .", "-image-preview-close,\n .", "-image-preview-switch-right,\n .", "-image-preview-switch-left {\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 32px;\n height: 32px;\n padding: 0;\n\n background: ", ";\n border-radius: ", "px;\n\n ", ";\n }\n\n .", "-popover-inner {\n border: 1px solid ", ";\n box-shadow: ", ";\n }\n\n ul.", "-dropdown-menu {\n border: 1px solid ", ";\n border-radius: ", "px !important;\n box-shadow: ", ";\n }\n\n .", "-radio-wrapper\n .", "-radio-checked\n .", "-radio-inner:after {\n background: ", ";\n }\n "])), token.prefixCls, readableColor(token.colorPrimary), token.prefixCls, token.prefixCls, readColor, readColor, readColor, token.prefixCls, token.colorBgLayout, token.colorText, token.borderRadiusSM, token.prefixCls, token.colorText, token.prefixCls, token.colorBgContainer, token.prefixCls, token.prefixCls, token.prefixCls, rgba(token.colorBgMask, 0.1), token.borderRadiusLG, token.stylish.blur, token.prefixCls, token.colorBorderSecondary, token.boxShadowSecondary, token.prefixCls, token.colorBorderSecondary, token.borderRadius, token.boxShadowSecondary, token.prefixCls, token.prefixCls, token.prefixCls, readColor);
|
|
7
8
|
});
|
package/es/components.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export { default as DraggablePanelHeader, type DraggablePanelHeaderProps, } from
|
|
|
16
16
|
export { default as EditableText, type EditableTextProps } from './EditableText';
|
|
17
17
|
export { default as EmojiPicker, type EmojiPickerProps } from './EmojiPicker';
|
|
18
18
|
export { default as EmptyCard, type EmptyCardProps } from './EmptyCard';
|
|
19
|
-
export { default as FileTypeIcon, type FileTypeIconProps } from './FileTypeIcon';
|
|
20
19
|
export { default as FluentEmoji, type FluentEmojiProps } from './FluentEmoji';
|
|
21
20
|
export { default as FontLoader, type FontLoaderProps } from './FontLoader';
|
|
22
21
|
export { default as Footer, type FooterProps } from './Footer';
|
|
@@ -40,7 +39,6 @@ export { default as Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader,
|
|
|
40
39
|
export { default as List, type ListItemProps } from './List';
|
|
41
40
|
export { default as Markdown, type MarkdownProps } from './Markdown';
|
|
42
41
|
export { Typography, type TypographyProps } from './Markdown/Typography';
|
|
43
|
-
export { default as MaterialFileTypeIcon, type MaterialFileTypeIconProps, } from './MaterialFileTypeIcon';
|
|
44
42
|
export { default as Mermaid, type MermaidProps } from './Mermaid';
|
|
45
43
|
export { default as Modal, type ModalProps } from './Modal';
|
|
46
44
|
export { default as SearchBar, type SearchBarProps } from './SearchBar';
|
package/es/components.js
CHANGED
|
@@ -16,7 +16,6 @@ export { default as DraggablePanelHeader } from "./DraggablePanel/components/Dra
|
|
|
16
16
|
export { default as EditableText } from "./EditableText";
|
|
17
17
|
export { default as EmojiPicker } from "./EmojiPicker";
|
|
18
18
|
export { default as EmptyCard } from "./EmptyCard";
|
|
19
|
-
export { default as FileTypeIcon } from "./FileTypeIcon";
|
|
20
19
|
export { default as FluentEmoji } from "./FluentEmoji";
|
|
21
20
|
export { default as FontLoader } from "./FontLoader";
|
|
22
21
|
export { default as Footer } from "./Footer";
|
|
@@ -40,7 +39,6 @@ export { default as Layout, LayoutFooter, LayoutHeader, LayoutMain, LayoutSideba
|
|
|
40
39
|
export { default as List } from "./List";
|
|
41
40
|
export { default as Markdown } from "./Markdown";
|
|
42
41
|
export { Typography } from "./Markdown/Typography";
|
|
43
|
-
export { default as MaterialFileTypeIcon } from "./MaterialFileTypeIcon";
|
|
44
42
|
export { default as Mermaid } from "./Mermaid";
|
|
45
43
|
export { default as Modal } from "./Modal";
|
|
46
44
|
export { default as SearchBar } from "./SearchBar";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { IconAvatar } from '@lobehub/icons';
|
|
13
|
+
import { memo } from 'react';
|
|
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
|
+
}, rest));
|
|
26
|
+
});
|
|
27
|
+
export default Avatar;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
d: "M3.264 10.418c3.928-.648 7.008-3.9 7.653-7.834l.216-1.891c.054-.3-.15-.72-.529-.69-2.968.232-5.769 1.213-7.327 1.85A2.058 2.058 0 002 3.76v6.169c0 .365.328.644.688.586l.576-.094v-.003zM12.812 2.584c.647 3.934 3.726 7.186 7.652 7.835l.577.094c.36.06.688-.219.688-.586v-6.17c0-.836-.504-1.588-1.278-1.905-1.56-.64-4.358-1.619-7.326-1.85-.382-.03-.577.392-.532.689l.216 1.89.003.003zM20.461 12.146c-5.368 1.06-7.86 4.635-7.86 11.4 0 .34.336.576.62.387 2.468-1.668 7.9-6.021 8.46-11.467.021-.684-.834-.362-1.22-.32zM3.266 12.146c5.369 1.06 7.86 4.635 7.86 11.4 0 .34-.336.576-.618.387-2.47-1.668-7.902-6.021-8.461-11.467-.021-.684.834-.362 1.22-.32z"
|
|
38
|
+
})]
|
|
39
|
+
}));
|
|
40
|
+
});
|
|
41
|
+
export default Icon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import Avatar from "./components/Avatar";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
6
|
+
var Icons = Mono;
|
|
7
|
+
Icons.Avatar = Avatar;
|
|
8
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
9
|
+
Icons.title = TITLE;
|
|
10
|
+
export default Icons;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { IconAvatar } from '@lobehub/icons';
|
|
13
|
+
import { memo } from 'react';
|
|
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
|
+
}, rest));
|
|
26
|
+
});
|
|
27
|
+
export default Avatar;
|
|
@@ -0,0 +1,133 @@
|
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
11
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
|
+
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; }
|
|
17
|
+
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; }
|
|
18
|
+
import { useFillIds } from '@lobehub/icons';
|
|
19
|
+
import { forwardRef } from 'react';
|
|
20
|
+
import { TITLE } from "../style";
|
|
21
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
24
|
+
var _ref$size = _ref.size,
|
|
25
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
26
|
+
style = _ref.style,
|
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
28
|
+
var _useFillIds = useFillIds(TITLE, 5),
|
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 5),
|
|
30
|
+
a = _useFillIds2[0],
|
|
31
|
+
b = _useFillIds2[1],
|
|
32
|
+
c = _useFillIds2[2],
|
|
33
|
+
d = _useFillIds2[3],
|
|
34
|
+
e = _useFillIds2[4];
|
|
35
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
36
|
+
height: size,
|
|
37
|
+
ref: ref,
|
|
38
|
+
style: _objectSpread({
|
|
39
|
+
flex: 'none',
|
|
40
|
+
lineHeight: 1
|
|
41
|
+
}, style),
|
|
42
|
+
viewBox: "0 0 24 24",
|
|
43
|
+
width: size,
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
+
}, rest), {}, {
|
|
46
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
47
|
+
children: TITLE
|
|
48
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
49
|
+
d: "M12.04 17.99c-3.312-.001-6.044-2.719-6.02-6.025.025-3.47 2.905-6.036 6.073-6.003 3.13.032 5.968 2.485 5.977 6.02.009 3.409-2.727 6.002-6.03 6.008zm1.567-8.38c.002-.767-.447-1.372-1.153-1.555a1.572 1.572 0 00-1.766.745c-.365.647-.268 1.384.311 1.9.284.252.308.491.22.828-.264 1.013-.501 2.034-.752 3.052-.092.376.008.697.299.944.609.515 1.718.565 2.377.118.472-.321.591-.579.464-1.132-.242-1.056-.498-2.11-.762-3.161-.06-.237-.037-.395.172-.56.375-.292.615-.675.59-1.179z",
|
|
50
|
+
fill: a.fill
|
|
51
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
52
|
+
d: "M11.995 20.95c-4.258.137-8.345-3.09-8.918-7.86C2.703 9.98 3.654 7.307 6 5.198c.538-.485 1.192-.85 1.82-1.224.488-.29.899-.165 1.15.265.259.444.134.847-.348 1.169-.449.3-.92.577-1.333.923-1.53 1.283-2.384 2.938-2.567 4.923-.167 1.815.234 3.506 1.32 4.978 1.42 1.926 3.35 2.961 5.753 3.05 2.141.081 3.982-.679 5.459-2.198.6-.618 1.017-1.42 1.488-2.156.262-.41.613-.617 1.01-.496.503.153.766.599.521 1.11-.34.711-.71 1.432-1.198 2.045-1.565 1.971-3.651 3.046-6.14 3.356a.858.858 0 01-.108.007h-.832z",
|
|
53
|
+
fill: b.fill
|
|
54
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
55
|
+
d: "M0 12.325C.04 9.042.96 6.549 2.744 4.38 4.546 2.19 6.851.806 9.637.27c.57-.11 1.175-.056 1.763-.054.31.001.471.207.526.5.06.33-.091.748-.378.869a3.297 3.297 0 01-.834.2c-1.945.258-3.703.966-5.214 2.22-2.138 1.773-3.437 4.026-3.746 6.81-.3 2.72.41 5.173 2.018 7.372.248.34.549.638.808.97.379.486.352.863-.064 1.235-.35.313-.78.272-1.177-.133a11.342 11.342 0 01-3.02-5.576C.114 13.76.061 12.805 0 12.325z",
|
|
56
|
+
fill: c.fill
|
|
57
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
58
|
+
d: "M13.268 23.77c-.12 0-.241.006-.362-.002-.452-.031-.758-.296-.802-.687-.047-.422.221-.788.679-.889.317-.07.641-.102.961-.16 3.216-.58 5.648-2.272 7.27-5.12a9.973 9.973 0 001.317-4.754 9.52 9.52 0 00-.65-3.748c-.074-.188-.114-.432-.062-.62.099-.35.337-.611.74-.642.375-.03.697.141.84.554.23.67.453 1.35.582 2.045.469 2.509.193 4.941-.907 7.255-.894 1.883-2.186 3.447-3.893 4.658-1.518 1.077-3.187 1.784-5.032 2.062-.226.034-.454.047-.68.07l-.001-.023z",
|
|
59
|
+
fill: d.fill
|
|
60
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
61
|
+
d: "M20.84 10.15c0 .494-.248.806-.674.882-.41.074-.752-.143-.915-.585-.216-.585-.388-1.192-.651-1.755-.694-1.48-1.812-2.557-3.27-3.287-.119-.059-.24-.115-.354-.18-.442-.248-.61-.709-.42-1.131.198-.441.632-.643 1.116-.403.653.324 1.307.677 1.886 1.117 1.625 1.235 2.67 2.877 3.203 4.845.028.105.05.212.068.318.01.07.009.143.01.179z",
|
|
62
|
+
fill: e.fill
|
|
63
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
64
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
65
|
+
gradientUnits: "userSpaceOnUse",
|
|
66
|
+
id: a.id,
|
|
67
|
+
x1: "-.251",
|
|
68
|
+
x2: "23.906",
|
|
69
|
+
y1: "11.923",
|
|
70
|
+
y2: "12.026",
|
|
71
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
72
|
+
stopColor: "#3F51B4"
|
|
73
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
74
|
+
offset: "1",
|
|
75
|
+
stopColor: "#113155"
|
|
76
|
+
})]
|
|
77
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
78
|
+
gradientUnits: "userSpaceOnUse",
|
|
79
|
+
id: b.id,
|
|
80
|
+
x1: "-.253",
|
|
81
|
+
x2: "23.905",
|
|
82
|
+
y1: "12.342",
|
|
83
|
+
y2: "12.446",
|
|
84
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
85
|
+
stopColor: "#3F51B4"
|
|
86
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
87
|
+
offset: "1",
|
|
88
|
+
stopColor: "#113155"
|
|
89
|
+
})]
|
|
90
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
91
|
+
gradientUnits: "userSpaceOnUse",
|
|
92
|
+
id: c.id,
|
|
93
|
+
x1: "-.245",
|
|
94
|
+
x2: "23.913",
|
|
95
|
+
y1: "10.367",
|
|
96
|
+
y2: "10.47",
|
|
97
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
98
|
+
stopColor: "#3F51B4"
|
|
99
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
100
|
+
offset: "1",
|
|
101
|
+
stopColor: "#113155"
|
|
102
|
+
})]
|
|
103
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
104
|
+
gradientUnits: "userSpaceOnUse",
|
|
105
|
+
id: d.id,
|
|
106
|
+
x1: "-.266",
|
|
107
|
+
x2: "23.892",
|
|
108
|
+
y1: "15.39",
|
|
109
|
+
y2: "15.493",
|
|
110
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
111
|
+
stopColor: "#3F51B4"
|
|
112
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
113
|
+
offset: "1",
|
|
114
|
+
stopColor: "#113155"
|
|
115
|
+
})]
|
|
116
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
117
|
+
gradientUnits: "userSpaceOnUse",
|
|
118
|
+
id: e.id,
|
|
119
|
+
x1: "-.231",
|
|
120
|
+
x2: "23.926",
|
|
121
|
+
y1: "7.241",
|
|
122
|
+
y2: "7.344",
|
|
123
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
124
|
+
stopColor: "#3F51B4"
|
|
125
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
126
|
+
offset: "1",
|
|
127
|
+
stopColor: "#113155"
|
|
128
|
+
})]
|
|
129
|
+
})]
|
|
130
|
+
})]
|
|
131
|
+
}));
|
|
132
|
+
});
|
|
133
|
+
export default Icon;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
d: "M12.04 17.99c-3.312-.001-6.044-2.719-6.02-6.025.025-3.47 2.905-6.036 6.073-6.003 3.13.032 5.968 2.485 5.977 6.02.009 3.409-2.727 6.002-6.03 6.008zm1.567-8.38c.002-.767-.447-1.372-1.153-1.555a1.572 1.572 0 00-1.766.745c-.365.647-.268 1.384.311 1.9.284.252.308.491.22.828-.264 1.013-.501 2.034-.752 3.052-.092.376.008.697.299.944.609.515 1.718.565 2.377.118.472-.321.591-.579.464-1.132-.242-1.056-.498-2.11-.762-3.161-.06-.237-.037-.395.172-.56.375-.292.615-.675.59-1.179z"
|
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
39
|
+
d: "M11.995 20.95c-4.258.137-8.345-3.09-8.918-7.86C2.703 9.98 3.654 7.307 6 5.198c.538-.485 1.192-.85 1.82-1.224.488-.29.899-.165 1.15.265.259.444.134.847-.348 1.169-.449.3-.92.577-1.333.923-1.53 1.283-2.384 2.938-2.567 4.923-.167 1.815.234 3.506 1.32 4.978 1.42 1.926 3.35 2.961 5.753 3.05 2.141.081 3.982-.679 5.459-2.198.6-.618 1.017-1.42 1.488-2.156.262-.41.613-.617 1.01-.496.503.153.766.599.521 1.11-.34.711-.71 1.432-1.198 2.045-1.565 1.971-3.651 3.046-6.14 3.356a.858.858 0 01-.108.007h-.832z"
|
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
+
d: "M0 12.325C.04 9.042.96 6.549 2.744 4.38 4.546 2.19 6.851.806 9.637.27c.57-.11 1.175-.056 1.763-.054.31.001.471.207.526.5.06.33-.091.748-.378.869a3.297 3.297 0 01-.834.2c-1.945.258-3.703.966-5.214 2.22-2.138 1.773-3.437 4.026-3.746 6.81-.3 2.72.41 5.173 2.018 7.372.248.34.549.638.808.97.379.486.352.863-.064 1.235-.35.313-.78.272-1.177-.133a11.342 11.342 0 01-3.02-5.576C.114 13.76.061 12.805 0 12.325z"
|
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
43
|
+
d: "M13.268 23.77c-.12 0-.241.006-.362-.002-.452-.031-.758-.296-.802-.687-.047-.422.221-.788.679-.889.317-.07.641-.102.961-.16 3.216-.58 5.648-2.272 7.27-5.12a9.973 9.973 0 001.317-4.754 9.52 9.52 0 00-.65-3.748c-.074-.188-.114-.432-.062-.62.099-.35.337-.611.74-.642.375-.03.697.141.84.554.23.67.453 1.35.582 2.045.469 2.509.193 4.941-.907 7.255-.894 1.883-2.186 3.447-3.893 4.658-1.518 1.077-3.187 1.784-5.032 2.062-.226.034-.454.047-.68.07l-.001-.023z"
|
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
45
|
+
d: "M20.84 10.15c0 .494-.248.806-.674.882-.41.074-.752-.143-.915-.585-.216-.585-.388-1.192-.651-1.755-.694-1.48-1.812-2.557-3.27-3.287-.119-.059-.24-.115-.354-.18-.442-.248-.61-.709-.42-1.131.198-.441.632-.643 1.116-.403.653.324 1.307.677 1.886 1.117 1.625 1.235 2.67 2.877 3.203 4.845.028.105.05.212.068.318.01.07.009.143.01.179z"
|
|
46
|
+
})]
|
|
47
|
+
}));
|
|
48
|
+
});
|
|
49
|
+
export default Icon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Mono from './components/Mono';
|
|
4
|
+
export type CompoundedIcon = typeof Mono & {
|
|
5
|
+
Avatar: typeof Avatar;
|
|
6
|
+
Color: typeof Color;
|
|
7
|
+
colorPrimary: string;
|
|
8
|
+
title: string;
|
|
9
|
+
};
|
|
10
|
+
declare const Icons: CompoundedIcon;
|
|
11
|
+
export default Icons;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import Avatar from "./components/Avatar";
|
|
4
|
+
import Color from "./components/Color";
|
|
5
|
+
import Mono from "./components/Mono";
|
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
9
|
+
Icons.Avatar = Avatar;
|
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
11
|
+
Icons.title = TITLE;
|
|
12
|
+
export default Icons;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { IconAvatar } from '@lobehub/icons';
|
|
13
|
+
import { memo } from 'react';
|
|
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
|
+
}, rest));
|
|
26
|
+
});
|
|
27
|
+
export default Avatar;
|
|
@@ -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
|
+
height: size,
|
|
23
|
+
ref: ref,
|
|
24
|
+
style: _objectSpread({
|
|
25
|
+
flex: 'none',
|
|
26
|
+
lineHeight: 1
|
|
27
|
+
}, style),
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
width: size,
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, rest), {}, {
|
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
33
|
+
children: TITLE
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
clipRule: "evenodd",
|
|
36
|
+
d: "M23.97 6.337h.004A3.77 3.77 0 0020.226 3H9.388a3.769 3.769 0 00-1.503.312l-.099.045c-.103.048-.204.101-.301.16a3.61 3.61 0 00-.287.184 3.853 3.853 0 00-.626.562l-.014.016-.013.015c-.031.035-.063.07-.086.1l-.092.12a3.824 3.824 0 00-.053.072l-.009.012-.012.017-.012.018-.021.03v.006l-.002.003a3.73 3.73 0 00-.639 2.097v4.424c-.035-.05-.07-.1-.108-.15-.588-.796-1.47-1.599-2.447-1.599a3.062 3.062 0 00-2.69 1.597H.371c-1.117 1.946.427 4.572 2.692 4.513 1.75 0 3.196-2.6 3.196-3.06 0-.17-.199-.635-.538-1.15h6.163v-.003h.002V8.005h-.002V7.68h1.234v1.518h.84V7.68h1.345v.893h.84V7.68h1.588v6.521H5.62v3.417a3.773 3.773 0 003.77 3.763h1.599v-3.692h7.64v3.692h1.596A3.773 3.773 0 0024 17.618v-6.277H24V6.77a3.61 3.61 0 00-.03-.432zM4.01 11.044c-.667-.702-1.58-.546-2.211-.003H1.8c-2.11 2.057 1.333 5.557 3.296 1.45a5.342 5.342 0 00-1.088-1.447z",
|
|
37
|
+
fill: "#FD4B2D",
|
|
38
|
+
fillRule: "evenodd"
|
|
39
|
+
})]
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
export default Icon;
|