@lobehub/ui 1.163.1 → 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.
Files changed (127) hide show
  1. package/awesome.d.ts +1 -1
  2. package/awesome.js +1 -1
  3. package/brand.d.ts +1 -1
  4. package/brand.js +1 -1
  5. package/chat.d.ts +1 -1
  6. package/chat.js +1 -1
  7. package/color.d.ts +1 -1
  8. package/color.js +1 -1
  9. package/es/ThemeProvider/GlobalStyle/antdOverride.js +2 -1
  10. package/es/color/index.d.ts +1 -1
  11. package/es/color/index.js +1 -2
  12. package/es/components.d.ts +0 -2
  13. package/es/components.js +0 -2
  14. package/es/icons/Auth0/components/Avatar.d.ts +5 -0
  15. package/es/icons/Auth0/components/Avatar.js +27 -0
  16. package/es/icons/Auth0/components/Mono.d.ts +3 -0
  17. package/es/icons/Auth0/components/Mono.js +41 -0
  18. package/es/icons/Auth0/index.d.ts +9 -0
  19. package/es/icons/Auth0/index.js +10 -0
  20. package/es/icons/Auth0/style.d.ts +2 -0
  21. package/es/icons/Auth0/style.js +2 -0
  22. package/es/icons/Authelia/components/Avatar.d.ts +5 -0
  23. package/es/icons/Authelia/components/Avatar.js +27 -0
  24. package/es/icons/Authelia/components/Color.d.ts +3 -0
  25. package/es/icons/Authelia/components/Color.js +133 -0
  26. package/es/icons/Authelia/components/Mono.d.ts +3 -0
  27. package/es/icons/Authelia/components/Mono.js +49 -0
  28. package/es/icons/Authelia/index.d.ts +11 -0
  29. package/es/icons/Authelia/index.js +12 -0
  30. package/es/icons/Authelia/style.d.ts +2 -0
  31. package/es/icons/Authelia/style.js +2 -0
  32. package/es/icons/Authentik/components/Avatar.d.ts +5 -0
  33. package/es/icons/Authentik/components/Avatar.js +27 -0
  34. package/es/icons/Authentik/components/Color.d.ts +3 -0
  35. package/es/icons/Authentik/components/Color.js +42 -0
  36. package/es/icons/Authentik/components/Mono.d.ts +3 -0
  37. package/es/icons/Authentik/components/Mono.js +42 -0
  38. package/es/icons/Authentik/index.d.ts +11 -0
  39. package/es/icons/Authentik/index.js +12 -0
  40. package/es/icons/Authentik/style.d.ts +2 -0
  41. package/es/icons/Authentik/style.js +2 -0
  42. package/es/icons/Casdoor/components/Avatar.d.ts +5 -0
  43. package/es/icons/Casdoor/components/Avatar.js +27 -0
  44. package/es/icons/Casdoor/components/Color.d.ts +3 -0
  45. package/es/icons/Casdoor/components/Color.js +99 -0
  46. package/es/icons/Casdoor/components/Mono.d.ts +3 -0
  47. package/es/icons/Casdoor/components/Mono.js +45 -0
  48. package/es/icons/Casdoor/index.d.ts +11 -0
  49. package/es/icons/Casdoor/index.js +12 -0
  50. package/es/icons/Casdoor/style.d.ts +2 -0
  51. package/es/icons/Casdoor/style.js +2 -0
  52. package/es/icons/Clerk/components/Avatar.d.ts +5 -0
  53. package/es/icons/Clerk/components/Avatar.js +27 -0
  54. package/es/icons/Clerk/components/Color.d.ts +3 -0
  55. package/es/icons/Clerk/components/Color.js +44 -0
  56. package/es/icons/Clerk/components/Mono.d.ts +3 -0
  57. package/es/icons/Clerk/components/Mono.js +44 -0
  58. package/es/icons/Clerk/index.d.ts +11 -0
  59. package/es/icons/Clerk/index.js +12 -0
  60. package/es/icons/Clerk/style.d.ts +2 -0
  61. package/es/icons/Clerk/style.js +2 -0
  62. package/es/{FileTypeIcon → icons/FileTypeIcon}/index.d.ts +1 -1
  63. package/es/icons/Logto/components/Avatar.d.ts +5 -0
  64. package/es/icons/Logto/components/Avatar.js +27 -0
  65. package/es/icons/Logto/components/Color.d.ts +3 -0
  66. package/es/icons/Logto/components/Color.js +61 -0
  67. package/es/icons/Logto/components/Mono.d.ts +3 -0
  68. package/es/icons/Logto/components/Mono.js +42 -0
  69. package/es/icons/Logto/index.d.ts +11 -0
  70. package/es/icons/Logto/index.js +12 -0
  71. package/es/icons/Logto/style.d.ts +2 -0
  72. package/es/icons/Logto/style.js +2 -0
  73. package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/icon-map.json +863 -2591
  74. package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/index.d.ts +1 -1
  75. package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/index.js +2 -2
  76. package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/utils.d.ts +2 -2
  77. package/es/icons/MicrosoftEntra/components/Avatar.d.ts +5 -0
  78. package/es/icons/MicrosoftEntra/components/Avatar.js +26 -0
  79. package/es/icons/MicrosoftEntra/components/Color.d.ts +3 -0
  80. package/es/icons/MicrosoftEntra/components/Color.js +55 -0
  81. package/es/icons/MicrosoftEntra/components/Mono.d.ts +3 -0
  82. package/es/icons/MicrosoftEntra/components/Mono.js +44 -0
  83. package/es/icons/MicrosoftEntra/index.d.ts +11 -0
  84. package/es/icons/MicrosoftEntra/index.js +12 -0
  85. package/es/icons/MicrosoftEntra/style.d.ts +2 -0
  86. package/es/icons/MicrosoftEntra/style.js +2 -0
  87. package/es/icons/NextAuth/components/Avatar.d.ts +5 -0
  88. package/es/icons/NextAuth/components/Avatar.js +27 -0
  89. package/es/icons/NextAuth/components/Color.d.ts +3 -0
  90. package/es/icons/NextAuth/components/Color.js +110 -0
  91. package/es/icons/NextAuth/components/Mono.d.ts +3 -0
  92. package/es/icons/NextAuth/components/Mono.js +42 -0
  93. package/es/icons/NextAuth/index.d.ts +11 -0
  94. package/es/icons/NextAuth/index.js +12 -0
  95. package/es/icons/NextAuth/style.d.ts +2 -0
  96. package/es/icons/NextAuth/style.js +2 -0
  97. package/es/icons/Zitadel/components/Avatar.d.ts +5 -0
  98. package/es/icons/Zitadel/components/Avatar.js +27 -0
  99. package/es/icons/Zitadel/components/Color.d.ts +3 -0
  100. package/es/icons/Zitadel/components/Color.js +185 -0
  101. package/es/icons/Zitadel/components/Mono.d.ts +3 -0
  102. package/es/icons/Zitadel/components/Mono.js +71 -0
  103. package/es/icons/Zitadel/index.d.ts +11 -0
  104. package/es/icons/Zitadel/index.js +12 -0
  105. package/es/icons/Zitadel/style.d.ts +2 -0
  106. package/es/icons/Zitadel/style.js +2 -0
  107. package/es/icons/components.d.ts +2 -0
  108. package/es/icons/components.js +2 -0
  109. package/es/icons/icons.d.ts +10 -0
  110. package/es/icons/icons.js +10 -0
  111. package/es/icons/index.d.ts +2 -0
  112. package/es/icons/index.js +2 -0
  113. package/es/index.d.ts +1 -2
  114. package/es/index.js +1 -2
  115. package/icons.d.ts +1 -0
  116. package/icons.js +1 -0
  117. package/mdx.d.ts +1 -1
  118. package/mdx.js +1 -1
  119. package/mobile.d.ts +1 -1
  120. package/mobile.js +1 -1
  121. package/package.json +5 -2
  122. package/storybook.d.ts +1 -1
  123. package/storybook.js +1 -1
  124. /package/es/{FileTypeIcon → icons/FileTypeIcon}/index.js +0 -0
  125. /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/types.d.ts +0 -0
  126. /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/types.js +0 -0
  127. /package/es/{MaterialFileTypeIcon → icons/MaterialFileTypeIcon}/utils.js +0 -0
