@lobehub/ui 1.163.2 → 1.164.1
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/brand/BrandLoading/style.css +3 -3
- 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
|
@@ -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: "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"
|
|
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;
|