@lobehub/icons 3.0.2 → 4.0.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.
@@ -1,4 +1,4 @@
1
- import { kebabCase } from 'lodash-es';
1
+ import { kebabCase } from 'es-toolkit';
2
2
  export var customKebabCase = function customKebabCase(string) {
3
3
  var parts = string.match(/[A-Z]{2,}(?=[A-Z][a-z]+\d*|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g);
4
4
  if (!parts) return string;
@@ -1,4 +1,4 @@
1
- import { kebabCase } from 'lodash-es';
1
+ import { kebabCase } from 'es-toolkit';
2
2
  import { useMemo } from 'react';
3
3
  export var useFillId = function useFillId(namespace) {
4
4
  var id = "lobe-icons-".concat(kebabCase(namespace), "-fill");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "3.0.2",
3
+ "version": "4.0.0",
4
4
  "description": "Popular AI / LLM Model Brand SVG Logo and Icon Collection",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -30,12 +30,12 @@
30
30
  "packages/*"
31
31
  ],
32
32
  "dependencies": {
33
- "antd-style": "^3.7.1",
33
+ "antd-style": "^4.0.0",
34
34
  "lucide-react": "^0.469.0",
35
35
  "polished": "^4.3.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@lobehub/ui": "^3.4.5",
38
+ "@lobehub/ui": "^4.0.0",
39
39
  "antd": "^6.1.1",
40
40
  "react": "^19.0.0",
41
41
  "react-dom": "^19.0.0"