@nutui/nutui-react 2.0.0-alpha.11 → 2.0.0-alpha.13
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/CHANGELOG.md +28 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/ActionSheet.js +28 -37
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/AnimatingNumbers/style/style.css +1 -1
- package/dist/esm/AnimatingNumbers.js +22 -26
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/CountDown/style/style.css +1 -1
- package/dist/esm/CountDown.js +20 -15
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/Ellipsis/style/style.css +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/SearchBar.js +33 -87
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +65 -133
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Toast.js +86 -102
- package/dist/esm/TrendArrow/style/style.css +1 -1
- package/dist/esm/TrendArrow.js +30 -35
- package/dist/esm/Video.js +8 -12
- package/dist/esm/VirtualList/style/style.css +1 -1
- package/dist/esm/VirtualList.js +29 -25
- package/dist/esm/WaterMark.js +8 -11
- package/dist/esm/types/src/packages/actionsheet/actionsheet.d.ts +11 -15
- package/dist/esm/types/src/packages/actionsheet/actionsheet.taro.d.ts +11 -15
- package/dist/esm/types/src/packages/actionsheet/index.d.ts +1 -0
- package/dist/esm/types/src/packages/actionsheet/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/animatingnumbers/countup.d.ts +7 -8
- package/dist/esm/types/src/packages/animatingnumbers/countup.taro.d.ts +7 -8
- package/dist/esm/types/src/packages/animatingnumbers/demo.d.ts +1 -0
- package/dist/esm/types/src/packages/animatingnumbers/demo.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/animatingnumbers/index.d.ts +1 -0
- package/dist/esm/types/src/packages/animatingnumbers/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/avatargroup/avatargroup.taro.d.ts +13 -0
- package/dist/esm/types/src/packages/avatargroup/index.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/configprovider/configprovider.d.ts +2 -1
- package/dist/esm/types/src/packages/configprovider/configprovider.taro.d.ts +2 -1
- package/dist/esm/types/src/packages/configprovider/index.d.ts +1 -0
- package/dist/esm/types/src/packages/configprovider/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -0
- package/dist/esm/types/src/packages/countdown/countdown.d.ts +5 -4
- package/dist/esm/types/src/packages/countdown/countdown.taro.d.ts +5 -4
- package/dist/esm/types/src/packages/countdown/index.d.ts +1 -0
- package/dist/esm/types/src/packages/countdown/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/ellipsis/ellipsis.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/searchbar/index.d.ts +1 -0
- package/dist/esm/types/src/packages/searchbar/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/searchbar/searchbar.d.ts +4 -31
- package/dist/esm/types/src/packages/searchbar/searchbar.taro.d.ts +4 -31
- package/dist/esm/types/src/packages/shortpassword/index.d.ts +1 -0
- package/dist/esm/types/src/packages/shortpassword/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/shortpassword/shortpassword.d.ts +17 -20
- package/dist/esm/types/src/packages/shortpassword/shortpassword.taro.d.ts +17 -20
- package/dist/esm/types/src/packages/toast/Notification.d.ts +9 -13
- package/dist/esm/types/src/packages/toast/index.d.ts +1 -0
- package/dist/esm/types/src/packages/toast/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/toast/toast.d.ts +19 -26
- package/dist/esm/types/src/packages/toast/toast.taro.d.ts +9 -11
- package/dist/esm/types/src/packages/trendarrow/trendarrow.d.ts +8 -10
- package/dist/esm/types/src/packages/trendarrow/trendarrow.taro.d.ts +8 -10
- package/dist/esm/types/src/packages/video/index.d.ts +1 -0
- package/dist/esm/types/src/packages/video/index.taro.d.ts +2 -1
- package/dist/esm/types/src/packages/video/video.d.ts +5 -9
- package/dist/esm/types/src/packages/video/video.taro.d.ts +6 -9
- package/dist/esm/types/src/packages/virtuallist/index.d.ts +1 -0
- package/dist/esm/types/src/packages/virtuallist/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/virtuallist/type.d.ts +0 -18
- package/dist/esm/types/src/packages/virtuallist/utils.d.ts +3 -3
- package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +15 -4
- package/dist/esm/types/src/packages/virtuallist/virtuallist.taro.d.ts +13 -14
- package/dist/esm/types/src/packages/watermark/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/watermark/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/watermark/index.d.ts +1 -0
- package/dist/esm/types/src/packages/watermark/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/watermark/watermark.d.ts +3 -4
- package/dist/esm/types/src/packages/watermark/watermark.taro.d.ts +3 -4
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +10 -2
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +525 -590
- package/dist/nutui.react.umd.js +525 -590
- package/dist/packages/actionsheet/actionsheet.scss +26 -73
- package/dist/packages/animatingnumbers/countup.scss +0 -21
- package/dist/packages/countdown/countdown.scss +2 -0
- package/dist/packages/ellipsis/ellipsis.scss +4 -0
- package/dist/packages/popup/popup.scss +98 -47
- package/dist/packages/searchbar/searchbar.scss +13 -71
- package/dist/packages/shortpassword/shortpassword.scss +1 -88
- package/dist/packages/toast/toast.scss +20 -7
- package/dist/packages/trendarrow/trendarrow.scss +4 -3
- package/dist/packages/virtuallist/virtuallist.scss +0 -12
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables-jmapp.scss +58 -68
- package/dist/styles/variables.scss +32 -61
- package/dist/types/packages/actionsheet/actionsheet.d.ts +44 -16
- package/dist/types/packages/actionsheet/index.d.ts +1 -0
- package/dist/types/packages/animate/animate.d.ts +20 -4
- package/dist/types/packages/animatingnumbers/countup.d.ts +7 -8
- package/dist/types/packages/animatingnumbers/index.d.ts +1 -0
- package/dist/types/packages/audio/audio.d.ts +60 -12
- package/dist/types/packages/avatar/avatar.d.ts +50 -10
- package/dist/types/packages/avatargroup/avatargroup.d.ts +40 -8
- package/dist/types/packages/backtop/backtop.d.ts +25 -5
- package/dist/types/packages/badge/badge.d.ts +30 -6
- package/dist/types/packages/button/button.d.ts +50 -10
- package/dist/types/packages/cascader/cascader.d.ts +85 -17
- package/dist/types/packages/cell/cell.d.ts +30 -6
- package/dist/types/packages/cellgroup/cellgroup.d.ts +15 -3
- package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +40 -8
- package/dist/types/packages/circleprogress/circleprogress.d.ts +35 -7
- package/dist/types/packages/col/col.d.ts +15 -3
- package/dist/types/packages/collapse/collapse.d.ts +25 -5
- package/dist/types/packages/collapseitem/collapseitem.d.ts +20 -4
- package/dist/types/packages/configprovider/configprovider.d.ts +11 -2
- package/dist/types/packages/configprovider/index.d.ts +1 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -0
- package/dist/types/packages/countdown/countdown.d.ts +68 -15
- package/dist/types/packages/countdown/index.d.ts +1 -0
- package/dist/types/packages/divider/divider.d.ts +10 -2
- package/dist/types/packages/drag/drag.d.ts +15 -3
- package/dist/types/packages/elevator/elevator.d.ts +45 -9
- package/dist/types/packages/ellipsis/ellipsis.d.ts +45 -9
- package/dist/types/packages/empty/empty.d.ts +20 -4
- package/dist/types/packages/fixednav/fixednav.d.ts +50 -10
- package/dist/types/packages/grid/grid.d.ts +35 -7
- package/dist/types/packages/griditem/griditem.d.ts +5 -1
- package/dist/types/packages/image/image.d.ts +65 -13
- package/dist/types/packages/imagepreview/imagepreview.d.ts +50 -10
- package/dist/types/packages/indicator/indicator.d.ts +15 -3
- package/dist/types/packages/input/input.d.ts +100 -20
- package/dist/types/packages/inputnumber/inputnumber.d.ts +85 -17
- package/dist/types/packages/menu/menu.d.ts +25 -5
- package/dist/types/packages/menuitem/menuitem.d.ts +35 -7
- package/dist/types/packages/noticebar/noticebar.d.ts +60 -12
- package/dist/types/packages/notify/notify.d.ts +25 -5
- package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +50 -10
- package/dist/types/packages/overlay/overlay.d.ts +40 -8
- package/dist/types/packages/pagination/pagination.d.ts +55 -11
- package/dist/types/packages/picker/picker.d.ts +55 -11
- package/dist/types/packages/popup/popup.d.ts +75 -15
- package/dist/types/packages/price/price.d.ts +35 -7
- package/dist/types/packages/progress/progress.d.ts +40 -8
- package/dist/types/packages/pulltorefresh/pulltorefresh.d.ts +50 -10
- package/dist/types/packages/radio/radio.d.ts +45 -9
- package/dist/types/packages/radiogroup/radiogroup.d.ts +30 -6
- package/dist/types/packages/range/range.d.ts +80 -16
- package/dist/types/packages/rate/rate.d.ts +50 -10
- package/dist/types/packages/searchbar/index.d.ts +1 -0
- package/dist/types/packages/searchbar/searchbar.d.ts +76 -45
- package/dist/types/packages/shortpassword/index.d.ts +1 -0
- package/dist/types/packages/shortpassword/shortpassword.d.ts +89 -24
- package/dist/types/packages/skeleton/skeleton.d.ts +35 -7
- package/dist/types/packages/step/step.d.ts +20 -4
- package/dist/types/packages/steps/steps.d.ts +15 -3
- package/dist/types/packages/sticky/sticky.d.ts +25 -5
- package/dist/types/packages/swipe/swipe.d.ts +47 -11
- package/dist/types/packages/swiper/swiper.d.ts +65 -13
- package/dist/types/packages/switch/switch.d.ts +30 -6
- package/dist/types/packages/tabbar/tabbar.d.ts +35 -7
- package/dist/types/packages/tabbaritem/tabbaritem.d.ts +10 -2
- package/dist/types/packages/tabpane/tabpane.d.ts +15 -3
- package/dist/types/packages/tabs/tabs.d.ts +60 -12
- package/dist/types/packages/textarea/textarea.d.ts +60 -12
- package/dist/types/packages/toast/Notification.d.ts +9 -13
- package/dist/types/packages/toast/index.d.ts +1 -0
- package/dist/types/packages/toast/toast.d.ts +19 -26
- package/dist/types/packages/trendarrow/trendarrow.d.ts +57 -15
- package/dist/types/packages/uploader/uploader.d.ts +180 -36
- package/dist/types/packages/video/index.d.ts +1 -0
- package/dist/types/packages/video/video.d.ts +27 -11
- package/dist/types/packages/virtuallist/index.d.ts +1 -0
- package/dist/types/packages/virtuallist/type.d.ts +0 -18
- package/dist/types/packages/virtuallist/utils.d.ts +3 -3
- package/dist/types/packages/virtuallist/virtuallist.d.ts +51 -4
- package/dist/types/packages/watermark/index.d.ts +1 -0
- package/dist/types/packages/watermark/watermark.d.ts +72 -17
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type NutCSSVariables = 'nutuiBrandColor' | 'nutuiBrandColorStart' | 'nutuiBrandColorEnd' | 'nutuiBrandLinkColor' | 'nutuiBrandTextColor' | 'nutuiGray0' | 'nutuiGray1' | 'nutuiGray2' | 'nutuiGray3' | 'nutuiGray4' | 'nutuiGray5' | 'nutuiGray6' | 'nutuiGray7' | 'nutuiGray8' | 'nutuiGray9' | 'nutuiGray10' | 'nutuiFontSize0' | 'nutuiFontSize1' | 'nutuiFontSize2' | 'nutuiFontSize3' | 'nutuiFontSize4' | 'nutuiFontWeightBold' | 'nutuiLineHeightBase' | 'nutuiPaddingXs' | 'nutuiButtonBorderRadius' | 'nutuiButtonBorderWidth' | 'nutuiButtonDefaultBgColor' | 'nutuiButtonDefaultBorderColor' | 'nutuiButtonDefaultColor' | 'nutuiButtonPlainColor' | 'nutuiButtonDefaultPadding' | 'nutuiButtonMiniPadding' | 'nutuiButtonSmallPadding' | 'nutuiButtonSmallHeight' | 'nutuiButtonMiniHeight' | 'nutuiButtonDefaultHeight' | 'nutuiButtonLargeHeight' | 'nutuiButtonLargeLineHeight' | 'nutuiButtonSmallLineHeight' | 'nutuiButtonBlockHeight' | 'nutuiButtonDefaultLineHeight' | 'nutuiButtonBlockLineHeight' | 'nutuiButtonDefaultFontSize' | 'nutuiButtonLargeFontSize' | 'nutuiButtonSmallFontSize' | 'nutuiButtonMiniFontSize' | 'nutuiButtonMiniLineHeight' | 'nutuiButtonTextIconMarginLeft' | 'nutuiButtonTextIconLargeMarginLeft' | 'nutuiButtonTextIconSmallMarginLeft' | 'nutuiButtonTextIconMiniMarginLeft' | 'nutuiButtonDisabledOpacity' | 'nutuiButtonPrimaryColor' | 'nutuiButtonPrimaryBorderColor' | 'nutuiButtonInfoColor' | 'nutuiButtonInfoBorderColor' | 'nutuiButtonSuccessColor' | 'nutuiButtonSuccessBorderColor' | 'nutuiButtonDangerColor' | 'nutuiButtonDangerBorderColor' | 'nutuiButtonDangerBackgroundColor' | 'nutuiButtonWarningColor' | 'nutuiButtonWarningBorderColor' | 'nutuiCellTitleColor' | 'nutuiCellTitleFontSize' | 'nutuiCellDescriptionFontSize' | 'nutuiCellDescriptionColor' | 'nutuiCellExtraFontSize' | 'nutuiCellExtraColor' | 'nutuiCellBorderRadius' | 'nutuiCellPadding' | 'nutuiCellLineHeight' | 'nutuiCellDividerRight' | 'nutuiCellDividerLeft' | 'nutuiCellDividerBorderBottom' | 'nutuiCellBackgroundColor' | 'nutuiCellBoxShadow' | 'nutuiCellGroupTitlePadding' | 'nutuiCellGroupTitleColor' | 'nutuiCellGroupTitleFontSize' | 'nutuiCellGroupTitleLineHeight' | 'nutuiCellGroupDescriptionPadding' | 'nutuiCellGroupDescriptionColor' | 'nutuiCellGroupDescriptionFontSize' | 'nutuiCellGroupDescriptionLineHeight' | 'nutuiCellGroupBackgroundColor' | 'nutuiDividerMargin' | 'nutuiDividerTextFontSize' | 'nutuiDividerTextColor' | 'nutuiDividerLineHeight' | 'nutuiDividerBeforeMarginRight' | 'nutuiDividerAfterMarginLeft' | 'nutuiDividerVerticalHeight' | 'nutuiDividerVerticalTop' | 'nutuiDividerVerticalBorderLeft' | 'nutuiDividerVerticalMargin' | 'nutuiIconHeight' | 'nutuiIconWidth' | 'nutuiIconLineHeight' | 'nutuiUploaderPictureWidth' | 'nutuiUploaderPictureHeight' | 'nutuiUploaderPictureBorder' | 'nutuiUploaderPictureBorderRadius' | 'nutuiUploaderBackground' | 'nutuiUploaderBackgroundDisabled' | 'nutuiUploaderPictureIconOpacity' | 'nutuiUploaderPictureIconOpacityDisabled' | 'nutuiUploaderPictureIconMarginBottom' | 'nutuiUploaderPictureIconTipFontSize' | 'nutuiUploaderPictureIconTipColor' | 'nutuiUploaderPreviewProgressBackground' | 'nutuiUploaderPreviewMarginRight' | 'nutuiUploaderPreviewMarginBottom' | 'nutuiUploaderPreviewTipsHeight' | 'nutuiUploaderPreviewTipsBackground' | 'nutuiUploaderPreviewTipsPadding' | 'nutuiUploaderPreviewCloseRight' | 'nutuiUploaderPreviewCloseTop' | 'nutuiPickerCancelColor' | 'nutuiPickerOkColor' | 'nutuiPickerBarCancelFontSize' | 'nutuiPickerBarOkFontSize' | 'nutuiPickerBarButtonPadding' | 'nutuiPickerBarTitleFontSize' | 'nutuiPickerBarTitleColor' | 'nutuiPickerBarTitleFontWeight' | 'nutuiPickerListHeight' | 'nutuiPickerItemHeight' | 'nutuiPickerItemTextColor' | 'nutuiPickerItemActiveTextColor' | 'nutuiPickerItemTextFontSize' | 'nutuiPickerItemActiveLineBorder' | 'nutuiInputBorderBottom' | 'nutuiInputBorderBottomWidth' | 'nutuiInputDisabledColor' | 'nutuiInputFontSize' | 'nutuiInputPadding' | 'nutuiTextareaFont' | 'nutuiTextareaHeight' | 'nutuiTextareaPadding' | 'nutuiTextareaLimitColor' | 'nutuiTextareaTextColor' | 'nutuiTextareaTextCurrorColor' | 'nutuiTextareaTextLineHeight' | 'nutuiTextareaDisabledColor' | 'nutuiInputnumberButtonWidth' | 'nutuiInputnumberButtonHeight' | 'nutuiInputnumberButtonBorderRadius' | 'nutuiInputnumberButtonBackgroundColor' | 'nutuiInputnumberIconColor' | 'nutuiInputnumberIconVoidColor' | 'nutuiInputnumberIconDisabledColor' | 'nutuiInputnumberIconSize' | 'nutuiInputnumberInputFontSize' | 'nutuiInputnumberInputFontColor' | 'nutuiInputnumberInputBackgroundColor' | 'nutuiInputnumberInputBorderRadius' | 'nutuiInputnumberInputWidth' | 'nutuiInputnumberInputHeight' | 'nutuiInputnumberInputMargin' | 'nutuiInputnumberInputBorder' | 'nutuiInputnumberBorder' | 'nutuiInputnumberBorderRadius' | 'nutuiInputnumberHeight' | 'nutuiInputnumberLineHeight' | 'nutuiInputnumberBorderBox' | 'nutuiInputnumberDisplay' | 'nutuiActionsheetBorderColor' | 'nutuiActionsheetItemTextAlign' | 'nutuiActionsheetItemBorderBottom' | 'nutuiActionsheetItemLineHeight' | 'nutuiActionsheetItemColor' | 'nutuiActionsheetItemDanger' | 'nutuiShortpasswordBackgroundColor' | 'nutuiShortpasswordBorderColor' | 'nutuiShortpasswordError' | 'nutuiShortpasswordForget' | 'nutuiNumberkeyboardWidth' | 'nutuiNumberkeyboardPadding' | 'nutuiNumberkeyboardBackgroundColor' | 'nutuiNumberkeyboardHeaderHeight' | 'nutuiNumberkeyboardHeaderPadding' | 'nutuiNumberkeyboardHeaderColor' | 'nutuiNumberkeyboardHeaderFontSize' | 'nutuiNumberkeyboardHeaderClosePadding' | 'nutuiNumberkeyboardHeaderCloseColor' | 'nutuiNumberkeyboardHeaderCloseFontSize' | 'nutuiNumberkeyboardHeaderCloseBackgroundColor' | 'nutuiNumberkeyboardKeyBackgroundColor' | 'nutuiNumberkeyboardKeyActiveBackgroundColor' | 'nutuiNumberkeyboardKeyHeight' | 'nutuiNumberkeyboardKeyLineHeight' | 'nutuiNumberkeyboardKeyBorderRadius' | 'nutuiNumberkeyboardKeyFontSize' | 'nutuiNumberkeyboardKeyFontColor' | 'nutuiNumberkeyboardKeyConfirmFontSize' | 'nutuiNumberkeyboardKeyConfirmFontColor' | 'nutuiNumberkeyboardKeyConfirmBackgroundColor' | 'nutuiCountdownDisplay' | 'nutuiCountdownColor' | 'nutuiCountdownFontSize' | 'nutuiPriceSymbolPaddingRight' | 'nutuiPriceSymbolBigSize' | 'nutuiPriceIntegerBigSize' | 'nutuiPriceDecimalBigSize' | 'nutuiPriceLineColor' | 'nutuiPriceLineFontSize' | 'nutuiPriceSymbolMediumSize' | 'nutuiPriceIntegerMediumSize' | 'nutuiPriceDecimalMediumSize' | 'nutuiPriceSymbolSmallSize' | 'nutuiPriceIntegerSmallSize' | 'nutuiPriceDecimalSmallSize' | 'nutuiAvatarSquare' | 'nutuiAvatarLargeWidth' | 'nutuiAvatarLargeHeight' | 'nutuiAvatarSmallWidth' | 'nutuiAvatarSmallHeight' | 'nutuiAvatarNormalWidth' | 'nutuiAvatarNormalHeight' | 'nutuiSwitchCloseBackgroundColor' | 'nutuiSwitchOpenBackgroundColor' | 'nutuiSwitchCloseLineBgColor' | 'nutuiSwitchWidth' | 'nutuiSwitchHeight' | 'nutuiSwitchLineHeight' | 'nutuiSwitchBorderRadius' | 'nutuiSwitchInsideWidth' | 'nutuiSwitchInsideHeight' | 'nutuiSwitchInsideOpenTransform' | 'nutuiSwitchInsideCloseTransform' | 'nutuiToastTitleFontSize' | 'nutuiToastTextFontSize' | 'nutuiToastFontColor' | 'nutuiToastInnerPadding' | 'nutuiToastInnerBgColor' | 'nutuiToastInnerBorderRadius' | 'nutuiToastCoverBgColor' | 'nutuiToastInnerTop' | 'nutuiToastInnerTextAlign' | 'nutuiBacktopBorderColor' | 'nutuiCalendarPrimaryColor' | 'nutuiCalendarChooseColor' | 'nutuiCalendarChooseFontColor' | 'nutuiCalendarBaseColor' | 'nutuiCalendarDisableColor' | 'nutuiCalendarBaseFont' | 'nutuiCalendarTitleFont' | 'nutuiCalendarTitleFontWeight' | 'nutuiCalendarSubTitleFont' | 'nutuiCalendarTextFont' | 'nutuiCalendarDayFont' | 'nutuiCalendarDayActiveBorderRadius' | 'nutuiCalendarDayWidth' | 'nutuiCalendarDayHeight' | 'nutuiCalendarDayFontWeight' | 'nutuiCalendarDay67FontColor' | 'nutuiCalendarTopSlotHeight' | 'nutuiCalendarMonthTitleFontSize' | 'nutuiOverlayBgColor' | 'nutuiOverlayContentBgColor' | 'nutuiOverlayContentColor' | 'nutuiPopupCloseIconMargin' | 'nutuiPopupBorderRadius' | 'nutuiPopupCloseIconColor' | 'nutuiPopupCloseIconSize' | 'nutuiNotifyTextColor' | 'nutuiNotifyPadding' | 'nutuiNotifyFontSize' | 'nutuiNotifyHeight' | 'nutuiNotifyLineHeight' | 'nutuiNotifyBaseBackgroundColor' | 'nutuiNotifyPrimaryBackgroundColor' | 'nutuiNotifySuccessBackgroundColor' | 'nutuiNotifyDangerBackgroundColor' | 'nutuiNotifyWarningBackgroundColor' | 'nutuiRateItemMargin' | 'nutuiRateIconColor' | 'nutuiRateIconVoidColor' | 'nutuiTabbarHeight' | 'nutuiTabbarActiveColor' | 'nutuiTabbarInactiveColor' | 'nutuiTabbarBorderTop' | 'nutuiTabbarBorderBottom' | 'nutuiTabbarBoxShadow' | 'nutuiTabbarTextFontSize' | 'nutuiTabbarTextLargeFontSize' | 'nutuiTabbarTextLineHeight' | 'nutuiTabbarTextMarginTop' | 'nutuiInfiniteloadingBottomColor' | 'nutuiRangeFontColor' | 'nutuiRangeHeight' | 'nutuiRangeMargin' | 'nutuiRangeInactiveColor' | 'nutuiRangeActiveColor' | 'nutuiRangeButtonBackground' | 'nutuiRangeButtonWidth' | 'nutuiRangeButtonHeight' | 'nutuiRangeButtonBorder' | 'nutuiSwiperIndicatorBottom' | 'nutuiSwiperIndicatorItemBackgroundColor' | 'nutuiAddressIconColor' | 'nutuiAddressHeaderTitleFontSize' | 'nutuiAddressHeaderTitleColor' | 'nutuiAddressRegionTabFontSize' | 'nutuiAddressRegionTabColor' | 'nutuiAddressRegionTabActiveItemFontWeight' | 'nutuiAddressRegionTabLineBorderRadius' | 'nutuiAddressRegionTabLineOpacity' | 'nutuiAddressRegionItemColor' | 'nutuiAddressRegionItemFontSize' | 'nutuiAddressItemMarginRight' | 'nutuiStepsBaseIconWidth' | 'nutuiStepsBaseIconHeight' | 'nutuiStepsBaseIconLineHeight' | 'nutuiStepsBaseIconMarginBottom' | 'nutuiStepsBaseIconFontSize' | 'nutuiStepsBaseLineWidth' | 'nutuiStepsBaseLineHeight' | 'nutuiStepsBaseLineBackground' | 'nutuiStepsBaseTitleFontSize' | 'nutuiStepsBaseTitleColor' | 'nutuiStepsBaseTitleMarginBottom' | 'nutuiStepsBaseDescriptionFontSize' | 'nutuiStepsBaseDescriptionColor' | 'nutuiStepsWaitIconBgColor' | 'nutuiStepsWaitIconColor' | 'nutuiStepsWaitTitleColor' | 'nutuiStepsWaitDescriptionColor' | 'nutuiStepsProcessIconBgColor' | 'nutuiStepsProcessIconColor' | 'nutuiStepsProcessTitleColor' | 'nutuiStepsProcessTitleFontSize' | 'nutuiStepsProcessTitleFontWeight' | 'nutuiStepsProcessDescriptionColor' | 'nutuiStepsFinishIconBgColor' | 'nutuiStepsFinishIconColor' | 'nutuiStepsFinishTitleColor' | 'nutuiStepsFinishDescriptionColor' | 'nutuiStepsFinishLineBackground' | 'nutuiStepsDotIconWidth' | 'nutuiStepsDotIconHeight' | 'nutuiStepsDotIconBorder' | 'nutuiStepsDotHeadMargin' | 'nutuiDialogWidth' | 'nutuiDialogHeaderFontWeight' | 'nutuiDialogHeaderColor' | 'nutuiDialogFooterJustifyContent' | 'nutuiDialogMinHeight' | 'nutuiDialogPadding' | 'nutuiDialogHeaderHeight' | 'nutuiDialogContentMargin' | 'nutuiDialogContentMaxHeight' | 'nutuiDialogContentLineHeight' | 'nutuiDialogContentTextAlign' | 'nutuiDialogOverlayZIndex' | 'nutuiDialogOverlayBackgroundColor' | 'nutuiDialogOuterZIndex' | 'nutuiDialogOuterBordderRadius' | 'nutuiDialogVerticalFooterOkMarginTop' | 'nutuiDialogFooterButtonMinWidth' | 'nutuiDialogFooterCancelMarginRight' | 'nutuiDialogFooterOkMaxWidth' | 'nutuiCheckboxLabelColor' | 'nutuiCheckboxLabelDisableColor' | 'nutuiCheckboxIconDisableColor' | 'nutuiCheckboxLabelMarginLeft' | 'nutuiCheckboxLabelFontSize' | 'nutuiCheckboxIconFontSize' | 'nutuiCheckboxIconDisableColor2' | 'nutuiRadioLabelFontColor' | 'nutuiRadioLabelFontActiveColor' | 'nutuiRadioLabelDisableColor' | 'nutuiRadioIconDisableColor' | 'nutuiRadioLabelButtonBorderColor' | 'nutuiRadioLabelButtonBackground' | 'nutuiRadioLabelMarginLeft' | 'nutuiRadioButtonBorderRadius' | 'nutuiRadioLabelFontSize' | 'nutuiRadioButtonFontSize' | 'nutuiRadioButtonPadding' | 'nutuiRadioIconFontSize' | 'nutuiRadioIconDisableColor2' | 'nutuiRadiogroupRadioMargin' | 'nutuiRadiogroupRadioLabelMargin' | 'nutuiRadioButtonDisabledActiveBackground' | 'nutuiRadioButtonDisabledActiveColor' | 'nutuiRadioButtonDisabledActiveBorderColor' | 'nutuiFixednavBgColor' | 'nutuiFixednavFontColor' | 'nutuiFixednavIndex' | 'nutuiFixednavItemActiveColor' | 'nutuiNoticebarBackground' | 'nutuiNoticebarColor' | 'nutuiNoticebarFontSize' | 'nutuiNoticebarHeight' | 'nutuiNoticebarLineHeight' | 'nutuiNoticebarLeftIconWidth' | 'nutuiNoticebarRightIconWidth' | 'nutuiNoticebarBoxPadding' | 'nutuiNoticebarWrapablePadding' | 'nutuiNoticebarLefticonMargin' | 'nutuiNoticebarRighticonMargin' | 'nutuiTimeselectTitleFontSize' | 'nutuiTimeselectTitleColor' | 'nutuiTimeselectTitleWidth' | 'nutuiTimeselectTitleHeight' | 'nutuiTimeselectTitleLineHeight' | 'nutuiTimeselectPannelBgColor' | 'nutuiTimeselectTimepannelTextColor' | 'nutuiTimeselectTimepannelFontSize' | 'nutuiTimeselectTimepannelCurBgColor' | 'nutuiTimeselectTimepannelCurTextColor' | 'nutuiTimeselectTimepannelWidth' | 'nutuiTimeselectTimepannelHeight' | 'nutuiTimeselectTimepannelPadding' | 'nutuiTimeselectTimedetailPadding' | 'nutuiTimeselectTimedetailItemWidth' | 'nutuiTimeselectTimedetailItemHeight' | 'nutuiTimeselectTimedetailItemLineHeight' | 'nutuiTimeselectTimedetailItemBgColor' | 'nutuiTimeselectTimedetailItemBorderRadius' | 'nutuiTimeselectTimedetailItemTextColor' | 'nutuiTimeselectTimedetailItemTextFontSize' | 'nutuiTimeselectTimedetailItemCurBgColor' | 'nutuiTimeselectTimedetailItemCurBorder' | 'nutuiTimeselectTimedetailItemCurTextColor' | 'nutuiTimeselectTimedetailTimeTextColor' | 'nutuiTimeselectTimedetailTimeFontSize' | 'nutuiTagPadding' | 'nutuiTagFontSize' | 'nutuiTagDefaultBorderRadius' | 'nutuiTagRoundBorderRadius' | 'nutuiTagDefaultBackgroundColor' | 'nutuiTagPrimaryBackgroundColor' | 'nutuiTagSuccessBackgroundColor' | 'nutuiTagDangerBackgroundColorPlain' | 'nutuiTagWarningBackgroundColor' | 'nutuiTagDefaultColor' | 'nutuiTagBorderWidth' | 'nutuiTagHeight' | 'nutuiBadgeBackgroundColor' | 'nutuiBadgeColor' | 'nutuiBadgeFontSize' | 'nutuiBadgeBorder' | 'nutuiBadgeBorderRadius' | 'nutuiBadgePadding' | 'nutuiBadgeIconPadding' | 'nutuiBadgeContentTransform' | 'nutuiBadgeZIndex' | 'nutuiBadgeDotWidth' | 'nutuiPopoverBorderRadius' | 'nutuiPopoverFontSize' | 'nutuiPopoverMenuItemHeight' | 'nutuiPopoverMenuItemNameMargin' | 'nutuiPopoverMenuItemHoverBackgroundColor' | 'nutuiPopoverMenuItemHoverTextColor' | 'nutuiPopoverMenuItemBorderWidth' | 'nutuiPopoverMenuItemBorderHeight' | 'nutuiPopoverMenuItemBorderLeft' | 'nutuiPopoverMenuItemBorderBottom' | 'nutuiPopoverWhiteBackgroundColor' | 'nutuiPopoverDarkBackgroundColor' | 'nutuiPopoverBorderBottomColor' | 'nutuiPopoverPrimaryTextColor' | 'nutuiPopoverDisableColor' | 'nutuiPopoverMenuItemPadding' | 'nutuiPopoverMenuItemMargin' | 'nutuiPopoverMenuNameLineHeight' | 'nutuiProgressHeight' | 'nutuiProgressColor' | 'nutuiProgressBackground' | 'nutuiProgressBorderRadius' | 'nutuiProgressTextColor' | 'nutuiProgressTextBackground' | 'nutuiProgressTextPadding' | 'nutuiProgressTextFontSize' | 'nutuiProgressTextPositionTop' | 'nutuiProgressTextPositionBottom' | 'nutuiProgressTextBorderRadius' | 'nutuiPaginationColor' | 'nutuiPaginationFontSize' | 'nutuiPaginationItemBorderColor' | 'nutuiDarkPaginationActiveBackgroundColor' | 'nutuiPaginationDisableColor' | 'nutuiPaginationDisableBackgroundColor' | 'nutuiPaginationItemBorderWidth' | 'nutuiPaginationItemBorderRadius' | 'nutuiPaginationPrevNextPadding' | 'nutuiTabsTabSmileColor' | 'nutuiTabsTitlesBackgroundColor' | 'nutuiTabsTitlesBorderRadius' | 'nutuiTabsTitleGap' | 'nutuiTabsTitlesItemFontSize' | 'nutuiTabsTitlesItemColor' | 'nutuiTabsTitlesItemActiveColor' | 'nutuiTabsTitlesItemActiveFontWeight' | 'nutuiTabsHorizontalTabLineColor' | 'nutuiTabsHorizontalLineBottom' | 'nutuiTabsHorizontalLineBorderRadius' | 'nutuiTabsHorizontalTabLineOpacity' | 'nutuiTabsHorizontalTitlesHeight' | 'nutuiTabsHorizontalTitlesItemMinWidth' | 'nutuiTabsHorizontalTitlesItemActiveBackgroundColor' | 'nutuiTabsHorizontalTitlesItemActiveLineWidth' | 'nutuiTabsHorizontalTitlesItemActiveLineHeight' | 'nutuiTabsVerticalTabLineColor' | 'nutuiTabsVerticalTitlesItemHeight' | 'nutuiTabsVerticalTitlesItemActiveLineWidth' | 'nutuiTabsVerticalTitlesItemActiveLineHeight' | 'nutuiTabsVerticalTitlesWidth' | 'nutuiIndicatorColor' | 'nutuiIndicatorDotColor' | 'nutuiIndicatorDotSize' | 'nutuiIndicatorDotActiveSize' | 'nutuiIndicatorBorderSize' | 'nutuiIndicatorDotMargin' | 'nutuiIndicatorDotVerticalMargin' | 'nutuiMenuBarLineHeight' | 'nutuiMenuItemFontSize' | 'nutuiMenuItemTextColor' | 'nutuiMenuItemActiveTextColor' | 'nutuiMenuBarBorderBottomColor' | 'nutuiMenuBarOpenedZIndex' | 'nutuiMenuItemDisabledColor' | 'nutuiMenuTitleTextPaddingLeft' | 'nutuiMenuTitleTextPaddingRight' | 'nutuiMenuItemContentPadding' | 'nutuiMenuItemContentMaxHeight' | 'nutuiMenuItemOptionPaddingTop' | 'nutuiMenuItemOptionPaddingBottom' | 'nutuiMenuItemOptionIMarginRight' | 'nutuiMenuBarBoxShadow' | 'nutuiMenuScrollFixedTop' | 'nutuiMenuScrollFixedZIndex' | 'nutuiMenuActiveItemFontWeight' | 'nutuiMenuItemContentBgColor' | 'nutuiCollapseItemPadding' | 'nutuiCollapseItemColor' | 'nutuiCollapseItemDisabledColor' | 'nutuiCollapseItemFontSize' | 'nutuiCollapseItemLineHeight' | 'nutuiCollapseItemExtraColor' | 'nutuiCollapseWrapperContentPadding' | 'nutuiCollapseWrapperContentColor' | 'nutuiCollapseWrapperContentFontSize' | 'nutuiCollapseWrapperContentLineHeight' | 'nutuiCollapseWrapperContentBackgroundColor' | 'nutuiSearchbarBackground' | 'nutuiSearchbarContentBorderRadius' | 'nutuiSearchbarPadding' | 'nutuiSearchbarWidth' | 'nutuiSearchbarLeftFontsize' | 'nutuiSearchbarLeftPadding' | 'nutuiSearchbarLeftColor' | 'nutuiSearchbarRightFontsize' | 'nutuiSearchbarRightPadding' | 'nutuiSearchbarRightColor' | 'nutuiSearchbarInputHeight' | 'nutuiSearchbarInputPadding' | 'nutuiSearchbarInputBackground' | 'nutuiSearchbarInputTextColor' | 'nutuiSearchbarInputCurrorColor' | 'nutuiSearchbarInputWidth' | 'nutuiSearchbarInputTextAlign' | 'nutuiSearchbarInputBorderRadius' | 'nutuiSearchbarClearIconPadding' | 'nutuiEmptyPadding' | 'nutuiEmptyImageSize' | 'nutuiEmptyDescriptionMarginTop' | 'nutuiEmptyDescriptionColor' | 'nutuiEmptyDescriptionFontSize' | 'nutuiEmptyDescriptionLineHeight' | 'nutuiEmptyDescriptionPadding' | 'nutuiCascaderFontSize' | 'nutuiCascaderLineHeight' | 'nutuiCascaderTitlePadding' | 'nutuiCascaderTitleFontSize' | 'nutuiCascaderTitleLineHeight' | 'nutuiCascaderPaneHeight' | 'nutuiCascaderPanePaddingTop' | 'nutuiCascaderIconChecklistMarginLeft' | 'nutuiCascaderTabsItemPadding' | 'nutuiCascaderBarPadding' | 'nutuiCascaderBarFontSize' | 'nutuiCascaderBarLineHeight' | 'nutuiCascaderBarColor' | 'nutuiCascaderItemHeight' | 'nutuiCascaderItemPadding' | 'nutuiCascaderItemMargin' | 'nutuiCascaderItemBorderBottom' | 'nutuiCascaderItemColor' | 'nutuiCascaderItemFontSize' | 'nutuiCascaderItemActiveColor' | 'nutuiFormItemErrorLineColor' | 'nutuiFormItemRequiredColor' | 'nutuiFormItemErrorMessageColor' | 'nutuiFormItemLabelFontSize' | 'nutuiFormItemLabelWidth' | 'nutuiFormItemLabelMarginRight' | 'nutuiFormItemLabelTextAlign' | 'nutuiFormItemRequiredMarginRight' | 'nutuiFormItemBodyFontSize' | 'nutuiFormItemBodySlotsTextAlign' | 'nutuiFormItemBodyInputTextAlign' | 'nutuiFormItemTipFontSize' | 'nutuiFormItemTipTextAlign' | 'nutuiSkeletonBackground' | 'nutuiSkeletonLineWidth' | 'nutuiSkeletonLineHeight' | 'nutuiSkeletonLineBorderRadius' | 'nutuiSkuItemBorder' | 'nutuiSkuItemDisableLine' | 'nutuiSkuItemActiveBg' | 'nutuiSkuSpecHeight' | 'nutuiSkuSpecLineHeight' | 'nutuiSkuSpecFontSize' | 'nutuiSkuSpecBackground' | 'nutuiSkuSpecColor' | 'nutuiSkuSpecMarginRight' | 'nutuiSkuSpecPadding' | 'nutuiSkuSpecTitleFontWeight' | 'nutuiSkuSpecTitleFontSize' | 'nutuiSkuSpecTitleColor' | 'nutuiSkuSpecTitleMarginBottom' | 'nutuiSkuOperateBtnHeight' | 'nutuiSkuOperateBtnBorderTop' | 'nutuiSkuOperateBtnItemHeight' | 'nutuiSkuOperateBtnItemFontSize' | 'nutuiSkuOperateBtnItemFontWeight' | 'nutuiSkuProductImgWidth' | 'nutuiSkuProductImgHeight' | 'nutuiSkuProductImgBorderRadius' | 'nutuiCardFontSize0' | 'nutuiCardFontSize1' | 'nutuiCardFontSize2' | 'nutuiCardFontSize3' | 'nutuiCardLeftBorderRadius' | 'nutuiCardLeftBackgroundColor' | 'nutuiGridBorderColor' | 'nutuiGridItemContentPadding' | 'nutuiGridItemContentBgColor' | 'nutuiGridItemTextMargin' | 'nutuiGridItemTextColor' | 'nutuiGridItemTextFontSize' | 'nutuiTableBorderColor' | 'nutuiTableColsPadding' | 'nutuiTableTrEvenBgColor' | 'nutuiTableTrOddBgColor' | 'nutuiNavbarWidth' | 'nutuiNavbarHeight' | 'nutuiNavbarMarginBottom' | 'nutuiNavbarPadding' | 'nutuiNavbarBackground' | 'nutuiNavbarBoxShadow' | 'nutuiNavbarColor' | 'nutuiNavbarFontSize' | 'nutuiNavbarTitleFontSize' | 'nutuiNavbarTitleFontWeight' | 'nutuiNavbarTitleFontColor' | 'nutuiSidenavbarContentBgColor' | 'nutuiSidenavbarSubTitleBorderColor' | 'nutuiSidenavbarSubTitleBgColor' | 'nutuiSidenavbarSubTitleFontSize' | 'nutuiSidenavbarSubTitleRadius' | 'nutuiSidenavbarSubTitleBorder' | 'nutuiSidenavbarSubTitleWidth' | 'nutuiSidenavbarSubTitleHeight' | 'nutuiSidenavbarSubTitleTextLineHeight' | 'nutuiSidenavbarSubTitleTextColor' | 'nutuiSidenavbarItemTitleColor' | 'nutuiSidenavbarItemTitleBgColor' | 'nutuiSidenavbarItemHeight' | 'nutuiSidenavbarItemLineHeight' | 'nutuiSidenavbarItemFontSize' | 'nutuiElevatorListInnerBgColor' | 'nutuiElevatorListItemHighcolor' | 'nutuiElevatorListItemFontSize' | 'nutuiElevatorListItemFontColor' | 'nutuiElevatorListItemNamePadding' | 'nutuiElevatorListItemNameHeight' | 'nutuiElevatorListItemNameLineHeight' | 'nutuiElevatorListItemCodeFontSize' | 'nutuiElevatorListItemCodeFontColor' | 'nutuiElevatorListItemCodeFontWeight' | 'nutuiElevatorListItemCodePadding' | 'nutuiElevatorListItemCodeHeight' | 'nutuiElevatorListItemCodeLineHeight' | 'nutuiElevatorListItemCodeBorderBottom' | 'nutuiElevatorListItemCodeBorderBottomColor' | 'nutuiElevatorListItemCodeCurrentBgColor' | 'nutuiElevatorListItemCodeCurrentBorderRadius' | 'nutuiElevatorListItemCodeCurrentWidth' | 'nutuiElevatorListItemCodeCurrentHeight' | 'nutuiElevatorListItemCodeCurrentLineHeight' | 'nutuiElevatorListItemCodeCurrentPosition' | 'nutuiElevatorListItemCodeCurrentRight' | 'nutuiElevatorListItemCodeCurrentTop' | 'nutuiElevatorListItemCodeCurrentTransform' | 'nutuiElevatorListItemCodeCurrentTextAlign' | 'nutuiElevatorListItemBarsPosition' | 'nutuiElevatorListItemBarsRight' | 'nutuiElevatorListItemBarsTop' | 'nutuiElevatorListItemBarsTransform' | 'nutuiElevatorListItemBarsPadding' | 'nutuiElevatorListItemBarsBackgroundColor' | 'nutuiElevatorListItemBarsBorderRadius' | 'nutuiElevatorListItemBarsTextAlign' | 'nutuiElevatorListItemBarsZIndex' | 'nutuiElevatorListItemBarsInnerItemPadding' | 'nutuiElevatorListItemBarsInnerItemFontSize' | 'nutuiElevatorListFixedColor' | 'nutuiElevatorListFixedBgColor' | 'nutuiElevatorListFixedBoxShadow' | 'nutuiElevatorListItemBarsInnerItemActiveColor' | 'nutuiListItemMargin' | 'nutuiEcardBgColor' | 'nutuiAddresslistBg' | 'nutuiAddresslistBorder' | 'nutuiAddresslistFontColor' | 'nutuiAddresslistFontSize' | 'nutuiAddresslistMaskBg' | 'nutuiAddresslistAddrFontColor' | 'nutuiAddresslistAddrFontSize' | 'nutuiAddresslistSetBg' | 'nutuiAddresslistDelBg' | 'nutuiAddresslistContntsContactDefault' | 'nutuiAddresslistContntsContactColor' | 'nutuiCategoryBgColor' | 'nutuiCategoryListLeftBgColor' | 'nutuiCategoryListItemColor' | 'nutuiCategoryListItemCheckedColor' | 'nutuiCategoryListItemCheckedImgBgColor' | 'nutuiCategoryPaneGrayColor' | 'nutuiCategoryPaneBorderColor' | 'nutuiCategoryPaneTitleColor' | 'nutuiCircleprogressPrimaryColor' | 'nutuiCircleprogressPathColor' | 'nutuiCircleprogressTextColor' | 'nutuiCircleprogressTextSize' | 'nutuiCommentHeaderUserNameColor' | 'nutuiCommentHeaderTimeColor' | 'nutuiCommentBottomLabelColor' | 'nutuiCommentShopColor' | 'nutuiEllipsisExpandCollapseColor' | 'nutuiWatermarkZIndex' | 'nutuiInvoicePadding' | 'nutuiTrendarrowFontSize' | 'nutuiTrendarrowIconMargin' | 'nutuiCountupHeight' | 'nutuiCountupBaseSize' | 'nutuiCountupBorderRaduis' | 'nutuiCountupLrMargin' | 'nutuiCountupBgcolor' | 'nutuiCountupColor' | 'nutuiCountupWidth' | 'nutuiRowContentColor' | 'nutuiRowContentBackgroundColor' | 'nutuiRowContentBorderRadius' | 'nutuiRowContentHeight' | 'nutuiRowContentLineHeight' | 'nutuiColDefaultMarginBottom' | 'nutuiBrandColorOpacity';
|
|
@@ -1,18 +1,71 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '../../utils/typings';
|
|
3
|
+
export interface CountDownProps extends BasicComponent {
|
|
4
|
+
/**
|
|
5
|
+
* 是否暂停
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
paused: boolean
|
|
9
|
+
/**
|
|
10
|
+
* 开始时间
|
|
11
|
+
* @default Date.now()
|
|
12
|
+
*/
|
|
13
|
+
startTime: number
|
|
14
|
+
/**
|
|
15
|
+
* 结束时间
|
|
16
|
+
* @default Date.now()
|
|
17
|
+
*/
|
|
18
|
+
endTime: number
|
|
19
|
+
/**
|
|
20
|
+
* 剩余时间,单位是毫秒
|
|
21
|
+
* @default 0
|
|
22
|
+
*/
|
|
23
|
+
remainingTime: number
|
|
24
|
+
/**
|
|
25
|
+
* 是否开启毫秒级渲染
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
millisecond: boolean
|
|
29
|
+
/**
|
|
30
|
+
* 时间格式
|
|
31
|
+
* @default HH:mm:ss
|
|
32
|
+
*/
|
|
33
|
+
format: string
|
|
34
|
+
/**
|
|
35
|
+
* 是否自动开始倒计时
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
autoStart: boolean
|
|
39
|
+
/**
|
|
40
|
+
* 倒计时显示时间,单位是毫秒。autoStart 为 false 时生效
|
|
41
|
+
* @default 0
|
|
42
|
+
*/
|
|
43
|
+
time: number
|
|
44
|
+
/**
|
|
45
|
+
* 销毁实例
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
destroy: boolean
|
|
49
|
+
/**
|
|
50
|
+
* 倒计时结束时回调函数
|
|
51
|
+
* @default -
|
|
52
|
+
*/
|
|
53
|
+
onEnd: () => void
|
|
54
|
+
/**
|
|
55
|
+
* 暂停倒计时回调函数
|
|
56
|
+
* @default -
|
|
57
|
+
*/
|
|
58
|
+
onPaused: (restTime: number) => void
|
|
59
|
+
/**
|
|
60
|
+
* 重新开始倒计时回调函数
|
|
61
|
+
* @default -
|
|
62
|
+
*/
|
|
63
|
+
onRestart: (restTime: number) => void
|
|
64
|
+
/**
|
|
65
|
+
* 自定义展示内容时,实时更新倒计时数据回调函数
|
|
66
|
+
* @default -
|
|
67
|
+
*/
|
|
68
|
+
onUpdate: (restTime: any) => void
|
|
16
69
|
children: ReactNode;
|
|
17
70
|
}
|
|
18
71
|
export declare const CountDown: React.ForwardRefExoticComponent<Partial<CountDownProps> & React.RefAttributes<unknown>>;
|
|
@@ -3,7 +3,15 @@ import { BasicComponent } from '../../utils/typings';
|
|
|
3
3
|
export type ContentPositionType = 'left' | 'center' | 'right';
|
|
4
4
|
export type DirectionType = 'horizontal' | 'vertical';
|
|
5
5
|
export interface DividerProps extends BasicComponent {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* 内容位置,可选值为 left right center
|
|
8
|
+
* @default center
|
|
9
|
+
*/
|
|
10
|
+
contentPosition: ContentPositionType
|
|
11
|
+
/**
|
|
12
|
+
* 水平还是垂直类型,可选值为 horizontal vertical
|
|
13
|
+
* @default horizontal
|
|
14
|
+
*/
|
|
15
|
+
direction?: DirectionType
|
|
8
16
|
}
|
|
9
17
|
export declare const Divider: FunctionComponent<Partial<DividerProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export interface DragProps extends BasicComponent {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 是否开启自动吸边
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
attract: boolean
|
|
9
|
+
/**
|
|
10
|
+
* 拖拽元素的拖拽方向限制,x、y、all三选一
|
|
11
|
+
* @default all
|
|
12
|
+
*/
|
|
13
|
+
direction: 'x' | 'y' | 'lock' | undefined
|
|
14
|
+
/**
|
|
15
|
+
* 拖拽元素的拖拽边界
|
|
16
|
+
* @default {top: 0, left: 0, right: 0, bottom: 0}
|
|
17
|
+
*/
|
|
6
18
|
boundary: {
|
|
7
19
|
top: number;
|
|
8
20
|
left: number;
|
|
9
21
|
right: number;
|
|
10
22
|
bottom: number;
|
|
11
|
-
}
|
|
23
|
+
}
|
|
12
24
|
}
|
|
13
25
|
export declare const Drag: FunctionComponent<Partial<DragProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -2,16 +2,52 @@ import React, { FunctionComponent } from 'react';
|
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export declare const elevatorContext: React.Context<ElevatorData>;
|
|
4
4
|
export interface ElevatorProps extends BasicComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
/**
|
|
6
|
+
* 电梯区域的高度
|
|
7
|
+
* @default 200px
|
|
8
|
+
*/
|
|
9
|
+
height: number | string
|
|
10
|
+
/**
|
|
11
|
+
* 索引 key 值
|
|
12
|
+
* @default title
|
|
13
|
+
*/
|
|
14
|
+
floorKey: string
|
|
15
|
+
/**
|
|
16
|
+
* 索引列表
|
|
17
|
+
* @default [{id: 0, name: ''}]
|
|
18
|
+
*/
|
|
19
|
+
list: any[]
|
|
20
|
+
/**
|
|
21
|
+
* 索引是否吸顶
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
sticky: boolean
|
|
25
|
+
/**
|
|
26
|
+
* 右侧锚点的上下间距
|
|
27
|
+
* @default 23
|
|
28
|
+
*/
|
|
29
|
+
spaceHeight: number
|
|
30
|
+
/**
|
|
31
|
+
* 左侧索引的高度
|
|
32
|
+
* @default 35
|
|
33
|
+
*/
|
|
34
|
+
titleHeight: number
|
|
35
|
+
/**
|
|
36
|
+
* 展示右侧导航
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
showKeys: boolean
|
|
12
40
|
children: React.ReactNode;
|
|
13
|
-
|
|
14
|
-
|
|
41
|
+
/**
|
|
42
|
+
* 点击内容
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
onClickItem: (key: string, item: ElevatorData) => void
|
|
46
|
+
/**
|
|
47
|
+
* 点击索引
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
onClickIndex: (key: string) => void
|
|
15
51
|
}
|
|
16
52
|
interface ElevatorData {
|
|
17
53
|
name: string;
|
|
@@ -2,14 +2,50 @@ import React, { FunctionComponent } from 'react';
|
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export type EllipsisDirection = 'start' | 'end' | 'middle';
|
|
4
4
|
export interface EllipsisProps extends BasicComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
/**
|
|
6
|
+
* 文本内容
|
|
7
|
+
* @default -
|
|
8
|
+
*/
|
|
9
|
+
content: string
|
|
10
|
+
/**
|
|
11
|
+
* 省略位置
|
|
12
|
+
* @default end
|
|
13
|
+
*/
|
|
14
|
+
direction: EllipsisDirection
|
|
15
|
+
/**
|
|
16
|
+
* 展示几行
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
rows: number | string
|
|
20
|
+
/**
|
|
21
|
+
* 展开操作的文案
|
|
22
|
+
* @default -
|
|
23
|
+
*/
|
|
24
|
+
expandText: string
|
|
25
|
+
/**
|
|
26
|
+
* 收起操作的文案
|
|
27
|
+
* @default -
|
|
28
|
+
*/
|
|
29
|
+
collapseText: string
|
|
30
|
+
/**
|
|
31
|
+
* 省略的符号
|
|
32
|
+
* @default ...
|
|
33
|
+
*/
|
|
34
|
+
symbol: string
|
|
35
|
+
/**
|
|
36
|
+
* 容器的行高
|
|
37
|
+
* @default 20
|
|
38
|
+
*/
|
|
39
|
+
lineHeight: number | string
|
|
40
|
+
/**
|
|
41
|
+
* 文本点击是触发
|
|
42
|
+
* @default -
|
|
43
|
+
*/
|
|
44
|
+
onClick: () => void
|
|
45
|
+
/**
|
|
46
|
+
* 点击展开收起时触发
|
|
47
|
+
* @default -
|
|
48
|
+
*/
|
|
49
|
+
onChange: (type: string) => void
|
|
14
50
|
}
|
|
15
51
|
export declare const Ellipsis: FunctionComponent<Partial<EllipsisProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export interface EmptyProps extends BasicComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 图片,支持传入图片 URL
|
|
6
|
+
* @default -
|
|
7
|
+
*/
|
|
8
|
+
image?: ReactNode
|
|
9
|
+
/**
|
|
10
|
+
* 图片大小,number 类型单位为 px
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
imageSize: number | string
|
|
14
|
+
/**
|
|
15
|
+
* 图片下方的描述文字
|
|
16
|
+
* @default ''
|
|
17
|
+
*/
|
|
18
|
+
description: ReactNode
|
|
19
|
+
/**
|
|
20
|
+
* 默认图片错误类型
|
|
21
|
+
* @default 'empty'
|
|
22
|
+
*/
|
|
23
|
+
status: 'empty' | 'error' | 'network'
|
|
8
24
|
}
|
|
9
25
|
export declare const Empty: FunctionComponent<Partial<EmptyProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -6,15 +6,55 @@ export type FixedNavPosition = {
|
|
|
6
6
|
bottom?: string;
|
|
7
7
|
};
|
|
8
8
|
export interface FixedNavProps extends BasicComponent {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
/**
|
|
10
|
+
* 是否打开
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
visible: boolean
|
|
14
|
+
/**
|
|
15
|
+
* 展开时是否显示遮罩
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
overlay: boolean
|
|
19
|
+
/**
|
|
20
|
+
* 悬浮列表内容数据
|
|
21
|
+
* @default []
|
|
22
|
+
*/
|
|
23
|
+
list: Array<any>
|
|
24
|
+
/**
|
|
25
|
+
* 收起列表按钮文案
|
|
26
|
+
* @default 收起导航
|
|
27
|
+
*/
|
|
28
|
+
activeText: string
|
|
29
|
+
/**
|
|
30
|
+
* 展开列表按钮文案
|
|
31
|
+
* @default 快速导航
|
|
32
|
+
*/
|
|
33
|
+
inactiveText: string
|
|
34
|
+
/**
|
|
35
|
+
* fixed 垂直位置
|
|
36
|
+
* @default {top: 'auto', bottom: 'auto'}
|
|
37
|
+
*/
|
|
38
|
+
position: FixedNavPosition
|
|
39
|
+
/**
|
|
40
|
+
* 导航方向,可选值 left right
|
|
41
|
+
* @default right
|
|
42
|
+
*/
|
|
43
|
+
type: FixedNavDirection
|
|
44
|
+
/**
|
|
45
|
+
* 展开收起按钮回调
|
|
46
|
+
* @default
|
|
47
|
+
*/
|
|
48
|
+
onChange: (item: any) => void
|
|
49
|
+
/**
|
|
50
|
+
* 选择之后触发
|
|
51
|
+
* @default
|
|
52
|
+
*/
|
|
53
|
+
onSelect: (item: any, event: MouseEvent) => void
|
|
54
|
+
/**
|
|
55
|
+
* 自定义按钮
|
|
56
|
+
* @default -
|
|
57
|
+
*/
|
|
58
|
+
content: React.ReactNode
|
|
19
59
|
}
|
|
20
60
|
export declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onSelect' | 'content'>>;
|
|
@@ -2,15 +2,43 @@ import React, { CSSProperties, FunctionComponent } from 'react';
|
|
|
2
2
|
import { GridItem, GridItemProps } from '../griditem/griditem';
|
|
3
3
|
export type GridDirection = 'horizontal' | 'vertical';
|
|
4
4
|
export interface GridProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
/**
|
|
6
|
+
* 列数
|
|
7
|
+
* @default 4
|
|
8
|
+
*/
|
|
9
|
+
columns: string | number
|
|
10
|
+
/**
|
|
11
|
+
* 格子之间的间距,默认单位为px
|
|
12
|
+
* @default 0
|
|
13
|
+
*/
|
|
14
|
+
gap: string | number
|
|
15
|
+
/**
|
|
16
|
+
* 是否将格子内容居中显示
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
center: boolean
|
|
20
|
+
/**
|
|
21
|
+
* 是否将格子固定为正方形
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
square: boolean
|
|
25
|
+
/**
|
|
26
|
+
* 内容翻转
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
reverse: boolean
|
|
30
|
+
/**
|
|
31
|
+
* 格子内容排列的方向,可选值为 horizontal
|
|
32
|
+
* @default vertical
|
|
33
|
+
*/
|
|
34
|
+
direction: GridDirection
|
|
11
35
|
className?: string;
|
|
12
36
|
style?: CSSProperties;
|
|
13
|
-
|
|
37
|
+
/**
|
|
38
|
+
* 宫格子项点击事件
|
|
39
|
+
* @default -
|
|
40
|
+
*/
|
|
41
|
+
onClick: (item: GridItemProps, index: number) => void
|
|
14
42
|
}
|
|
15
43
|
export declare const Grid: FunctionComponent<Partial<GridProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>> & {
|
|
16
44
|
Item: typeof GridItem;
|
|
@@ -2,7 +2,11 @@ import React, { FunctionComponent, ReactNode } from 'react';
|
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
type GridDirection = 'horizontal' | 'vertical';
|
|
4
4
|
export interface GridItemProps extends BasicComponent {
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* 文字
|
|
7
|
+
* @default -
|
|
8
|
+
*/
|
|
9
|
+
text: string | ReactNode
|
|
6
10
|
index: number;
|
|
7
11
|
columns: string | number;
|
|
8
12
|
gap: string | number;
|
|
@@ -1,19 +1,71 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export interface ImageProps extends BasicComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 图片链接
|
|
6
|
+
* @default -
|
|
7
|
+
*/
|
|
8
|
+
src: string
|
|
9
|
+
/**
|
|
10
|
+
* 图片填充模式,等同于原生的 object-fit 属性
|
|
11
|
+
* @default fill
|
|
12
|
+
*/
|
|
13
|
+
fit: ImageFit
|
|
14
|
+
/**
|
|
15
|
+
* 图片位置,等同于原生的 object-position 属性
|
|
16
|
+
* @default center
|
|
17
|
+
*/
|
|
18
|
+
position: ImagePosition
|
|
19
|
+
/**
|
|
20
|
+
* 替代文本
|
|
21
|
+
* @default -
|
|
22
|
+
*/
|
|
23
|
+
alt: string
|
|
24
|
+
/**
|
|
25
|
+
* 宽度,默认单位px
|
|
26
|
+
* @default -
|
|
27
|
+
*/
|
|
28
|
+
width: string
|
|
29
|
+
/**
|
|
30
|
+
* 高度,默认单位px
|
|
31
|
+
* @default -
|
|
32
|
+
*/
|
|
33
|
+
height: string
|
|
34
|
+
/**
|
|
35
|
+
* 圆角大小
|
|
36
|
+
* @default -
|
|
37
|
+
*/
|
|
38
|
+
radius: string | number
|
|
39
|
+
/**
|
|
40
|
+
* 是否展示图片加载失败
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
error: boolean | ReactNode
|
|
44
|
+
/**
|
|
45
|
+
* 是否展示加载中图片
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
loading: boolean | ReactNode
|
|
49
|
+
/**
|
|
50
|
+
* 是否为懒加载图片
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
lazy: boolean
|
|
54
|
+
/**
|
|
55
|
+
* 点击图片时触发
|
|
56
|
+
* @default -
|
|
57
|
+
*/
|
|
58
|
+
onClick: (e: MouseEvent) => void
|
|
59
|
+
/**
|
|
60
|
+
* 图片加载完后触发
|
|
61
|
+
* @default -
|
|
62
|
+
*/
|
|
63
|
+
onLoad: () => void
|
|
64
|
+
/**
|
|
65
|
+
* 图片加载失败后触发
|
|
66
|
+
* @default -
|
|
67
|
+
*/
|
|
68
|
+
onError: () => void
|
|
17
69
|
}
|
|
18
70
|
export type ImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down' | string;
|
|
19
71
|
export type ImagePosition = 'center' | 'top' | 'right' | 'bottom' | 'left' | string;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { BasicComponent } from '../../utils/typings';
|
|
3
3
|
export interface ImagePreviewProps extends BasicComponent {
|
|
4
|
+
/**
|
|
5
|
+
* 预览图片数组
|
|
6
|
+
* @default []
|
|
7
|
+
*/
|
|
4
8
|
images: Array<{
|
|
5
9
|
src: string;
|
|
6
|
-
}
|
|
10
|
+
}>
|
|
11
|
+
/**
|
|
12
|
+
* 预览的视频数组(视频自动放到图片之前)
|
|
13
|
+
* @default []
|
|
14
|
+
*/
|
|
7
15
|
videos: Array<{
|
|
8
16
|
source: {
|
|
9
17
|
src: string;
|
|
@@ -13,15 +21,47 @@ export interface ImagePreviewProps extends BasicComponent {
|
|
|
13
21
|
muted: boolean;
|
|
14
22
|
controls: boolean;
|
|
15
23
|
};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
}>
|
|
25
|
+
/**
|
|
26
|
+
* 是否展示预览图片
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
visible: boolean
|
|
30
|
+
/**
|
|
31
|
+
* 自动轮播时长,0表示不会自动轮播
|
|
32
|
+
* @default 3000
|
|
33
|
+
*/
|
|
34
|
+
autoPlay: number | string
|
|
35
|
+
/**
|
|
36
|
+
* 页码,受控
|
|
37
|
+
* @default 1
|
|
38
|
+
*/
|
|
39
|
+
value?: number
|
|
40
|
+
/**
|
|
41
|
+
* 初始页码
|
|
42
|
+
* @default 1
|
|
43
|
+
*/
|
|
44
|
+
defaultValue: number
|
|
45
|
+
/**
|
|
46
|
+
* 点击图片可以退出预览
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
closeOnContentClick: boolean
|
|
50
|
+
/**
|
|
51
|
+
* 分页指示器是否展示
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
54
|
+
indicator: boolean
|
|
55
|
+
/**
|
|
56
|
+
* 分页指示器选中的颜色
|
|
57
|
+
* @default #fff
|
|
58
|
+
*/
|
|
59
|
+
indicatorColor: string
|
|
24
60
|
onChange: (value: number) => void;
|
|
25
|
-
|
|
61
|
+
/**
|
|
62
|
+
* 点击遮罩关闭图片预览时触发
|
|
63
|
+
* @default -
|
|
64
|
+
*/
|
|
65
|
+
onClose: () => void
|
|
26
66
|
}
|
|
27
67
|
export declare const ImagePreview: FunctionComponent<Partial<ImagePreviewProps>>;
|