@ray-js/smart-ui 2.4.0-beta-8 → 2.4.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.
- package/es/@types/config-provider/theme-vars.d.ts +1 -1
- package/es/@types/empty/index.d.ts +4 -4
- package/es/@types/notice-bar/index.d.ts +4 -4
- package/lib/@types/config-provider/theme-vars.d.ts +1 -1
- package/lib/@types/empty/index.d.ts +4 -4
- package/lib/@types/notice-bar/index.d.ts +4 -4
- package/package.json +2 -2
|
@@ -17,7 +17,7 @@ type NavBarThemeVars = 'navBarHeight' | 'navBarRoundBorderRadius' | 'navBarRound
|
|
|
17
17
|
type NoticeBarThemeVars = 'noticeBarHeight' | 'noticeBarPadding' | 'noticeBarWrapablePadding' | 'noticeBarFontSize' | 'noticeBarTextColor' | 'noticeBarLineHeight' | 'noticeBarBackgroundColor' | 'noticeBarBackgroundWarningColor' | 'noticeBarBackgroundErrorColor' | 'noticeBarRightIconColor' | 'noticeBarInfoColor' | 'noticeBarWarningColor' | 'noticeBarErrorColor' | 'noticeBarIconSize' | 'noticeBarBtnColor' | 'noticeBarLeftIconMarginRight' | 'noticeBarRightIconMarginLeft';
|
|
18
18
|
type NotifyThemeVars = 'notifyPadding' | 'notifyFontSize' | 'notifyLineHeight' | 'notifyPrimaryBackgroundColor' | 'notifySuccessBackgroundColor' | 'notifyDangerBackgroundColor' | 'notifyWarningBackgroundColor';
|
|
19
19
|
type OverlayThemeVars = 'overlayBackgroundColor';
|
|
20
|
-
type PickerThemeVars = 'pickerBackgroundColor' | 'pickerPadding' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionUnitFontSize' | 'pickerOptionTextColor' | 'pickerOptionUnitTextColor' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
|
|
20
|
+
type PickerThemeVars = 'pickerBackgroundColor' | 'pickerPadding' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionUnitFontSize' | 'pickerOptionTextColor' | 'pickerOptionUnitTextColor' | 'pickerOptionUnitMidSize' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
|
|
21
21
|
type PopupThemeVars = 'popupBackgroundColor' | 'popupRoundBorderRadius' | 'popupCloseIconSize' | 'popupCloseIconColor' | 'popupCloseIconMargin' | 'popupCloseIconZIndex';
|
|
22
22
|
type ProgressThemeVars = 'progressHeight' | 'progressBackgroundColor' | 'progressPivotPadding' | 'progressColor' | 'progressPivotFontSize' | 'progressPivotLineHeight' | 'progressPivotBackgroundColor' | 'progressPivotTextColor';
|
|
23
23
|
type RadioThemeVars = 'radioSize' | 'radioBorderColor' | 'radioBorderRadius' | 'radioTransitionDuration' | 'radioLabelSize' | 'radioLabelMargin' | 'radioLabelColor' | 'radioCheckedIconColor' | 'radioDisabledLabelColor' | 'radioDisabledOpacity';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SmartBaseExternalClassName, SmartComponent } from '../base';
|
|
3
3
|
export interface SmartEmptyProps {
|
|
4
4
|
/**
|
|
@@ -26,21 +26,21 @@ export interface SmartEmptyProps {
|
|
|
26
26
|
* @default ''
|
|
27
27
|
* @since `v2.0.0`
|
|
28
28
|
*/
|
|
29
|
-
imageStyle?:
|
|
29
|
+
imageStyle?: React.CSSProperties;
|
|
30
30
|
/**
|
|
31
31
|
* 标题的样式
|
|
32
32
|
*
|
|
33
33
|
* @default ''
|
|
34
34
|
* @since `v2.0.0`
|
|
35
35
|
*/
|
|
36
|
-
titleStyle?:
|
|
36
|
+
titleStyle?: React.CSSProperties;
|
|
37
37
|
/**
|
|
38
38
|
* 描述文字的样式
|
|
39
39
|
*
|
|
40
40
|
* @default ''
|
|
41
41
|
* @since `v2.0.0`
|
|
42
42
|
*/
|
|
43
|
-
descriptionStyle?:
|
|
43
|
+
descriptionStyle?: React.CSSProperties;
|
|
44
44
|
}
|
|
45
45
|
export interface SmartEmptySlot {
|
|
46
46
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TouchPositionDetail, SmartBaseExternalClassName, SmartComponent, SmartEventHandler, SmartTouchEventHandler } from '../base';
|
|
3
3
|
export interface SmartNoticeBarProps {
|
|
4
4
|
/**
|
|
@@ -86,7 +86,7 @@ export interface SmartNoticeBarProps {
|
|
|
86
86
|
* @default ''
|
|
87
87
|
* @since `v2.0.0`
|
|
88
88
|
*/
|
|
89
|
-
customStyle?:
|
|
89
|
+
customStyle?: React.CSSProperties;
|
|
90
90
|
/**
|
|
91
91
|
* 跟节点点击时的样式类
|
|
92
92
|
*
|
|
@@ -100,14 +100,14 @@ export interface SmartNoticeBarProps {
|
|
|
100
100
|
* @default ''
|
|
101
101
|
* @since `v2.0.0`
|
|
102
102
|
*/
|
|
103
|
-
rightIconStyle?:
|
|
103
|
+
rightIconStyle?: React.CSSProperties;
|
|
104
104
|
/**
|
|
105
105
|
* 左侧图标样式
|
|
106
106
|
*
|
|
107
107
|
* @default ''
|
|
108
108
|
* @since `v2.0.0`
|
|
109
109
|
*/
|
|
110
|
-
leftIconStyle?:
|
|
110
|
+
leftIconStyle?: React.CSSProperties;
|
|
111
111
|
/**
|
|
112
112
|
* 动画延迟时间 (s)
|
|
113
113
|
*
|
|
@@ -17,7 +17,7 @@ type NavBarThemeVars = 'navBarHeight' | 'navBarRoundBorderRadius' | 'navBarRound
|
|
|
17
17
|
type NoticeBarThemeVars = 'noticeBarHeight' | 'noticeBarPadding' | 'noticeBarWrapablePadding' | 'noticeBarFontSize' | 'noticeBarTextColor' | 'noticeBarLineHeight' | 'noticeBarBackgroundColor' | 'noticeBarBackgroundWarningColor' | 'noticeBarBackgroundErrorColor' | 'noticeBarRightIconColor' | 'noticeBarInfoColor' | 'noticeBarWarningColor' | 'noticeBarErrorColor' | 'noticeBarIconSize' | 'noticeBarBtnColor' | 'noticeBarLeftIconMarginRight' | 'noticeBarRightIconMarginLeft';
|
|
18
18
|
type NotifyThemeVars = 'notifyPadding' | 'notifyFontSize' | 'notifyLineHeight' | 'notifyPrimaryBackgroundColor' | 'notifySuccessBackgroundColor' | 'notifyDangerBackgroundColor' | 'notifyWarningBackgroundColor';
|
|
19
19
|
type OverlayThemeVars = 'overlayBackgroundColor';
|
|
20
|
-
type PickerThemeVars = 'pickerBackgroundColor' | 'pickerPadding' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionUnitFontSize' | 'pickerOptionTextColor' | 'pickerOptionUnitTextColor' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
|
|
20
|
+
type PickerThemeVars = 'pickerBackgroundColor' | 'pickerPadding' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionUnitFontSize' | 'pickerOptionTextColor' | 'pickerOptionUnitTextColor' | 'pickerOptionUnitMidSize' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
|
|
21
21
|
type PopupThemeVars = 'popupBackgroundColor' | 'popupRoundBorderRadius' | 'popupCloseIconSize' | 'popupCloseIconColor' | 'popupCloseIconMargin' | 'popupCloseIconZIndex';
|
|
22
22
|
type ProgressThemeVars = 'progressHeight' | 'progressBackgroundColor' | 'progressPivotPadding' | 'progressColor' | 'progressPivotFontSize' | 'progressPivotLineHeight' | 'progressPivotBackgroundColor' | 'progressPivotTextColor';
|
|
23
23
|
type RadioThemeVars = 'radioSize' | 'radioBorderColor' | 'radioBorderRadius' | 'radioTransitionDuration' | 'radioLabelSize' | 'radioLabelMargin' | 'radioLabelColor' | 'radioCheckedIconColor' | 'radioDisabledLabelColor' | 'radioDisabledOpacity';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SmartBaseExternalClassName, SmartComponent } from '../base';
|
|
3
3
|
export interface SmartEmptyProps {
|
|
4
4
|
/**
|
|
@@ -26,21 +26,21 @@ export interface SmartEmptyProps {
|
|
|
26
26
|
* @default ''
|
|
27
27
|
* @since `v2.0.0`
|
|
28
28
|
*/
|
|
29
|
-
imageStyle?:
|
|
29
|
+
imageStyle?: React.CSSProperties;
|
|
30
30
|
/**
|
|
31
31
|
* 标题的样式
|
|
32
32
|
*
|
|
33
33
|
* @default ''
|
|
34
34
|
* @since `v2.0.0`
|
|
35
35
|
*/
|
|
36
|
-
titleStyle?:
|
|
36
|
+
titleStyle?: React.CSSProperties;
|
|
37
37
|
/**
|
|
38
38
|
* 描述文字的样式
|
|
39
39
|
*
|
|
40
40
|
* @default ''
|
|
41
41
|
* @since `v2.0.0`
|
|
42
42
|
*/
|
|
43
|
-
descriptionStyle?:
|
|
43
|
+
descriptionStyle?: React.CSSProperties;
|
|
44
44
|
}
|
|
45
45
|
export interface SmartEmptySlot {
|
|
46
46
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TouchPositionDetail, SmartBaseExternalClassName, SmartComponent, SmartEventHandler, SmartTouchEventHandler } from '../base';
|
|
3
3
|
export interface SmartNoticeBarProps {
|
|
4
4
|
/**
|
|
@@ -86,7 +86,7 @@ export interface SmartNoticeBarProps {
|
|
|
86
86
|
* @default ''
|
|
87
87
|
* @since `v2.0.0`
|
|
88
88
|
*/
|
|
89
|
-
customStyle?:
|
|
89
|
+
customStyle?: React.CSSProperties;
|
|
90
90
|
/**
|
|
91
91
|
* 跟节点点击时的样式类
|
|
92
92
|
*
|
|
@@ -100,14 +100,14 @@ export interface SmartNoticeBarProps {
|
|
|
100
100
|
* @default ''
|
|
101
101
|
* @since `v2.0.0`
|
|
102
102
|
*/
|
|
103
|
-
rightIconStyle?:
|
|
103
|
+
rightIconStyle?: React.CSSProperties;
|
|
104
104
|
/**
|
|
105
105
|
* 左侧图标样式
|
|
106
106
|
*
|
|
107
107
|
* @default ''
|
|
108
108
|
* @since `v2.0.0`
|
|
109
109
|
*/
|
|
110
|
-
leftIconStyle?:
|
|
110
|
+
leftIconStyle?: React.CSSProperties;
|
|
111
111
|
/**
|
|
112
112
|
* 动画延迟时间 (s)
|
|
113
113
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.4.0
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ray-js/components-ty-slider": "^0.3.3",
|
|
45
|
-
"@tuya-miniapp/smart-ui": "2.4.0
|
|
45
|
+
"@tuya-miniapp/smart-ui": "^2.4.0",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|