@lobehub/icons 1.2.0 → 1.3.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 (74) hide show
  1. package/es/Baichuan/components/Avatar.d.ts +5 -0
  2. package/es/Baichuan/components/Avatar.js +19 -0
  3. package/es/Baichuan/components/Color.d.ts +3 -0
  4. package/es/Baichuan/components/Color.js +94 -0
  5. package/es/Baichuan/components/Combine.d.ts +7 -0
  6. package/es/Baichuan/components/Combine.js +29 -0
  7. package/es/Baichuan/components/Mono.d.ts +3 -0
  8. package/es/Baichuan/components/Mono.js +92 -0
  9. package/es/Baichuan/components/Text.d.ts +3 -0
  10. package/es/Baichuan/components/Text.js +35 -0
  11. package/es/Baichuan/index.d.ts +15 -0
  12. package/es/Baichuan/index.js +13 -0
  13. package/es/Baichuan/style.d.ts +4 -0
  14. package/es/Baichuan/style.js +4 -0
  15. package/es/Cohere/components/Avatar.d.ts +5 -0
  16. package/es/Cohere/components/Avatar.js +19 -0
  17. package/es/Cohere/components/Color.d.ts +3 -0
  18. package/es/Cohere/components/Color.js +41 -0
  19. package/es/Cohere/components/Combine.d.ts +7 -0
  20. package/es/Cohere/components/Combine.js +29 -0
  21. package/es/Cohere/components/Mono.d.ts +3 -0
  22. package/es/Cohere/components/Mono.js +38 -0
  23. package/es/Cohere/components/Text.d.ts +3 -0
  24. package/es/Cohere/components/Text.js +31 -0
  25. package/es/Cohere/index.d.ts +15 -0
  26. package/es/Cohere/index.js +13 -0
  27. package/es/Cohere/style.d.ts +3 -0
  28. package/es/Cohere/style.js +3 -0
  29. package/es/IconAvatar/index.d.ts +1 -1
  30. package/es/IconCombine/index.d.ts +1 -0
  31. package/es/IconCombine/index.js +7 -2
  32. package/es/Minimax/components/Avatar.d.ts +5 -0
  33. package/es/Minimax/components/Avatar.js +24 -0
  34. package/es/Minimax/components/Color.d.ts +3 -0
  35. package/es/Minimax/components/Color.js +71 -0
  36. package/es/Minimax/components/Combine.d.ts +7 -0
  37. package/es/Minimax/components/Combine.js +29 -0
  38. package/es/Minimax/components/Mono.d.ts +3 -0
  39. package/es/Minimax/components/Mono.js +34 -0
  40. package/es/Minimax/components/Text.d.ts +3 -0
  41. package/es/Minimax/components/Text.js +37 -0
  42. package/es/Minimax/index.d.ts +16 -0
  43. package/es/Minimax/index.js +14 -0
  44. package/es/Minimax/style.d.ts +4 -0
  45. package/es/Minimax/style.js +4 -0
  46. package/es/Ollama/components/Avatar.d.ts +5 -0
  47. package/es/Ollama/components/Avatar.js +20 -0
  48. package/es/Ollama/components/Combine.d.ts +5 -0
  49. package/es/Ollama/components/Combine.js +20 -0
  50. package/es/Ollama/components/Mono.d.ts +3 -0
  51. package/es/Ollama/components/Mono.js +36 -0
  52. package/es/Ollama/components/Text.d.ts +5 -0
  53. package/es/Ollama/components/Text.js +25 -0
  54. package/es/Ollama/index.d.ts +13 -0
  55. package/es/Ollama/index.js +11 -0
  56. package/es/Ollama/style.d.ts +3 -0
  57. package/es/Ollama/style.js +3 -0
  58. package/es/Spark/components/Avatar.d.ts +5 -0
  59. package/es/Spark/components/Avatar.js +19 -0
  60. package/es/Spark/components/Color.d.ts +3 -0
  61. package/es/Spark/components/Color.js +39 -0
  62. package/es/Spark/components/Combine.d.ts +7 -0
  63. package/es/Spark/components/Combine.js +25 -0
  64. package/es/Spark/components/Mono.d.ts +3 -0
  65. package/es/Spark/components/Mono.js +34 -0
  66. package/es/Spark/components/Text.d.ts +3 -0
  67. package/es/Spark/components/Text.js +41 -0
  68. package/es/Spark/index.d.ts +15 -0
  69. package/es/Spark/index.js +13 -0
  70. package/es/Spark/style.d.ts +3 -0
  71. package/es/Spark/style.js +3 -0
  72. package/es/index.d.ts +5 -0
  73. package/es/index.js +5 -0
  74. package/package.json +3 -4
