shineout 3.8.0-beta.21 → 3.8.0-beta.23

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,5 +1,19 @@
1
+ /// <reference types="react" />
1
2
  import { EmptyProps as UnStyledEmptyProps } from '@sheinx/base';
2
3
  /**
3
4
  * @title Empty
4
5
  */
5
- export type EmptyProps = Omit<UnStyledEmptyProps, 'jssStyle'>;
6
+ export interface EmptyProps extends Omit<UnStyledEmptyProps, 'jssStyle' | 'icon' | 'description'> {
7
+ /**
8
+ * @en Empty state icon. Enhanced in v3.8.0 to support global configuration via setConfig
9
+ * @cn 空状态图标。3.8.0版本增强,支持通过setConfig进行全局配置
10
+ * @version 3.8.0
11
+ */
12
+ icon?: React.ReactNode;
13
+ /**
14
+ * @en Description, if false, the description will not be displayed. Enhanced in v3.8.0 to support global configuration via setConfig
15
+ * @cn 描述,若为false则不显示描述。3.8.0版本增强,支持通过setConfig进行全局配置
16
+ * @version 3.8.0
17
+ */
18
+ description?: React.ReactNode | boolean;
19
+ }
package/esm/index.js CHANGED
@@ -62,5 +62,5 @@ export * from "./deprecated";
62
62
  import * as _TYPE from "./type";
63
63
  export { _TYPE as TYPE };
64
64
  export default {
65
- version: '3.8.0-beta.21'
65
+ version: '3.8.0-beta.23'
66
66
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shineout",
3
- "version": "3.8.0-beta.21",
3
+ "version": "3.8.0-beta.23",
4
4
  "description": "A components library for React",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,10 +16,10 @@
16
16
  "module": "./esm/index.js",
17
17
  "typings": "./cjs/index.d.ts",
18
18
  "dependencies": {
19
- "@sheinx/base": "3.8.0-beta.21",
20
- "@sheinx/hooks": "3.8.0-beta.21",
21
- "@sheinx/shineout-style": "3.8.0-beta.21",
22
- "@sheinx/theme": "3.8.0-beta.21",
19
+ "@sheinx/base": "3.8.0-beta.23",
20
+ "@sheinx/hooks": "3.8.0-beta.23",
21
+ "@sheinx/shineout-style": "3.8.0-beta.23",
22
+ "@sheinx/theme": "3.8.0-beta.23",
23
23
  "classnames": "^2.0.0",
24
24
  "deep-eql": "^4.0.0",
25
25
  "immer": "^10.0.0"