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.
- package/cjs/empty/empty.type.d.ts +15 -1
- package/cjs/index.js +1 -1
- package/dist/shineout.js +235 -182
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/empty/empty.type.d.ts +15 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
|
@@ -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
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.8.0-beta.
|
|
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.
|
|
20
|
-
"@sheinx/hooks": "3.8.0-beta.
|
|
21
|
-
"@sheinx/shineout-style": "3.8.0-beta.
|
|
22
|
-
"@sheinx/theme": "3.8.0-beta.
|
|
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"
|