@ray-js/smart-ui 2.3.4-beta-6 → 2.3.4-beta-8

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,4 +1,4 @@
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';
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' | 'smartDialogRoundButtonBorderRadius' | '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
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';
@@ -9,7 +9,7 @@ type CheckboxThemeVars = 'checkboxSize' | 'checkboxBorderColor' | 'checkboxBorde
9
9
  type CircleThemeVars = 'circleTextColor';
10
10
  type CollapseThemeVars = 'collapseItemTransitionDuration' | 'collapseItemContentPadding' | 'collapseItemContentFontSize' | 'collapseItemContentLineHeight' | 'collapseItemContentTextColor' | 'collapseItemContentBackgroundColor' | 'collapseItemTitleDisabledColor';
11
11
  type CountDownThemeVars = 'countDownTextColor' | 'countDownFontSize' | 'countDownLineHeight';
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';
12
+ type DialogThemeVars = 'dialogWidth' | 'dialogSmallScreenWidth' | 'dialogFontSize' | 'dialogBorderRadius' | 'dialogBackgroundColor' | 'dialogHeaderFontColor' | 'dialogHeaderFontWeight' | 'dialogHeaderLineHeight' | 'dialogHeaderPaddingTop' | 'dialogHeaderPadding' | 'dialogHeaderIsolatedPadding' | 'dialogMessagePadding' | 'dialogMessageFontSize' | 'dialogMessageLineHeight' | 'dialogMessageMaxHeight' | 'dialogMessageTextColor' | 'dialogHasTitleMessageFontSize' | 'dialogHasTitleMessageTextColor' | 'dialogHasTitleMessagePaddingTop' | 'dialogHeaderIconSize' | 'dialogInputHeight' | 'dialogInputBackgroundColor' | 'dialogInputMargin' | 'dialogInputPadding' | 'dialogInputBorderRadius' | 'dialogInputFontSize';
13
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
14
  type ImageThemeVars = 'imagePlaceholderTextColor' | 'imagePlaceholderFontSize' | 'imagePlaceholderBackgroundColor' | 'imageLoadingIconSize' | 'imageLoadingIconColor' | 'imageErrorSize';
15
15
  type LoadingThemeVars = 'loadingTextColor' | 'loadingTextFontSize' | 'loadingTextLineHeight' | 'loadingSpinnerColor' | 'loadingSpinnerSize' | 'loadingSpinnerAnimationDuration';
@@ -28,8 +28,8 @@ type SidebarThemeVars = 'sidebarWidth' | 'sidebarFontSize' | 'sidebarLineHeight'
28
28
  type SliderThemeVars = 'sliderActiveBackgroundColor' | 'sliderInactiveBackgroundColor' | 'sliderDisabledOpacity' | 'sliderBarHeight' | 'sliderButtonWidth' | 'sliderButtonHeight' | 'sliderButtonBorderRadius' | 'sliderButtonBackgroundColor' | 'sliderButtonBoxShadow' | 'sliderThumbColor';
29
29
  type StepperThemeVars = 'stepperContainerBackgroundColor' | 'stepperBackgroundBorderRadius' | 'stepperPadding' | 'stepperActiveColor' | 'stepperBackgroundColor' | 'stepperButtonIconColor' | 'stepperButtonBorder' | 'stepperButtonDisabledColor' | 'stepperButtonDisabledIconColor' | 'stepperButtonRoundThemeColor' | 'stepperBtnWidth' | 'stepperBtnHeight' | 'stepperInputWidth' | 'stepperInputHeight' | 'stepperInputFontSize' | 'stepperInputLineHeight' | 'stepperInputTextColor' | 'stepperInputDisabledTextColor' | 'stepperBorderRadius' | 'stepperButtonIconFontSize';
