@ray-js/smart-ui 2.1.8 → 2.1.9-beta-2

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,63 +1,49 @@
1
- type ColorPaletteThemeVars = 'black' | 'white' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'gray6' | 'gray7' | 'gray8' | 'red' | 'blue' | 'orange' | 'orangeDark' | 'orangeLight' | 'green';
2
- type GradientColorsThemeVars = 'gradientRed' | 'gradientOrange';
3
- type ComponentColorsThemeVars = 'textColor' | 'activeColor' | 'activeOpacity' | 'disabledOpacity' | 'backgroundColor' | 'backgroundColorLight' | 'textLinkColor';
4
- type PaddingThemeVars = 'paddingBase' | 'paddingXs' | 'paddingSm' | 'paddingMd' | 'paddingLg' | 'paddingXl';
5
- type FontThemeVars = 'fontSizeXs' | 'fontSizeSm' | 'fontSizeMd' | 'fontSizeLg' | 'fontWeightBold' | 'lineHeightXs' | 'lineHeightSm' | 'lineHeightMd' | 'lineHeightLg' | 'baseFontFamily' | 'priceIntegerFontFamily';
6
- type AnimationThemeVars = 'animationDurationBase' | 'animationDurationFast';
7
- type BorderThemeVars = 'borderColor' | 'borderWidthBase' | 'borderRadiusSm' | 'borderRadiusMd' | 'borderRadiusLg' | 'borderRadiusMax';
8
- type ActionSheetThemeVars = 'actionSheetMaxHeight' | 'actionSheetHeaderHeight' | 'actionSheetHeaderFontSize' | 'actionSheetDescriptionColor' | 'actionSheetDescriptionFontSize' | 'actionSheetDescriptionLineHeight' | 'actionSheetItemBackground' | 'actionSheetItemFontSize' | 'actionSheetItemLineHeight' | 'actionSheetItemTextColor' | 'actionSheetItemDisabledTextColor' | 'actionSheetSubnameColor' | 'actionSheetSubnameFontSize' | 'actionSheetSubnameLineHeight' | 'actionSheetCloseIconSize' | 'actionSheetCloseIconColor' | 'actionSheetCloseIconPadding' | 'actionSheetCancelTextColor' | 'actionSheetCancelPaddingTop' | 'actionSheetCancelPaddingColor';
9
- 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';
10
- type CalendarThemeVars = 'calendarHeight' | 'calendarBackgroundColor' | 'calendarPopupHeight' | 'calendarHeaderBoxShadow' | 'calendarHeaderTitleHeight' | 'calendarHeaderTitleFontSize' | 'calendarHeaderSubtitleFontSize' | 'calendarWeekdaysHeight' | 'calendarWeekdaysFontSize' | 'calendarMonthTitleFontSize' | 'calendarMonthMarkColor' | 'calendarMonthMarkFontSize' | 'calendarDayHeight' | 'calendarDayFontSize' | 'calendarRangeEdgeColor' | 'calendarRangeEdgeBackgroundColor' | 'calendarRangeMiddleColor' | 'calendarRangeMiddleBackgroundOpacity' | 'calendarSelectedDaySize' | 'calendarSelectedDayColor' | 'calendarInfoFontSize' | 'calendarInfoLineHeight' | 'calendarSelectedDayBackgroundColor' | 'calendarDayDisabledColor' | 'calendarConfirmButtonHeight' | 'calendarConfirmButtonMargin' | 'calendarConfirmButtonLineHeight';
11
- type CardThemeVars = 'cardPadding' | 'cardFontSize' | 'cardTextColor' | 'cardBackgroundColor' | 'cardThumbSize' | 'cardTitleLineHeight' | 'cardDescColor' | 'cardDescLineHeight' | 'cardPriceColor' | 'cardOriginPriceColor' | 'cardOriginPriceFontSize' | 'cardPriceFontSize' | 'cardPriceIntegerFontSize' | 'cardPriceFontFamily';
12
- type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellBorderColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellIconSize' | 'cellRightIconColor' | 'cellLargeVerticalPadding' | 'cellLargeTitleFontSize' | 'cellLargeValueFontSize' | 'cellLargeLabelFontSize';
13
- type CellGroupThemeVars = 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
14
- type CheckboxThemeVars = 'checkboxSize' | 'checkboxBorderColor' | 'checkboxTransitionDuration' | 'checkboxLabelMargin' | 'checkboxLabelColor' | 'checkboxCheckedIconColor' | 'checkboxDisabledIconColor' | 'checkboxDisabledLabelColor' | 'checkboxDisabledBackgroundColor';
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
+ 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';
4
+ type BottomSheetThemeVars = 'bottomSheetWidth' | 'bottomSheetMinHeight' | 'bottomSheetMaxHeight' | 'bottomSheetPadding' | 'bottomSheetIconMargin' | 'bottomSheetHeaderHeight' | 'bottomSheetHeaderColor' | 'bottomSheetHeaderFontSize' | 'bottomSheetHeaderFontWeight' | 'bottomSheetFontColor';
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
+ 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';
7
+ type CellThemeVars = 'cellFontSize' | 'cellLineHeight' | 'cellVerticalPadding' | 'cellHorizontalPadding' | 'cellTextColor' | 'cellBackgroundColor' | 'cellActiveColor' | 'cellRequiredColor' | 'cellLabelColor' | 'cellLabelFontSize' | 'cellLabelLineHeight' | 'cellLabelMarginTop' | 'cellValueColor' | 'cellIconSize' | 'cellRightIconColor' | 'cellBorderColor' | 'cellBorderLeftPosition' | 'cellBorderRightPosition' | 'cellGroupBackgroundColor' | 'cellGroupTitleColor' | 'cellGroupTitlePadding' | 'cellGroupTitleFontSize' | 'cellGroupTitleLineHeight' | 'cellGroupInsetPadding' | 'cellGroupInsetBorderRadius' | 'cellGroupInsetTitlePadding';
8
+ type CheckboxThemeVars = 'checkboxSize' | 'checkboxBorderColor' | 'checkboxBorderRadius' | 'checkboxTransitionDuration' | 'checkboxLabelSize' | 'checkboxLabelMargin' | 'checkboxLabelColor' | 'checkboxCheckedIconColor' | 'checkboxDisabledLabelColor' | 'checkboxDisabledOpacity';
15
9
  type CircleThemeVars = 'circleTextColor';
