@lobehub/icons 5.23.0 → 6.0.0-beta.1

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.
@@ -15,8 +15,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
16
  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; }
17
17
  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; }
18
- import { Block, Flexbox, Icon, Snippet } from '@lobehub/ui';
19
- import { Segmented, Text } from '@lobehub/ui/base-ui';
18
+ import { Block, Flexbox, Icon, Segmented, Snippet, Text } from '@lobehub/ui';
20
19
  import { BotIcon, UserRoundIcon } from 'lucide-react';
21
20
  import { memo, useMemo, useState } from 'react';
22
21
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -2,8 +2,7 @@
2
2
 
3
3
  var _templateObject, _templateObject2;
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 { CopyButton, Flexbox, Tooltip } from '@lobehub/ui';
6
- import { createStaticStyles, cx } from 'antd-style';
5
+ import { CopyButton, Flexbox, Tooltip, createStaticStyles, cx } from '@lobehub/ui';
7
6
  import { memo } from 'react';
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
9
8
  var styles = createStaticStyles(function (_ref) {
@@ -2,9 +2,7 @@
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 { Block, Center, CopyButton, Flexbox } from '@lobehub/ui';
6
- import { ActionIcon, Text } from '@lobehub/ui/base-ui';
7
- import { createStaticStyles, cx } from 'antd-style';
5
+ import { ActionIcon, Block, Center, CopyButton, Flexbox, Text, createStaticStyles, cx } from '@lobehub/ui';
8
6
  import { DownloadIcon, SearchIcon } from 'lucide-react';
9
7
  import { readableColor } from 'polished';
10
8
  import { memo, useCallback, useRef } from 'react';
@@ -3,9 +3,8 @@
3
3
  var _templateObject;
4
4
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
5
5
  import * as Icons from "../..";
6
- import { Flexbox } from '@lobehub/ui';
6
+ import { Flexbox, createStaticStyles } from '@lobehub/ui';
7
7
  import { StoryBook, useControls, useCreateStore } from '@lobehub/ui/storybook';
8
- import { createStaticStyles } from 'antd-style';
9
8
  import { memo } from 'react';
10
9
  import IconPreview from "../IconPreview";
11
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,9 +7,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
7
7
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  import * as Icons from "../..";
10
- import { Empty, Flexbox, Grid, SearchBar, TooltipGroup } from '@lobehub/ui';
11
- import { Segmented } from '@lobehub/ui/base-ui';
12
- import { cssVar } from 'antd-style';
10
+ import { Empty, Flexbox, Grid, SearchBar, Segmented, TooltipGroup, cssVar } from '@lobehub/ui';
13
11
  import { memo, useMemo, useState } from 'react';
14
12
  import IconItem from "./IconItem";
15
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -13,8 +13,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
13
13
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
14
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
15
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
16
- import { Flexbox } from '@lobehub/ui';
17
- import { createStaticStyles } from 'antd-style';
16
+ import { Flexbox, createStaticStyles } from '@lobehub/ui';
18
17
  import { memo, useId, useLayoutEffect, useRef, useSyncExternalStore } from 'react';
19
18
  import { jsx as _jsx } from "react/jsx-runtime";
20
19
  var styles = createStaticStyles(function (_ref) {
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { DivProps } from '@lobehub/ui';
3
- import { ActionIconSize } from '@lobehub/ui/base-ui';
2
+ import { ActionIconSize, DivProps } from '@lobehub/ui';
4
3
  export interface DownloadButtonProps extends DivProps {
5
4
  className?: string;
6
5
  onClick?: () => void;
@@ -9,7 +9,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
9
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
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
- import { ActionIcon } from '@lobehub/ui/base-ui';
12
+ import { ActionIcon } from '@lobehub/ui';
13
13
  import { Download } from 'lucide-react';
14
14
  import { memo } from 'react';
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -2,8 +2,7 @@
2
2
 
3
3
  var _templateObject;
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 { Flexbox, Highlighter } from '@lobehub/ui';
6
- import { createStaticStyles } from 'antd-style';
5
+ import { Flexbox, Highlighter, createStaticStyles } from '@lobehub/ui';
7
6
  import { memo } from 'react';
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
9
8
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -2,8 +2,7 @@
2
2
 
3
3
  var _templateObject;
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 { Flexbox, Highlighter } from '@lobehub/ui';
6
- import { createStaticStyles } from 'antd-style';
5
+ import { Flexbox, Highlighter, createStaticStyles } from '@lobehub/ui';
7
6
  import { memo } from 'react';
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
9
8
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,8 +1,6 @@
1
1
  var _templateObject;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
- import { Flexbox, Highlighter } from '@lobehub/ui';
4
- import { Tag } from '@lobehub/ui/base-ui';
5
- import { createStaticStyles } from 'antd-style';
3
+ import { Flexbox, Highlighter, Tag, createStaticStyles } from '@lobehub/ui';
6
4
  import { memo } from 'react';
7
5
  import IconPreview from "../IconPreview";
8
6
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -2,8 +2,7 @@
2
2
 
3
3
  var _templateObject;
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 { Flexbox, Highlighter } from '@lobehub/ui';
6
- import { createStaticStyles } from 'antd-style';
5
+ import { Flexbox, Highlighter, createStaticStyles } from '@lobehub/ui';
7
6
  import { memo } from 'react';
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
9
8
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -12,9 +12,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
12
12
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
- import { Flexbox } from '@lobehub/ui';
15
+ import { Flexbox, createStaticStyles } from '@lobehub/ui';
16
16
  import { StoryBook, useControls, useCreateStore } from '@lobehub/ui/storybook';
17
- import { createStaticStyles } from 'antd-style';
18
17
  import { useEffect, useRef, useState } from 'react';
19
18
  import { useSvgo } from "./useSvgo";
20
19
  import Color from "./Color";
@@ -2,8 +2,7 @@
2
2
 
3
3
  var _templateObject, _templateObject2;
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 { CopyButton, Flexbox } from '@lobehub/ui';
6
- import { createStaticStyles, cx } from 'antd-style';
5
+ import { CopyButton, Flexbox, createStaticStyles, cx } from '@lobehub/ui';
7
6
  import { memo } from 'react';
8
7
  import { jsx as _jsx } from "react/jsx-runtime";
9
8
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -9,8 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
9
9
  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; }
10
10
  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; }
11
11
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- import { Flexbox } from '@lobehub/ui';
13
- import { createStaticStyles, cx } from 'antd-style';
12
+ import { Flexbox, createStaticStyles, cx } from '@lobehub/ui';
14
13
  import { memo, useRef } from 'react';
15
14
  import DownloadButton from "../DownloadButton";
16
15
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -4,8 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  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; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  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); }
7
- import { Center } from '@lobehub/ui';
8
- import { cssVar } from 'antd-style';
7
+ import { Center, cssVar } from '@lobehub/ui';
9
8
  import { memo } from 'react';
10
9
  import DefaultIcon from "./DefaultIcon";
11
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,8 +7,7 @@ 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 { Icon } from '@lobehub/ui';
11
- import { cssVar } from 'antd-style';
10
+ import { Icon, cssVar } from '@lobehub/ui';
12
11
  import { Bot } from 'lucide-react';
13
12
  import { memo } from 'react';
14
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -9,8 +9,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
9
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
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
- import { Center } from '@lobehub/ui';
13
- import { useThemeMode } from 'antd-style';
12
+ import { Center, useThemeMode } from '@lobehub/ui';
14
13
  import { memo } from 'react';
15
14
  import { getAvatarShadow } from "./util";
16
15
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -4,8 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  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; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  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); }
7
- import { Center } from '@lobehub/ui';
8
- import { cssVar } from 'antd-style';
7
+ import { Center, cssVar } from '@lobehub/ui';
9
8
  import { memo } from 'react';