@@ -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: "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"
39
+ })]
40
+ }));
41
+ });
42
+ 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,2 @@
1
+ export declare const TITLE = "Authentik";
2
+ export declare const COLOR_PRIMARY = "#FD4B2D";
@@ -0,0 +1,2 @@
1
+ export var TITLE = 'Authentik';
2
+ export var COLOR_PRIMARY = '#FD4B2D';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from '@lobehub/icons';
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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,3 @@
1
+ import { type IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,99 @@
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, 3),
29
+ _useFillIds2 = _slicedToArray(_useFillIds, 3),
30
+ a = _useFillIds2[0],
31
+ b = _useFillIds2[1],
32
+ c = _useFillIds2[2];
33
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
34
+ height: size,
35
+ ref: ref,
36
+ style: _objectSpread({
37
+ flex: 'none',
38
+ lineHeight: 1
39
+ }, style),
40
+ viewBox: "0 0 24 24",
41
+ width: size,
42
+ xmlns: "http://www.w3.org/2000/svg"
43
+ }, rest), {}, {
44
+ children: [/*#__PURE__*/_jsx("title", {
45
+ children: TITLE
46
+ }), /*#__PURE__*/_jsx("path", {
47
+ d: "M11.558 0l10.466 5.378L11.37 11.04 1 5.47 11.558 0z",
48
+ fill: a.fill
49
+ }), /*#__PURE__*/_jsx("path", {
50
+ d: "M14.154 12.866l7.87-7.488v11.184L14.154 24V12.866z",
51
+ fill: b.fill
52
+ }), /*#__PURE__*/_jsx("path", {
53
+ d: "M1 16.994l10.466 5.424-.096-11.378L1 5.47v11.524z",
54
+ fill: c.fill
55
+ }), /*#__PURE__*/_jsxs("defs", {
56
+ children: [/*#__PURE__*/_jsxs("linearGradient", {
57
+ gradientUnits: "userSpaceOnUse",
58
+ id: a.id,
59
+ x1: "11.558",
60
+ x2: "11.558",
61
+ y1: "-.048",
62
+ y2: "10.752",
63
+ children: [/*#__PURE__*/_jsx("stop", {
64
+ stopColor: "#522ED5"
65
+ }), /*#__PURE__*/_jsx("stop", {
66
+ offset: "1",
67
+ stopColor: "#9A88D5"
68
+ })]
69
+ }), /*#__PURE__*/_jsxs("linearGradient", {
70
+ gradientUnits: "userSpaceOnUse",
71
+ id: b.id,
72
+ x1: "14.342",
73
+ x2: "9.461",
74
+ y1: "23.856",
75
+ y2: "10.13",
76
+ children: [/*#__PURE__*/_jsx("stop", {
77
+ stopColor: "#522ED5"
78
+ }), /*#__PURE__*/_jsx("stop", {
79
+ offset: "1",
80
+ stopColor: "#9A88D5"
81
+ })]
82
+ }), /*#__PURE__*/_jsxs("linearGradient", {
83
+ gradientUnits: "userSpaceOnUse",
84
+ id: c.id,
85
+ x1: "1.238",
86
+ x2: "2.077",
87
+ y1: "5.808",
88
+ y2: "22.639",
89
+ children: [/*#__PURE__*/_jsx("stop", {
90
+ stopColor: "#522ED5"
91
+ }), /*#__PURE__*/_jsx("stop", {
92
+ offset: "1",
93
+ stopColor: "#9A88D5"
94
+ })]
95
+ })]
96
+ })]
97
+ }));
98
+ });
99
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,45 @@
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: "M11.558 0l10.466 5.378L11.37 11.04 1 5.47 11.558 0z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M14.154 12.866l7.87-7.488v11.184L14.154 24V12.866z"
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ d: "M1 16.994l10.466 5.424-.096-11.378L1 5.47v11.524z"
42
+ })]
43
+ }));
44
+ });
45
+ 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,2 @@
1
+ export declare const TITLE = "Casdoor";
2
+ export declare const COLOR_PRIMARY = "#5734D3";
@@ -0,0 +1,2 @@
1
+ export var TITLE = 'Casdoor';
2
+ export var COLOR_PRIMARY = '#5734D3';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from '@lobehub/icons';
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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,3 @@
1
+ import type { IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,44 @@
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
+ d: "M12 15.75a3.75 3.75 0 100-7.5 3.75 3.75 0 000 7.5zM18.757 20.879c.319.319.287.847-.088 1.098A11.944 11.944 0 0111.999 24c-2.468 0-4.762-.745-6.67-2.023-.374-.25-.407-.779-.087-1.098l2.74-2.74c.248-.248.632-.287.944-.128a6.722 6.722 0 003.073.739 6.722 6.722 0 003.074-.739c.311-.16.695-.12.943.127l2.74 2.741z",
36
+ fill: "#654BF6"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M18.67 2.023c.375.25.407.78.087 1.098l-2.74 2.74c-.248.248-.632.287-.944.128a6.75 6.75 0 00-9.085 9.085c.16.311.121.695-.126.943l-2.74 2.74c-.32.32-.848.288-1.1-.087A11.945 11.945 0 010 12C0 5.373 5.373 0 12 0c2.468 0 4.762.745 6.67 2.023z",
39
+ fill: "#654BF6",
40
+ fillOpacity: ".5"
41
+ })]
42
+ }));
43
+ });
44
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,44 @@
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 15.75a3.75 3.75 0 100-7.5 3.75 3.75 0 000 7.5zM18.757 20.879c.319.319.287.847-.088 1.098A11.944 11.944 0 0111.999 24c-2.468 0-4.762-.745-6.67-2.023-.374-.25-.407-.779-.087-1.098l2.74-2.74c.248-.248.632-.287.944-.128a6.722 6.722 0 003.073.739 6.722 6.722 0 003.074-.739c.311-.16.695-.12.943.127l2.74 2.741z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M18.67 2.023c.375.25.407.78.087 1.098l-2.74 2.74c-.248.248-.632.287-.944.128a6.75 6.75 0 00-9.085 9.085c.16.311.121.695-.126.943l-2.74 2.74c-.32.32-.848.288-1.1-.087A11.945 11.945 0 010 12C0 5.373 5.373 0 12 0c2.468 0 4.762.745 6.67 2.023z",
40
+ fillOpacity: ".5"
41
+ })]
42
+ }));
43
+ });
44
+ 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,2 @@
1
+ export declare const TITLE = "Clerk";
2
+ export declare const COLOR_PRIMARY = "#654BF6";
@@ -0,0 +1,2 @@
1
+ export var TITLE = 'Clerk';
2
+ export var COLOR_PRIMARY = '#654BF6';
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { DivProps, SvgProps } from "../types";
2
+ import { DivProps, SvgProps } from "../../types";
3
3
  type IconProps = SvgProps & DivProps;
