@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.
Files changed (117) hide show
  1. package/es/Adobe/components/Text.js +1 -2
  2. package/es/AdobeFirefly/components/Text.js +1 -2
  3. package/es/Ai21/components/BrandColor.js +1 -2
  4. package/es/Ai21/components/Combine.js +4 -2
  5. package/es/Ai21/components/Text.js +1 -2
  6. package/es/Ai21/style.d.ts +1 -1
  7. package/es/Ai21/style.js +1 -1
  8. package/es/Ai360/components/Text.js +1 -2
  9. package/es/AiMass/components/Text.js +1 -2
  10. package/es/Alibaba/components/BrandColor.js +1 -2
  11. package/es/Alibaba/components/BrandMono.js +1 -2
  12. package/es/Alibaba/components/Text.js +1 -2
  13. package/es/Alibaba/components/TextCn.js +1 -2
  14. package/es/AntGroup/components/BrandColor.js +1 -2
  15. package/es/AntGroup/components/BrandMono.js +1 -2
  16. package/es/AntGroup/components/Text.js +1 -2
  17. package/es/AntGroup/components/TextCn.js +1 -2
  18. package/es/Anthropic/components/Text.js +1 -2
  19. package/es/Aws/components/BrandColor.js +1 -2
  20. package/es/Aws/components/BrandMono.js +1 -2
  21. package/es/Aws/components/Text.js +1 -2
  22. package/es/Aya/components/Text.js +1 -2
  23. package/es/Azure/components/Text.js +1 -2
  24. package/es/Baichuan/components/Text.js +1 -2
  25. package/es/Baidu/components/BrandColor.js +1 -2
  26. package/es/Baidu/components/BrandMono.js +1 -2
  27. package/es/Baidu/components/Text.js +1 -2
  28. package/es/Baidu/components/TextCn.js +1 -2
  29. package/es/Bedrock/components/Text.js +1 -2
  30. package/es/Bing/components/Text.js +1 -2
  31. package/es/ByteDance/components/BrandColor.js +1 -2
  32. package/es/ByteDance/components/BrandMono.js +1 -2
  33. package/es/ByteDance/components/Text.js +1 -2
  34. package/es/ByteDance/components/TextCn.js +1 -2
  35. package/es/ChatGLM/components/Text.js +1 -2
  36. package/es/Claude/components/Text.js +1 -2
  37. package/es/Cloudflare/components/Text.js +1 -2
  38. package/es/CodeGeeX/components/Text.js +1 -2
  39. package/es/Cohere/components/Text.js +1 -2
  40. package/es/Colab/components/Text.js +1 -2
  41. package/es/Copilot/components/Text.js +1 -2
  42. package/es/Dalle/components/Text.js +1 -2
  43. package/es/Dbrx/components/BrandColor.js +1 -2
  44. package/es/Dbrx/components/BrandMono.js +1 -2
  45. package/es/Dbrx/components/Text.js +1 -2
  46. package/es/DeepMind/components/Text.js +1 -2
  47. package/es/DeepSeek/components/Text.js +1 -2
  48. package/es/Doubao/components/Text.js +1 -2
  49. package/es/Fireworks/components/Text.js +1 -2
  50. package/es/FishAudio/components/Text.js +1 -2
  51. package/es/Flux/components/Text.js +1 -2
  52. package/es/Gemini/components/BrandColor.js +1 -2
  53. package/es/Gemini/components/BrandMono.js +1 -2
  54. package/es/Gemini/components/Text.js +1 -2
  55. package/es/Gemma/components/Text.js +1 -2
  56. package/es/Github/components/Text.js +1 -2
  57. package/es/GithubCopilot/components/Text.js +1 -2
  58. package/es/Google/components/BrandColor.js +1 -2
  59. package/es/Google/components/BrandMono.js +1 -2
  60. package/es/Grok/components/Text.js +1 -2
  61. package/es/Groq/components/Combine.js +9 -2
  62. package/es/Groq/components/Text.js +1 -2
  63. package/es/HuggingFace/components/Text.js +1 -2
  64. package/es/Hunyuan/components/Text.js +1 -2
  65. package/es/InternLM/components/Text.js +1 -2
  66. package/es/LLaVA/components/Text.js +1 -2
  67. package/es/Langfuse/components/Text.js +1 -2
  68. package/es/LmStudio/components/Text.js +1 -2
  69. package/es/LobeHub/components/Text.js +1 -2
  70. package/es/Magic/components/Text.js +1 -2
  71. package/es/Meta/components/BrandColor.js +1 -2
  72. package/es/Meta/components/BrandMono.js +1 -2
  73. package/es/Meta/components/Text.js +1 -2
  74. package/es/Midjourney/components/Text.js +1 -2
  75. package/es/Minimax/components/Text.js +1 -2
  76. package/es/Mistral/components/Text.js +1 -2
  77. package/es/Moonshot/components/Text.js +1 -2
  78. package/es/Novita/components/Text.js +1 -2
  79. package/es/Nvidia/components/Text.js +1 -2
  80. package/es/Ollama/components/Text.js +1 -2
  81. package/es/OpenAI/components/Text.js +1 -2
  82. package/es/OpenChat/components/Text.js +1 -2
  83. package/es/OpenRouter/components/Text.js +1 -2
  84. package/es/PaLM/components/Text.js +1 -2
  85. package/es/Perplexity/components/Text.js +1 -2
  86. package/es/Pollinations/components/Text.js +1 -2
  87. package/es/ProviderCombine/const.js +7 -1
  88. package/es/ProviderIcon/const.d.ts +1 -0
  89. package/es/ProviderIcon/const.js +5 -0
  90. package/es/Qingyan/components/Text.js +1 -2
  91. package/es/Qwen/components/Text.js +1 -2
  92. package/es/Replicate/components/BrandMono.js +1 -2
  93. package/es/Rwkv/components/Text.js +1 -2
  94. package/es/SiliconCloud/components/Text.js +1 -2
  95. package/es/Spark/components/Text.js +1 -2
  96. package/es/Stability/components/BrandColor.js +1 -2
  97. package/es/Stability/components/BrandMono.js +1 -2
  98. package/es/Stability/components/Text.js +1 -2
  99. package/es/Stepfun/components/Text.js +1 -2
  100. package/es/Suno/components/Text.js +1 -2
  101. package/es/Tencent/components/BrandColor.js +1 -2
  102. package/es/Tencent/components/BrandMono.js +1 -2
  103. package/es/Tencent/components/Text.js +1 -2
  104. package/es/Tencent/components/TextCn.js +1 -2
  105. package/es/Together/components/BrandColor.js +1 -2
  106. package/es/Together/components/BrandMono.js +1 -2
  107. package/es/Together/components/Text.js +1 -2
  108. package/es/Upstage/components/Text.js +1 -2
  109. package/es/Vllm/components/Text.js +1 -2
  110. package/es/Wenxin/components/Text.js +1 -2
  111. package/es/WorkersAI/components/Text.js +1 -2
  112. package/es/Zeabur/components/Text.js +1 -2
  113. package/es/ZeroOne/components/Combine.js +9 -5
  114. package/es/ZeroOne/components/Text.js +1 -2
  115. package/es/Zhipu/components/Text.js +1 -2
  116. package/es/components/Editor/Text.js +1 -1
  117. package/package.json +1 -1