@@ -0,0 +1,41 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ 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; }
5
+ 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; }
6
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
+ var _ref$size = _ref.size,
11
+ size = _ref$size === void 0 ? '1em' : _ref$size,
12
+ style = _ref.style,
13
+ rest = _objectWithoutProperties(_ref, _excluded);
14
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
15
+ fill: "currentColor",
16
+ fillRule: "evenodd",
17
+ height: size,
18
+ ref: ref,
19
+ style: _objectSpread({
20
+ flex: 'none',
21
+ lineHeight: 1,
22
+ width: 'fit-content'
23
+ }, style),
24
+ viewBox: "0 0 93 24",
25
+ xmlns: "http://www.w3.org/2000/svg"
26
+ }, rest), {}, {
27
+ children: [/*#__PURE__*/_jsx("path", {
28
+ d: "M33.212 2H25.15v2.283h4.616a.63.63 0 01.61.79l-4.128 15.742A.945.945 0 0027.162 22h16.255l1.26-2.205h-14.96l4.409-16.608A.945.945 0 0033.213 2z"
29
+ }), /*#__PURE__*/_jsx("path", {
30
+ d: "M40.898 2h4.252l-6.615 6.457h-4.803L40.898 2zM39.244 11.134h-4.646l5.355 5.827h4.645l-5.354-5.827z"
31
+ }), /*#__PURE__*/_jsx("path", {
32
+ clipRule: "evenodd",
33
+ d: "M49.323 2.079h17.165c.522 0 .945.423.945.945v8.74h-7.638v1.417h7.638v1.732h-7.638v1.733h7.638v1.732h-7.638v1.417h7.638V22h-18.11v-2.205h7.323v-1.417h-7.323v-1.732h7.323v-1.733h-7.323l2.283-3.15h-1.338a.945.945 0 01-.945-.944v-8.74zm5.433 9.685h1.81v1.417h-2.913l1.103-1.417zm9.37-7.638H52.551v1.968h10.63l-1.023 1.89H52.55v1.733h11.575V4.126z"
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M79.087 2.079h3.307v9.842L90.66 22h-4.173l-5.67-7.087L75.072 22h-4.016l7.953-10.079.079-9.842z"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M74.362 2.079h-3.228l2.44 9.685h3.23l-2.442-9.685zM90.425 2.079h-3.307l-2.283 9.685h3.15l2.44-9.685zM2 2.079h4.41V4.44H2V2.079zM9.087 2.079v2.283h1.968v6.457H8.93v2.283h2.126V22h3.15v-8.898h2.047V10.82h-2.047V4.362h2.913c.435 0 .788.353.788.788V22h3.543l1.102-2.126h-1.496V2.866a.787.787 0 00-.787-.787H9.087zM5.622 8.85H2v2.363h1.26v9.842c0 .522.423.945.945.945h2.913l1.024-2.284H6.409V9.639a.787.787 0 00-.787-.788z"
38
+ })]
39
+ }));
40
+ });
41
+ export default Icon;
@@ -0,0 +1,15 @@
1
+ import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
3
+ import Combine from './components/Combine';
4
+ import Mono from './components/Mono';
5
+ import Text from './components/Text';
6
+ export type CompoundedIcon = typeof Mono & {
7
+ Avatar: typeof Avatar;
8
+ Color: typeof Color;
9
+ Combine: typeof Combine;
10
+ Mono: typeof Mono;
11
+ Text: typeof Text;
12
+ colorPrimary: string;
13
+ };
14
+ declare const Icons: CompoundedIcon;
15
+ export default Icons;
@@ -0,0 +1,13 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
3
+ import Combine from "./components/Combine";
4
+ import Mono from "./components/Mono";
5
+ import Text from "./components/Text";
6
+ import { COLOR_PRIMARY } from "./style";
7
+ var Icons = Mono;
8
+ Icons.Color = Color;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ export default Icons;
@@ -0,0 +1,3 @@
1
+ export declare const TEXT_MULTIPLE = 0.75;
2
+ export declare const SPACE_MULTIPLE = 0.2;
3
+ export declare const COLOR_PRIMARY = "#0070f0";
@@ -0,0 +1,3 @@
1
+ export var TEXT_MULTIPLE = 0.75;
2
+ export var SPACE_MULTIPLE = 0.2;
3
+ export var COLOR_PRIMARY = '#0070f0';
package/es/index.d.ts CHANGED
@@ -1,10 +1,15 @@
1
1
  export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