16
10
  type CollapseThemeVars = 'collapseItemTransitionDuration' | 'collapseItemContentPadding' | 'collapseItemContentFontSize' | 'collapseItemContentLineHeight' | 'collapseItemContentTextColor' | 'collapseItemContentBackgroundColor' | 'collapseItemTitleDisabledColor';
17
11
  type CountDownThemeVars = 'countDownTextColor' | 'countDownFontSize' | 'countDownLineHeight';
18
- type DialogThemeVars = 'dialogCancelColor' | 'dialogConfirmColor' | 'dialogWidth' | 'dialogSmallScreenWidth' | 'dialogFontSize' | 'dialogBorderRadius' | 'dialogBackgroundColor' | 'dialogHeaderFontColor' | 'dialogHeaderFontWeight' | 'dialogHeaderLineHeight' | 'dialogHeaderPaddingTop' | 'dialogHeaderIsolatedPadding' | 'dialogMessagePadding' | 'dialogMessageFontSize' | 'dialogMessageLineHeight' | 'dialogMessageMaxHeight' | 'dialogMessageTextColor' | 'dialogHasTitleMessageFontSize' | 'dialogHasTitleMessageTextColor' | 'dialogHasTitleMessagePaddingTop' | 'dialogHeaderIconSize' | 'dialogInputHeight' | 'dialogInputBackgroundColor' | 'dialogInputMargin' | 'dialogInputPadding' | 'dialogInputBorderRadius' | 'dialogInputFontSize';
19
- type FieldThemeVars = 'fieldLabelColor' | 'fieldInputTextColor' | 'fieldInputErrorTextColor' | 'fieldInputDisabledTextColor' | 'fieldPlaceholderTextColor' | 'fieldIconSize' | 'fieldClearIconSize' | 'fieldClearIconColor' | 'fieldIconContainerColor' | 'fieldErrorMessageColor' | 'fieldErrorMessageTextFontSize' | 'fieldTextAreaMinHeight' | 'fieldWordLimitColor' | 'fieldWordLimitFontSize' | 'fieldWordLimitLineHeight' | 'fieldWordNumFullColor' | 'fieldDisabledTextColor';
20
- type GoodsActionThemeVars = 'goodsActionBackgroundColor' | 'goodsActionHeight' | 'goodsActionIconWidth' | 'goodsActionIconHeight' | 'goodsActionIconColor' | 'goodsActionIconSize' | 'goodsActionIconFontSize' | 'goodsActionIconTextColor' | 'goodsActionButtonHeight' | 'goodsActionButtonLineHeight' | 'goodsActionButtonBorderRadius' | 'goodsActionButtonWarningColor' | 'goodsActionButtonDangerColor' | 'goodsActionButtonPlainColor';
21
- type ImageThemeVars = 'imagePlaceholderTextColor' | 'imagePlaceholderFontSize' | 'imagePlaceholderBackgroundColor' | 'imageLoadingIconSize' | 'imageLoadingIconColor' | 'imageErrorIconSize' | 'imageErrorIconColor';
22
- type InfoThemeVars = 'infoSize' | 'infoColor' | 'infoPadding' | 'infoFontSize' | 'infoFontWeight' | 'infoBorderWidth' | 'infoBackgroundColor' | 'infoDotColor' | 'infoDotSize' | 'infoFontFamily';
12
+ type DialogThemeVars = 'dialogWidth' | 'dialogSmallScreenWidth' | 'dialogFontSize' | 'dialogBorderRadius' | 'dialogBackgroundColor' | 'dialogHeaderFontColor' | 'dialogHeaderFontWeight' | 'dialogHeaderLineHeight' | 'dialogHeaderPaddingTop' | 'dialogHeaderIsolatedPadding' | 'dialogMessagePadding' | 'dialogMessageFontSize' | 'dialogMessageLineHeight' | 'dialogMessageMaxHeight' | 'dialogMessageTextColor' | 'dialogHasTitleMessageFontSize' | 'dialogHasTitleMessageTextColor' | 'dialogHasTitleMessagePaddingTop' | 'dialogHeaderIconSize' | 'dialogInputHeight' | 'dialogInputBackgroundColor' | 'dialogInputMargin' | 'dialogInputPadding' | 'dialogInputBorderRadius' | 'dialogInputFontSize';
13
+ type FieldThemeVars = 'fieldLabelColor' | 'fieldInputTextColor' | 'fieldInputErrorTextColor' | 'fieldPlaceholderTextColor' | 'fieldIconSize' | 'fieldClearIconSize' | 'fieldClearIconColor' | 'fieldIconContainerColor' | 'fieldErrorMessageColor' | 'fieldErrorMessageTextFontSize' | 'fieldDisabledOpacity' | 'fieldInputTextFontSize' | 'fieldLabelFontSize' | 'fieldLabelLineHeight' | 'fieldSubLabelFontSize' | 'fieldSubLabelLineHeight' | 'fieldErrorMessageTextLineHeight' | 'fieldSubtitleTextColor' | 'fieldLeftIconMarginRight' | 'fieldLeftBodyPaddingRight' | 'fieldCardBorderRadius' | 'fieldCardBackground' | 'fieldCardWidth' | 'fieldCardHeight' | 'fieldCardPadding' | 'fieldTextareaBackground' | 'fieldTextareaBorderRadius' | 'fieldTextareaPadding' | 'fieldTextareaLimitPaddingBottom' | 'fieldTextareaMinHeight' | 'fieldWordLimitColor' | 'fieldWordLimitFontSize' | 'fieldWordLimitLineHeight' | 'fieldWordNumFullColor';
14
+ type ImageThemeVars = 'imagePlaceholderTextColor' | 'imagePlaceholderFontSize' | 'imagePlaceholderBackgroundColor' | 'imageLoadingIconSize' | 'imageLoadingIconColor' | 'imageErrorSize';
23
15
  type LoadingThemeVars = 'loadingTextColor' | 'loadingTextFontSize' | 'loadingTextLineHeight' | 'loadingSpinnerColor' | 'loadingSpinnerSize' | 'loadingSpinnerAnimationDuration';
