@lobehub/ui 1.11.4 → 1.13.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,12 +1,15 @@
1
- import { Theme as AntdStyleTheme } from 'antd-style';
1
+ import 'antd-style';
2
+ import { AntdToken } from 'antd-style/lib/types/theme';
3
+ import { LobeCustomStylish } from './customStylish';
2
4
  import { LobeCustomToken } from './customToken';
3
5
 
4
6
  declare module 'antd-style' {
5
7
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
6
8
  export interface CustomToken extends LobeCustomToken {}
9
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
10
+ export interface CustomStylish extends LobeCustomStylish {}
7
11
  }
8
12
 
9
13
  declare module 'styled-components' {
10
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
11
- export interface DefaultTheme extends AntdStyleTheme, LobeCustomToken {}
14
+ export interface DefaultTheme extends AntdToken, LobeCustomToken {}
12
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.11.4",
3
+ "version": "1.13.0",
4
4
  "description": "Lobe UI is an open-source UI component library for building chatbot web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -67,12 +67,12 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@ant-design/icons": "^5.1.2",
71
- "@babel/runtime": "^7.21.5",
70
+ "@ant-design/icons": "^5.1.3",
71
+ "@babel/runtime": "^7.22.3",
72
72
  "@dqbd/tiktoken": "^1.0.7",
73
- "@floating-ui/react": "^0.24.1",
73
+ "@floating-ui/react": "^0.24.2",
74
74
  "ahooks": "^3.7.7",
75
- "antd-style": "^3.1.1",
75
+ "antd-style": "^3.2.1",
76
76
  "chroma-js": "^2.4.2",
77
77
  "copy-to-clipboard": "^3.3.3",
78
78
  "dayjs": "^1.11.7",
@@ -119,9 +119,9 @@
119
119
  "eslint": "^8.41.0",
120
120
  "eslint-import-resolver-alias": "^1.1.2",
121
121
  "eslint-import-resolver-typescript": "^3.5.5",
122
- "father": "^4.1.9",
122
+ "father": "^4.2.1",
123
123
  "husky": "^8.0.3",
124
- "jsdom": "^22.0.0",
124
+ "jsdom": "^22.1.0",
125
125
  "lint-staged": "^13.2.2",
126
126
  "postcss-styled-syntax": "^0.4.0",
127
127
  "prettier": "^2.8.8",