4
4
  export interface FileTypeIconProps extends IconProps {
5
5
  color?: string;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from '@lobehub/icons';
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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,3 @@
1
+ import { type IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,61 @@
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 { useFillId } from '@lobehub/icons';
13
+ import { forwardRef } from 'react';
14
+ import { TITLE } from "../style";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
+ var _ref$size = _ref.size,
19
+ size = _ref$size === void 0 ? '1em' : _ref$size,
20
+ style = _ref.style,
21
+ rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ id = _useFillId.id,
24
+ fill = _useFillId.fill;
25
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
26
+ height: size,
27
+ ref: ref,
28
+ style: _objectSpread({
29
+ flex: 'none',
30
+ lineHeight: 1
31
+ }, style),
32
+ viewBox: "0 0 24 24",
33
+ width: size,
34
+ xmlns: "http://www.w3.org/2000/svg"
35
+ }, rest), {}, {
36
+ children: [/*#__PURE__*/_jsx("title", {
37
+ children: TITLE
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ clipRule: "evenodd",
40
+ d: "M2 3.748c0-.69 0-1.035.134-1.312.118-.245.307-.452.546-.597.27-.165.63-.214 1.35-.312L14.298.13c.932-.127 1.398-.19 1.76-.056.318.117.583.335.751.617.191.32.191.767.191 1.66v19.296c0 .893 0 1.34-.191 1.66-.168.282-.433.5-.75.617-.363.134-.83.07-1.761-.056L4.03 22.473c-.72-.098-1.08-.147-1.35-.311a1.427 1.427 0 01-.546-.598C2 21.287 2 20.942 2 20.253V3.748zm11 6.506c0-.21 0-.315.035-.398a.394.394 0 01.143-.175c.071-.047.164-.057.351-.076l.837-.085c.22-.022.33-.033.415.008.074.036.136.099.175.179.044.09.044.214.044.462v3.662c0 .248 0 .371-.044.462a.382.382 0 01-.175.18c-.085.04-.195.03-.415.007l-.837-.085c-.187-.02-.28-.029-.35-.075a.394.394 0 01-.144-.176C13 14.061 13 13.956 13 13.746v-3.492zM19.822 2.5H18.5V22h1.322c.762 0 1.144 0 1.435-.149.256-.13.464-.34.595-.596.148-.292.148-.674.148-1.439V4.684c0-.764 0-1.147-.148-1.439a1.363 1.363 0 00-.595-.596c-.291-.149-.673-.149-1.435-.149z",
41
+ fill: fill,
42
+ fillRule: "evenodd"
43
+ }), /*#__PURE__*/_jsx("defs", {
44
+ children: /*#__PURE__*/_jsxs("linearGradient", {
45
+ gradientUnits: "userSpaceOnUse",
46
+ id: id,
47
+ x1: "-4.191",
48
+ x2: "20.445",
49
+ y1: "16.598",
50
+ y2: "6.527",
51
+ children: [/*#__PURE__*/_jsx("stop", {
52
+ stopColor: "#4B2EFB"
53
+ }), /*#__PURE__*/_jsx("stop", {
54
+ offset: "1",
55
+ stopColor: "#E65FFC"
56
+ })]
57
+ })
58
+ })]
59
+ }));
60
+ });
61
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from '@lobehub/icons';
2
+ declare const Icon: IconType;
3
+ export default Icon;