@lobehub/icons 1.33.2 → 1.33.4
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/Adobe/components/Text.js +1 -2
- package/es/AdobeFirefly/components/Text.js +1 -2
- package/es/Ai21/components/BrandColor.js +1 -2
- package/es/Ai21/components/Combine.js +4 -2
- package/es/Ai21/components/Text.js +1 -2
- package/es/Ai21/style.d.ts +1 -1
- package/es/Ai21/style.js +1 -1
- package/es/Ai360/components/Text.js +1 -2
- package/es/AiMass/components/Text.js +1 -2
- package/es/Alibaba/components/BrandColor.js +1 -2
- package/es/Alibaba/components/BrandMono.js +1 -2
- package/es/Alibaba/components/Text.js +1 -2
- package/es/Alibaba/components/TextCn.js +1 -2
- package/es/AntGroup/components/BrandColor.js +1 -2
- package/es/AntGroup/components/BrandMono.js +1 -2
- package/es/AntGroup/components/Text.js +1 -2
- package/es/AntGroup/components/TextCn.js +1 -2
- package/es/Anthropic/components/Text.js +1 -2
- package/es/Aws/components/BrandColor.js +1 -2
- package/es/Aws/components/BrandMono.js +1 -2
- package/es/Aws/components/Text.js +1 -2
- package/es/Aya/components/Text.js +1 -2
- package/es/Azure/components/Text.js +1 -2
- package/es/Baichuan/components/Text.js +1 -2
- package/es/Baidu/components/BrandColor.js +1 -2
- package/es/Baidu/components/BrandMono.js +1 -2
- package/es/Baidu/components/Text.js +1 -2
- package/es/Baidu/components/TextCn.js +1 -2
- package/es/Bedrock/components/Text.js +1 -2
- package/es/Bing/components/Text.js +1 -2
- package/es/ByteDance/components/BrandColor.js +1 -2
- package/es/ByteDance/components/BrandMono.js +1 -2
- package/es/ByteDance/components/Text.js +1 -2
- package/es/ByteDance/components/TextCn.js +1 -2
- package/es/ChatGLM/components/Text.js +1 -2
- package/es/Claude/components/Text.js +1 -2
- package/es/Cloudflare/components/Text.js +1 -2
- package/es/CodeGeeX/components/Text.js +1 -2
- package/es/Cohere/components/Text.js +1 -2
- package/es/Colab/components/Text.js +1 -2
- package/es/Copilot/components/Text.js +1 -2
- package/es/Dalle/components/Text.js +1 -2
- package/es/Dbrx/components/BrandColor.js +1 -2
- package/es/Dbrx/components/BrandMono.js +1 -2
- package/es/Dbrx/components/Text.js +1 -2
- package/es/DeepMind/components/Text.js +1 -2
- package/es/DeepSeek/components/Text.js +1 -2
- package/es/Doubao/components/Text.js +1 -2
- package/es/Fireworks/components/Text.js +1 -2
- package/es/FishAudio/components/Text.js +1 -2
- package/es/Flux/components/Text.js +1 -2
- package/es/Gemini/components/BrandColor.js +1 -2
- package/es/Gemini/components/BrandMono.js +1 -2
- package/es/Gemini/components/Text.js +1 -2
- package/es/Gemma/components/Text.js +1 -2
- package/es/Github/components/Text.js +1 -2
- package/es/GithubCopilot/components/Text.js +1 -2
- package/es/Google/components/BrandColor.js +1 -2
- package/es/Google/components/BrandMono.js +1 -2
- package/es/Grok/components/Text.js +1 -2
- package/es/Groq/components/Combine.js +9 -2
- package/es/Groq/components/Text.js +1 -2
- package/es/HuggingFace/components/Text.js +1 -2
- package/es/Hunyuan/components/Text.js +1 -2
- package/es/InternLM/components/Text.js +1 -2
- package/es/LLaVA/components/Text.js +1 -2
- package/es/Langfuse/components/Text.js +1 -2
- package/es/LmStudio/components/Text.js +1 -2
- package/es/LobeHub/components/Text.js +1 -2
- package/es/Magic/components/Text.js +1 -2
- package/es/Meta/components/BrandColor.js +1 -2
- package/es/Meta/components/BrandMono.js +1 -2
- package/es/Meta/components/Text.js +1 -2
- package/es/Midjourney/components/Text.js +1 -2
- package/es/Minimax/components/Text.js +1 -2
- package/es/Mistral/components/Text.js +1 -2
- package/es/Moonshot/components/Text.js +1 -2
- package/es/Novita/components/Text.js +1 -2
- package/es/Nvidia/components/Text.js +1 -2
- package/es/Ollama/components/Text.js +1 -2
- package/es/OpenAI/components/Text.js +1 -2
- package/es/OpenChat/components/Text.js +1 -2
- package/es/OpenRouter/components/Text.js +1 -2
- package/es/PaLM/components/Text.js +1 -2
- package/es/Perplexity/components/Text.js +1 -2
- package/es/Pollinations/components/Text.js +1 -2
- package/es/ProviderCombine/const.js +7 -1
- package/es/ProviderIcon/const.d.ts +1 -0
- package/es/ProviderIcon/const.js +5 -0
- package/es/Qingyan/components/Text.js +1 -2
- package/es/Qwen/components/Text.js +1 -2
- package/es/Replicate/components/BrandMono.js +1 -2
- package/es/Rwkv/components/Text.js +1 -2
- package/es/SiliconCloud/components/Text.js +1 -2
- package/es/Spark/components/Text.js +1 -2
- package/es/Stability/components/BrandColor.js +1 -2
- package/es/Stability/components/BrandMono.js +1 -2
- package/es/Stability/components/Text.js +1 -2
- package/es/Stepfun/components/Text.js +1 -2
- package/es/Suno/components/Text.js +1 -2
- package/es/Tencent/components/BrandColor.js +1 -2
- package/es/Tencent/components/BrandMono.js +1 -2
- package/es/Tencent/components/Text.js +1 -2
- package/es/Tencent/components/TextCn.js +1 -2
- package/es/Together/components/BrandColor.js +1 -2
- package/es/Together/components/BrandMono.js +1 -2
- package/es/Together/components/Text.js +1 -2
- package/es/Upstage/components/Text.js +1 -2
- package/es/Vllm/components/Text.js +1 -2
- package/es/Wenxin/components/Text.js +1 -2
- package/es/WorkersAI/components/Text.js +1 -2
- package/es/Zeabur/components/Text.js +1 -2
- package/es/ZeroOne/components/Combine.js +9 -5
- package/es/ZeroOne/components/Text.js +1 -2
- package/es/Zhipu/components/Text.js +1 -2
- package/es/components/Editor/Text.js +1 -1
- package/package.json +1 -1
@@ -7,6 +7,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
7
7
|
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); }
|
8
8
|
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; }
|
9
9
|
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; }
|
10
|
+
import { useTheme } from 'antd-style';
|
10
11
|
import { memo } from 'react';
|
11
12
|
import IconCombine from "../../IconCombine";
|
12
13
|
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
@@ -18,13 +19,14 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
18
19
|
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
19
20
|
iconProps = _ref.iconProps,
|
20
21
|
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
-
|
22
|
-
if (type === 'mono') return /*#__PURE__*/_jsx(Text, _objectSpread({}, rest));
|
22
|
+
var theme = useTheme();
|
23
23
|
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
24
24
|
Icon: Avatar,
|
25
25
|
Text: Text,
|
26
26
|
"aria-label": TITLE,
|
27
27
|
iconProps: _objectSpread({
|
28
|
+
background: type === 'mono' ? theme.colorText : undefined,
|
29
|
+
color: type === 'mono' ? theme.colorBgLayout : undefined,
|
28
30
|
shape: 'square'
|
29
31
|
}, iconProps),
|
30
32
|
spaceMultiple: SPACE_MULTIPLE,
|
package/es/Ai21/style.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const TITLE = "AI21";
|
2
|
-
export declare const TEXT_MULTIPLE = 0.
|
2
|
+
export declare const TEXT_MULTIPLE = 0.75;
|
3
3
|
export declare const SPACE_MULTIPLE = 0.2;
|
4
4
|
export declare const COLOR_PRIMARY = "#E91E63";
|
5
5
|
export declare const COLOR_GRADIENT = "linear-gradient(-45deg, #F68CB2, #E91E63)";
|
package/es/Ai21/style.js
CHANGED