24
- type NavBarThemeVars = 'navBarHeight' | 'navBarBackgroundColor' | 'navBarArrowSize' | 'navBarIconColor' | 'navBarTextColor' | 'navBarTitleFontSize' | 'navBarTitleTextColor';
25
- type NoticeBarThemeVars = 'noticeBarHeight' | 'noticeBarPadding' | 'noticeBarWrapablePadding' | 'noticeBarFontSize' | 'noticeBarTextColor' | 'noticeBarLineHeight' | 'noticeBarBackgroundColor' | 'noticeBarIconSize' | 'noticeBarIconMinWidth';
16
+ type NavBarThemeVars = 'navBarHeight' | 'navBarRoundBorderRadius' | 'navBarRoundMinHeight' | 'navBarBackgroundColor' | 'navBarArrowColor' | 'navBarIconSize' | 'navBarIconColor' | 'navBarIconMargin' | 'navBarTextColor' | 'navBarTextFontSize' | 'navBarTitleFontSize' | 'navBarTitleFontWeight' | 'navBarTitleTextColor' | 'navBarHomeFontSize' | 'navBarHomeFontWeight' | 'navBarHomeTextColor';
17
+ type NoticeBarThemeVars = 'noticeBarHeight' | 'noticeBarPadding' | 'noticeBarWrapablePadding' | 'noticeBarFontSize' | 'noticeBarTextColor' | 'noticeBarLineHeight' | 'noticeBarBackgroundColor' | 'noticeBarBackgroundWarningColor' | 'noticeBarBackgroundErrorColor' | 'noticeBarRightIconColor' | 'noticeBarInfoColor' | 'noticeBarWarningColor' | 'noticeBarErrorColor' | 'noticeBarIconSize' | 'noticeBarBtnColor' | 'noticeBarLeftIconMarginRight' | 'noticeBarRightIconMarginLeft';
26
18
  type NotifyThemeVars = 'notifyPadding' | 'notifyFontSize' | 'notifyLineHeight' | 'notifyPrimaryBackgroundColor' | 'notifySuccessBackgroundColor' | 'notifyDangerBackgroundColor' | 'notifyWarningBackgroundColor';
