@ray-js/smart-ui 2.1.11-beta-4 → 2.1.11-beta-6
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/dist/@types/config-provider/theme-vars.d.ts +1 -1
- package/dist/@types/datetime-picker/index.d.ts +1 -1
- package/dist/@types/index.d.ts +1 -1
- package/dist/datetime-picker/index.d.ts +3 -2
- package/dist/datetime-picker/index.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type CommonThemeVars = 'M1' | 'M2' | 'M3' | 'M4' | 'M5' | 'B1' | 'B2' | 'B3' | 'B4' | 'B5' | 'B6' | 'B1N1' | 'B1N2' | 'B1N3' | 'B1N4' | 'B1N5' | 'B1N6' | 'B1N7' | 'B1N8' | 'B1N9' | 'B2N1' | 'B2N2' | 'B2N3' | 'B2N4' | 'B2N5' | 'B2N6' | 'B2N7' | 'B2N8' | 'B2N9' | 'B4N1' | 'B4N2' | 'B4N3' | 'B4N4' | 'B4N5' | 'B4N6' | 'B4N7' | 'B4N8' | 'B4N9' | 'B6N1' | 'B6N2' | 'B6N3' | 'B6N4' | 'B6N5' | 'B6N6' | 'B6N7' | 'B6N8' | 'B6N9' | 'black' | 'white' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'gray6' | 'gray7' | 'gray8' | 'red' | 'blue' | 'orange' | 'orangeDark' | 'orangeLight' | 'green' | 'gradientRed' | 'gradientOrange' | 'textColor' | 'activeColor' | 'activeOpacity' | 'disabledOpacity' | 'backgroundColor' | 'backgroundColorLight' | 'textLinkColor' | 'paddingBase' | 'paddingMb' | 'paddingXs' | 'paddingSm' | 'paddingMd' | 'paddingLg' | 'paddingXl' | 'fontSizeXs' | 'fontSizeSm' | 'fontSizeMd' | 'fontSizeLg' | 'fontWeightBold' | 'fontWeightBolder' | 'lineHeightXs' | 'lineHeightSm' | 'lineHeightMd' | 'lineHeightLg' | 'baseFontFamily' | 'priceIntegerFontFamily' | 'animationDurationBase' | 'animationDurationFast' | 'borderColor' | 'borderWidthBase' | 'borderRadiusSm' | 'borderRadiusMd' | 'borderRadiusLg' | 'borderRadiusMax' | 'goodsActionBackgroundColor' | 'goodsActionHeight' | 'goodsActionIconWidth' | 'goodsActionIconHeight' | 'goodsActionIconColor' | 'goodsActionIconSize' | 'goodsActionIconFontSize' | 'goodsActionIconTextColor' | 'goodsActionButtonHeight' | 'goodsActionButtonLineHeight' | 'goodsActionButtonBorderRadius' | 'goodsActionButtonWarningColor' | 'goodsActionButtonDangerColor' | 'goodsActionButtonPlainColor' | 'infoSize' | 'infoColor' | 'infoPadding' | 'infoFontSize' | 'infoFontWeight' | 'infoBorderWidth' | 'infoBackgroundColor' | 'infoDotColor' | 'infoDotSize' | 'infoFontFamily' | 'stepTextColor' | 'stepProcessTextColor' | 'stepFontSize' | 'stepLineColor' | 'stepFinishLineColor' | 'stepFinishTextColor' | 'stepIconSize' | 'stepCircleSize' | 'stepCircleColor' | 'stepHorizontalTitleFontSize' | 'hairlineTopWidth' | 'hairlineLeftWidth' | 'hairlineRightWidth' | 'hairlineBottomWidth' | 'hairlineSurroundWidth' | 'hairlineTopBottomWidth' | 'hairlineColor';
|
|
2
2
|
type IconThemeVars = 'iconColor';
|
|
3
|
-
type ActionSheetThemeVars = 'actionSheetWidth' | 'actionSheetLeft' | 'actionSheetMaxHeight' | 'actionSheetMargin' | 'actionSheetActiveColor' | 'actionSheetItemDisabledOpacity' | 'actionSheetHeaderBorderColor' | 'actionSheetHeaderHeight' | 'actionSheetHeaderColor' | 'actionSheetHeaderFontSize' | 'actionSheetHeaderFontWeight' | 'actionSheetDescriptionColor' | 'actionSheetDescriptionFontSize' | 'actionSheetDescriptionLineHeight' | 'actionSheetItemBackground' | 'actionSheetItemBorderRadius' | 'actionSheetItemIconMargin' | 'actionSheetItemIconColor' | 'actionSheetItemIconSize' | 'actionSheetItemFontSize' | 'actionSheetItemFontWeight' | 'actionSheetItemLineHeight' | 'actionSheetItemTextColor' | 'actionSheetSubnameColor' | 'actionSheetSubnameFontSize' | 'actionSheetSubnameLineHeight' | 'actionSheetConfirmTextColor' | 'actionSheetConfirmFontWeight' | 'actionSheetCancelTextColor' | 'actionSheetFooterPaddingTop' | 'actionSheetFooterPaddingColor';
|
|
3
|
+
type ActionSheetThemeVars = 'actionSheetWidth' | 'actionSheetLeft' | 'actionSheetMaxHeight' | 'actionSheetMargin' | 'actionSheetActiveColor' | 'actionSheetActiveIconColor' | 'actionSheetItemDisabledOpacity' | 'actionSheetHeaderBorderColor' | 'actionSheetHeaderHeight' | 'actionSheetHeaderColor' | 'actionSheetHeaderFontSize' | 'actionSheetHeaderFontWeight' | 'actionSheetDescriptionColor' | 'actionSheetDescriptionFontSize' | 'actionSheetDescriptionLineHeight' | 'actionSheetItemBackground' | 'actionSheetItemBorderRadius' | 'actionSheetItemIconMargin' | 'actionSheetItemIconColor' | 'actionSheetItemIconSize' | 'actionSheetItemFontSize' | 'actionSheetItemFontWeight' | 'actionSheetItemLineHeight' | 'actionSheetItemTextColor' | 'actionSheetSubnameColor' | 'actionSheetSubnameFontSize' | 'actionSheetSubnameLineHeight' | 'actionSheetConfirmTextColor' | 'actionSheetConfirmFontWeight' | 'actionSheetCancelTextColor' | 'actionSheetFooterPaddingTop' | 'actionSheetFooterPaddingColor';
|
|
4
4
|
type BottomSheetThemeVars = 'bottomSheetWidth' | 'bottomSheetMinHeight' | 'bottomSheetMaxHeight' | 'bottomSheetPadding' | 'bottomSheetIconMargin' | 'bottomSheetHeaderHeight' | 'bottomSheetHeaderColor' | 'bottomSheetHeaderFontSize' | 'bottomSheetHeaderFontWeight' | 'bottomSheetFontColor';
|
|
5
5
|
type ButtonThemeVars = 'buttonMiniHeight' | 'buttonMiniMinWidth' | 'buttonMiniFontSize' | 'buttonSmallHeight' | 'buttonSmallFontSize' | 'buttonSmallMinWidth' | 'buttonNormalFontSize' | 'buttonLargeHeight' | 'buttonDefaultColor' | 'buttonDefaultHeight' | 'buttonDefaultFontSize' | 'buttonDefaultBackgroundColor' | 'buttonDefaultBorderColor' | 'buttonPrimaryColor' | 'buttonPrimaryBackgroundColor' | 'buttonPrimaryBorderColor' | 'buttonInfoColor' | 'buttonInfoBackgroundColor' | 'buttonInfoBorderColor' | 'buttonDangerColor' | 'buttonDangerBackgroundColor' | 'buttonDangerBorderColor' | 'buttonWarningColor' | 'buttonWarningBackgroundColor' | 'buttonWarningBorderColor' | 'buttonLineHeight' | 'buttonBorderWidth' | 'buttonBorderRadius' | 'buttonRoundBorderRadius' | 'buttonPlainBackgroundColor' | 'buttonDisabledOpacity' | 'buttonFontWeight' | 'buttonPrimaryFontWeight';
|
|
6
6
|
type CalendarThemeVars = 'calendarBackgroundColor' | 'calendarPopupHeight' | 'calendarHeaderBoxShadow' | 'calendarHeaderTitleHeight' | 'calendarHeaderTitleFontSize' | 'calendarHeaderTitleFontColor' | 'calendarHeaderSubtitleFontSize' | 'calendarWeekdaysHeight' | 'calendarWeekdaysFontSize' | 'calendarWeekdaysFontColor' | 'calendarMonthTitleFontSize' | 'calendarMonthMarkColor' | 'calendarMonthMarkFontSize' | 'calendarDayHeight' | 'calendarCellItemFontSize' | 'calendarCellItemWidth' | 'calendarCellItemHeight' | 'calendarCellItemFontColor' | 'calendarCellItemBorderRadius' | 'calendarDayFontWeight' | 'calendarDaySelectBorderRadius' | 'calendarRangeEdgeColor' | 'calendarRangeEdgeBackgroundColor' | 'calendarRangeMiddleColor' | 'calendarRangeMiddleBackgroundOpacity' | 'calendarSelectedDaySize' | 'calendarSelectedDayColor' | 'calendarInfoFontSize' | 'calendarInfoLineHeight' | 'calendarSelectedDayBackgroundColor' | 'calendarDayDisabledColor' | 'calendarConfirmButtonHeight' | 'calendarConfirmButtonMargin' | 'calendarConfirmButtonLineHeight' | 'calendarTextColor' | 'calendarHeaderSaveColor' | 'calendarHeaderIconBgColor';
|
|
@@ -119,7 +119,7 @@ export interface SmartDateTimePickerProps {
|
|
|
119
119
|
* @description 字符串替换
|
|
120
120
|
* @version 2.2.0
|
|
121
121
|
*/
|
|
122
|
-
formatterMap?: Record<
|
|
122
|
+
formatterMap?: Partial<Record<'year' | 'month' | 'day' | 'hour' | 'minute' | 'second', string | Record<string, string>>>;
|
|
123
123
|
/**
|
|
124
124
|
* @description 当设置 type: 'time' 时,此属性可开启12小时选择模式
|
|
125
125
|
* @version 2.2.0
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { SmartCollapse, SmartCollapseEvents, SmartCollapseExternalClassName, Sma
|
|
|
13
13
|
export { SmartCollapseItem, SmartCollapseItemExternalClassName, SmartCollapseItemProps, } from './collapse-item';
|
|
14
14
|
export { SmartConfigProvider, SmartConfigProviderProps } from './config-provider';
|
|
15
15
|
export { SmartCountDown, SmartCountDownEvents, SmartCountDownProps, SmartCountDownTimeData, } from './count-down';
|
|
16
|
-
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, } from './datetime-picker';
|
|
16
|
+
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, SmartDateTimePicker as SmartDatetimePicker, SmartDateTimePickerEvents as SmartDatetimePickerEvents, SmartDateTimePickerProps as SmartDatetimePickerProps, SmartDateTimePickerExternalClassName as SmartDatetimePickerExternalClassName, SmartDateTimePickerBaseEvent as SmartDatetimePickerBaseEvent, } from './datetime-picker';
|
|
17
17
|
export { SmartDialog, SmartDialogProps, SmartDialogEvents } from './dialog';
|
|
18
18
|
export { SmartDialogOptions, SmartDialogInputOptions, SmartDialogInstance } from './dialog/dialog';
|
|
19
19
|
export { SmartDividerProps, SmartDividerSlot, SmartDivider } from './divider';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { SmartDateTimePicker } from './PropTypes';
|
|
3
3
|
declare const DateTimePicker: import("react").FC<SmartDateTimePicker>;
|
|
4
|
-
|
|
5
|
-
export {
|
|
4
|
+
declare const DatetimePicker: import("react").FC<SmartDateTimePicker>;
|
|
5
|
+
export { DateTimePicker, DatetimePicker };
|
|
6
|
+
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, SmartDateTimePicker as SmartDatetimePicker, SmartDateTimePickerEvents as SmartDatetimePickerEvents, SmartDateTimePickerProps as SmartDatetimePickerProps, SmartDateTimePickerExternalClassName as SmartDatetimePickerExternalClassName, SmartDateTimePickerBaseEvent as SmartDatetimePickerBaseEvent, } from './PropTypes';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { SmartCollapse, SmartCollapseEvents, SmartCollapseExternalClassName, Sma
|
|
|
13
13
|
export { SmartCollapseItem, SmartCollapseItemExternalClassName, SmartCollapseItemProps, CollapseItem, } from './collapse-item';
|
|
14
14
|
export { SmartConfigProvider, SmartConfigProviderProps, ConfigProvider } from './config-provider';
|
|
15
15
|
export { SmartCountDown, SmartCountDownEvents, SmartCountDownProps, SmartCountDownTimeData, CountDown, } from './count-down';
|
|
16
|
-
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, DateTimePicker, } from './datetime-picker';
|
|
16
|
+
export { SmartDateTimePicker, SmartDateTimePickerEvents, SmartDateTimePickerProps, SmartDateTimePickerExternalClassName, SmartDateTimePickerBaseEvent, SmartDatetimePicker, SmartDatetimePickerEvents, SmartDatetimePickerProps, SmartDatetimePickerExternalClassName, SmartDatetimePickerBaseEvent, DateTimePicker, DatetimePicker, } from './datetime-picker';
|
|
17
17
|
export { SmartDialog, SmartDialogProps, SmartDialogInstance, SmartDialogOptions, Dialog, DialogInstance, } from './dialog';
|
|
18
18
|
export { SmartDividerProps, SmartDivider, Divider } from './divider';
|
|
19
19
|
export { SmartDropdownItem, SmartDropdownItemEvents, SmartDropdownItemOption, SmartDropdownItemProps, SmartDropdownItemChangeEvent, DropdownItem, } from './dropdown-item';
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export { Collapse, } from './collapse';
|
|
|
12
12
|
export { CollapseItem, } from './collapse-item';
|
|
13
13
|
export { ConfigProvider } from './config-provider';
|
|
14
14
|
export { CountDown, } from './count-down';
|
|
15
|
-
export { DateTimePicker, } from './datetime-picker';
|
|
15
|
+
export { DateTimePicker, DatetimePicker, } from './datetime-picker';
|
|
16
16
|
export { Dialog, DialogInstance, } from './dialog';
|
|
17
17
|
export { Divider } from './divider';
|
|
18
18
|
export { DropdownItem, } from './dropdown-item';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.1.11-beta-
|
|
3
|
+
"version": "2.1.11-beta-6",
|
|
4
4
|
"author": "睦海(李利民)",
|
|
5
5
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
6
6
|
"scripts": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ray-js/components-ty-slider": "^0.3.1",
|
|
39
|
-
"@tuya-miniapp/smart-ui": "2.1.11-beta-
|
|
39
|
+
"@tuya-miniapp/smart-ui": "2.1.11-beta-3",
|
|
40
40
|
"lodash-es": "^4.17.21"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|