@lobehub/icons 2.27.0 → 2.28.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.
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,25 @@
1
+ 'use client';
2
+
3
+ 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); }
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
+ 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
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ 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); }
9
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
10
+ import { memo } from 'react';
11
+ import IconAvatar from "../../features/IconAvatar";
12
+ import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
13
+ import Mono from "./Mono";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
16
+ var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
17
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
18
+ Icon: Mono,
19
+ "aria-label": TITLE,
20
+ background: AVATAR_BACKGROUND,
21
+ color: AVATAR_COLOR,
22
+ iconMultiple: AVATAR_ICON_MULTIPLE
23
+ }, rest));
24
+ });
25
+ export default Avatar;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
4
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
5
+ export default Combine;
@@ -0,0 +1,26 @@
1
+ 'use client';
2
+
3
+ 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); }
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
+ 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
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ 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); }
9
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
10
+ import { memo } from 'react';
11
+ import IconCombine from "../../features/IconCombine";
12
+ import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
13
+ import Mono from "./Mono";
14
+ import Text from "./Text";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ var Combine = /*#__PURE__*/memo(function (_ref) {
17
+ var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
18
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
19
+ Icon: Mono,
20
+ Text: Text,
21
+ "aria-label": TITLE,
22
+ spaceMultiple: COMBINE_SPACE_MULTIPLE,
23
+ textMultiple: COMBINE_TEXT_MULTIPLE
24
+ }, rest));
25
+ });
26
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,40 @@
1
+ 'use client';
2
+
3
+ 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); }
4
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ 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; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
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
+ 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
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 24 24",
30
+ width: size,
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ d: "M17.113 10.248H14.56l-2.553-3.616-7.963 11.27h2.558l5.405-7.654h2.552l-5.404 7.653h2.565l5.392-7.653L24 20 19.97 20v-2.091l-2.857-4.044-2.842 4.037V20H0L12.008 3l5.105 7.249z"
37
+ })]
38
+ }));
39
+ });
40
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,39 @@
1
+ 'use client';
2
+
3
+ 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); }
4
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ 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; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
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
+ 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
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "nonzero",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 207 24",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M4.764 21.728v-2.605h5.447c.994 0 1.762-.271 2.304-.814.542-.56.813-1.32.813-2.28 0-.994-.29-1.781-.868-2.36-.578-.58-1.382-.869-2.412-.869H4.765v-2.605h5.04c.976 0 1.726-.235 2.25-.705s.786-1.149.786-2.036c0-.868-.253-1.528-.759-1.98-.488-.453-1.21-.679-2.168-.679H4.764V2.19h5.8c1.752 0 3.152.443 4.2 1.33 1.066.868 1.599 2.053 1.599 3.555 0 .94-.226 1.763-.678 2.47a4.432 4.432 0 01-1.761 1.6c-.74.38-1.581.57-2.52.57l.135-.57c.994 0 1.897.226 2.71.678a4.844 4.844 0 011.924 1.846c.488.796.732 1.718.732 2.768 0 1.067-.253 1.999-.759 2.795-.488.796-1.183 1.411-2.087 1.845-.885.434-1.933.651-3.143.651H4.764zm-2.764 0V2.19h3.523v19.538H2zm16.518 0V2.19h3.415v19.538h-3.415zm14.574 0a10.089 10.089 0 01-.217-1.194 19.36 19.36 0 01-.054-1.573h-.109v-6.567c0-.724-.208-1.267-.623-1.629-.397-.38-1.012-.57-1.843-.57-.813 0-1.463.154-1.951.462-.47.29-.759.714-.867 1.275h-3.28c.145-1.284.76-2.325 1.843-3.12 1.085-.797 2.539-1.195 4.364-1.195 1.896 0 3.333.434 4.308 1.303.976.85 1.464 2.107 1.464 3.772v6.268c0 .435.027.878.081 1.33.079.483.178.963.298 1.438h-3.414zM28.295 22c-1.391 0-2.502-.344-3.333-1.032-.813-.705-1.22-1.646-1.22-2.822 0-1.266.46-2.27 1.382-3.012.922-.742 2.222-1.239 3.902-1.492l4.31-.652v2.171l-3.74.57c-.813.127-1.427.353-1.843.679-.398.325-.596.777-.596 1.357 0 .524.19.931.569 1.22.38.272.903.408 1.572.408.975 0 1.788-.245 2.439-.733.65-.488.975-1.085.975-1.791l.38 2.09c-.362.995-.958 1.754-1.789 2.279-.813.507-1.816.76-3.008.76zm15.984 0c-1.391 0-2.62-.308-3.686-.923a6.757 6.757 0 01-2.493-2.55c-.596-1.104-.894-2.353-.894-3.746 0-1.393.298-2.623.894-3.69a6.757 6.757 0 012.493-2.55c1.066-.616 2.295-.924 3.686-.924 1.138 0 2.168.217 3.09.652a5.848 5.848 0 012.275 1.79c.597.76.976 1.647 1.139 2.66h-3.28c-.198-.742-.578-1.32-1.138-1.737-.56-.416-1.237-.624-2.032-.624-.74 0-1.382.181-1.924.543-.524.362-.93.877-1.22 1.547-.289.669-.433 1.447-.433 2.333 0 .905.144 1.692.433 2.361.29.67.705 1.194 1.247 1.574.542.362 1.174.543 1.897.543.795 0 1.472-.208 2.032-.624.56-.416.94-.995 1.139-1.737h3.279a5.719 5.719 0 01-1.166 2.687 6.201 6.201 0 01-2.276 1.79c-.903.417-1.924.625-3.062.625zm7.88-.272V2h3.414v19.728h-3.415zm8.915 0l-6.287-7.19 6.097-6.65h4.12l-7.046 7.273.19-1.275 7.127 7.842h-4.2zm9.132 0V2.19h3.523v19.538h-3.523zm1.68-7.842V11.09h10.976v2.795H71.887zm0-8.9V2.19h11.626v2.795H71.887zM91.08 22c-1.464 0-2.755-.308-3.875-.923a6.587 6.587 0 01-2.575-2.55c-.614-1.104-.921-2.362-.921-3.773 0-1.41.307-2.65.921-3.717a6.456 6.456 0 012.575-2.497c1.12-.615 2.411-.923 3.875-.923 1.481 0 2.773.308 3.875.923a6.458 6.458 0 012.575 2.497c.614 1.067.921 2.306.921 3.717s-.316 2.669-.948 3.772a6.589 6.589 0 01-2.575 2.551c-1.102.615-2.385.923-3.848.923zm0-2.74c.722 0 1.373-.182 1.951-.544.578-.38 1.03-.904 1.355-1.574.325-.687.488-1.492.488-2.415 0-1.357-.361-2.424-1.084-3.202-.705-.778-1.608-1.167-2.71-1.167-1.102 0-2.015.389-2.737 1.167-.723.778-1.084 1.845-1.084 3.202 0 .923.162 1.728.488 2.415.343.67.794 1.194 1.355 1.574.578.362 1.237.543 1.978.543zm8.799 2.468V7.89h3.333v3.338h.081v10.502h-3.414zm3.414-7.218l-.352-3.283c.325-1.176.876-2.072 1.653-2.687.777-.615 1.707-.923 2.791-.923.38 0 .651.036.813.109v3.23a1.048 1.048 0 00-.379-.055 5.517 5.517 0 00-.596-.027c-1.319 0-2.304.29-2.954.868-.65.579-.976 1.502-.976 2.768zM115.269 22c-1.463 0-2.746-.308-3.848-.923a6.647 6.647 0 01-2.548-2.55c-.596-1.086-.894-2.335-.894-3.746 0-1.41.298-2.65.894-3.717a6.46 6.46 0 012.548-2.524c1.084-.615 2.348-.923 3.794-.923 1.373 0 2.565.29 3.577.868a5.882 5.882 0 012.358 2.389c.56 1.03.84 2.234.84 3.61a8.039 8.039 0 01-.109 1.356h-11.788v-2.388h9.16l-.705.65c0-1.302-.298-2.279-.894-2.93-.597-.65-1.427-.977-2.493-.977-1.157 0-2.078.398-2.765 1.194-.668.796-1.002 1.945-1.002 3.447 0 1.483.334 2.623 1.002 3.419.687.778 1.654 1.167 2.9 1.167.723 0 1.355-.136 1.897-.407a2.5 2.5 0 001.192-1.248h3.225c-.451 1.302-1.219 2.333-2.303 3.093-1.066.76-2.412 1.14-4.038 1.14zm13.556 0c-1.915 0-3.442-.398-4.58-1.194-1.138-.814-1.762-1.936-1.87-3.365h3.117c.09.705.424 1.24 1.002 1.6.578.363 1.355.544 2.331.544.885 0 1.545-.136 1.978-.408.452-.289.678-.696.678-1.22 0-.38-.127-.688-.38-.923-.253-.253-.731-.462-1.436-.624l-2.222-.516c-1.518-.326-2.647-.832-3.388-1.52-.722-.705-1.084-1.583-1.084-2.632 0-1.284.488-2.289 1.464-3.012.993-.742 2.357-1.113 4.092-1.113 1.716 0 3.089.371 4.119 1.113 1.048.723 1.626 1.728 1.734 3.012h-3.116a1.736 1.736 0 00-.867-1.275c-.47-.29-1.121-.434-1.951-.434-.777 0-1.365.126-1.762.38-.398.235-.596.587-.596 1.058 0 .362.153.67.46.922.308.236.823.444 1.545.625l2.385.542c1.355.308 2.376.841 3.062 1.601a3.82 3.82 0 011.057 2.687c0 1.32-.506 2.343-1.517 3.066-1.012.724-2.43 1.086-4.255 1.086zm13.202 0c-1.698 0-2.954-.398-3.767-1.194-.795-.814-1.192-2.027-1.192-3.636V4.74l3.441-1.275v13.786c0 .669.181 1.166.542 1.492.362.326.931.489 1.708.489.307 0 .578-.018.813-.055a6.61 6.61 0 00.704-.19v2.66c-.216.108-.524.19-.921.244a7.48 7.48 0 01-1.328.109zm-7.615-11.425V7.89h9.864v2.686h-9.864zm15.355 11.153V2.19h3.523v19.538h-3.523zm1.68 0v-2.795h11.436v2.795h-11.436zm21.286 0a10.276 10.276 0 01-.217-1.194 19.467 19.467 0 01-.054-1.573h-.108v-6.567c0-.724-.208-1.267-.623-1.629-.398-.38-1.012-.57-1.843-.57-.813 0-1.464.154-1.952.462-.469.29-.758.714-.867 1.275h-3.279c.145-1.284.759-2.325 1.843-3.12 1.084-.797 2.538-1.195 4.363-1.195 1.897 0 3.333.434 4.309 1.303.975.85 1.463 2.107 1.463 3.772v6.268c0 .435.027.878.082 1.33.078.483.178.963.298 1.438h-3.415zm-4.797.272c-1.391 0-2.502-.344-3.333-1.032-.813-.705-1.22-1.646-1.22-2.822 0-1.266.461-2.27 1.383-3.012.921-.742 2.222-1.239 3.902-1.492l4.309-.652v2.171l-3.74.57c-.813.127-1.427.353-1.843.679-.397.325-.596.777-.596 1.357 0 .524.19.931.569 1.22.38.272.904.408 1.572.408.976 0 1.789-.245 2.439-.733.65-.488.976-1.085.976-1.791l.379 2.09c-.361.995-.958 1.754-1.788 2.279-.814.507-1.816.76-3.009.76zm18.093 0c-1.319 0-2.403-.308-3.252-.923-.831-.633-1.346-1.501-1.545-2.605l.244-.027v3.283h-3.333V2.19h3.414v8.82l-.244-.055a3.922 3.922 0 011.654-2.442c.885-.597 1.978-.896 3.279-.896 1.228 0 2.294.299 3.197.896.922.579 1.636 1.402 2.141 2.47.506 1.067.759 2.324.759 3.771 0 1.466-.262 2.741-.786 3.827-.524 1.085-1.255 1.926-2.195 2.523-.939.597-2.05.896-3.333.896zm-.867-2.823c1.102 0 1.978-.38 2.628-1.14.651-.777.976-1.863.976-3.256 0-1.393-.334-2.47-1.003-3.229-.65-.76-1.526-1.14-2.628-1.14-1.085 0-1.961.39-2.629 1.167-.669.76-1.003 1.837-1.003 3.23s.334 2.47 1.003 3.229c.668.76 1.554 1.14 2.656 1.14zM199.228 22c-1.915 0-3.442-.398-4.58-1.194-1.138-.814-1.762-1.936-1.87-3.365h3.117c.09.705.424 1.24 1.002 1.6.578.363 1.355.544 2.331.544.885 0 1.544-.136 1.978-.408.452-.289.678-.696.678-1.22 0-.38-.127-.688-.38-.923-.253-.253-.732-.462-1.436-.624l-2.222-.516c-1.518-.326-2.647-.832-3.388-1.52-.722-.705-1.084-1.583-1.084-2.632 0-1.284.488-2.289 1.464-3.012.993-.742 2.357-1.113 4.092-1.113 1.716 0 3.089.371 4.119 1.113 1.048.723 1.626 1.728 1.734 3.012h-3.116a1.741 1.741 0 00-.867-1.275c-.47-.29-1.12-.434-1.952-.434-.776 0-1.364.126-1.761.38-.398.235-.596.587-.596 1.058 0 .362.153.67.46.922.307.236.822.444 1.545.625l2.385.542c1.355.308 2.376.841 3.062 1.601A3.82 3.82 0 01205 17.848c0 1.32-.506 2.343-1.518 3.066-1.011.724-2.429 1.086-4.254 1.086z"
36
+ })]
37
+ }));
38
+ });
39
+ export default Icon;
@@ -0,0 +1,13 @@
1
+ import Avatar from './components/Avatar';
2
+ import Combine from './components/Combine';
3
+ import Mono from './components/Mono';
4
+ import Text from './components/Text';
5
+ export type CompoundedIcon = typeof Mono & {
6
+ Avatar: typeof Avatar;
7
+ Combine: typeof Combine;
8
+ Text: typeof Text;
9
+ colorPrimary: string;
10
+ title: string;
11
+ };
12
+ declare const Icons: CompoundedIcon;
13
+ export default Icons;
@@ -0,0 +1,12 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Combine from "./components/Combine";
3
+ import Mono from "./components/Mono";
4
+ import Text from "./components/Text";
5
+ import { COLOR_PRIMARY, TITLE } from "./style";
6
+ var Icons = Mono;
7
+ Icons.Text = Text;
8
+ Icons.Combine = Combine;
9
+ Icons.Avatar = Avatar;
10
+ Icons.colorPrimary = COLOR_PRIMARY;
11
+ Icons.title = TITLE;
12
+ export default Icons;
@@ -0,0 +1,7 @@
1
+ export declare const TITLE = "Black Forest Labs";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.7;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#fff";
5
+ export declare const AVATAR_BACKGROUND = "#fff";
6
+ export declare const AVATAR_COLOR = "#000";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.7;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'Black Forest Labs';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.7;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#fff';
5
+
6
+ // Avatar constants
7
+ export var AVATAR_BACKGROUND = COLOR_PRIMARY;
8
+ export var AVATAR_COLOR = '#000';
9
+ export var AVATAR_ICON_MULTIPLE = 0.7;
@@ -2,12 +2,12 @@
2
2
 