@@ -23,8 +23,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
23
  ref: ref,
24
24
  style: _objectSpread({
25
25
  flex: 'none',
26
- lineHeight: 1,
27
- width: 'fit-content'
26
+ lineHeight: 1
28
27
  }, style),
29
28
  viewBox: "0 0 47 24",
30
29
  xmlns: "http://www.w3.org/2000/svg"
@@ -23,8 +23,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
23
  ref: ref,
24
24
  style: _objectSpread({
25
25
  flex: 'none',
26
- lineHeight: 1,
27
- width: 'fit-content'
26
+ lineHeight: 1
28
27
  }, style),
29
28
  viewBox: "0 0 134 24",
30
29
  xmlns: "http://www.w3.org/2000/svg"
@@ -23,8 +23,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
23
  ref: ref,
24
24
  style: _objectSpread({
25
25
  flex: 'none',
26
- lineHeight: 1,
27
- width: 'fit-content'
26
+ lineHeight: 1
28
27
  }, style),
29
28
  viewBox: "0 0 92 24",
30
29
  xmlns: "http://www.w3.org/2000/svg"
@@ -1,5 +1,5 @@
1
1
  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); }
2
- var _excluded = ["type"];
2
+ var _excluded = ["type", "iconProps"];
3
3
  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; }
4
4
  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; }
5
5
  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; }
@@ -7,24 +7,28 @@ 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";
13
14
  import Avatar from "./Avatar";
14
- import Mono from "./Mono";
15
15
  import Text from "./Text";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Combine = /*#__PURE__*/memo(function (_ref) {
18
18
  var _ref$type = _ref.type,
19
19
  type = _ref$type === void 0 ? 'mono' : _ref$type,
20
+ iconProps = _ref.iconProps,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var theme = useTheme();
21
23
  return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
22
- Icon: type === 'mono' ? Mono : Avatar,
24
+ Icon: Avatar,
23
25
  Text: Text,
24
26
  "aria-label": TITLE,
25
- iconProps: {
27
+ iconProps: _objectSpread({
28
+ background: type === 'mono' ? theme.colorText : undefined,
29
+ color: type === 'mono' ? theme.colorBgLayout : undefined,
26
30
  shape: 'square'
27
- },
31
+ }, iconProps),
28
32
  spaceMultiple: SPACE_MULTIPLE,
29
33
  textMultiple: TEXT_MULTIPLE
30
34
  }, rest));
@@ -23,8 +23,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
23
  ref: ref,
24
24
  style: _objectSpread({
25
25
  flex: 'none',
26
- lineHeight: 1,
27
- width: 'fit-content'
26
+ lineHeight: 1
28
27
  }, style),
29
28
  viewBox: "0 0 88 24",
30
29
  xmlns: "http://www.w3.org/2000/svg"
@@ -23,8 +23,7 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
23
23
  ref: ref,
24
24
  style: _objectSpread({
25
25
  flex: 'none',
26
- lineHeight: 1,
27
- width: 'fit-content'
26
+ lineHeight: 1
28
27
  }, style),
29
28
  viewBox: "0 0 64 24",
30
29
  xmlns: "http://www.w3.org/2000/svg"
@@ -39,7 +39,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
39
39
  }), /*#__PURE__*/_jsx(Highlighter, {
40
40
  className: styles.code,
41
41
  language: 'tsx',
42
- children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, width: 'fit-content', ...style }}\n viewBox=\"".concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
42
+ children: "import { forwardRef } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n ref={ref}\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
43
43
  })]
44
44
  });
45
45
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "1.33.2",
3
+ "version": "1.33.4",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",