27
19
  type OverlayThemeVars = 'overlayBackgroundColor';
28
- type PanelThemeVars = 'panelBackgroundColor' | 'panelHeaderValueColor' | 'panelFooterPadding';
29
- type PickerThemeVars = 'pickerBackgroundColor' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionTextColor' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
20
+ type PickerThemeVars = 'pickerBackgroundColor' | 'pickerPadding' | 'pickerToolbarHeight' | 'pickerTitleFontSize' | 'pickerActionPadding' | 'pickerActionFontSize' | 'pickerConfirmActionColor' | 'pickerCancelActionColor' | 'pickerOptionFontSize' | 'pickerOptionUnitFontSize' | 'pickerOptionTextColor' | 'pickerOptionUnitTextColor' | 'pickerLoadingIconColor' | 'pickerLoadingMaskColor' | 'pickerOptionDisabledOpacity' | 'pickerOptionSelectedTextColor';
30
21
  type PopupThemeVars = 'popupBackgroundColor' | 'popupRoundBorderRadius' | 'popupCloseIconSize' | 'popupCloseIconColor' | 'popupCloseIconMargin' | 'popupCloseIconZIndex';
31
22
  type ProgressThemeVars = 'progressHeight' | 'progressBackgroundColor' | 'progressPivotPadding' | 'progressColor' | 'progressPivotFontSize' | 'progressPivotLineHeight' | 'progressPivotBackgroundColor' | 'progressPivotTextColor';
32
- type RadioThemeVars = 'radioSize' | 'radioBorderColor' | 'radioTransitionDuration' | 'radioLabelMargin' | 'radioLabelColor' | 'radioCheckedIconColor' | 'radioDisabledIconColor' | 'radioDisabledLabelColor' | 'radioDisabledBackgroundColor';
23
+ type RadioThemeVars = 'radioSize' | 'radioBorderColor' | 'radioBorderRadius' | 'radioTransitionDuration' | 'radioLabelSize' | 'radioLabelMargin' | 'radioLabelColor' | 'radioCheckedIconColor' | 'radioDisabledLabelColor' | 'radioDisabledOpacity';
33
24
  type RateThemeVars = 'rateHorizontalPadding' | 'rateIconSize' | 'rateIconVoidColor' | 'rateIconFullColor' | 'rateIconDisabledColor' | 'rateIconGutter';
34
25
  type SwitchThemeVars = 'switchWidth' | 'switchHeight' | 'switchNodeSize' | 'switchNodeZIndex' | 'switchNodeBackgroundColor' | 'switchNodeBoxShadow' | 'switchBackgroundColor' | 'switchOnBackgroundColor' | 'switchTransitionDuration' | 'switchDisabledOpacity' | 'switchBorder';