10
9
  import DefaultIcon from "./DefaultIcon";
11
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,8 +7,7 @@ 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 { Icon } from '@lobehub/ui';
11
- import { cssVar } from 'antd-style';
10
+ import { Icon, cssVar } from '@lobehub/ui';
12
11
  import { Brain } from 'lucide-react';
13
12
  import { memo } from 'react';
14
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TagProps } from '@lobehub/ui/base-ui';
2
+ import { TagProps } from '@lobehub/ui';
3
3
  export interface ModelTagProps extends Omit<TagProps, 'icon' | 'children'> {
4
4
  model: string;
5
5
  type?: 'color' | 'mono';
@@ -7,7 +7,7 @@ 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 { Tag } from '@lobehub/ui/base-ui';
10
+ import { Tag } from '@lobehub/ui';
11
11
  import { memo } from 'react';
12
12
  import ModelIcon from "../ModelIcon";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,8 +7,7 @@ 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 { Flexbox } from '@lobehub/ui';
11
- import { Divider } from '@lobehub/ui/base-ui';
10
+ import { Divider, Flexbox } from '@lobehub/ui';
12
11
  import { memo } from 'react';
13
12
  import { jsx as _jsx } from "react/jsx-runtime";
14
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -4,8 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  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; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  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); }
7
- import { Center } from '@lobehub/ui';
8
- import { cssVar } from 'antd-style';
7
+ import { Center, cssVar } from '@lobehub/ui';
9
8
  import { memo } from 'react';
10
9
  import DefaultIcon from "./DefaultIcon";
11
10
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,9 +7,8 @@ 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 { Icon } from '@lobehub/ui';
10
+ import { Icon, cssVar } from '@lobehub/ui';
11
11
  import { ProviderIcon } from '@lobehub/ui/icons';
12
- import { cssVar } from 'antd-style';
13
12
  import { memo } from 'react';
14
13
  import { jsx as _jsx } from "react/jsx-runtime";
15
14
  var DefaultIcon = /*#__PURE__*/memo(function (_ref) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "5.23.0",
3
+ "version": "6.0.0-beta.1",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -31,14 +31,12 @@
31
31
  "packages/*"
32
32
  ],
33
33
  "dependencies": {
34
- "antd-style": "^4.1.0",
35
34
  "es-toolkit": "^1.52.0",
36
35
  "lucide-react": "^0.469.0",
37
36
  "polished": "^4.3.1"
38
37
  },
39
38
  "peerDependencies": {
40
- "@lobehub/ui": "^5.54.0",
41
- "antd": "^6.1.1",
39
+ "@lobehub/ui": "^6.0.0-beta.1",
42
40
  "react": "^19.0.0",
43
41
  "react-dom": "^19.0.0"
44
42
  }