@lobehub/icons 5.22.0 → 5.23.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.
@@ -15,7 +15,8 @@ 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, Segmented, Snippet, Text } from '@lobehub/ui';
18
+ import { Block, Flexbox, Icon, Snippet } from '@lobehub/ui';
19
+ import { Segmented, Text } from '@lobehub/ui/base-ui';
19
20
  import { BotIcon, UserRoundIcon } from 'lucide-react';
20
21
  import { memo, useMemo, useState } from 'react';
21
22
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -2,7 +2,8 @@
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, Block, Center, CopyButton, Flexbox, Text } from '@lobehub/ui';
5
+ import { Block, Center, CopyButton, Flexbox } from '@lobehub/ui';
6
+ import { ActionIcon, Text } from '@lobehub/ui/base-ui';
6
7
  import { createStaticStyles, cx } from 'antd-style';
7
8
  import { DownloadIcon, SearchIcon } from 'lucide-react';
8
9
  import { readableColor } from 'polished';
@@ -7,8 +7,8 @@ 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 { Flexbox, Grid, SearchBar, TooltipGroup } from '@lobehub/ui';
11
- import { Empty, Segmented } from 'antd';
10
+ import { Empty, Flexbox, Grid, SearchBar, TooltipGroup } from '@lobehub/ui';
11
+ import { Segmented } from '@lobehub/ui/base-ui';
12
12
  import { cssVar } from 'antd-style';
13
13
  import { memo, useMemo, useState } from 'react';
14
14
  import IconItem from "./IconItem";
@@ -95,7 +95,7 @@ var Dashboard = /*#__PURE__*/memo(function () {
95
95
  }, key);
96
96
  })
97
97
  }) : /*#__PURE__*/_jsx(Empty, {
98
- image: Empty.PRESENTED_IMAGE_SIMPLE
98
+ description: 'No Data'
99
99
  })
100
100
  })]
101
101
  });
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ActionIconSize, DivProps } from '@lobehub/ui';
2
+ import { DivProps } from '@lobehub/ui';
3
+ import { ActionIconSize } from '@lobehub/ui/base-ui';
3
4
  export interface DownloadButtonProps extends DivProps {
4
5
  className?: string;
5
6
  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';
12
+ import { ActionIcon } from '@lobehub/ui/base-ui';
13
13
  import { Download } from 'lucide-react';
14
14
  import { memo } from 'react';
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,6 +1,7 @@
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, Tag } from '@lobehub/ui';
3
+ import { Flexbox, Highlighter } from '@lobehub/ui';
4
+ import { Tag } from '@lobehub/ui/base-ui';
4
5
  import { createStaticStyles } from 'antd-style';
5
6
  import { memo } from 'react';
6
7
  import IconPreview from "../IconPreview";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TagProps } from '@lobehub/ui';
2
+ import { TagProps } from '@lobehub/ui/base-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';
10
+ import { Tag } from '@lobehub/ui/base-ui';
11
11
  import { memo } from 'react';
12
12
  import ModelIcon from "../ModelIcon";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -8,7 +8,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
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
10
  import { Flexbox } from '@lobehub/ui';
11
- import { Divider } from 'antd';
11
+ import { Divider } from '@lobehub/ui/base-ui';
12
12
  import { memo } from 'react';
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -25,11 +25,11 @@ var Combine = /*#__PURE__*/memo(function (_ref) {
25
25
  horizontal: true
26
26
  }, rest), {}, {
27
27
  children: [left, /*#__PURE__*/_jsx(Divider, {
28
+ orientation: 'vertical',
28
29
  style: {
29
30
  marginBlock: 0,
30
31
  marginInline: size / 6
31
- },
32
- type: 'vertical'
32
+ }
33
33
  }), right]
34
34
  }));
35
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "5.22.0",
3
+ "version": "5.23.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -37,7 +37,7 @@
37
37
  "polished": "^4.3.1"
38
38
  },
39
39
  "peerDependencies": {
40
- "@lobehub/ui": "^5.0.0",
40
+ "@lobehub/ui": "^5.54.0",
41
41
  "antd": "^6.1.1",
42
42
  "react": "^19.0.0",
43
43
  "react-dom": "^19.0.0"