35
- type ShareSheetThemeVars = 'shareSheetHeaderPadding' | 'shareSheetTitleColor' | 'shareSheetTitleFontSize' | 'shareSheetTitleLineHeight' | 'shareSheetDescriptionColor' | 'shareSheetDescriptionFontSize' | 'shareSheetDescriptionLineHeight' | 'shareSheetIconSize' | 'shareSheetOptionNameColor' | 'shareSheetOptionNameFontSize' | 'shareSheetOptionDescriptionColor' | 'shareSheetOptionDescriptionFontSize' | 'shareSheetCancelButtonFontSize' | 'shareSheetCancelButtonHeight' | 'shareSheetCancelButtonBackground';
36
- type SearchThemeVars = 'searchBackgroundColor' | 'searchPadding' | 'searchInputHeight' | 'searchLabelPadding' | 'searchLabelColor' | 'searchLabelFontSize' | 'searchLeftIconColor' | 'searchActionPadding' | 'searchActionTextColor' | 'searchActionFontSize';
37
- type SidebarThemeVars = 'sidebarWidth';
38
- type SidebarItemThemeVars = 'sidebarFontSize' | 'sidebarLineHeight' | 'sidebarTextColor' | 'sidebarDisabledTextColor' | 'sidebarPadding' | 'sidebarActiveColor' | 'sidebarBackgroundColor' | 'sidebarSelectedFontWeight' | 'sidebarSelectedTextColor' | 'sidebarSelectedBorderColor' | 'sidebarSelectedBackgroundColor';
39
- type SliderThemeVars = 'sliderActiveBackgroundColor' | 'sliderInactiveBackgroundColor' | 'sliderDisabledOpacity' | 'sliderBarHeight' | 'sliderButtonWidth' | 'sliderButtonHeight' | 'sliderButtonBorderRadius' | 'sliderButtonBackgroundColor' | 'sliderButtonBoxShadow';
40
- type StepThemeVars = 'stepTextColor' | 'stepProcessTextColor' | 'stepFontSize' | 'stepLineColor' | 'stepFinishLineColor' | 'stepFinishTextColor' | 'stepIconSize' | 'stepCircleSize' | 'stepCircleColor' | 'stepHorizontalTitleFontSize';
26
+ type SearchThemeVars = 'searchBackgroundColor' | 'searchBodyBackgroundColor' | 'searchPadding' | 'searchInputHeight' | 'searchLabelPadding' | 'searchLabelColor' | 'searchLabelFontSize' | 'searchValueFontSize' | 'searchLeftIconColor' | 'searchActionPadding' | 'searchActionTextColor' | 'searchActionFontSize' | 'searchSubmitFontSize' | 'searchSubmitColor' | 'searchBtnHoverColor' | 'searchSubmitLineWidth' | 'searchSubmitLineHeight' | 'searchBtnHoverOpacity';
27
+ type SidebarThemeVars = 'sidebarWidth' | 'sidebarFontSize' | 'sidebarLineHeight' | 'sidebarTextColor' | 'sidebarDisabledTextColor' | 'sidebarPadding' | 'sidebarActiveColor' | 'sidebarBackgroundColor' | 'sidebarSelectedFontWeight' | 'sidebarSelectedTextColor' | 'sidebarSelectedBorderColor' | 'sidebarSelectedBackgroundColor';
28
+ type SliderThemeVars = 'sliderActiveBackgroundColor' | 'sliderInactiveBackgroundColor' | 'sliderDisabledOpacity' | 'sliderBarHeight' | 'sliderButtonWidth' | 'sliderButtonHeight' | 'sliderButtonBorderRadius' | 'sliderButtonBackgroundColor' | 'sliderButtonBoxShadow' | 'sliderThumbColor';
29
+ type StepperThemeVars = 'stepperContainerBackgroundColor' | 'stepperBackgroundBorderRadius' | 'stepperPadding' | 'stepperActiveColor' | 'stepperBackgroundColor' | 'stepperButtonIconColor' | 'stepperButtonDisabledColor' | 'stepperButtonDisabledIconColor' | 'stepperButtonRoundThemeColor' | 'stepperBtnWidth' | 'stepperBtnHeight' | 'stepperInputWidth' | 'stepperInputHeight' | 'stepperInputFontSize' | 'stepperInputLineHeight' | 'stepperInputTextColor' | 'stepperInputDisabledTextColor' | 'stepperBorderRadius';
41
30
  type StepsThemeVars = 'stepsBackgroundColor';