30
30
  type StepsThemeVars = 'stepsBackgroundColor';
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';
31
+ type TabbarThemeVars = 'tabbarHeight' | 'tabbarBackgroundColor' | 'tabbarBorderColor' | 'tabbarItemFontSize' | 'tabbarItemDisabledOpacity' | 'tabbarItemTextColor' | 'tabbarItemActiveColor' | 'tabbarItemLineHeight' | 'tabbarItemIconSize' | 'tabbarItemMarginBottom';
32
+ type TabThemeVars = 'tabPanelBackgroundColor' | 'tabPanelTextColor' | 'tabTextColor' | 'tabActiveTextColor' | 'tabDisabledTextColor' | 'tabFontSize' | 'tabsCardBackgroundColor' | 'tabsBackgroundColor' | 'tabsDefaultColor' | 'tabsLineHeight' | 'tabsSubLineHeight' | 'tabsBottomBarHeight' | 'tabsBottomBarColor' | 'tabsCardTextColor' | 'tabsCardTextActiveColor' | 'tabsCardHeight' | 'tabsCardBorderRadius' | 'tabsCardActiveBorderRadius' | 'tabsCardActiveBackgroundColor' | 'tabsCardActiveTop' | 'tabsCardActiveLeft' | 'tabsCardPadding';
33
33
  type TagThemeVars = 'tagPadding' | 'tagTextColor' | 'tagBorderRadius' | 'tagLineHeight' | 'tagMediumLineHeight' | 'tagLargeLineHeight' | 'tagFontSize' | 'tagMediumFontSize' | 'tagLargeFontSize' | 'tagRoundBorderRadius' | 'tagDangerColor' | 'tagPrimaryColor' | 'tagSuccessColor' | 'tagWarningColor' | 'tagDefaultColor' | 'tagPlainBackgroundColor';
34
34
  type ToastThemeVars = 'toastMaxWidth' | 'toastFontSize' | 'toastTextColor' | 'toastLineHeight' | 'toastBorderRadius' | 'toastBackgroundColor' | 'toastIconSize' | 'toastTextMinWidth' | 'toastTextPadding' | 'toastDefaultPadding' | 'toastDefaultWidth' | 'toastDefaultMinHeight';
35
35
  type GridThemeVars = 'gridItemContentPadding' | 'gridItemContentBackgroundColor' | 'gridItemContentActiveColor' | 'gridItemIconSize' | 'gridItemTextColor' | 'gridItemTextFontSize';
@@ -52,7 +52,7 @@ export { SmartSwitch, SmartSwitchEvents, SmartSwitchExternalClassName, SmartSwit
52
52
  export { SmartTab, SmartTabProps } from './tab';
53
53
  export { SmartTabbar, SmartTabbarEvents, SmartTabbarProps, SmartTabbarChangeEvent } from './tabbar';
54
54
  export { SmartTabbarItem, SmartTabbarItemProps } from './tabbar-item';
55
- export { SmartTabs, SmartTabsEvents, SmartTabsExternalClassName, SmartTabsProps, SmartTabsScrollEventDetail, SmartTabsBaseEventDetail, } from './tabs';
55
+ export { SmartTabs, SmartTabsEvents, SmartTabsExternalClassName, SmartTabsProps, SmartTabsScrollEventDetail, SmartTabsBaseEventDetail, SmartTabsBeforeEventDetail, } from './tabs';
56
56
  export { SmartTag, SmartTagEvents, SmartTagExternalClassName, SmartTagProps } from './tag';
57
57
  export { SmartToast, SmartToastOptions, ToastInstance } from './toast/toast';
58
58
  export { SmartTransition, SmartTransitionEvents, SmartTransitionExternalClassName, SmartTransitionProps, } from './transition';
@@ -184,6 +184,10 @@ export interface SmartTabsExternalClassName extends SmartBaseExternalClassName {
184
184
  * 标签栏样式类
185
185
  */
186
186
  navClass?: string;
187
+ /**
188
+ * 标签栏根节点样式类
189
+ */
190
+ wrapClass?: string;
187
191
  /**
188
192
  * 标签样式类
189
193
  */
@@ -1,4 +1,9 @@
1
1
  export interface SmartToastOptions {
2
+ show?: boolean;
3
+ /**
4
+ * 组件id
5
+ *
6
+ */
2
7
  id?: string;
3
8
  /**
4
9
  * 提示类型
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.3.4-beta-6",
3
+ "version": "2.3.4-beta-8",
4
4
  "description": "轻量、可靠的智能小程序 UI 组件库",
5
5
  "scripts": {
6
6
  "syncMiniappData": "node ./build/syncMiniappData.js",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@ray-js/components-ty-slider": "^0.3.2",
39
- "@tuya-miniapp/smart-ui": "2.3.4-beta-4",
39
+ "@tuya-miniapp/smart-ui": "2.3.4-beta-6",
40
40
  "lodash-es": "^4.17.21"
41
41
  },
42
42
  "devDependencies": {