@lobehub/icons 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Automatic/components/Avatar.d.ts +5 -0
- package/es/Automatic/components/Avatar.js +19 -0
- package/es/Automatic/components/Color.d.ts +3 -0
- package/es/Automatic/components/Color.js +46 -0
- package/es/Automatic/components/Combine.d.ts +7 -0
- package/es/Automatic/components/Combine.js +25 -0
- package/es/Automatic/components/Mono.d.ts +3 -0
- package/es/Automatic/components/Mono.js +46 -0
- package/es/Automatic/components/Text.d.ts +1 -0
- package/es/Automatic/components/Text.js +1 -0
- package/es/Automatic/index.d.ts +15 -0
- package/es/Automatic/index.js +13 -0
- package/es/Automatic/style.d.ts +3 -0
- package/es/Automatic/style.js +3 -0
- package/es/Aws/components/Avatar.d.ts +5 -0
- package/es/Aws/components/Avatar.js +20 -0
- package/es/Aws/components/BrandColor.d.ts +3 -0
- package/es/Aws/components/BrandColor.js +37 -0
- package/es/Aws/components/BrandMono.d.ts +3 -0
- package/es/Aws/components/BrandMono.js +36 -0
- package/es/Aws/components/Color.d.ts +3 -0
- package/es/Aws/components/Color.js +37 -0
- package/es/Aws/components/Combine.d.ts +7 -0
- package/es/Aws/components/Combine.js +25 -0
- package/es/Aws/components/Mono.d.ts +3 -0
- package/es/Aws/components/Mono.js +36 -0
- package/es/Aws/components/Text.d.ts +3 -0
- package/es/Aws/components/Text.js +31 -0
- package/es/Aws/index.d.ts +19 -0
- package/es/Aws/index.js +17 -0
- package/es/Aws/style.d.ts +3 -0
- package/es/Aws/style.js +3 -0
- package/es/Baichuan/components/Color.js +18 -61
- package/es/Baichuan/components/Mono.js +4 -65
- package/es/Baichuan/components/Text.js +4 -8
- package/es/Bedrock/components/Avatar.d.ts +5 -0
- package/es/Bedrock/components/Avatar.js +20 -0
- package/es/Bedrock/components/Color.d.ts +3 -0
- package/es/Bedrock/components/Color.js +50 -0
- package/es/Bedrock/components/Combine.d.ts +7 -0
- package/es/Bedrock/components/Combine.js +25 -0
- package/es/Bedrock/components/Mono.d.ts +3 -0
- package/es/Bedrock/components/Mono.js +31 -0
- package/es/Bedrock/components/Text.d.ts +3 -0
- package/es/Bedrock/components/Text.js +31 -0
- package/es/Bedrock/index.d.ts +16 -0
- package/es/Bedrock/index.js +14 -0
- package/es/Bedrock/style.d.ts +4 -0
- package/es/Bedrock/style.js +4 -0
- package/es/Dalle/style.d.ts +1 -1
- package/es/Dalle/style.js +1 -1
- package/es/IconCombine/index.d.ts +1 -1
- package/es/IconCombine/index.js +1 -1
- package/es/Minimax/components/Color.js +18 -38
- package/es/Minimax/components/Mono.js +4 -7
- package/es/Minimax/components/Text.js +4 -10
- package/es/Mistral/components/Avatar.d.ts +5 -0
- package/es/Mistral/components/Avatar.js +21 -0
- package/es/Mistral/components/Color.d.ts +3 -0
- package/es/Mistral/components/Color.js +50 -0
- package/es/Mistral/components/Combine.d.ts +7 -0
- package/es/Mistral/components/Combine.js +25 -0
- package/es/Mistral/components/Mono.d.ts +3 -0
- package/es/Mistral/components/Mono.js +49 -0
- package/es/Mistral/components/Text.d.ts +3 -0
- package/es/Mistral/components/Text.js +31 -0
- package/es/Mistral/index.d.ts +16 -0
- package/es/Mistral/index.js +14 -0
- package/es/Mistral/style.d.ts +4 -0
- package/es/Mistral/style.js +4 -0
- package/es/Ollama/components/Mono.js +4 -9
- package/es/Ollama/components/Text.d.ts +2 -4
- package/es/Ollama/components/Text.js +13 -7
- package/es/Ollama/style.d.ts +1 -1
- package/es/Ollama/style.js +1 -1
- package/es/Qingyan/components/Avatar.d.ts +5 -0
- package/es/Qingyan/components/Avatar.js +19 -0
- package/es/Qingyan/components/Color.d.ts +3 -0
- package/es/Qingyan/components/Color.js +38 -0
- package/es/Qingyan/components/Combine.d.ts +7 -0
- package/es/Qingyan/components/Combine.js +25 -0
- package/es/Qingyan/components/Mono.d.ts +3 -0
- package/es/Qingyan/components/Mono.js +36 -0
- package/es/Qingyan/components/Text.d.ts +3 -0
- package/es/Qingyan/components/Text.js +31 -0
- package/es/Qingyan/index.d.ts +15 -0
- package/es/Qingyan/index.js +13 -0
- package/es/Qingyan/style.d.ts +3 -0
- package/es/Qingyan/style.js +3 -0
- package/es/Stability/components/Avatar.d.ts +5 -0
- package/es/Stability/components/Avatar.js +19 -0
- package/es/Stability/components/BrandColor.d.ts +3 -0
- package/es/Stability/components/BrandColor.js +57 -0
- package/es/Stability/components/BrandMono.d.ts +3 -0
- package/es/Stability/components/BrandMono.js +36 -0
- package/es/Stability/components/Color.d.ts +3 -0
- package/es/Stability/components/Color.js +57 -0
- package/es/Stability/components/Combine.d.ts +7 -0
- package/es/Stability/components/Combine.js +25 -0
- package/es/Stability/components/Mono.d.ts +3 -0
- package/es/Stability/components/Mono.js +36 -0
- package/es/Stability/components/Text.d.ts +3 -0
- package/es/Stability/components/Text.js +31 -0
- package/es/Stability/index.d.ts +20 -0
- package/es/Stability/index.js +18 -0
- package/es/Stability/style.d.ts +4 -0
- package/es/Stability/style.js +4 -0
- package/es/Zhipu/components/Color.js +4 -11
- package/es/Zhipu/components/Mono.js +2 -7
- package/es/Zhipu/components/Text.js +2 -2
- package/es/Zhipu/style.d.ts +1 -1
- package/es/Zhipu/style.js +1 -1
- package/es/components/ColorPreview/index.js +15 -18
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/package.json +1 -1
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject, _templateObject2;
|
|
3
|
-
import { CopyButton } from '@lobehub/ui';
|
|
3
|
+
import { CopyButton, Tooltip } from '@lobehub/ui';
|
|
4
4
|
import { createStyles } from 'antd-style';
|
|
5
5
|
import { memo } from 'react';
|
|
6
6
|
import { Flexbox } from 'react-layout-kit';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
var useStyles = createStyles(function (_ref) {
|
|
10
9
|
var css = _ref.css,
|
|
11
10
|
token = _ref.token,
|
|
12
11
|
cx = _ref.cx;
|
|
13
12
|
return {
|
|
14
|
-
btn: cx('copy-button', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n
|
|
15
|
-
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n
|
|
13
|
+
btn: cx('copy-button', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n opacity: 0;\n "])))),
|
|
14
|
+
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n width: 98px;\n height: 98px;\n\n background: ", ";\n border: 1px solid ", ";\n border-radius: ", "px;\n\n &:hover {\n .copy-button {\n opacity: 1;\n }\n }\n "])), token.colorBgContainer, token.colorBorder, token.borderRadius)
|
|
16
15
|
};
|
|
17
16
|
});
|
|
18
17
|
var IconPreview = /*#__PURE__*/memo(function (_ref2) {
|
|
19
18
|
var color = _ref2.color;
|
|
20
19
|
var _useStyles = useStyles(),
|
|
21
20
|
styles = _useStyles.styles;
|
|
22
|
-
return /*#__PURE__*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
21
|
+
return /*#__PURE__*/_jsx(Tooltip, {
|
|
22
|
+
title: color,
|
|
23
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
24
|
+
align: 'center',
|
|
25
|
+
className: styles.container,
|
|
26
|
+
justify: 'center',
|
|
30
27
|
style: {
|
|
31
|
-
|
|
28
|
+
background: color
|
|
32
29
|
},
|
|
33
|
-
children:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
})
|
|
30
|
+
children: /*#__PURE__*/_jsx(CopyButton, {
|
|
31
|
+
className: styles.btn,
|
|
32
|
+
content: color
|
|
33
|
+
})
|
|
34
|
+
})
|
|
38
35
|
});
|
|
39
36
|
});
|
|
40
37
|
export default IconPreview;
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
|
|
2
|
+
export { default as Automatic, type CompoundedIcon as AutomaticProps } from './Automatic';
|
|
3
|
+
export { default as Aws, type CompoundedIcon as AwsProps } from './Aws';
|
|
2
4
|
export { default as Baichuan, type CompoundedIcon as BaichuanProps } from './Baichuan';
|
|
5
|
+
export { default as Bedrock, type CompoundedIcon as BedrockProps } from './Bedrock';
|
|
3
6
|
export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
|
|
4
7
|
export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
|
|
5
8
|
export { default as Dalle, type CompoundedIcon as DalleProps } from './Dalle';
|
|
@@ -7,9 +10,12 @@ export { default as Gemini, type CompoundedIcon as GeminiProps } from './Gemini'
|
|
|
7
10
|
export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
|
|
8
11
|
export { default as IconCombine, type IconCombineProps } from './IconCombine';
|
|
9
12
|
export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
|
|
13
|
+
export { default as Mistral, type CompoundedIcon as MistralProps } from './Mistral';
|
|
10
14
|
export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
|
|
11
15
|
export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI';
|
|
16
|
+
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
|
12
17
|
export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
|
|
18
|
+
export { default as Stability, type CompoundedIcon as StabilityProps } from './Stability';
|
|
13
19
|
export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Tongyi';
|
|
14
20
|
export type { IconType } from './types';
|
|
15
21
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { default as Anthropic } from "./Anthropic";
|
|
2
|
+
export { default as Automatic } from "./Automatic";
|
|
3
|
+
export { default as Aws } from "./Aws";
|
|
2
4
|
export { default as Baichuan } from "./Baichuan";
|
|
5
|
+
export { default as Bedrock } from "./Bedrock";
|
|
3
6
|
export { default as ChatGLM } from "./ChatGLM";
|
|
4
7
|
export { default as Cohere } from "./Cohere";
|
|
5
8
|
export { default as Dalle } from "./Dalle";
|
|
@@ -7,9 +10,12 @@ export { default as Gemini } from "./Gemini";
|
|
|
7
10
|
export { default as IconAvatar } from "./IconAvatar";
|
|
8
11
|
export { default as IconCombine } from "./IconCombine";
|
|
9
12
|
export { default as Minimax } from "./Minimax";
|
|
13
|
+
export { default as Mistral } from "./Mistral";
|
|
10
14
|
export { default as Ollama } from "./Ollama";
|
|
11
15
|
export { default as OpenAI } from "./OpenAI";
|
|
16
|
+
export { default as Qingyan } from "./Qingyan";
|
|
12
17
|
export { default as Spark } from "./Spark";
|
|
18
|
+
export { default as Stability } from "./Stability";
|
|
13
19
|
export { default as Tongyi } from "./Tongyi";
|
|
14
20
|
export { default as Wenxin } from "./Wenxin";
|
|
15
21
|
export { default as Zhipu } from "./Zhipu";
|