3
3
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
4
4
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
5
- import { ActionIcon, CopyButton } from '@lobehub/ui';
5
+ import { ActionIcon, Block, CopyButton, Text } from '@lobehub/ui';
6
6
  import { createStyles } from 'antd-style';
7
7
  import { Link } from 'dumi';
8
8
  import { DownloadIcon, SearchIcon } from 'lucide-react';
9
9
  import { readableColor } from 'polished';
10
- import { memo, useRef } from 'react';
10
+ import { memo, useCallback, useRef } from 'react';
11
11
  import { Center, Flexbox } from 'react-layout-kit';
12
12
  import { customKebabCase } from "./utils";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -19,7 +19,7 @@ var useStyles = createStyles(function (_ref) {
19
19
  var colorText = cx('color-text', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n "]))));
20
20
  var copy = cx('copy', css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n z-index: 1;\n display: none !important;\n "]))));
21
21
  return {
22
- card: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n\n overflow: hidden;\n\n border: 1px solid ", ";\n border-radius: ", "px;\n\n background: ", ";\n "])), token.colorBorderSecondary, token.borderRadiusLG, token.colorBgContainer),
22
+ card: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n "]))),
23
23
  color: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border-inline-end: 1px solid ", ";\n font-family: ", ";\n\n &:hover {\n .color-text {\n display: none;\n }\n\n .copy {\n display: flex !important;\n }\n }\n "])), token.colorBorderSecondary, token.fontFamilyCode),
24
24
  colorText: colorText,
25
25
  copy: copy,
@@ -36,7 +36,7 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
36
36
  var _useStyles = useStyles(),
37
37
  styles = _useStyles.styles;
38
38
  var ref = useRef(null);
39
- var handleDownload = function handleDownload() {
39
+ var handleDownload = useCallback(function (iconId) {
40
40
  var _ref$current;
41
41
  var svgString = String(ref === null || ref === void 0 || (_ref$current = ref.current) === null || _ref$current === void 0 || (_ref$current = _ref$current.querySelector('svg')) === null || _ref$current === void 0 ? void 0 : _ref$current.outerHTML);
42
42
  var blob = new Blob([svgString], {
@@ -45,14 +45,15 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
45
45
  var url = URL.createObjectURL(blob);
46
46
  var downloadLink = document.createElement('a');
47
47
  downloadLink.href = url;
48
- downloadLink.download = "".concat(id.toLowerCase(), ".svg");
48
+ downloadLink.download = "".concat(iconId.toLowerCase(), ".svg");
49
49
  document.body.append(downloadLink);
50
50
  downloadLink.click();
51
51
  downloadLink.remove();
52
52
  URL.revokeObjectURL(url);
53
- };
54
- return /*#__PURE__*/_jsxs(Flexbox, {
53
+ }, []);
54
+ return /*#__PURE__*/_jsxs(Block, {
55
55
  className: styles.card,
56
+ variant: 'outlined',
56
57
  children: [/*#__PURE__*/_jsx(Link, {
57
58
  style: {
58
59
  color: 'inherit'
@@ -60,6 +61,7 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
60
61
  to: "/components/".concat(customKebabCase(id)),
61
62
  children: /*#__PURE__*/_jsx(Center, {
62
63
  height: 96,
64
+ ref: ref,
63
65
  style: {
64
66
  position: 'relative'
65
67
  },
@@ -74,11 +76,12 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
74
76
  paddingBlock: 8,
75
77
  paddingInline: 12,
76
78
  width: '100%',
77
- children: [/*#__PURE__*/_jsx("h2", {
79
+ children: [/*#__PURE__*/_jsx(Text, {
80
+ as: 'h2',
78
81
  className: styles.title,
82
+ ellipsis: true,
79
83
  children: title
80
84
  }), /*#__PURE__*/_jsx(CopyButton, {
81
- className: styles.copy,
82
85
  content: title,
83
86
  size: 'small'
84
87
  })]
@@ -127,7 +130,9 @@ var IconItem = /*#__PURE__*/memo(function (_ref2) {
127
130
  }), /*#__PURE__*/_jsx(Center, {
128
131
  flex: 1,
129
132
  height: 32,
130
- onClick: handleDownload,
133
+ onClick: function onClick() {
134
+ return handleDownload(id);
135
+ },
131
136
  children: /*#__PURE__*/_jsx(ActionIcon, {
132
137
  icon: DownloadIcon,
133
138
  size: 'small'
@@ -8,7 +8,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  import * as Icons from "../..";
10
10
  import { Grid, SearchBar } from '@lobehub/ui';
11
- import { Segmented } from 'antd';
11
+ import { Empty, Segmented } from 'antd';
12
12
  import { useTheme } from 'antd-style';
13
13
  import { memo, useMemo, useState } from 'react';
14
14
  import { Flexbox } from 'react-layout-kit';
@@ -52,6 +52,7 @@ var Dashboard = /*#__PURE__*/memo(function () {
52
52
  gap: 12,
53
53
  horizontal: true,
54
54
  children: [/*#__PURE__*/_jsx(SearchBar, {
55
+ allowClear: true,
55
56
  defaultValue: keyword,
56
57
  onSearch: function onSearch(v) {
57
58
  return setKeyword(v);
@@ -77,7 +78,7 @@ var Dashboard = /*#__PURE__*/memo(function () {
77
78
  border: "1px solid ".concat(theme.colorBorder)
78
79
  }
79
80
  })]
80
- }), /*#__PURE__*/_jsx(Grid, {
81
+ }), iconsGroup.length > 0 ? /*#__PURE__*/_jsx(Grid, {
81
82
  maxItemWidth: 160,
82
83
  rows: 5,
83
84
  children: iconsGroup.map(function (_ref3) {
@@ -94,6 +95,8 @@ var Dashboard = /*#__PURE__*/memo(function () {
94
95
  })
95
96
  }, key);
96
97
  })
98
+ }) : /*#__PURE__*/_jsx(Empty, {
99
+ image: Empty.PRESENTED_IMAGE_SIMPLE
97
100
  })]
98
101
  });
99
102
  });
@@ -28,6 +28,7 @@ import AzureAI from "../AzureAI";
28
28
  import Baichuan from "../Baichuan";
29
29
  import BaiduCloud from "../BaiduCloud";
30
30
  import Bedrock from "../Bedrock";
31
+ import Bfl from "../Bfl";
31
32
  import BurnCloud from "../BurnCloud";
32
33
  import Claude from "../Claude";
33
34
  import Cloudflare from "../Cloudflare";
@@ -451,4 +452,7 @@ export var providerMappings = [{
451
452
  }),
452
453
  Icon: Vercel,
453
454
  keywords: [ModelProvider.V0]
455
+ }, {
456
+ Icon: Bfl,
457
+ keywords: [ModelProvider.Bfl]
454
458
  }];
@@ -8,6 +8,7 @@ export declare enum ModelProvider {
8
8
  AzureAI = "azureai",
9
9
  Baichuan = "baichuan",
10
10
  Bedrock = "bedrock",
11
+ Bfl = "bfl",
11
12
  BurnCloud = "burncloud",
12
13
  Cloudflare = "cloudflare",
13
14
  Cohere = "cohere",
@@ -8,6 +8,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
8
8
  ModelProvider["AzureAI"] = "azureai";
9
9
  ModelProvider["Baichuan"] = "baichuan";
10
10
  ModelProvider["Bedrock"] = "bedrock";
11
+ ModelProvider["Bfl"] = "bfl";
11
12
  ModelProvider["BurnCloud"] = "burncloud";
12
13
  ModelProvider["Cloudflare"] = "cloudflare";
13
14
  ModelProvider["Cohere"] = "cohere";
package/es/icons.d.ts CHANGED
@@ -26,6 +26,7 @@ export { default as Baidu, type CompoundedIcon as BaiduProps } from './Baidu';
26
26
  export { default as BaiduCloud, type CompoundedIcon as BaiduCloudProps } from './BaiduCloud';
27
27
  export { default as Baseten, type CompoundedIcon as BasetenProps } from './Baseten';
28
28
  export { default as Bedrock, type CompoundedIcon as BedrockProps } from './Bedrock';
29
+ export { default as Bfl, type CompoundedIcon as BflProps } from './Bfl';
29
30
  export { default as Bilibili, type CompoundedIcon as BilibiliProps } from './Bilibili';
30
31
  export { default as BilibiliIndex, type CompoundedIcon as BilibiliIndexProps, } from './BilibiliIndex';
31
32
  export { default as Bing, type CompoundedIcon as BingProps } from './Bing';
package/es/icons.js CHANGED
@@ -26,6 +26,7 @@ export { default as Baidu } from "./Baidu";
26
26
  export { default as BaiduCloud } from "./BaiduCloud";
27
27
  export { default as Baseten } from "./Baseten";
28
28
  export { default as Bedrock } from "./Bedrock";
29
+ export { default as Bfl } from "./Bfl";
29
30
  export { default as Bilibili } from "./Bilibili";
30
31
  export { default as BilibiliIndex } from "./BilibiliIndex";
31
32
  export { default as Bing } from "./Bing";
package/es/toc.js CHANGED
@@ -506,6 +506,24 @@ var toc = [{
506
506
  "hasTextColor": false
507
507
  },
508
508
  "title": "Bedrock"
509
+ }, {
510
+ "color": "#fff",
511
+ "desc": "https://bfl.ai",
512
+ "docsUrl": "bfl",
513
+ "fullTitle": "Black Forest Labs (bfl)",
514
+ "group": "provider",
515
+ "id": "Bfl",
516
+ "param": {
517
+ "hasAvatar": true,
518
+ "hasBrand": false,
519
+ "hasBrandColor": false,
520
+ "hasColor": false,
521
+ "hasCombine": true,
522
+ "hasText": true,
523
+ "hasTextCn": false,
524
+ "hasTextColor": false
525
+ },
526
+ "title": "Black Forest Labs"
509
527
  }, {
510
528
  "color": "#FB7299",
511
529
  "desc": "https://github.com/bilibili",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -30,7 +30,7 @@
30
30
  "packages/*"
31
31
  ],
32
32
  "dependencies": {
33
- "@lobehub/ui": "^2.0.0",
33
+ "@lobehub/ui": "^2.9.3",
34
34
  "antd-style": "^3.7.1",
35
35
  "lucide-react": "^0.469.0",
36
36
  "polished": "^4.3.1",