42
- type StepperThemeVars = 'stepperActiveColor' | 'stepperBackgroundColor' | 'stepperButtonIconColor' | 'stepperButtonDisabledColor' | 'stepperButtonDisabledIconColor' | 'stepperButtonRoundThemeColor' | 'stepperInputWidth' | 'stepperInputHeight' | 'stepperInputFontSize' | 'stepperInputLineHeight' | 'stepperInputTextColor' | 'stepperInputDisabledTextColor' | 'stepperInputDisabledBackgroundColor' | 'stepperBorderRadius';
43
- type SubmitBarThemeVars = 'submitBarHeight' | 'submitBarZIndex' | 'submitBarBackgroundColor' | 'submitBarButtonWidth' | 'submitBarPriceColor' | 'submitBarPriceFontSize' | 'submitBarCurrencyFontSize' | 'submitBarTextColor' | 'submitBarTextFontSize' | 'submitBarTipPadding' | 'submitBarTipFontSize' | 'submitBarTipLineHeight' | 'submitBarTipColor' | 'submitBarTipBackgroundColor' | 'submitBarTipIconSize' | 'submitBarButtonHeight' | 'submitBarPadding' | 'submitBarPriceIntegerFontSize' | 'submitBarPriceFontFamily';
44
- type TabbarThemeVars = 'tabbarHeight' | 'tabbarBackgroundColor';
45
- type TabbarItemThemeVars = 'tabbarItemFontSize' | 'tabbarItemTextColor' | 'tabbarItemActiveColor' | 'tabbarItemLineHeight' | 'tabbarItemIconSize' | 'tabbarItemMarginBottom';
46
- type TabThemeVars = 'tabTextColor' | 'tabActiveTextColor' | 'tabDisabledTextColor' | 'tabFontSize';
47
- type TabsThemeVars = 'tabsDefaultColor' | 'tabsLineHeight' | 'tabsCardHeight' | 'tabsNavBackgroundColor' | 'tabsBottomBarHeight' | 'tabsBottomBarColor';
48
- type TagThemeVars = 'tagPadding' | 'tagTextColor' | 'tagFontSize' | 'tagBorderRadius' | 'tagLineHeight' | 'tagMediumPadding' | 'tagLargePadding' | 'tagLargeBorderRadius' | 'tagLargeFontSize' | 'tagRoundBorderRadius' | 'tagDangerColor' | 'tagPrimaryColor' | 'tagSuccessColor' | 'tagWarningColor' | 'tagDefaultColor' | 'tagPlainBackgroundColor';
31
+ type TabbarThemeVars = 'tabbarHeight' | 'tabbarBackgroundColor' | 'tabbarBorderColor' | 'tabbarItemFontSize' | 'tabbarItemTextColor' | 'tabbarItemActiveColor' | 'tabbarItemLineHeight' | 'tabbarItemIconSize' | 'tabbarItemMarginBottom';
32
+ type TabThemeVars = 'tabPanelBackgroundColor' | 'tabPanelTextColor' | 'tabTextColor' | 'tabActiveTextColor' | 'tabDisabledTextColor' | 'tabFontSize' | 'tabsCardBackgroundColor' | 'tabsBackgroundColor' | 'tabsDefaultColor' | 'tabsLineHeight' | 'tabsBottomBarHeight' | 'tabsBottomBarColor' | 'tabsCardTextColor' | 'tabsCardTextActiveColor' | 'tabsCardHeight' | 'tabsCardBorderRadius' | 'tabsCardActiveBorderRadius' | 'tabsCardActiveBackgroundColor' | 'tabsCardActiveTop' | 'tabsCardActiveLeft' | 'tabsCardPadding';
33
+ type TagThemeVars = 'tagPadding' | 'tagTextColor' | 'tagBorderRadius' | 'tagLineHeight' | 'tagMediumLineHeight' | 'tagLargeLineHeight' | 'tagFontSize' | 'tagMediumFontSize' | 'tagLargeFontSize' | 'tagRoundBorderRadius' | 'tagDangerColor' | 'tagPrimaryColor' | 'tagSuccessColor' | 'tagWarningColor' | 'tagDefaultColor' | 'tagPlainBackgroundColor';
49
34
  type ToastThemeVars = 'toastMaxWidth' | 'toastFontSize' | 'toastTextColor' | 'toastLineHeight' | 'toastBorderRadius' | 'toastBackgroundColor' | 'toastIconSize' | 'toastTextMinWidth' | 'toastTextPadding' | 'toastDefaultPadding' | 'toastDefaultWidth' | 'toastDefaultMinHeight';
50
- type GridItemThemeVars = 'gridItemContentPadding' | 'gridItemContentBackgroundColor' | 'gridItemContentActiveColor' | 'gridItemIconSize' | 'gridItemTextColor' | 'gridItemTextFontSize';
35
+ type GridThemeVars = 'gridItemContentPadding' | 'gridItemContentBackgroundColor' | 'gridItemContentActiveColor' | 'gridItemIconSize' | 'gridItemTextColor' | 'gridItemTextFontSize';
51
36
  type DividerThemeVars = 'dividerMargin' | 'dividerTextColor' | 'dividerFontSize' | 'dividerLineHeight' | 'dividerBorderColor' | 'dividerContentPadding' | 'dividerContentLeftWidth' | 'dividerContentRightWidth';
