@lobehub/icons 5.20.0 → 5.22.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,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  height: size,
23
27
  style: _objectSpread({
@@ -31,7 +35,7 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
31
35
  children: [/*#__PURE__*/_jsx("title", {
32
36
  children: TITLE
33
37
  }), /*#__PURE__*/_jsx("g", {
34
- clipPath: "url(#a)",
38
+ clipPath: fill,
35
39
  children: /*#__PURE__*/_jsx("path", {
36
40
  clipRule: "evenodd",
37
41
  d: "m.197 0 6.538 6.539h10.719v10.717L24 23.795V0zm6.53 7.85L0 14.57V24h9.419l6.726-6.736H6.727z",
@@ -40,7 +44,7 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
40
44
  })
41
45
  }), /*#__PURE__*/_jsx("defs", {
42
46
  children: /*#__PURE__*/_jsx("clipPath", {
43
- id: "a",
47
+ id: id,
44
48
  children: /*#__PURE__*/_jsx("path", {
45
49
  d: "M0 0h24v24H0z",
46
50
  fill: "#fff"
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  fill: "currentColor",
23
27
  fillRule: "evenodd",
@@ -33,14 +37,14 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
37
  children: [/*#__PURE__*/_jsx("title", {
34
38
  children: TITLE
35
39
  }), /*#__PURE__*/_jsx("g", {
36
- clipPath: "url(#a)",
40
+ clipPath: fill,
37
41
  children: /*#__PURE__*/_jsx("path", {
38
42
  clipRule: "evenodd",
39
43
  d: "m.197 0 6.538 6.539h10.719v10.717L24 23.795V0zm6.53 7.85L0 14.57V24h9.419l6.726-6.736H6.727z"
40
44
  })
41
45
  }), /*#__PURE__*/_jsx("defs", {
42
46
  children: /*#__PURE__*/_jsx("clipPath", {
43
- id: "a",
47
+ id: id,
44
48
  children: /*#__PURE__*/_jsx("path", {
45
49
  d: "M0 0h24v24H0z"
46
50
  })
@@ -34,27 +34,6 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
34
34
  children: TITLE
35
35
  }), /*#__PURE__*/_jsx("path", {
36
36
  d: "M12 0L4.583 6.583c-3.23 2.869-3.23 7.965 0 10.834L12 24l7.417-6.583c3.23-2.869 3.23-7.965 0-10.834L12 0z"
37
- }), /*#__PURE__*/_jsx("defs", {
38
- children: /*#__PURE__*/_jsxs("linearGradient", {
39
- gradientUnits: "userSpaceOnUse",
40
- id: "a",
41
- x1: "18.919",
42
- x2: "4.853",
43
- y1: "5.595",
44
- y2: "18.301",
45
- children: [/*#__PURE__*/_jsx("stop", {
46
- stopColor: "#F4BF45"
47
- }), /*#__PURE__*/_jsx("stop", {
48
- offset: ".35",
49
- stopColor: "#E48047"
50
- }), /*#__PURE__*/_jsx("stop", {
51
- offset: ".69",
52
- stopColor: "#C73361"
53
- }), /*#__PURE__*/_jsx("stop", {
54
- offset: "1",
55
- stopColor: "#A42F5F"
56
- })]
57
- })
58
37
  })]
59
38
  }));
60
39
  });
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  fill: "currentColor",
23
27
  fillRule: "evenodd",
@@ -33,31 +37,17 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
37
  children: [/*#__PURE__*/_jsx("title", {
34
38
  children: TITLE
35
39
  }), /*#__PURE__*/_jsx("g", {
36
- clipPath: "url(#a)",
40
+ clipPath: fill,
37
41
  children: /*#__PURE__*/_jsx("path", {
38
42
  d: "M11.651 0a.327.327 0 01.336.327v6.038a.328.328 0 01-.312.326 5.314 5.314 0 00-4.998 5.308 5.314 5.314 0 004.998 5.308c.174.011.312.152.312.326v6.04a.326.326 0 01-.336.327C5.186 23.822 0 18.517 0 12S5.186.178 11.651 0zm1.28 1.755c0 .57.182 1.123.52 1.581l.314.428a.324.324 0 01.064.193v16.107c0 .07-.022.137-.064.193l-.315.427a2.665 2.665 0 00-.52 1.582v1.73h-.288V.024h.289v1.73zm2.06 1.597c0 .568.182 1.123.52 1.58l.315.428a.324.324 0 01.063.194V18.46c0 .07-.022.138-.063.194l-.315.427a2.673 2.673 0 00-.52 1.582v3.047h-.289V.304h.29v3.048zm2.06 1.616c0 .568.182 1.123.52 1.581l.315.428a.323.323 0 01.064.193v9.68c0 .07-.023.137-.064.194l-.315.427a2.664 2.664 0 00-.52 1.581v3.962h-.289V1.006h.29v3.962zm2.061 1.597c0 .57.182 1.124.52 1.581l.314.428a.323.323 0 01.064.193v6.478c0 .07-.022.137-.064.193l-.315.428a2.664 2.664 0 00-.519 1.58v4.387h-.289V2.18h.29v4.386zm2.062 1.61c0 .569.181 1.123.519 1.58l.315.428a.323.323 0 01.064.194v3.266c0 .07-.023.137-.064.194l-.315.427a2.665 2.665 0 00-.52 1.582v4.111h-.289V4.063h.29v4.111zm2.06-.765v2.428c0 .545.167 1.078.48 1.525l.228.328a.33.33 0 01.058.188v.235c0 .066-.02.131-.058.186l-.229.328c-.312.448-.479.98-.479 1.526v2.427h-.29v-9.17h.29z"
39
43
  })
40
- }), /*#__PURE__*/_jsxs("defs", {
41
- children: [/*#__PURE__*/_jsxs("linearGradient", {
42
- gradientUnits: "userSpaceOnUse",
43
- id: "b",
44
- x1: "9.608",
45
- x2: "25.856",
46
- y1: "12.343",
47
- y2: "12.343",
48
- children: [/*#__PURE__*/_jsx("stop", {}), /*#__PURE__*/_jsx("stop", {
49
- offset: ".25",
50
- stopOpacity: ".9"
51
- }), /*#__PURE__*/_jsx("stop", {
52
- offset: "1",
53
- stopOpacity: "0"
54
- })]
55
- }), /*#__PURE__*/_jsx("clipPath", {
56
- id: "a",
44
+ }), /*#__PURE__*/_jsx("defs", {
45
+ children: /*#__PURE__*/_jsx("clipPath", {
46
+ id: id,
57
47
  children: /*#__PURE__*/_jsx("path", {
58
48
  d: "M0 0h24v24H0z"
59
49
  })
60
- })]
50
+ })
61
51
  })]
62
52
  }));
63
53
  });
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  fill: "currentColor",
23
27
  fillRule: "evenodd",
@@ -33,7 +37,7 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
33
37
  children: [/*#__PURE__*/_jsx("title", {
34
38
  children: TITLE
35
39
  }), /*#__PURE__*/_jsxs("g", {
36
- clipPath: "url(#a)",
40
+ clipPath: fill,
37
41
  children: [/*#__PURE__*/_jsx("path", {
38
42
  d: "M9.046 7.104a.527.527 0 110 1.055.527.527 0 010-1.055z"
39
43
  }), /*#__PURE__*/_jsx("path", {
@@ -46,78 +50,13 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
46
50
  }), /*#__PURE__*/_jsx("path", {
47
51
  d: "M21.193 9.753c2.574-.5 3.378 1.433 2.411 3.365-.58 1.159-1.476 1.361-2.342.96l-.011-.005a2.419 2.419 0 01-.114-.056l-.019-.01a2.751 2.751 0 01-.115-.067l-.023-.014c-.035-.022-.071-.044-.106-.068l-.05-.035c-.55-.388-1.062-1.007-1.44-1.76-.276-.647-.311-1.132-.174-1.472.176-.439.636-.639 1.23-.639.032-.011.066-.02.099-.03.08-.026.16-.05.238-.072l.117-.03a5.502 5.502 0 01.3-.067z"
48
52
  })]
49
- }), /*#__PURE__*/_jsxs("defs", {
50
- children: [/*#__PURE__*/_jsxs("linearGradient", {
51
- gradientUnits: "userSpaceOnUse",
52
- id: "b",
53
- x1: "-.659",
54
- x2: "27.023",
55
- y1: ".458",
56
- y2: "22.855",
57
- children: [/*#__PURE__*/_jsx("stop", {
58
- stopColor: "#FF4D4D"
59
- }), /*#__PURE__*/_jsx("stop", {
60
- offset: "1",
61
- stopColor: "#991B1B"
62
- })]
63
- }), /*#__PURE__*/_jsxs("linearGradient", {
64
- gradientUnits: "userSpaceOnUse",
65
- id: "c",
66
- x1: "-.659",
67
- x2: "27.023",
68
- y1: ".458",
69
- y2: "22.855",
70
- children: [/*#__PURE__*/_jsx("stop", {
71
- stopColor: "#FF4D4D"
72
- }), /*#__PURE__*/_jsx("stop", {
73
- offset: "1",
74
- stopColor: "#991B1B"
75
- })]
76
- }), /*#__PURE__*/_jsxs("linearGradient", {
77
- gradientUnits: "userSpaceOnUse",
78
- id: "d",
79
- x1: "-.659",
80
- x2: "27.023",
81
- y1: ".458",
82
- y2: "22.855",
83
- children: [/*#__PURE__*/_jsx("stop", {
84
- stopColor: "#FF4D4D"
85
- }), /*#__PURE__*/_jsx("stop", {
86
- offset: "1",
87
- stopColor: "#991B1B"
88
- })]
89
- }), /*#__PURE__*/_jsxs("linearGradient", {
90
- gradientUnits: "userSpaceOnUse",
91
- id: "e",
92
- x1: "-.659",
93
- x2: "27.023",
94
- y1: ".458",
95
- y2: "22.855",
96
- children: [/*#__PURE__*/_jsx("stop", {
97
- stopColor: "#FF4D4D"
98
- }), /*#__PURE__*/_jsx("stop", {
99
- offset: "1",
100
- stopColor: "#991B1B"
101
- })]
102
- }), /*#__PURE__*/_jsxs("linearGradient", {
103
- gradientUnits: "userSpaceOnUse",
104
- id: "f",
105
- x1: "-.659",
106
- x2: "27.023",
107
- y1: ".458",
108
- y2: "22.855",
109
- children: [/*#__PURE__*/_jsx("stop", {
110
- stopColor: "#FF4D4D"
111
- }), /*#__PURE__*/_jsx("stop", {
112
- offset: "1",
113
- stopColor: "#991B1B"
114
- })]
115
- }), /*#__PURE__*/_jsx("clipPath", {
116
- id: "a",
53
+ }), /*#__PURE__*/_jsx("defs", {
54
+ children: /*#__PURE__*/_jsx("clipPath", {
55
+ id: id,
117
56
  children: /*#__PURE__*/_jsx("path", {
118
57
  d: "M0 0h24v24H0z"
119
58
  })
120
- })]
59
+ })
121
60
  })]
122
61
  }));