2
+ export { default as Baichuan, type CompoundedIcon as BaichuanProps } from './Baichuan';
2
3
  export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
4
+ export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
3
5
  export { default as Dalle, type CompoundedIcon as DalleProps } from './Dalle';
4
6
  export { default as Gemini, type CompoundedIcon as GeminiProps } from './Gemini';
5
7
  export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
6
8
  export { default as IconCombine, type IconCombineProps } from './IconCombine';
9
+ export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
10
+ export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
7
11
  export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI';
12
+ export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
8
13
  export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Tongyi';
9
14
  export type { IconType } from './types';
10
15
  export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
package/es/index.js CHANGED
@@ -1,10 +1,15 @@
1
1
  export { default as Anthropic } from "./Anthropic";
2
+ export { default as Baichuan } from "./Baichuan";
2
3
  export { default as ChatGLM } from "./ChatGLM";
4
+ export { default as Cohere } from "./Cohere";
3
5
  export { default as Dalle } from "./Dalle";
4
6
  export { default as Gemini } from "./Gemini";
5
7
  export { default as IconAvatar } from "./IconAvatar";
6
8
  export { default as IconCombine } from "./IconCombine";
9
+ export { default as Minimax } from "./Minimax";
10
+ export { default as Ollama } from "./Ollama";
7
11
  export { default as OpenAI } from "./OpenAI";
12
+ export { default as Spark } from "./Spark";
8
13
  export { default as Tongyi } from "./Tongyi";
9
14
  export { default as Wenxin } from "./Wenxin";
10
15
  export { default as Zhipu } from "./Zhipu";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Popular LLM model brand svg logo and icon collection",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -31,10 +31,9 @@
31
31
  "build:watch": "father dev",
32
32
  "ci": "npm run lint && npm run type-check",
33
33
  "clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
34
- "dev": "father dev",
34
+ "dev": "dumi dev",
35
35
  "docs:build": "dumi build",
36
36
  "docs:build-analyze": "ANALYZE=1 dumi build",
37
- "docs:dev": "dumi dev",
38
37
  "doctor": "father doctor",
39
38
  "lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
40
39
  "lint:md": "remark . --quiet --frail --output",
@@ -45,7 +44,7 @@
45
44
  "pull": "git pull",
46
45
  "release": "semantic-release",
47
46
  "setup": "dumi setup",
48
- "start": "npm run docs:dev",
47
+ "start": "npm run dev",
49
48
  "test": "vitest --passWithNoTests",
50
49
  "test:coverage": "vitest run --coverage --passWithNoTests",
51
50
  "test:update": "vitest -u",