52
- type EmptyThemeVars = 'emptyPadding' | 'emptyImageSize' | 'emptyDescriptionMarginTop' | 'emptyDescriptionPadding' | 'emptyDescriptionColor' | 'emptyDescriptionFontSize' | 'emptyDescriptionLineHeight' | 'emptyBottomMarginTop';
53
- type TreeSelectThemeVars = 'treeSelectFontSize' | 'treeSelectNavBackgroundColor' | 'treeSelectContentBackgroundColor' | 'treeSelectNavItemPadding' | 'treeSelectItemHeight' | 'treeSelectItemActiveColor' | 'treeSelectItemDisabledColor';
54
- type UploaderThemeVars = 'uploaderSize' | 'uploaderIconSize' | 'uploaderIconColor' | 'uploaderTextColor' | 'uploaderTextFontSize' | 'uploaderUploadBackgroundColor' | 'uploaderUploadActiveColor' | 'uploaderDeleteColor' | 'uploaderDeleteIconSize' | 'uploaderDeleteBackgroundColor' | 'uploaderFileBackgroundColor' | 'uploaderFileIconSize' | 'uploaderFileIconColor' | 'uploaderFileNamePadding' | 'uploaderFileNameMarginTop' | 'uploaderFileNameFontSize' | 'uploaderFileNameTextColor' | 'uploaderMaskBackgroundColor' | 'uploaderMaskIconSize' | 'uploaderMaskMessageFontSize' | 'uploaderMaskMessageLineHeight' | 'uploaderLoadingIconSize' | 'uploaderLoadingIconColor' | 'uploaderDisabledOpacity';
55
- type DropdownMenuThemeVars = 'dropdownMenuHeight' | 'dropdownMenuBackgroundColor' | 'dropdownMenuTitleFontSize' | 'dropdownMenuTitleTextColor' | 'dropdownMenuTitleActiveTextColor' | 'dropdownMenuTitleDisabledTextColor' | 'dropdownMenuTitlePadding' | 'dropdownMenuTitleLineHeight' | 'dropdownMenuOptionActiveColor' | 'dropdownMenuBoxShadow';
37
+ type EmptyThemeVars = 'emptyImageHeight' | 'emptyImageWidth' | 'emptyTitleColor' | 'emptyTitleFontWeight' | 'emptyTitleFontSize' | 'emptyTitleLineHeight' | 'emptyTitleMarginTop' | 'emptyDescriptionColor' | 'emptyDescriptionFontSize' | 'emptyDescriptionFontWeight' | 'emptyDescriptionLineHeight' | 'emptyDescriptionMarginTop' | 'emptyBottomMarginTop';
38
+ type TreeSelectThemeVars = 'treeSelectFontColor' | 'treeSelectFontSize' | 'treeSelectNavBackgroundColor' | 'treeSelectContentBackgroundColor' | 'treeSelectNavItemPadding' | 'treeSelectItemHeight' | 'treeSelectItemActiveColor' | 'treeSelectItemDisabledColor';
39
+ type DropdownMenuThemeVars = 'dropdownMenuHeight' | 'dropdownMenuBackgroundColor' | 'dropdownMenuTitleFontSize' | 'dropdownMenuTitleTriangleSize' | 'dropdownMenuTitleTriangleMarginLeft' | 'dropdownMenuItemTitleFontSize' | 'dropdownMenuItemTitleFontWeight' | 'dropdownMenuItemTitleLineHeight' | 'dropdownMenuItemLineColor' | 'dropdownMenuItemFirstLineColor' | 'dropdownMenuItemLineWidth' | 'dropdownMenuItemIconFontSize' | 'dropdownMenuItemTitleActiveFontWeight' | 'dropdownMenuTitleTextColor' | 'dropdownMenuTitleActiveTextColor' | 'dropdownMenuTitleDisabledTextColor' | 'dropdownMenuTitlePadding' | 'dropdownMenuTitleLineHeight' | 'dropdownMenuOptionActiveColor';
56
40
  type IndexAnchorThemeVars = 'indexAnchorPadding' | 'indexAnchorTextColor' | 'indexAnchorFontWeight' | 'indexAnchorFontSize' | 'indexAnchorLineHeight' | 'indexAnchorBackgroundColor' | 'indexAnchorActiveBackgroundColor' | 'indexAnchorActiveTextColor';
57
41
  type IndexBarThemeVars = 'indexBarIndexFontSize' | 'indexBarIndexLineHeight';