123
62
  });
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  fill: "currentColor",
23
27
  fillRule: "evenodd",
@@ -32,13 +36,13 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
32
36
  children: [/*#__PURE__*/_jsx("title", {
33
37
  children: TITLE
34
38
  }), /*#__PURE__*/_jsx("g", {
35
- clipPath: "url(#a)",
39
+ clipPath: fill,
36
40
  children: /*#__PURE__*/_jsx("path", {
37
41
  d: "M48.315 11.852a5.528 5.528 0 00-6.132-5.392c-.921.121-1.751.527-2.414 1.12l.01-1.156v-.04H37.2v12.913h2.58v-7.359a3.012 3.012 0 014.731-2.437 3.032 3.032 0 011.28 2.432c.005.178.005.406.005.7V19.333h2.515l.005-7.48zM33.141 2c-.85 0-1.538.69-1.538 1.54a1.539 1.539 0 103.076 0c0-.85-.688-1.54-1.538-1.54zM29.124 11.852A5.528 5.528 0 0023.6 6.424h-.05c-1.139.02-2.171.532-2.965 1.343v-.192s-.006 0-.006.005l.01-1.181V2h-2.58v17.297h2.58v-7.359a3.012 3.012 0 014.731-2.437 3.032 3.032 0 011.28 2.432c.005.178.005.406.005.7V19.302h2.515l.005-7.45zM63.084 16.277V2.07h-2.652V7.84s-.005 0-.005-.005v.375c-.905-.877-2.044-1.485-3.304-1.693a6.222 6.222 0 00-.925-.071 6.578 6.578 0 00-6.31 5.646 6.54 6.54 0 001.25 4.875 6.533 6.533 0 004.32 2.564 6.514 6.514 0 004.868-1.251c.172-.127.334-.264.49-.406l1.848 1.495 1.66-2.067-1.24-1.024zm-6.73.902a4.129 4.129 0 01-4.128-4.14 4.124 4.124 0 016.081-3.634 4.01 4.01 0 011.351 1.16 4 4 0 01.774 1.875 4.129 4.129 0 01-4.078 4.739zM3.25 9.795V24h2.646v-5.762s.005 0 .005.005v-.375c.906.877 2.044 1.485 3.304 1.693.303.045.612.07.926.07a6.578 6.578 0 006.309-5.645 6.54 6.54 0 00-1.25-4.875 6.533 6.533 0 00-4.32-2.565 6.514 6.514 0 00-4.868 1.252 6.32 6.32 0 00-.49.405L3.66 6.713 2 8.781l1.25 1.014zm6.729-.902a4.129 4.129 0 014.128 4.14 4.123 4.123 0 01-6.081 3.634 4.01 4.01 0 01-1.351-1.16 4.002 4.002 0 01-.774-1.876 4.129 4.129 0 014.078-4.739zM31.836 6.364v12.933h2.666V6.364h-2.666z"
38
42
  })
39
43
  }), /*#__PURE__*/_jsx("defs", {
40
44
  children: /*#__PURE__*/_jsx("clipPath", {
41
- id: "a",
45
+ id: id,
42
46
  children: /*#__PURE__*/_jsx("path", {
43
47
  d: "M0 0h66v24H0z"
44
48
  })
@@ -32,24 +32,6 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
32
32
  }, rest), {}, {
33
33
  children: [/*#__PURE__*/_jsx("title", {
34
34
  children: TITLE
35
- }), /*#__PURE__*/_jsx("defs", {
36
- children: /*#__PURE__*/_jsxs("linearGradient", {
37
- id: "a",
38
- x1: "100%",
39
- x2: "0%",
40
- y1: "53.893%",
41
- y2: "53.893%",
42
- children: [/*#__PURE__*/_jsx("stop", {
43
- offset: "0%",
44
- stopColor: "#1D1A5C"
45
- }), /*#__PURE__*/_jsx("stop", {
46
- offset: "49.586%",
47
- stopColor: "#3431C3"
48
- }), /*#__PURE__*/_jsx("stop", {
49
- offset: "100%",
50
- stopColor: "#7361F7"
51
- })]
52
- })
53
35
  }), /*#__PURE__*/_jsx("path", {
54
36
  d: "M15.127 21.824c.093.299.339.553.345.896.022.107-.051.417-.168.21-.249-.832-.33-.035-1.065-1.184-.158-.313-.429-.055-.663-.04-.694-.228-.49-.293-.905.3-.315.088-.049-.643.101-.724.29-.248.749-.086.917-.356.282-1.143-.64-2.567-1.158-3.55-.169-.264.013-.577-.025-.862-.15-.408-.188-.302-.049-.734-.227-.473-.863.266-1.22.255-.285.004-.523-.45-.893-.48-1.335.004-2.581.808-3.926.671a1.228 1.228 0 00-.681.215c-.414.222-.909.203-1.288.522-.119.095-.27.104-.414.098-.27.04-.477.37-.784.34-.312-.109-.566.079-.86.057-.34-.285-.781-.057-1.174.008a.286.286 0 01-.308-.05c-.09-.072-.264-.082-.324-.177-.03-.059.028-.145.1-.204.527-.405 1.137-.666 1.72-.974 1.146-.594 2.118-1.463 3.16-2.218.066-.05.085-.12-.035-.119-1.612.135-3.146 1.048-4.74 1.012-.176.023-.339.127-.522.15-.876-.185.65-1.16.954-1.261 1.704-.711 3.598-.843 5.184-1.836.188-.132-.17-.268-.004-.53.39-1.29 1.576-1.805 2.735-2.184.594-.231 1.137-.672 1.797-.679.325.016.634-.113.852-.36 1.163-1.071 2.442-2.012 3.674-2.999 1.413-1.783 2.282-5.175 5.216-3.656.92.395 1.974.365 2.807.976.297.189.857.765.236.85-1.702.291-2.552-.23-2.63 1.454-.03.39.064.75-.158 1.086-.014.694.352 1.508-.084 2.129-.364.63-.078 1.413-.38 2.047-.22.534-.65.93-1.049 1.323-1.304 1.63-2.266 3.476-2.589 5.572-.122.627-.478 1.56.097 2.056.607.612 1.25 1.458 2.18 1.012.306-.14.884-.189.84.274-.05.083-.258-.098-.371-.056-.16.102.072.316.029.465-.022.14-.134.12-.23.054-.281-.112-.685.002-1.005-.01-.258.045-.512.162-.762.05-.116-.049-.229-.1-.356-.103-.39-.022-.884.182-1.103-.147-.242-.454-.293-.104-.532.048-.235-.015-.067-.35.014-.46.249-.57 1.846.517 1.183-.432-2.29-2.01-.777-2.686-1.646-2.69-.17-.089-.103-.405-.366-.173-.335.35-.46-.098-.46-.4-.04-.175-.177-.3-.125-.479.022-.39-.496.085-.38.41.057.616-.132 1.225-.102 1.833.24 1.276.41 2.897 1.864 3.276.177.076.463.432.253.565-.093-.01-.16-.11-.243-.153-.116-.078-.257.009-.378.018-.034.008-.088.007-.1.046l-.003.002z"
55
37
  })]
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
10
10
  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; }
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
+ import { useFillId } from "../../hooks/useFillId";
13
14
  import { TITLE } from "../style";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -18,6 +19,9 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
18
19
  size = _ref$size === void 0 ? '1em' : _ref$size,
19
20
  style = _ref.style,
20
21
  rest = _objectWithoutProperties(_ref, _excluded);
22
+ var _useFillId = useFillId(TITLE),
23
+ fill = _useFillId.fill,
24
+ id = _useFillId.id;
21
25
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
26
  fill: "currentColor",
23
27
  fillRule: "evenodd",
@@ -32,14 +36,14 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
32
36
  children: [/*#__PURE__*/_jsx("title", {
33
37
  children: TITLE
34
38
  }), /*#__PURE__*/_jsx("g", {
35
- clipPath: "url(#a)",
39
+ clipPath: fill,
36
40
  clipRule: "evenodd",
37
41
  children: /*#__PURE__*/_jsx("path", {
38
42
  d: "M2 7.158h1.43V2.213h1.968v4.945h2.25v1.734h-2.25v9.28H3.43v-9.28H2V7.158zM13.083 6.876c3.14 0 5.717 2.6 5.717 5.788s-2.577 5.788-5.717 5.788c-3.14 0-5.717-2.601-5.717-5.788 0-3.186 2.577-5.788 5.717-5.788zm0 9.748c2.132 0 3.796-1.687 3.796-3.96 0-2.273-1.664-3.96-3.796-3.96-2.132 0-3.797 1.687-3.797 3.96 0 2.273 1.665 3.96 3.797 3.96zM25.238 24c-2.718 0-5.365-1.898-5.365-4.991h1.921c.164 2.085 1.64 3.186 3.446 3.186 2.085 0 3.678-1.452 3.678-3.89v-2.033c-.75 1.359-2.39 2.18-3.866 2.18-3.14 0-5.53-2.578-5.53-5.789 0-3.21 2.39-5.788 5.53-5.788 1.476 0 3.117.82 3.866 2.18V7.156h1.969v11.148c0 3.304-2.53 5.694-5.647 5.694l-.002.001zm.024-7.375c2.133 0 3.797-1.688 3.797-3.96 0-2.274-1.664-3.961-3.797-3.961-2.132 0-3.796 1.687-3.796 3.96 0 2.273 1.664 3.96 3.796 3.96zM41.521 14.351l1.593.89c-1.1 2.063-2.975 3.211-5.132 3.211-3.092 0-5.623-2.601-5.623-5.788 0-3.186 2.53-5.788 5.623-5.788 3.093 0 5.366 2.25 5.366 6.186h-9.091c.187 2.11 1.805 3.562 3.725 3.562 1.92 0 2.766-.82 3.538-2.273h.001zm-7.148-2.858h6.89c-.235-1.57-1.406-2.835-3.28-2.835-1.735 0-3.141 1.148-3.61 2.835zM43.56 7.158h1.43V2.213h1.97v4.945h2.248v1.734H46.96v9.28H44.99v-9.28h-1.43V7.158zM54.827 8.634c-1.734 0-2.952 1.336-2.952 3.515v6.023h-1.968V2.213h1.968V8.87c.75-1.195 1.969-1.991 3.609-1.991 2.53 0 3.89 1.805 3.89 3.937v7.357h-1.968v-6.865c0-1.687-.96-2.671-2.578-2.671v-.002zM69.945 14.351l1.593.89c-1.101 2.063-2.976 3.211-5.132 3.211-3.093 0-5.624-2.601-5.624-5.788 0-3.186 2.531-5.788 5.624-5.788 3.092 0 5.365 2.25 5.365 6.186H62.68c.188 2.11 1.805 3.562 3.726 3.562 1.92 0 2.765-.82 3.537-2.273h.002zm-7.148-2.858h6.889c-.235-1.57-1.406-2.835-3.28-2.835-1.734 0-3.141 1.148-3.61 2.835zM79.239 9.312c-.376-.328-.938-.492-1.5-.492-1.64 0-2.577 1.43-2.577 3.351v6h-1.969V7.156h1.969v1.875c.539-1.195 1.617-2.11 3.047-2.11.702 0 1.335.235 1.734.54l-.703 1.85h-.001zM93.094 7.158V18.17h-1.969v-1.898c-.75 1.359-2.39 2.18-3.866 2.18-3.141 0-5.53-2.578-5.53-5.789 0-3.21 2.39-5.788 5.53-5.788 1.476 0 3.116.82 3.866 2.18V7.157h1.969zm-5.625 9.466c2.133 0 3.797-1.687 3.797-3.96 0-2.273-1.664-3.96-3.797-3.96-2.132 0-3.796 1.687-3.796 3.96 0 2.273 1.664 3.96 3.796 3.96zM97.289 7.157V18.17H95.32V7.157h1.969zM94.993 3.313c0-.703.609-1.313 1.311-1.313.703 0 1.312.61 1.312 1.313s-.586 1.312-1.312 1.312a1.31 1.31 0 01-1.311-1.312zM78.059 17c0-.703.609-1.313 1.311-1.313.703 0 1.312.61 1.312 1.312 0 .703-.586 1.312-1.312 1.312a1.31 1.31 0 01-1.311-1.312z"
39
43
  })
40
44
  }), /*#__PURE__*/_jsx("defs", {
41
45
  children: /*#__PURE__*/_jsx("clipPath", {
42
- id: "a",
46
+ id: id,
43
47
  children: /*#__PURE__*/_jsx("path", {
44
48
  d: "M0 0h99v24H0z"
45
49
  })
@@ -23,6 +23,7 @@ import Claude from "../Claude";
23
23
  import CodeGeeX from "../CodeGeeX";
24
24
  import CogView from "../CogView";
25
25
  import Cohere from "../Cohere";
26
+ import Cursor from "../Cursor";
26
27
  import Dalle from "../Dalle";
27
28
  import Dbrx from "../Dbrx";
28
29
  import DeepCogito from "../DeepCogito";
@@ -422,4 +423,7 @@ export var modelMappings = [{
422
423
  }, {
423
424
  Icon: Ace,
424
425
  keywords: ['ace-step']
426
+ }, {
427
+ Icon: Cursor,
428
+ keywords: ['^composer', '/composer', '-composer']
425
429
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "5.20.0",
3
+ "version": "5.22.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",