@lobehub/icons 5.7.0 → 5.8.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.
@@ -10,12 +10,12 @@ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("
10
10
  import { memo } from 'react';
11
11
  import IconAvatar from "../../features/IconAvatar";
12
12
  import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
13
- import Mono from "./Mono";
13
+ import Color from "./Color";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var Avatar = /*#__PURE__*/memo(function (_ref) {
16
16
  var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
17
17
  return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
18
- Icon: Mono,
18
+ Icon: Color,
19
19
  "aria-label": TITLE,
20
20
  background: AVATAR_BACKGROUND,
21
21
  color: AVATAR_COLOR,
@@ -11,7 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
11
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
12
  import { memo } from 'react';
13
13
  import IconCombine from "../../features/IconCombine";
14
- import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
14
+ import { COLOR_PRIMARY, COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
15
15
  import Text from "./Text";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Combine = /*#__PURE__*/memo(function (_ref) {
@@ -21,7 +21,7 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
21
21
  return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
22
22
  Text: Text,
23
23
  "aria-label": TITLE,
24
- color: type === 'color' ? '#00ffb3' : undefined,
24
+ color: type === 'color' ? COLOR_PRIMARY : undefined,
25
25
  spaceMultiple: COMBINE_SPACE_MULTIPLE,
26
26
  textMultiple: COMBINE_TEXT_MULTIPLE
27
27
  }, rest));
@@ -33,7 +33,10 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
33
  children: [/*#__PURE__*/_jsx("title", {
34
34
  children: TITLE
35
35
  }), /*#__PURE__*/_jsx("path", {
36
- d: "M5.246 12c0 .837-.086 1.554-.257 2.151-.172.598-.45 1.055-.837 1.373-.386.317-.898.476-1.534.476-.901 0-1.563-.353-1.985-1.059C.211 14.235 0 13.255 0 12c0-.837.086-1.554.257-2.151.172-.598.45-1.055.832-1.373C1.472 8.16 1.981 8 2.618 8c.894 0 1.555.351 1.985 1.053.429.702.643 1.685.643 2.947zm-3.883 0c0 .956.09 1.668.273 2.134.183.467.51.7.982.7.465 0 .792-.23.981-.694.19-.463.285-1.176.285-2.14 0-.956-.095-1.668-.285-2.134-.19-.467-.516-.7-.981-.7-.472 0-.8.233-.982.7-.182.466-.273 1.178-.273 2.134zm8.52 3.771H8.517l.011-6.295-1.823.324V8.571l2.04-.457h1.136v7.657zm2.497-1.6h.543c.3 0 .543.256.543.572v.571a.558.558 0 01-.543.572h-.543a.558.558 0 01-.543-.572v-.571c0-.316.243-.572.543-.572zm10.317-6.057H24v7.772h-1.303V8.114zm-3.692 0l2.606 7.772h-1.303l-.69-2.058h-3.073l-.69 2.058h-1.303l2.606-7.772h1.847zm.191 4.457l-1.115-3.323-1.114 3.323h2.23z"
36
+ clipRule: "evenodd",
37
+ d: "M18.62 13.927c.611 0 1.107.505 1.107 1.128v5.817c0 .623-.496 1.128-1.108 1.128a1.118 1.118 0 01-1.108-1.128v-5.817c0-.623.496-1.128 1.108-1.128h.001zM16.59 3.052a1.095 1.095 0 011.562-.13c.466.405.522 1.117.126 1.59l-5.938 7.112v9.147c0 .624-.496 1.129-1.108 1.129a1.119 1.119 0 01-1.108-1.13v-9.476l.003-.088.01-.087a1.14 1.14 0 01.261-.654l6.192-7.413zM2.906 2.256a1.094 1.094 0 011.559.157l4.387 5.45a1.142 1.142 0 01-.155 1.587 1.094 1.094 0 01-1.559-.157l-4.387-5.45a1.144 1.144 0 01.06-1.498l.095-.09z"
38
+ }), /*#__PURE__*/_jsx("path", {
39
+ d: "M20.146 12.071c.748 0 1.354-.617 1.354-1.379s-.606-1.379-1.354-1.379c-.748 0-1.354.617-1.354 1.379s.606 1.379 1.354 1.379z"
37
40
  })]
38
41
  }));
39
42
  });
@@ -1,9 +1,11 @@
1
1
  import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
2
3
  import Combine from './components/Combine';
3
4
  import Mono from './components/Mono';
4
5
  import Text from './components/Text';
5
6
  export type CompoundedIcon = typeof Mono & {
6
7
  Avatar: typeof Avatar;
8
+ Color: typeof Color;
7
9
  Combine: typeof Combine;
8
10
  Text: typeof Text;
9
11
  colorPrimary: string;
@@ -1,10 +1,12 @@
1
1
  import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
2
3
  import Combine from "./components/Combine";
3
4
  import Mono from "./components/Mono";
4
5
  import Text from "./components/Text";
5
6
  import { COLOR_PRIMARY, TITLE } from "./style";
6
7
  var Icons = Mono;
7
8
  Icons.Text = Text;
9
+ Icons.Color = Color;
8
10
  Icons.Combine = Combine;
9
11
  Icons.Avatar = Avatar;
10
12
  Icons.colorPrimary = COLOR_PRIMARY;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "5.7.0",
3
+ "version": "5.8.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",