58
42
  type SkeletonThemeVars = 'skeletonPadding' | 'skeletonRowHeight' | 'skeletonRowBackgroundColor' | 'skeletonRowMarginTop' | 'skeletonAvatarBackgroundColor' | 'skeletonAnimationDuration';
43
+ type CascaderThemeVars = 'cascaderHeaderHeight' | 'cascaderHeaderPadding' | 'cascaderTitleFontSize' | 'cascaderTitleLineHeight' | 'cascaderCloseIconSize' | 'cascaderCloseIconColor' | 'cascaderSelectedIconSize' | 'cascaderTabsHeight' | 'cascaderActiveColor' | 'cascaderOptionsHeight' | 'cascaderOptionDisabledColor' | 'cascaderTabColor' | 'cascaderUnselectedTabColor' | 'cascaderTabInactiveColor' | 'cascaderTextColor';
44
+ type CustomKeyboardThemeVars = 'customKeyboardBgColor' | 'customKeyboardTextColor' | 'customKeyboardBorderColor' | 'customKeyboardPlaceholderColor' | 'customKeyboardPopupBgColor' | 'customKeyboardPopupItemColor' | 'customKeyboardPopupConfirmColor' | 'customKeyboardPopupTextColor' | 'customKeyboardPopupHoverColor';
59
45
  /**
60
46
  * 主题变量
61
47
  */
62
- export type ThemeVars = Record<ColorPaletteThemeVars | GradientColorsThemeVars | ComponentColorsThemeVars | PaddingThemeVars | FontThemeVars | AnimationThemeVars | BorderThemeVars | ActionSheetThemeVars | ButtonThemeVars | CalendarThemeVars | CardThemeVars | CellThemeVars | CellGroupThemeVars | CheckboxThemeVars | CircleThemeVars | CollapseThemeVars | CountDownThemeVars | DialogThemeVars | FieldThemeVars | GoodsActionThemeVars | ImageThemeVars | InfoThemeVars | LoadingThemeVars | NavBarThemeVars | NoticeBarThemeVars | NotifyThemeVars | OverlayThemeVars | PanelThemeVars | PickerThemeVars | PopupThemeVars | ProgressThemeVars | RadioThemeVars | RateThemeVars | SwitchThemeVars | ShareSheetThemeVars | SearchThemeVars | SidebarThemeVars | SidebarItemThemeVars | SliderThemeVars | StepThemeVars | StepsThemeVars | StepperThemeVars | SubmitBarThemeVars | TabbarThemeVars | TabbarItemThemeVars | TabThemeVars | TabsThemeVars | TagThemeVars | ToastThemeVars | GridItemThemeVars | DividerThemeVars | EmptyThemeVars | TreeSelectThemeVars | UploaderThemeVars | DropdownMenuThemeVars | IndexAnchorThemeVars | IndexBarThemeVars | SkeletonThemeVars, string>;
48
+ export type ThemeVars = Record<CommonThemeVars | IconThemeVars | ActionSheetThemeVars | BottomSheetThemeVars | ButtonThemeVars | CalendarThemeVars | CellThemeVars | CheckboxThemeVars | CircleThemeVars | CollapseThemeVars | CountDownThemeVars | DialogThemeVars | FieldThemeVars | ImageThemeVars | LoadingThemeVars | NavBarThemeVars | NoticeBarThemeVars | NotifyThemeVars | OverlayThemeVars | PickerThemeVars | PopupThemeVars | ProgressThemeVars | RadioThemeVars | RateThemeVars | SwitchThemeVars | SearchThemeVars | SidebarThemeVars | SliderThemeVars | StepperThemeVars | StepsThemeVars | TabbarThemeVars | TabThemeVars | TagThemeVars | ToastThemeVars | GridThemeVars | DividerThemeVars | EmptyThemeVars | TreeSelectThemeVars | DropdownMenuThemeVars | IndexAnchorThemeVars | IndexBarThemeVars | SkeletonThemeVars | CascaderThemeVars | CustomKeyboardThemeVars, string>;
63
49
  export {};
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.1.8",
3
+ "version": "2.1.9-beta-2",
4
4
  "author": "睦海(李利民)",
5
5
  "description": "轻量、可靠的智能小程序 UI 组件库",
6
6
  "scripts": {
7
+ "postinstall": "node ./build/postinstall.js",
7
8
  "dev": "tsc -w -p tsconfig.build.json",
8
9
  "build": "rimraf dist && tsc -p tsconfig.build.json",
9
10
  "build:tuya": "yarn build && cd ./example && ray build --target=tuya"