@arco-design/mobile-react 2.31.6 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/_helpers/index.d.ts +1 -0
- package/cjs/_helpers/index.js +9 -0
- package/cjs/_helpers/react-dom.js +18 -10
- package/dist/index.js +91 -66
- package/dist/index.min.js +4 -4
- package/esm/_helpers/index.d.ts +1 -0
- package/esm/_helpers/index.js +1 -0
- package/esm/_helpers/react-dom.js +15 -11
- package/esnext/_helpers/hooks.d.ts +290 -0
- package/esnext/_helpers/hooks.js +660 -0
- package/esnext/_helpers/index.d.ts +93 -0
- package/esnext/_helpers/index.js +110 -0
- package/esnext/_helpers/react-dom.d.ts +13 -0
- package/esnext/_helpers/react-dom.js +51 -0
- package/esnext/_helpers/render.d.ts +17 -0
- package/esnext/_helpers/render.js +38 -0
- package/esnext/_helpers/type.d.ts +30 -0
- package/esnext/_helpers/type.js +1 -0
- package/esnext/action-sheet/index.d.ts +106 -0
- package/esnext/action-sheet/index.js +53 -0
- package/esnext/action-sheet/methods.d.ts +10 -0
- package/esnext/action-sheet/methods.js +4 -0
- package/esnext/action-sheet/style/css/index.css +741 -0
- package/esnext/action-sheet/style/css/index.d.ts +3 -0
- package/esnext/action-sheet/style/css/index.js +3 -0
- package/esnext/action-sheet/style/index.d.ts +3 -0
- package/esnext/action-sheet/style/index.js +3 -0
- package/esnext/action-sheet/style/index.less +119 -0
- package/esnext/avatar/group.d.ts +9 -0
- package/esnext/avatar/group.js +35 -0
- package/esnext/avatar/index.d.ts +17 -0
- package/esnext/avatar/index.js +87 -0
- package/esnext/avatar/style/css/index.css +792 -0
- package/esnext/avatar/style/css/index.d.ts +3 -0
- package/esnext/avatar/style/css/index.js +3 -0
- package/esnext/avatar/style/index.d.ts +3 -0
- package/esnext/avatar/style/index.js +3 -0
- package/esnext/avatar/style/index.less +201 -0
- package/esnext/avatar/type.d.ts +126 -0
- package/esnext/avatar/type.js +1 -0
- package/esnext/badge/index.d.ts +80 -0
- package/esnext/badge/index.js +29 -0
- package/esnext/badge/style/css/index.css +640 -0
- package/esnext/badge/style/css/index.d.ts +2 -0
- package/esnext/badge/style/css/index.js +2 -0
- package/esnext/badge/style/index.d.ts +2 -0
- package/esnext/badge/style/index.js +2 -0
- package/esnext/badge/style/index.less +109 -0
- package/esnext/button/hooks.d.ts +8 -0
- package/esnext/button/hooks.js +45 -0
- package/esnext/button/index.d.ts +141 -0
- package/esnext/button/index.js +61 -0
- package/esnext/button/style/css/index.css +816 -0
- package/esnext/button/style/css/index.d.ts +3 -0
- package/esnext/button/style/css/index.js +3 -0
- package/esnext/button/style/index.d.ts +3 -0
- package/esnext/button/style/index.js +3 -0
- package/esnext/button/style/index.less +242 -0
- package/esnext/carousel/index.d.ts +383 -0
- package/esnext/carousel/index.js +840 -0
- package/esnext/carousel/style/css/index.css +748 -0
- package/esnext/carousel/style/css/index.d.ts +2 -0
- package/esnext/carousel/style/css/index.js +2 -0
- package/esnext/carousel/style/index.d.ts +2 -0
- package/esnext/carousel/style/index.js +2 -0
- package/esnext/carousel/style/index.less +263 -0
- package/esnext/cell/arrow.d.ts +2 -0
- package/esnext/cell/arrow.js +5 -0
- package/esnext/cell/cell.d.ts +3 -0
- package/esnext/cell/cell.js +24 -0
- package/esnext/cell/group.d.ts +7 -0
- package/esnext/cell/group.js +26 -0
- package/esnext/cell/index.d.ts +14 -0
- package/esnext/cell/index.js +16 -0
- package/esnext/cell/style/css/index.css +1008 -0
- package/esnext/cell/style/css/index.d.ts +2 -0
- package/esnext/cell/style/css/index.js +2 -0
- package/esnext/cell/style/index.d.ts +2 -0
- package/esnext/cell/style/index.js +2 -0
- package/esnext/cell/style/index.less +214 -0
- package/esnext/cell/type.d.ts +125 -0
- package/esnext/cell/type.js +1 -0
- package/esnext/checkbox/checkbox.d.ts +3 -0
- package/esnext/checkbox/checkbox.js +106 -0
- package/esnext/checkbox/group.d.ts +4 -0
- package/esnext/checkbox/group.js +54 -0
- package/esnext/checkbox/hooks/index.d.ts +1 -0
- package/esnext/checkbox/hooks/index.js +1 -0
- package/esnext/checkbox/hooks/useMergeProps.d.ts +3 -0
- package/esnext/checkbox/hooks/useMergeProps.js +20 -0
- package/esnext/checkbox/index.d.ts +19 -0
- package/esnext/checkbox/index.js +22 -0
- package/esnext/checkbox/style/css/index.css +613 -0
- package/esnext/checkbox/style/css/index.d.ts +2 -0
- package/esnext/checkbox/style/css/index.js +2 -0
- package/esnext/checkbox/style/index.d.ts +2 -0
- package/esnext/checkbox/style/index.js +2 -0
- package/esnext/checkbox/style/index.less +119 -0
- package/esnext/checkbox/type.d.ts +162 -0
- package/esnext/checkbox/type.js +27 -0
- package/esnext/circle-progress/index.d.ts +141 -0
- package/esnext/circle-progress/index.js +75 -0
- package/esnext/circle-progress/style/css/index.css +582 -0
- package/esnext/circle-progress/style/css/index.d.ts +2 -0
- package/esnext/circle-progress/style/css/index.js +2 -0
- package/esnext/circle-progress/style/index.d.ts +2 -0
- package/esnext/circle-progress/style/index.js +2 -0
- package/esnext/circle-progress/style/index.less +101 -0
- package/esnext/collapse/collapse.d.ts +3 -0
- package/esnext/collapse/collapse.js +111 -0
- package/esnext/collapse/group.d.ts +21 -0
- package/esnext/collapse/group.js +80 -0
- package/esnext/collapse/index.d.ts +23 -0
- package/esnext/collapse/index.js +14 -0
- package/esnext/collapse/style/css/index.css +662 -0
- package/esnext/collapse/style/css/index.d.ts +2 -0
- package/esnext/collapse/style/css/index.js +2 -0
- package/esnext/collapse/style/index.d.ts +2 -0
- package/esnext/collapse/style/index.js +2 -0
- package/esnext/collapse/style/index.less +106 -0
- package/esnext/collapse/type.d.ts +139 -0
- package/esnext/collapse/type.js +1 -0
- package/esnext/collapse/utils.d.ts +8 -0
- package/esnext/collapse/utils.js +16 -0
- package/esnext/context-provider/index.d.ts +74 -0
- package/esnext/context-provider/index.js +99 -0
- package/esnext/context-provider/style/css/index.css +0 -0
- package/esnext/context-provider/style/css/index.d.ts +2 -0
- package/esnext/context-provider/style/css/index.js +2 -0
- package/esnext/context-provider/style/index.d.ts +2 -0
- package/esnext/context-provider/style/index.js +2 -0
- package/esnext/context-provider/style/index.less +1 -0
- package/esnext/count-down/hooks.d.ts +10 -0
- package/esnext/count-down/hooks.js +107 -0
- package/esnext/count-down/index.d.ts +13 -0
- package/esnext/count-down/index.js +37 -0
- package/esnext/count-down/singleton.d.ts +15 -0
- package/esnext/count-down/singleton.js +52 -0
- package/esnext/count-down/style/css/index.css +534 -0
- package/esnext/count-down/style/css/index.d.ts +2 -0
- package/esnext/count-down/style/css/index.js +2 -0
- package/esnext/count-down/style/index.d.ts +2 -0
- package/esnext/count-down/style/index.js +2 -0
- package/esnext/count-down/style/index.less +37 -0
- package/esnext/count-down/type.d.ts +112 -0
- package/esnext/count-down/type.js +1 -0
- package/esnext/count-down/util.d.ts +8 -0
- package/esnext/count-down/util.js +106 -0
- package/esnext/date-picker/helper.d.ts +5 -0
- package/esnext/date-picker/helper.js +38 -0
- package/esnext/date-picker/index.d.ts +24 -0
- package/esnext/date-picker/index.js +217 -0
- package/esnext/date-picker/style/css/index.css +526 -0
- package/esnext/date-picker/style/css/index.d.ts +3 -0
- package/esnext/date-picker/style/css/index.js +3 -0
- package/esnext/date-picker/style/index.d.ts +3 -0
- package/esnext/date-picker/style/index.js +3 -0
- package/esnext/date-picker/style/index.less +30 -0
- package/esnext/date-picker/type.d.ts +114 -0
- package/esnext/date-picker/type.js +1 -0
- package/esnext/dialog/index.d.ts +213 -0
- package/esnext/dialog/index.js +87 -0
- package/esnext/dialog/methods.d.ts +20 -0
- package/esnext/dialog/methods.js +42 -0
- package/esnext/dialog/style/css/index.css +1111 -0
- package/esnext/dialog/style/css/index.d.ts +3 -0
- package/esnext/dialog/style/css/index.js +3 -0
- package/esnext/dialog/style/index.d.ts +3 -0
- package/esnext/dialog/style/index.js +3 -0
- package/esnext/dialog/style/index.less +376 -0
- package/esnext/divider/index.d.ts +49 -0
- package/esnext/divider/index.js +32 -0
- package/esnext/divider/style/css/index.css +609 -0
- package/esnext/divider/style/css/index.d.ts +2 -0
- package/esnext/divider/style/css/index.js +2 -0
- package/esnext/divider/style/index.d.ts +2 -0
- package/esnext/divider/style/index.js +2 -0
- package/esnext/divider/style/index.less +101 -0
- package/esnext/dropdown/dropdown.d.ts +3 -0
- package/esnext/dropdown/dropdown.js +196 -0
- package/esnext/dropdown/index.d.ts +14 -0
- package/esnext/dropdown/index.js +16 -0
- package/esnext/dropdown/options.d.ts +4 -0
- package/esnext/dropdown/options.js +61 -0
- package/esnext/dropdown/style/css/index.css +653 -0
- package/esnext/dropdown/style/css/index.d.ts +2 -0
- package/esnext/dropdown/style/css/index.js +2 -0
- package/esnext/dropdown/style/index.d.ts +2 -0
- package/esnext/dropdown/style/index.js +2 -0
- package/esnext/dropdown/style/index.less +177 -0
- package/esnext/dropdown/type.d.ts +269 -0
- package/esnext/dropdown/type.js +1 -0
- package/esnext/dropdown-menu/dropdown-menu.d.ts +4 -0
- package/esnext/dropdown-menu/dropdown-menu.js +161 -0
- package/esnext/dropdown-menu/helper.d.ts +34 -0
- package/esnext/dropdown-menu/helper.js +88 -0
- package/esnext/dropdown-menu/index.d.ts +12 -0
- package/esnext/dropdown-menu/index.js +13 -0
- package/esnext/dropdown-menu/style/css/index.css +705 -0
- package/esnext/dropdown-menu/style/css/index.d.ts +3 -0
- package/esnext/dropdown-menu/style/css/index.js +3 -0
- package/esnext/dropdown-menu/style/index.d.ts +3 -0
- package/esnext/dropdown-menu/style/index.js +3 -0
- package/esnext/dropdown-menu/style/index.less +122 -0
- package/esnext/dropdown-menu/type.d.ts +168 -0
- package/esnext/dropdown-menu/type.js +1 -0
- package/esnext/ellipsis/components/js-ellipsis.d.ts +6 -0
- package/esnext/ellipsis/components/js-ellipsis.js +178 -0
- package/esnext/ellipsis/components/native-ellipsis.d.ts +5 -0
- package/esnext/ellipsis/components/native-ellipsis.js +15 -0
- package/esnext/ellipsis/index.d.ts +13 -0
- package/esnext/ellipsis/index.js +31 -0
- package/esnext/ellipsis/style/css/index.css +556 -0
- package/esnext/ellipsis/style/css/index.d.ts +2 -0
- package/esnext/ellipsis/style/css/index.js +2 -0
- package/esnext/ellipsis/style/index.d.ts +2 -0
- package/esnext/ellipsis/style/index.js +2 -0
- package/esnext/ellipsis/style/index.less +63 -0
- package/esnext/ellipsis/type.d.ts +107 -0
- package/esnext/ellipsis/type.js +1 -0
- package/esnext/ellipsis/utils/dom.d.ts +2 -0
- package/esnext/ellipsis/utils/dom.js +35 -0
- package/esnext/ellipsis/utils/is.d.ts +3 -0
- package/esnext/ellipsis/utils/is.js +3 -0
- package/esnext/form/form-item-context.d.ts +3 -0
- package/esnext/form/form-item-context.js +6 -0
- package/esnext/form/form-item.d.ts +4 -0
- package/esnext/form/form-item.js +218 -0
- package/esnext/form/index.d.ts +16 -0
- package/esnext/form/index.js +50 -0
- package/esnext/form/linked-container.d.ts +8 -0
- package/esnext/form/linked-container.js +29 -0
- package/esnext/form/style/css/index.css +670 -0
- package/esnext/form/style/css/index.d.ts +2 -0
- package/esnext/form/style/css/index.js +2 -0
- package/esnext/form/style/index.d.ts +2 -0
- package/esnext/form/style/index.js +2 -0
- package/esnext/form/style/index.less +172 -0
- package/esnext/form/type.d.ts +373 -0
- package/esnext/form/type.js +26 -0
- package/esnext/form/useForm.d.ts +18 -0
- package/esnext/form/useForm.js +203 -0
- package/esnext/form/utils.d.ts +7 -0
- package/esnext/form/utils.js +21 -0
- package/esnext/grid/index.d.ts +112 -0
- package/esnext/grid/index.js +79 -0
- package/esnext/grid/style/css/index.css +661 -0
- package/esnext/grid/style/css/index.d.ts +2 -0
- package/esnext/grid/style/css/index.js +2 -0
- package/esnext/grid/style/index.d.ts +2 -0
- package/esnext/grid/style/index.js +2 -0
- package/esnext/grid/style/index.less +157 -0
- package/esnext/icon/IconAdd/index.d.ts +7 -0
- package/esnext/icon/IconAdd/index.js +7 -0
- package/esnext/icon/IconArrowBack/index.d.ts +7 -0
- package/esnext/icon/IconArrowBack/index.js +7 -0
- package/esnext/icon/IconArrowDown/index.d.ts +7 -0
- package/esnext/icon/IconArrowDown/index.js +7 -0
- package/esnext/icon/IconArrowIn/index.d.ts +7 -0
- package/esnext/icon/IconArrowIn/index.js +7 -0
- package/esnext/icon/IconArrowUp/index.d.ts +7 -0
- package/esnext/icon/IconArrowUp/index.js +7 -0
- package/esnext/icon/IconCheck/index.d.ts +7 -0
- package/esnext/icon/IconCheck/index.js +7 -0
- package/esnext/icon/IconCheckBold/index.d.ts +7 -0
- package/esnext/icon/IconCheckBold/index.js +8 -0
- package/esnext/icon/IconCircleChecked/index.d.ts +7 -0
- package/esnext/icon/IconCircleChecked/index.js +7 -0
- package/esnext/icon/IconCircleDisabled/index.d.ts +7 -0
- package/esnext/icon/IconCircleDisabled/index.js +7 -0
- package/esnext/icon/IconCircleUnchecked/index.d.ts +7 -0
- package/esnext/icon/IconCircleUnchecked/index.js +7 -0
- package/esnext/icon/IconClear/index.d.ts +7 -0
- package/esnext/icon/IconClear/index.js +7 -0
- package/esnext/icon/IconClose/index.d.ts +7 -0
- package/esnext/icon/IconClose/index.js +7 -0
- package/esnext/icon/IconCloseBold/index.d.ts +7 -0
- package/esnext/icon/IconCloseBold/index.js +8 -0
- package/esnext/icon/IconDelete/index.d.ts +7 -0
- package/esnext/icon/IconDelete/index.js +7 -0
- package/esnext/icon/IconDownload/index.d.ts +7 -0
- package/esnext/icon/IconDownload/index.js +7 -0
- package/esnext/icon/IconEdit/index.d.ts +7 -0
- package/esnext/icon/IconEdit/index.js +7 -0
- package/esnext/icon/IconErrorCircle/index.d.ts +7 -0
- package/esnext/icon/IconErrorCircle/index.js +8 -0
- package/esnext/icon/IconEyeInvisible/index.d.ts +7 -0
- package/esnext/icon/IconEyeInvisible/index.js +7 -0
- package/esnext/icon/IconEyeVisible/index.d.ts +7 -0
- package/esnext/icon/IconEyeVisible/index.js +7 -0
- package/esnext/icon/IconEyelashInvisible/index.d.ts +7 -0
- package/esnext/icon/IconEyelashInvisible/index.js +7 -0
- package/esnext/icon/IconFile/index.d.ts +7 -0
- package/esnext/icon/IconFile/index.js +7 -0
- package/esnext/icon/IconGift/index.d.ts +7 -0
- package/esnext/icon/IconGift/index.js +8 -0
- package/esnext/icon/IconHeart/index.d.ts +7 -0
- package/esnext/icon/IconHeart/index.js +8 -0
- package/esnext/icon/IconHome/index.d.ts +7 -0
- package/esnext/icon/IconHome/index.js +7 -0
- package/esnext/icon/IconKeyboard/index.d.ts +7 -0
- package/esnext/icon/IconKeyboard/index.js +8 -0
- package/esnext/icon/IconKeyboardDelete/index.d.ts +7 -0
- package/esnext/icon/IconKeyboardDelete/index.js +8 -0
- package/esnext/icon/IconLikeCircle/index.d.ts +7 -0
- package/esnext/icon/IconLikeCircle/index.js +7 -0
- package/esnext/icon/IconMinus/index.d.ts +7 -0
- package/esnext/icon/IconMinus/index.js +8 -0
- package/esnext/icon/IconMore/index.d.ts +7 -0
- package/esnext/icon/IconMore/index.js +7 -0
- package/esnext/icon/IconNotice/index.d.ts +7 -0
- package/esnext/icon/IconNotice/index.js +8 -0
- package/esnext/icon/IconNoticeOff/index.d.ts +7 -0
- package/esnext/icon/IconNoticeOff/index.js +8 -0
- package/esnext/icon/IconPicture/index.d.ts +7 -0
- package/esnext/icon/IconPicture/index.js +7 -0
- package/esnext/icon/IconPlay/index.d.ts +7 -0
- package/esnext/icon/IconPlay/index.js +8 -0
- package/esnext/icon/IconQuestionCircle/index.d.ts +7 -0
- package/esnext/icon/IconQuestionCircle/index.js +7 -0
- package/esnext/icon/IconRefresh/index.d.ts +7 -0
- package/esnext/icon/IconRefresh/index.js +7 -0
- package/esnext/icon/IconSad/index.d.ts +7 -0
- package/esnext/icon/IconSad/index.js +7 -0
- package/esnext/icon/IconScan/index.d.ts +7 -0
- package/esnext/icon/IconScan/index.js +7 -0
- package/esnext/icon/IconSearch/index.d.ts +7 -0
- package/esnext/icon/IconSearch/index.js +7 -0
- package/esnext/icon/IconSetting/index.d.ts +7 -0
- package/esnext/icon/IconSetting/index.js +8 -0
- package/esnext/icon/IconShop/index.d.ts +7 -0
- package/esnext/icon/IconShop/index.js +8 -0
- package/esnext/icon/IconShopping/index.d.ts +7 -0
- package/esnext/icon/IconShopping/index.js +8 -0
- package/esnext/icon/IconSmileFill/index.d.ts +7 -0
- package/esnext/icon/IconSmileFill/index.js +7 -0
- package/esnext/icon/IconSound/index.d.ts +7 -0
- package/esnext/icon/IconSound/index.js +8 -0
- package/esnext/icon/IconSquareChecked/index.d.ts +7 -0
- package/esnext/icon/IconSquareChecked/index.js +7 -0
- package/esnext/icon/IconSquareDisabled/index.d.ts +7 -0
- package/esnext/icon/IconSquareDisabled/index.js +7 -0
- package/esnext/icon/IconSquareUnchecked/index.d.ts +7 -0
- package/esnext/icon/IconSquareUnchecked/index.js +7 -0
- package/esnext/icon/IconStar/index.d.ts +7 -0
- package/esnext/icon/IconStar/index.js +7 -0
- package/esnext/icon/IconStarFill/index.d.ts +7 -0
- package/esnext/icon/IconStarFill/index.js +8 -0
- package/esnext/icon/IconStarHalf/index.d.ts +7 -0
- package/esnext/icon/IconStarHalf/index.js +7 -0
- package/esnext/icon/IconSubway/index.d.ts +7 -0
- package/esnext/icon/IconSubway/index.js +8 -0
- package/esnext/icon/IconSuccessCircle/index.d.ts +7 -0
- package/esnext/icon/IconSuccessCircle/index.js +8 -0
- package/esnext/icon/IconTriDown/index.d.ts +7 -0
- package/esnext/icon/IconTriDown/index.js +8 -0
- package/esnext/icon/IconTriUp/index.d.ts +7 -0
- package/esnext/icon/IconTriUp/index.js +8 -0
- package/esnext/icon/IconUpload/index.d.ts +7 -0
- package/esnext/icon/IconUpload/index.js +7 -0
- package/esnext/icon/IconUser/index.d.ts +7 -0
- package/esnext/icon/IconUser/index.js +7 -0
- package/esnext/icon/IconUserFill/index.d.ts +7 -0
- package/esnext/icon/IconUserFill/index.js +7 -0
- package/esnext/icon/IconWarnCircle/index.d.ts +7 -0
- package/esnext/icon/IconWarnCircle/index.js +8 -0
- package/esnext/icon/IconWarnCircleFill/index.d.ts +7 -0
- package/esnext/icon/IconWarnCircleFill/index.js +8 -0
- package/esnext/icon/index.d.ts +59 -0
- package/esnext/icon/index.js +59 -0
- package/esnext/icon/type.d.ts +10 -0
- package/esnext/icon/type.js +1 -0
- package/esnext/image/index.d.ts +186 -0
- package/esnext/image/index.js +223 -0
- package/esnext/image/style/css/index.css +734 -0
- package/esnext/image/style/css/index.d.ts +3 -0
- package/esnext/image/style/css/index.js +3 -0
- package/esnext/image/style/index.d.ts +3 -0
- package/esnext/image/style/index.js +3 -0
- package/esnext/image/style/index.less +198 -0
- package/esnext/image-picker/add-icon.d.ts +2 -0
- package/esnext/image-picker/add-icon.js +5 -0
- package/esnext/image-picker/index.d.ts +16 -0
- package/esnext/image-picker/index.js +77 -0
- package/esnext/image-picker/style/css/index.css +688 -0
- package/esnext/image-picker/style/css/index.d.ts +4 -0
- package/esnext/image-picker/style/css/index.js +4 -0
- package/esnext/image-picker/style/index.d.ts +4 -0
- package/esnext/image-picker/style/index.js +4 -0
- package/esnext/image-picker/style/index.less +170 -0
- package/esnext/image-picker/type.d.ts +115 -0
- package/esnext/image-picker/type.js +1 -0
- package/esnext/image-preview/index.d.ts +296 -0
- package/esnext/image-preview/index.js +794 -0
- package/esnext/image-preview/methods.d.ts +13 -0
- package/esnext/image-preview/methods.js +46 -0
- package/esnext/image-preview/style/css/index.css +664 -0
- package/esnext/image-preview/style/css/index.d.ts +5 -0
- package/esnext/image-preview/style/css/index.js +5 -0
- package/esnext/image-preview/style/index.d.ts +5 -0
- package/esnext/image-preview/style/index.js +5 -0
- package/esnext/image-preview/style/index.less +140 -0
- package/esnext/index-bar/context.d.ts +3 -0
- package/esnext/index-bar/context.js +6 -0
- package/esnext/index-bar/group.d.ts +3 -0
- package/esnext/index-bar/group.js +33 -0
- package/esnext/index-bar/index.d.ts +15 -0
- package/esnext/index-bar/index.js +151 -0
- package/esnext/index-bar/side-bar.d.ts +3 -0
- package/esnext/index-bar/side-bar.js +44 -0
- package/esnext/index-bar/style/css/index.css +767 -0
- package/esnext/index-bar/style/css/index.d.ts +3 -0
- package/esnext/index-bar/style/css/index.js +3 -0
- package/esnext/index-bar/style/index.d.ts +3 -0
- package/esnext/index-bar/style/index.js +3 -0
- package/esnext/index-bar/style/index.less +189 -0
- package/esnext/index-bar/type.d.ts +195 -0
- package/esnext/index-bar/type.js +1 -0
- package/esnext/index-bar/utils.d.ts +6 -0
- package/esnext/index-bar/utils.js +44 -0
- package/esnext/index.d.ts +59 -0
- package/esnext/index.js +59 -0
- package/esnext/input/hooks.d.ts +14 -0
- package/esnext/input/hooks.js +174 -0
- package/esnext/input/index.d.ts +60 -0
- package/esnext/input/index.js +28 -0
- package/esnext/input/props.d.ts +182 -0
- package/esnext/input/props.js +1 -0
- package/esnext/input/style/css/index.css +759 -0
- package/esnext/input/style/css/index.d.ts +2 -0
- package/esnext/input/style/css/index.js +2 -0
- package/esnext/input/style/index.d.ts +2 -0
- package/esnext/input/style/index.js +2 -0
- package/esnext/input/style/index.less +195 -0
- package/esnext/keyboard/index.d.ts +13 -0
- package/esnext/keyboard/index.js +159 -0
- package/esnext/keyboard/style/css/index.css +633 -0
- package/esnext/keyboard/style/css/index.d.ts +3 -0
- package/esnext/keyboard/style/css/index.js +3 -0
- package/esnext/keyboard/style/index.d.ts +3 -0
- package/esnext/keyboard/style/index.js +3 -0
- package/esnext/keyboard/style/index.less +131 -0
- package/esnext/keyboard/type.d.ts +102 -0
- package/esnext/keyboard/type.js +1 -0
- package/esnext/load-more/index.d.ts +158 -0
- package/esnext/load-more/index.js +150 -0
- package/esnext/load-more/style/css/index.css +534 -0
- package/esnext/load-more/style/css/index.d.ts +2 -0
- package/esnext/load-more/style/css/index.js +2 -0
- package/esnext/load-more/style/index.d.ts +2 -0
- package/esnext/load-more/style/index.js +2 -0
- package/esnext/load-more/style/index.less +37 -0
- package/esnext/loading/index.d.ts +76 -0
- package/esnext/loading/index.js +123 -0
- package/esnext/loading/style/css/index.css +648 -0
- package/esnext/loading/style/css/index.d.ts +2 -0
- package/esnext/loading/style/css/index.js +2 -0
- package/esnext/loading/style/index.d.ts +2 -0
- package/esnext/loading/style/index.js +2 -0
- package/esnext/loading/style/index.less +147 -0
- package/esnext/masking/index.d.ts +225 -0
- package/esnext/masking/index.js +114 -0
- package/esnext/masking/methods.d.ts +23 -0
- package/esnext/masking/methods.js +56 -0
- package/esnext/masking/style/css/index.css +552 -0
- package/esnext/masking/style/css/index.d.ts +3 -0
- package/esnext/masking/style/css/index.js +3 -0
- package/esnext/masking/style/index.d.ts +3 -0
- package/esnext/masking/style/index.js +3 -0
- package/esnext/masking/style/index.less +55 -0
- package/esnext/nav-bar/back-icon.d.ts +5 -0
- package/esnext/nav-bar/back-icon.js +9 -0
- package/esnext/nav-bar/index.d.ts +135 -0
- package/esnext/nav-bar/index.js +96 -0
- package/esnext/nav-bar/style/css/index.css +706 -0
- package/esnext/nav-bar/style/css/index.d.ts +2 -0
- package/esnext/nav-bar/style/css/index.js +2 -0
- package/esnext/nav-bar/style/index.d.ts +2 -0
- package/esnext/nav-bar/style/index.js +2 -0
- package/esnext/nav-bar/style/index.less +150 -0
- package/esnext/notice-bar/index.d.ts +107 -0
- package/esnext/notice-bar/index.js +126 -0
- package/esnext/notice-bar/style/css/index.css +685 -0
- package/esnext/notice-bar/style/css/index.d.ts +2 -0
- package/esnext/notice-bar/style/css/index.js +2 -0
- package/esnext/notice-bar/style/index.d.ts +2 -0
- package/esnext/notice-bar/style/index.js +2 -0
- package/esnext/notice-bar/style/index.less +160 -0
- package/esnext/notify/index.d.ts +97 -0
- package/esnext/notify/index.js +123 -0
- package/esnext/notify/methods.d.ts +14 -0
- package/esnext/notify/methods.js +63 -0
- package/esnext/notify/style/css/index.css +591 -0
- package/esnext/notify/style/css/index.d.ts +2 -0
- package/esnext/notify/style/css/index.js +2 -0
- package/esnext/notify/style/index.d.ts +2 -0
- package/esnext/notify/style/index.js +2 -0
- package/esnext/notify/style/index.less +90 -0
- package/esnext/notify/type.d.ts +70 -0
- package/esnext/notify/type.js +1 -0
- package/esnext/pagination/arrow.d.ts +2 -0
- package/esnext/pagination/arrow.js +5 -0
- package/esnext/pagination/index.d.ts +124 -0
- package/esnext/pagination/index.js +104 -0
- package/esnext/pagination/style/css/index.css +708 -0
- package/esnext/pagination/style/css/index.d.ts +2 -0
- package/esnext/pagination/style/css/index.js +2 -0
- package/esnext/pagination/style/index.d.ts +2 -0
- package/esnext/pagination/style/index.js +2 -0
- package/esnext/pagination/style/index.less +176 -0
- package/esnext/picker/index.d.ts +50 -0
- package/esnext/picker/index.js +93 -0
- package/esnext/picker/style/css/index.css +592 -0
- package/esnext/picker/style/css/index.d.ts +4 -0
- package/esnext/picker/style/css/index.js +4 -0
- package/esnext/picker/style/index.d.ts +4 -0
- package/esnext/picker/style/index.js +4 -0
- package/esnext/picker/style/index.less +95 -0
- package/esnext/picker/type.d.ts +131 -0
- package/esnext/picker/type.js +1 -0
- package/esnext/picker-view/components/cascader.d.ts +25 -0
- package/esnext/picker-view/components/cascader.js +54 -0
- package/esnext/picker-view/components/multi-picker.d.ts +11 -0
- package/esnext/picker-view/components/multi-picker.js +32 -0
- package/esnext/picker-view/components/picker-cell.d.ts +28 -0
- package/esnext/picker-view/components/picker-cell.js +284 -0
- package/esnext/picker-view/index.d.ts +62 -0
- package/esnext/picker-view/index.js +135 -0
- package/esnext/picker-view/style/css/index.css +750 -0
- package/esnext/picker-view/style/css/index.d.ts +2 -0
- package/esnext/picker-view/style/css/index.js +2 -0
- package/esnext/picker-view/style/index.d.ts +2 -0
- package/esnext/picker-view/style/index.js +2 -0
- package/esnext/picker-view/style/index.less +125 -0
- package/esnext/picker-view/type.d.ts +89 -0
- package/esnext/picker-view/type.js +1 -0
- package/esnext/popover/hooks/index.d.ts +2 -0
- package/esnext/popover/hooks/index.js +2 -0
- package/esnext/popover/hooks/useEvent.d.ts +8 -0
- package/esnext/popover/hooks/useEvent.js +148 -0
- package/esnext/popover/hooks/usePosition.d.ts +18 -0
- package/esnext/popover/hooks/usePosition.js +419 -0
- package/esnext/popover/index.d.ts +14 -0
- package/esnext/popover/index.js +20 -0
- package/esnext/popover/menu.d.ts +3 -0
- package/esnext/popover/menu.js +80 -0
- package/esnext/popover/popover-inner.d.ts +3 -0
- package/esnext/popover/popover-inner.js +79 -0
- package/esnext/popover/popover.d.ts +3 -0
- package/esnext/popover/popover.js +132 -0
- package/esnext/popover/style/css/index.css +993 -0
- package/esnext/popover/style/css/index.d.ts +3 -0
- package/esnext/popover/style/css/index.js +3 -0
- package/esnext/popover/style/css/menu.css +673 -0
- package/esnext/popover/style/index.d.ts +3 -0
- package/esnext/popover/style/index.js +3 -0
- package/esnext/popover/style/index.less +353 -0
- package/esnext/popover/style/menu.less +163 -0
- package/esnext/popover/type.d.ts +447 -0
- package/esnext/popover/type.js +1 -0
- package/esnext/popup/index.d.ts +86 -0
- package/esnext/popup/index.js +39 -0
- package/esnext/popup/methods.d.ts +10 -0
- package/esnext/popup/methods.js +4 -0
- package/esnext/popup/style/css/index.css +638 -0
- package/esnext/popup/style/css/index.d.ts +3 -0
- package/esnext/popup/style/css/index.js +3 -0
- package/esnext/popup/style/index.d.ts +3 -0
- package/esnext/popup/style/index.js +3 -0
- package/esnext/popup/style/index.less +114 -0
- package/esnext/popup-swiper/index.d.ts +93 -0
- package/esnext/popup-swiper/index.js +192 -0
- package/esnext/popup-swiper/methods.d.ts +10 -0
- package/esnext/popup-swiper/methods.js +4 -0
- package/esnext/popup-swiper/style/css/index.css +531 -0
- package/esnext/popup-swiper/style/css/index.d.ts +3 -0
- package/esnext/popup-swiper/style/css/index.js +3 -0
- package/esnext/popup-swiper/style/index.d.ts +3 -0
- package/esnext/popup-swiper/style/index.js +3 -0
- package/esnext/popup-swiper/style/index.less +35 -0
- package/esnext/portal/index.d.ts +23 -0
- package/esnext/portal/index.js +18 -0
- package/esnext/portal/style/css/index.css +0 -0
- package/esnext/portal/style/css/index.d.ts +2 -0
- package/esnext/portal/style/css/index.js +2 -0
- package/esnext/portal/style/index.d.ts +2 -0
- package/esnext/portal/style/index.js +2 -0
- package/esnext/portal/style/index.less +1 -0
- package/esnext/progress/index.d.ts +126 -0
- package/esnext/progress/index.js +66 -0
- package/esnext/progress/style/css/index.css +692 -0
- package/esnext/progress/style/css/index.d.ts +2 -0
- package/esnext/progress/style/css/index.js +2 -0
- package/esnext/progress/style/index.d.ts +2 -0
- package/esnext/progress/style/index.js +2 -0
- package/esnext/progress/style/index.less +205 -0
- package/esnext/pull-refresh/android-pull-refresh.d.ts +3 -0
- package/esnext/pull-refresh/android-pull-refresh.js +168 -0
- package/esnext/pull-refresh/hooks.d.ts +30 -0
- package/esnext/pull-refresh/hooks.js +73 -0
- package/esnext/pull-refresh/index.d.ts +28 -0
- package/esnext/pull-refresh/index.js +21 -0
- package/esnext/pull-refresh/ios-pull-refresh.d.ts +3 -0
- package/esnext/pull-refresh/ios-pull-refresh.js +137 -0
- package/esnext/pull-refresh/model.d.ts +111 -0
- package/esnext/pull-refresh/model.js +8 -0
- package/esnext/pull-refresh/style/css/index.css +650 -0
- package/esnext/pull-refresh/style/css/index.d.ts +3 -0
- package/esnext/pull-refresh/style/css/index.js +3 -0
- package/esnext/pull-refresh/style/index.d.ts +3 -0
- package/esnext/pull-refresh/style/index.js +3 -0
- package/esnext/pull-refresh/style/index.less +131 -0
- package/esnext/radio/group.d.ts +5 -0
- package/esnext/radio/group.js +50 -0
- package/esnext/radio/index.d.ts +19 -0
- package/esnext/radio/index.js +22 -0
- package/esnext/radio/radio.d.ts +5 -0
- package/esnext/radio/radio.js +13 -0
- package/esnext/radio/style/css/index.css +604 -0
- package/esnext/radio/style/css/index.d.ts +2 -0
- package/esnext/radio/style/css/index.js +2 -0
- package/esnext/radio/style/index.d.ts +2 -0
- package/esnext/radio/style/index.js +2 -0
- package/esnext/radio/style/index.less +114 -0
- package/esnext/radio/type.d.ts +31 -0
- package/esnext/radio/type.js +1 -0
- package/esnext/rate/index.d.ts +109 -0
- package/esnext/rate/index.js +87 -0
- package/esnext/rate/style/css/index.css +595 -0
- package/esnext/rate/style/css/index.d.ts +2 -0
- package/esnext/rate/style/css/index.js +2 -0
- package/esnext/rate/style/index.d.ts +2 -0
- package/esnext/rate/style/index.js +2 -0
- package/esnext/rate/style/index.less +106 -0
- package/esnext/search-bar/association.d.ts +3 -0
- package/esnext/search-bar/association.js +51 -0
- package/esnext/search-bar/cancel-button.d.ts +10 -0
- package/esnext/search-bar/cancel-button.js +18 -0
- package/esnext/search-bar/highlight.d.ts +12 -0
- package/esnext/search-bar/highlight.js +46 -0
- package/esnext/search-bar/index.d.ts +13 -0
- package/esnext/search-bar/index.js +109 -0
- package/esnext/search-bar/style/css/index.css +765 -0
- package/esnext/search-bar/style/css/index.d.ts +2 -0
- package/esnext/search-bar/style/css/index.js +2 -0
- package/esnext/search-bar/style/index.d.ts +2 -0
- package/esnext/search-bar/style/index.js +2 -0
- package/esnext/search-bar/style/index.less +198 -0
- package/esnext/search-bar/type.d.ts +163 -0
- package/esnext/search-bar/type.js +1 -0
- package/esnext/show-monitor/index.d.ts +115 -0
- package/esnext/show-monitor/index.js +416 -0
- package/esnext/show-monitor/style/css/index.css +0 -0
- package/esnext/show-monitor/style/css/index.d.ts +2 -0
- package/esnext/show-monitor/style/css/index.js +2 -0
- package/esnext/show-monitor/style/index.d.ts +2 -0
- package/esnext/show-monitor/style/index.js +2 -0
- package/esnext/show-monitor/style/index.less +1 -0
- package/esnext/skeleton/elements.d.ts +7 -0
- package/esnext/skeleton/elements.js +117 -0
- package/esnext/skeleton/index.d.ts +19 -0
- package/esnext/skeleton/index.js +50 -0
- package/esnext/skeleton/skeleton-context.d.ts +3 -0
- package/esnext/skeleton/skeleton-context.js +5 -0
- package/esnext/skeleton/style/css/index.css +712 -0
- package/esnext/skeleton/style/css/index.d.ts +3 -0
- package/esnext/skeleton/style/css/index.js +3 -0
- package/esnext/skeleton/style/index.d.ts +3 -0
- package/esnext/skeleton/style/index.js +3 -0
- package/esnext/skeleton/style/index.less +182 -0
- package/esnext/skeleton/type.d.ts +105 -0
- package/esnext/skeleton/type.js +1 -0
- package/esnext/slider/hooks/index.d.ts +12 -0
- package/esnext/slider/hooks/index.js +33 -0
- package/esnext/slider/hooks/useSliderEvents.d.ts +17 -0
- package/esnext/slider/hooks/useSliderEvents.js +128 -0
- package/esnext/slider/hooks/useSliderIcon.d.ts +7 -0
- package/esnext/slider/hooks/useSliderIcon.js +41 -0
- package/esnext/slider/hooks/useSliderInit.d.ts +14 -0
- package/esnext/slider/hooks/useSliderInit.js +146 -0
- package/esnext/slider/hooks/useSliderStyle.d.ts +13 -0
- package/esnext/slider/hooks/useSliderStyle.js +39 -0
- package/esnext/slider/index.d.ts +163 -0
- package/esnext/slider/index.js +120 -0
- package/esnext/slider/marks.d.ts +11 -0
- package/esnext/slider/marks.js +17 -0
- package/esnext/slider/popover.d.ts +6 -0
- package/esnext/slider/popover.js +13 -0
- package/esnext/slider/style/css/index.css +863 -0
- package/esnext/slider/style/css/index.d.ts +3 -0
- package/esnext/slider/style/css/index.js +3 -0
- package/esnext/slider/style/index.d.ts +3 -0
- package/esnext/slider/style/index.js +3 -0
- package/esnext/slider/style/index.less +366 -0
- package/esnext/slider/thumb.d.ts +9 -0
- package/esnext/slider/thumb.js +21 -0
- package/esnext/stepper/hooks/useButtonClick.d.ts +11 -0
- package/esnext/stepper/hooks/useButtonClick.js +46 -0
- package/esnext/stepper/hooks/useInputEvent.d.ts +10 -0
- package/esnext/stepper/hooks/useInputEvent.js +41 -0
- package/esnext/stepper/hooks/useValue.d.ts +7 -0
- package/esnext/stepper/hooks/useValue.js +33 -0
- package/esnext/stepper/index.d.ts +16 -0
- package/esnext/stepper/index.js +81 -0
- package/esnext/stepper/style/css/index.css +636 -0
- package/esnext/stepper/style/css/index.d.ts +2 -0
- package/esnext/stepper/style/css/index.js +2 -0
- package/esnext/stepper/style/index.d.ts +2 -0
- package/esnext/stepper/style/index.js +2 -0
- package/esnext/stepper/style/index.less +161 -0
- package/esnext/stepper/type.d.ts +159 -0
- package/esnext/stepper/type.js +1 -0
- package/esnext/steps/index.d.ts +19 -0
- package/esnext/steps/index.js +50 -0
- package/esnext/steps/step.d.ts +4 -0
- package/esnext/steps/step.js +43 -0
- package/esnext/steps/style/css/index.css +877 -0
- package/esnext/steps/style/css/index.d.ts +2 -0
- package/esnext/steps/style/css/index.js +2 -0
- package/esnext/steps/style/index.d.ts +2 -0
- package/esnext/steps/style/index.js +2 -0
- package/esnext/steps/style/index.less +407 -0
- package/esnext/steps/type.d.ts +110 -0
- package/esnext/steps/type.js +1 -0
- package/esnext/sticky/index.d.ts +141 -0
- package/esnext/sticky/index.js +165 -0
- package/esnext/sticky/style/css/index.css +526 -0
- package/esnext/sticky/style/css/index.d.ts +2 -0
- package/esnext/sticky/style/css/index.js +2 -0
- package/esnext/sticky/style/index.d.ts +2 -0
- package/esnext/sticky/style/index.js +2 -0
- package/esnext/sticky/style/index.less +30 -0
- package/esnext/style.d.ts +60 -0
- package/esnext/style.js +60 -0
- package/esnext/swipe-action/index.d.ts +13 -0
- package/esnext/swipe-action/index.js +220 -0
- package/esnext/swipe-action/item.d.ts +11 -0
- package/esnext/swipe-action/item.js +20 -0
- package/esnext/swipe-action/style/css/index.css +620 -0
- package/esnext/swipe-action/style/css/index.d.ts +2 -0
- package/esnext/swipe-action/style/css/index.js +2 -0
- package/esnext/swipe-action/style/index.d.ts +2 -0
- package/esnext/swipe-action/style/index.js +2 -0
- package/esnext/swipe-action/style/index.less +132 -0
- package/esnext/swipe-action/type.d.ts +123 -0
- package/esnext/swipe-action/type.js +1 -0
- package/esnext/swipe-load/index.d.ts +13 -0
- package/esnext/swipe-load/index.js +255 -0
- package/esnext/swipe-load/style/css/index.css +561 -0
- package/esnext/swipe-load/style/css/index.d.ts +2 -0
- package/esnext/swipe-load/style/css/index.js +2 -0
- package/esnext/swipe-load/style/index.d.ts +2 -0
- package/esnext/swipe-load/style/index.js +2 -0
- package/esnext/swipe-load/style/index.less +66 -0
- package/esnext/swipe-load/type.d.ts +152 -0
- package/esnext/swipe-load/type.js +1 -0
- package/esnext/switch/index.d.ts +105 -0
- package/esnext/switch/index.js +83 -0
- package/esnext/switch/style/css/index.css +765 -0
- package/esnext/switch/style/css/index.d.ts +2 -0
- package/esnext/switch/style/css/index.js +2 -0
- package/esnext/switch/style/index.d.ts +2 -0
- package/esnext/switch/style/index.js +2 -0
- package/esnext/switch/style/index.less +217 -0
- package/esnext/tab-bar/index.d.ts +14 -0
- package/esnext/tab-bar/index.js +16 -0
- package/esnext/tab-bar/item.d.ts +3 -0
- package/esnext/tab-bar/item.js +31 -0
- package/esnext/tab-bar/style/css/index.css +617 -0
- package/esnext/tab-bar/style/css/index.d.ts +2 -0
- package/esnext/tab-bar/style/css/index.js +2 -0
- package/esnext/tab-bar/style/index.d.ts +2 -0
- package/esnext/tab-bar/style/index.js +2 -0
- package/esnext/tab-bar/style/index.less +96 -0
- package/esnext/tab-bar/tab-bar.d.ts +11 -0
- package/esnext/tab-bar/tab-bar.js +40 -0
- package/esnext/tab-bar/type.d.ts +95 -0
- package/esnext/tab-bar/type.js +1 -0
- package/esnext/tabs/index.d.ts +13 -0
- package/esnext/tabs/index.js +340 -0
- package/esnext/tabs/style/css/index.css +1162 -0
- package/esnext/tabs/style/css/index.d.ts +2 -0
- package/esnext/tabs/style/css/index.js +2 -0
- package/esnext/tabs/style/index.d.ts +2 -0
- package/esnext/tabs/style/index.js +2 -0
- package/esnext/tabs/style/index.less +559 -0
- package/esnext/tabs/tab-cell-underline.d.ts +4 -0
- package/esnext/tabs/tab-cell-underline.js +237 -0
- package/esnext/tabs/tab-cell.d.ts +4 -0
- package/esnext/tabs/tab-cell.js +258 -0
- package/esnext/tabs/tab-pane.d.ts +4 -0
- package/esnext/tabs/tab-pane.js +241 -0
- package/esnext/tabs/type.d.ts +629 -0
- package/esnext/tabs/type.js +1 -0
- package/esnext/tag/index.d.ts +14 -0
- package/esnext/tag/index.js +20 -0
- package/esnext/tag/list.d.ts +3 -0
- package/esnext/tag/list.js +47 -0
- package/esnext/tag/style/css/index.css +738 -0
- package/esnext/tag/style/css/index.d.ts +2 -0
- package/esnext/tag/style/css/index.js +2 -0
- package/esnext/tag/style/index.d.ts +2 -0
- package/esnext/tag/style/index.js +2 -0
- package/esnext/tag/style/index.less +188 -0
- package/esnext/tag/tag.d.ts +3 -0
- package/esnext/tag/tag.js +32 -0
- package/esnext/tag/type.d.ts +159 -0
- package/esnext/tag/type.js +1 -0
- package/esnext/textarea/index.d.ts +96 -0
- package/esnext/textarea/index.js +88 -0
- package/esnext/textarea/style/css/index.css +572 -0
- package/esnext/textarea/style/css/index.d.ts +3 -0
- package/esnext/textarea/style/css/index.js +3 -0
- package/esnext/textarea/style/index.d.ts +3 -0
- package/esnext/textarea/style/index.js +3 -0
- package/esnext/textarea/style/index.less +84 -0
- package/esnext/toast/index.d.ts +257 -0
- package/esnext/toast/index.js +142 -0
- package/esnext/toast/methods.d.ts +16 -0
- package/esnext/toast/methods.js +61 -0
- package/esnext/toast/style/css/index.css +658 -0
- package/esnext/toast/style/css/index.d.ts +4 -0
- package/esnext/toast/style/css/index.js +4 -0
- package/esnext/toast/style/index.d.ts +4 -0
- package/esnext/toast/style/index.js +4 -0
- package/esnext/toast/style/index.less +130 -0
- package/esnext/transition/index.d.ts +49 -0
- package/esnext/transition/index.js +15 -0
- package/esnext/transition/style/css/index.css +549 -0
- package/esnext/transition/style/css/index.d.ts +2 -0
- package/esnext/transition/style/css/index.js +2 -0
- package/esnext/transition/style/index.d.ts +2 -0
- package/esnext/transition/style/index.js +2 -0
- package/esnext/transition/style/index.less +53 -0
- package/esnext/uploader/index.d.ts +16 -0
- package/esnext/uploader/index.js +75 -0
- package/esnext/uploader/style/css/index.css +666 -0
- package/esnext/uploader/style/css/index.d.ts +4 -0
- package/esnext/uploader/style/css/index.js +4 -0
- package/esnext/uploader/style/index.d.ts +4 -0
- package/esnext/uploader/style/index.js +4 -0
- package/esnext/uploader/style/index.less +161 -0
- package/esnext/uploader/type.d.ts +108 -0
- package/esnext/uploader/type.js +1 -0
- package/esnext/uploader/upload/index.d.ts +2 -0
- package/esnext/uploader/upload/index.js +2 -0
- package/esnext/uploader/upload/type.d.ts +107 -0
- package/esnext/uploader/upload/type.js +1 -0
- package/esnext/uploader/upload/upload.d.ts +20 -0
- package/esnext/uploader/upload/upload.js +123 -0
- package/esnext-tsconfig.json +23 -0
- package/package.json +3 -3
- package/umd/_helpers/index.d.ts +1 -0
- package/umd/_helpers/index.js +10 -4
- package/umd/_helpers/react-dom.js +21 -14
@@ -0,0 +1,189 @@
|
|
1
|
+
@import '../../../style/mixin.less';
|
2
|
+
|
3
|
+
.@{prefix}-index-bar {
|
4
|
+
position: relative;
|
5
|
+
.use-var(background, index-bar-background);
|
6
|
+
overflow: hidden;
|
7
|
+
&-container {
|
8
|
+
height: 100%;
|
9
|
+
overflow-y: auto;
|
10
|
+
|
11
|
+
&::-webkit-scrollbar {
|
12
|
+
display: none;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
&-group {
|
17
|
+
&-active {
|
18
|
+
.use-var(color, index-bar-group-active-color);
|
19
|
+
}
|
20
|
+
&-title {
|
21
|
+
.use-var-with-rtl(padding-left, index-bar-group-left-spacing);
|
22
|
+
.use-var(height, index-bar-group-title-height);
|
23
|
+
.use-var(background, index-bar-group-title-background);
|
24
|
+
.use-var(font-size, index-bar-group-title-font-size);
|
25
|
+
.use-var(color, index-bar-group-title-font-color);
|
26
|
+
display: flex;
|
27
|
+
align-items: center;
|
28
|
+
}
|
29
|
+
&-item {
|
30
|
+
.use-var(height, index-bar-group-item-height);
|
31
|
+
display: flex;
|
32
|
+
align-items: center;
|
33
|
+
.use-var-with-rtl(margin-left, index-bar-group-left-spacing);
|
34
|
+
.use-var(font-size, index-bar-group-item-font-size);
|
35
|
+
|
36
|
+
&:not(:last-child) {
|
37
|
+
.onepx-border-var(bottom, line-color);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
&-sidebar {
|
43
|
+
position: absolute;
|
44
|
+
z-index: 2;
|
45
|
+
.set-prop-with-rtl(right, 0);
|
46
|
+
top: 50%;
|
47
|
+
transform: translateY(-50%) translateZ(0);
|
48
|
+
user-select: none;
|
49
|
+
|
50
|
+
&-touching {
|
51
|
+
width: 100%;
|
52
|
+
}
|
53
|
+
|
54
|
+
&-item {
|
55
|
+
display: flex;
|
56
|
+
justify-content: flex-end;
|
57
|
+
align-items: center;
|
58
|
+
position: relative;
|
59
|
+
.use-var(padding, index-bar-sidebar-item-padding);
|
60
|
+
cursor: pointer;
|
61
|
+
|
62
|
+
&-wrapper {
|
63
|
+
display: inline-flex;
|
64
|
+
align-items: center;
|
65
|
+
justify-content: center;
|
66
|
+
.use-var(width, index-bar-sidebar-item-width);
|
67
|
+
.use-var(font-size, index-bar-sidebar-item-font-size);
|
68
|
+
.use-var(line-height, index-bar-sidebar-item-line-height);
|
69
|
+
}
|
70
|
+
|
71
|
+
&:last-child {
|
72
|
+
padding-bottom: 0px;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
&-active {
|
76
|
+
.use-var(color, index-bar-sidebar-active-color);
|
77
|
+
}
|
78
|
+
|
79
|
+
&-sweat {
|
80
|
+
position: absolute;
|
81
|
+
.use-var(height, index-bar-sidebar-sweat-radius);
|
82
|
+
.use-var(min-width, index-bar-sidebar-sweat-radius);
|
83
|
+
.use-var(line-height, index-bar-sidebar-sweat-radius);
|
84
|
+
border-radius: 9999px;
|
85
|
+
text-align: center;
|
86
|
+
.use-var(padding, index-bar-sidebar-sweat-padding);
|
87
|
+
.use-var(background, index-bar-sidebar-sweat-background);
|
88
|
+
.use-var-with-rtl(right, index-bar-sidebar-sweat-right);
|
89
|
+
.use-var(font-size, index-bar-sidebar-sweat-font-size);
|
90
|
+
.use-var(color, index-bar-sidebar-sweat-color);
|
91
|
+
&::before {
|
92
|
+
content: '';
|
93
|
+
position: absolute;
|
94
|
+
top: 0;
|
95
|
+
bottom: 0;
|
96
|
+
margin: auto;
|
97
|
+
.use-var-with-rtl(right, index-bar-sidebar-sweat-triangle-position);
|
98
|
+
width: 0;
|
99
|
+
height: 0;
|
100
|
+
.use-var(border, index-bar-sidebar-sweat-triangle-border);
|
101
|
+
.use-var-with-rtl(border-left-color, index-bar-sidebar-sweat-background);
|
102
|
+
border-radius: 4px;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
&-toast {
|
107
|
+
position: absolute;
|
108
|
+
.use-var(background, index-bar-sidebar-toast-background);
|
109
|
+
.use-var(color, index-bar-sidebar-toast-color);
|
110
|
+
left: 50%;
|
111
|
+
top: 50%;
|
112
|
+
.use-var(min-width, index-bar-sidebar-toast-height);
|
113
|
+
.use-var(height, index-bar-sidebar-toast-height);
|
114
|
+
.use-var(line-height, index-bar-sidebar-toast-height);
|
115
|
+
transform: translate(-50%, -50%);
|
116
|
+
text-align: center;
|
117
|
+
.use-var(padding, index-bar-sidebar-toast-padding);
|
118
|
+
.use-var(font-size, index-bar-sidebar-toast-font-size);
|
119
|
+
.use-var(border-radius, index-bar-sidebar-toast-radius);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
/***************************************************
|
125
|
+
* *
|
126
|
+
* Arco Theme Style *
|
127
|
+
* *
|
128
|
+
***************************************************/
|
129
|
+
& when (@use-dark-mode = 1) {
|
130
|
+
|
131
|
+
.process-bg-color-with-config,
|
132
|
+
.process-custom-icon-bg-color-with-config {
|
133
|
+
@{arco-dark-mode-selector} & {
|
134
|
+
.use-var(color, dark-steps-process-with-config-item-icon-color);
|
135
|
+
.use-var(color, dark-steps-process-with-config-item-icon-color);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
.wait-custom-icon-bg-color-with-config {
|
139
|
+
@{arco-dark-mode-selector} & {
|
140
|
+
.use-var(background, dark-steps-wait-icon-num-background);
|
141
|
+
.use-var(color, dark-sub-info-font-color);
|
142
|
+
.use-var(background, dark-steps-wait-icon-num-background);
|
143
|
+
.use-var(color, dark-sub-info-font-color);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
.@{prefix}-index-bar {
|
147
|
+
@{arco-dark-mode-selector} & {
|
148
|
+
.use-var(background, dark-index-bar-background);
|
149
|
+
}
|
150
|
+
&-group {
|
151
|
+
&-active {
|
152
|
+
@{arco-dark-mode-selector} & {
|
153
|
+
.use-var(color, dark-index-bar-group-active-color);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
&-title {
|
157
|
+
@{arco-dark-mode-selector} & {
|
158
|
+
.use-var(background, dark-index-bar-group-title-background);
|
159
|
+
.use-var(color, dark-index-bar-group-title-font-color);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
&-item {
|
163
|
+
&:not(:last-child) {
|
164
|
+
@{arco-dark-mode-selector} & {
|
165
|
+
.onepx-border-var(bottom, dark-line-color);
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
&-sidebar {
|
171
|
+
&-active {
|
172
|
+
@{arco-dark-mode-selector} & {
|
173
|
+
.use-var(color, dark-index-bar-sidebar-active-color);
|
174
|
+
}
|
175
|
+
}
|
176
|
+
&-sweat {
|
177
|
+
@{arco-dark-mode-selector} & {
|
178
|
+
.use-var(color, dark-index-bar-sidebar-sweat-color);
|
179
|
+
}
|
180
|
+
}
|
181
|
+
&-toast {
|
182
|
+
@{arco-dark-mode-selector} & {
|
183
|
+
.use-var(color, dark-index-bar-sidebar-toast-color);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
/********************* End *************************/
|
@@ -0,0 +1,195 @@
|
|
1
|
+
import React, { CSSProperties, ReactElement, ReactNode } from 'react';
|
2
|
+
import { StickyRef } from '../sticky';
|
3
|
+
import { BaseRef } from '../_helpers';
|
4
|
+
export declare type IndexBarIndexType = string | number;
|
5
|
+
export interface IndexBarBaseData {
|
6
|
+
/**
|
7
|
+
* 内容
|
8
|
+
* @en content
|
9
|
+
*/
|
10
|
+
content: ReactNode;
|
11
|
+
}
|
12
|
+
interface IndexBarGroupItem<Data extends IndexBarBaseData = IndexBarBaseData> {
|
13
|
+
/**
|
14
|
+
* IndexBarGroup对应的索引
|
15
|
+
* @en Index corresponding to IndexBarGroup
|
16
|
+
*/
|
17
|
+
index: IndexBarIndexType;
|
18
|
+
/**
|
19
|
+
* IndexBarGroup中要渲染的列表数据,如果已经传递了children这个属性,则list这个属性不会生效
|
20
|
+
* @en The list data to be rendered in IndexBarGroup, if the children attribute has been passed, the list attribute will not take effect
|
21
|
+
*/
|
22
|
+
list?: Data[];
|
23
|
+
}
|
24
|
+
export declare type IndexBarTipType = 'none' | 'sweat' | 'toast';
|
25
|
+
export declare type IndexBarChangeTrigger = 'swipe' | 'manual' | 'sidebar';
|
26
|
+
export interface IndexBarScrollParams {
|
27
|
+
index: IndexBarIndexType;
|
28
|
+
type: IndexBarChangeTrigger;
|
29
|
+
rightNow?: boolean;
|
30
|
+
}
|
31
|
+
export interface IndexBarSideBarProps {
|
32
|
+
tipType: IndexBarTipType;
|
33
|
+
indexes: IndexBarIndexType[];
|
34
|
+
prefixCls?: string;
|
35
|
+
onTouching: (isTouching: boolean) => void;
|
36
|
+
onClick: (index: IndexBarIndexType) => void;
|
37
|
+
activeIndex?: IndexBarIndexType;
|
38
|
+
renderSideBarItem?: (index: IndexBarIndexType) => ReactNode;
|
39
|
+
renderSideBar?: (Content: ReactNode) => ReactElement;
|
40
|
+
renderTip?: (index: IndexBarIndexType) => ReactNode;
|
41
|
+
}
|
42
|
+
export interface IndexBarGroupProps<Data extends IndexBarBaseData = IndexBarBaseData> extends IndexBarGroupItem<Data> {
|
43
|
+
/**
|
44
|
+
* 自定义类名
|
45
|
+
* @en Custom classname
|
46
|
+
*/
|
47
|
+
className?: string;
|
48
|
+
/**
|
49
|
+
* 自定义样式
|
50
|
+
* @en Custom stylesheet
|
51
|
+
*/
|
52
|
+
style?: CSSProperties;
|
53
|
+
/**
|
54
|
+
* 自定义内容的渲染,有自定义内容优先渲染自定义内容,否则渲染list传递的数据
|
55
|
+
* @en Rendering of custom content, if there is custom content, the custom content is rendered first, otherwise the data passed by the list is rendered
|
56
|
+
*/
|
57
|
+
children?: ReactNode;
|
58
|
+
/**
|
59
|
+
* 自定义提取List的key作为列表渲染的key,默认选取listItem的所在数组位置
|
60
|
+
* @en Customize the extracted key of the List as the key for list rendering, and select the array position where the listItem is located by default
|
61
|
+
*/
|
62
|
+
listKey?: (data: Data, listItemIndex: number) => IndexBarIndexType;
|
63
|
+
/**
|
64
|
+
* IndexBar.Group中某个子项被点击时的回调
|
65
|
+
* @en Callback when a child item in IndexBar.Group is clicked
|
66
|
+
*/
|
67
|
+
onGroupItemClick?: (index: IndexBarIndexType, itemData: Data, itemIndex: number) => void;
|
68
|
+
/**
|
69
|
+
* 自定义IndexBar.Group的索引标题内容渲染
|
70
|
+
* @en Customize IndexBar.Group's index title content rendering
|
71
|
+
*/
|
72
|
+
renderStickyItem?: (index: IndexBarIndexType) => ReactNode;
|
73
|
+
/**
|
74
|
+
* 自定义IndexBar.Group的子项内容渲染
|
75
|
+
* @en Customize the rendering of sub-items of IndexBar.Group
|
76
|
+
*/
|
77
|
+
renderGroupItem?: (index: IndexBarIndexType, itemData: Data, itemIndex: number) => ReactNode;
|
78
|
+
}
|
79
|
+
export interface IndexBarGroupRef extends BaseRef {
|
80
|
+
}
|
81
|
+
export interface IndexBarProps<Data extends IndexBarBaseData = IndexBarBaseData> {
|
82
|
+
/**
|
83
|
+
* 自定义类名
|
84
|
+
* @en Custom classname
|
85
|
+
*/
|
86
|
+
className?: string;
|
87
|
+
/**
|
88
|
+
* 自定义样式
|
89
|
+
* @en Custom stylesheet
|
90
|
+
*/
|
91
|
+
style?: React.CSSProperties;
|
92
|
+
/**
|
93
|
+
* 默认要激活的索引
|
94
|
+
* @en Index to activate by default
|
95
|
+
*/
|
96
|
+
defaultIndex?: IndexBarIndexType;
|
97
|
+
/**
|
98
|
+
* 是否开启侧边栏功能
|
99
|
+
* @en Whether to enable the sidebar function
|
100
|
+
* @default false
|
101
|
+
*/
|
102
|
+
disableSidebar?: boolean;
|
103
|
+
/**
|
104
|
+
* 是否开启索引的自动吸顶效果
|
105
|
+
* @en Whether to enable the automatic ceiling effect of the index
|
106
|
+
* @default true
|
107
|
+
*/
|
108
|
+
sticky?: boolean;
|
109
|
+
/**
|
110
|
+
* 索引栏内容
|
111
|
+
* @en IndexBar contents
|
112
|
+
*/
|
113
|
+
groups?: IndexBarGroupItem<Data>[];
|
114
|
+
/**
|
115
|
+
* 自定义内容的渲染,内容必须是IndexBar.Group组件
|
116
|
+
* @en Rendering of custom content, the content must be an IndexBar.Group component
|
117
|
+
*/
|
118
|
+
children?: ReactNode;
|
119
|
+
/**
|
120
|
+
* 侧边栏索引提示的样式类型 - sweat 水滴形 - toast 轻提示 - none 关闭提示
|
121
|
+
* @en Style type of sidebar index hint - sweat: teardrop - toast: light hint - none: turn off hint
|
122
|
+
* @default "toast"
|
123
|
+
*/
|
124
|
+
tipType?: IndexBarTipType;
|
125
|
+
/**
|
126
|
+
* 手动调用scrollToIndex时,滚动动画的执行时间
|
127
|
+
* @en Execution time of scrolling animation when scrollToIndex is called manually
|
128
|
+
* @default 0
|
129
|
+
*/
|
130
|
+
scrollDuration?: number;
|
131
|
+
/**
|
132
|
+
* 手动调用scrollToIndex时,滚动的动画曲线
|
133
|
+
* @en When scrollToIndex is called manually, the scrolling animation curve
|
134
|
+
*/
|
135
|
+
scrollBezier?: [number, number, number, number];
|
136
|
+
/**
|
137
|
+
* 激活的索引改变时的回调,第一个参数是新的索引,第二个参数是改变方式:- swipe 手动滑动页面触发变化 - sidebar 侧边栏点击触发变化 - manual 手动调用scrollToIndex触发
|
138
|
+
* @en Callback when the active index changes, the first parameter is the new index, and the second parameter is the change method: - swipe: triggers the change by manually sliding the page - sidebar: triggers the change by clicking on the sidebar - manual: triggers by manually calling scrollToIndex
|
139
|
+
*/
|
140
|
+
onChange?: (index: IndexBarIndexType, trigger: IndexBarChangeTrigger) => void;
|
141
|
+
/**
|
142
|
+
* IndexBar.Group中某个子项被点击时的回调,使用JSX的写法时该回调不会生效,请在IndexBar.Group上绑定对应属性
|
143
|
+
* @en The callback when a sub-item in IndexBar.Group is clicked, the callback will not take effect when using JSX writing, please bind the corresponding property on IndexBar.Group
|
144
|
+
*/
|
145
|
+
onGroupItemClick?: (index: IndexBarIndexType, itemData: Data, itemIndex: number) => void;
|
146
|
+
/**
|
147
|
+
* 自定义侧边栏每个子项的内容渲染
|
148
|
+
* @en Customize the content rendering of each sub-item in the sidebar
|
149
|
+
*/
|
150
|
+
renderSideBarItem?: (index: IndexBarIndexType) => ReactNode;
|
151
|
+
/**
|
152
|
+
* 自定义侧边栏渲染
|
153
|
+
* @en Custom sidebar rendering
|
154
|
+
*/
|
155
|
+
renderSideBar?: (Content: ReactNode) => ReactElement;
|
156
|
+
/**
|
157
|
+
* 自定义使用侧边栏改变索引时,渲染提示的内容
|
158
|
+
* @en Customize the content of the rendering prompt when changing the index using the sidebar
|
159
|
+
*/
|
160
|
+
renderTip?: (index: IndexBarIndexType) => ReactNode;
|
161
|
+
/**
|
162
|
+
* 自定义IndexBar.Group的索引标题内容渲染,使用JSX的写法时该回调不会生效,请在IndexBar.Group上绑定对应属性
|
163
|
+
* @en Customize the rendering of the index title content of IndexBar.Group. When using JSX writing, the callback will not take effect. Please bind the corresponding property on IndexBar.Group
|
164
|
+
*/
|
165
|
+
renderStickyItem?: (index: IndexBarIndexType) => ReactNode;
|
166
|
+
/**
|
167
|
+
* 自定义IndexBar.Group的子项内容渲染,使用JSX的写法时该回调不会生效,请在IndexBar.Group上绑定对应属性
|
168
|
+
* @en Customize the rendering of sub-items of IndexBar.Group. This callback will not take effect when using JSX. Please bind the corresponding properties on IndexBar.Group
|
169
|
+
*/
|
170
|
+
renderGroupItem?: (index: IndexBarIndexType, itemData: Data, itemIndex: number) => ReactNode;
|
171
|
+
}
|
172
|
+
export interface IndexBarRef {
|
173
|
+
/**
|
174
|
+
* 最外层 DOM 元素
|
175
|
+
* @en The outer DOM element of the component
|
176
|
+
*/
|
177
|
+
dom: HTMLDivElement | null;
|
178
|
+
/**
|
179
|
+
* 手动滚动到指定的索引位置
|
180
|
+
* @en Manually scroll to the specified index position
|
181
|
+
*/
|
182
|
+
scrollToIndex: (index?: IndexBarIndexType, rightNow?: boolean) => void;
|
183
|
+
/**
|
184
|
+
* 局部滚动模式下,如果容器外部还有嵌套滚动,可主动调用此方法,让 sticky 的元素主动更新 fixed 位置
|
185
|
+
* @en In the local scrolling mode, if there is nested scrolling outside the container, this method can be actively called to make the sticky element actively update the fixed position
|
186
|
+
*/
|
187
|
+
recalculatePosition: (index?: IndexBarIndexType) => void;
|
188
|
+
}
|
189
|
+
export interface IndexBarContext {
|
190
|
+
sticky: boolean;
|
191
|
+
getScrollContainer: () => HTMLDivElement | null;
|
192
|
+
activeIndex?: IndexBarIndexType;
|
193
|
+
updateRef: (index: IndexBarIndexType, ref: StickyRef) => void;
|
194
|
+
}
|
195
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
2
|
+
import { IndexBarIndexType } from './type';
|
3
|
+
export declare function filterValidIndexBarChild(children: ReactNode): ReactElement<any, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>[];
|
4
|
+
export declare function getFormatIndex(index: IndexBarIndexType, activeIndex: IndexBarIndexType | undefined): string | number;
|
5
|
+
export declare function isValidIndex(index: unknown): index is IndexBarIndexType;
|
6
|
+
export declare function getGroupDomFromIndex(containerDom: HTMLDivElement, activeIndex: IndexBarIndexType): HTMLDivElement | null;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { Children, isValidElement } from 'react';
|
2
|
+
export function filterValidIndexBarChild(children) {
|
3
|
+
const validChildren = [];
|
4
|
+
Children.forEach(children, child => {
|
5
|
+
if (!isValidElement(child)) {
|
6
|
+
console.warn('<IndexBar /> only accept <IndexBar.Group /> as the children');
|
7
|
+
return;
|
8
|
+
}
|
9
|
+
validChildren.push(child);
|
10
|
+
});
|
11
|
+
return validChildren;
|
12
|
+
}
|
13
|
+
// index有可能是number或者string,但是绑在data-index的attr上后
|
14
|
+
// 通过滑动事件得到的都是string,需要处理下
|
15
|
+
export function getFormatIndex(index, activeIndex) {
|
16
|
+
const activeIndexType = typeof activeIndex;
|
17
|
+
const indexType = typeof index;
|
18
|
+
if (indexType === activeIndexType) {
|
19
|
+
return index;
|
20
|
+
}
|
21
|
+
if (activeIndexType === 'number') {
|
22
|
+
return Number(index);
|
23
|
+
}
|
24
|
+
return index.toString();
|
25
|
+
}
|
26
|
+
export function isValidIndex(index) {
|
27
|
+
return typeof index === 'number' || typeof index === 'string';
|
28
|
+
}
|
29
|
+
export function getGroupDomFromIndex(containerDom, activeIndex) {
|
30
|
+
let targetDom = null;
|
31
|
+
const containerChildren = containerDom.children;
|
32
|
+
for (let i = 0; i < containerChildren.length; i++) {
|
33
|
+
const dom = containerChildren[i];
|
34
|
+
const dataset = dom?.dataset;
|
35
|
+
if (dataset && dataset.index) {
|
36
|
+
const formatIndex = getFormatIndex(dataset.index, activeIndex);
|
37
|
+
if (formatIndex === activeIndex) {
|
38
|
+
targetDom = dom;
|
39
|
+
break;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
return targetDom;
|
44
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
export { default as Tabs } from './tabs';
|
2
|
+
export { default as Sticky } from './sticky';
|
3
|
+
export { default as Portal } from './portal';
|
4
|
+
export { default as Steps } from './steps';
|
5
|
+
export { default as ActionSheet } from './action-sheet';
|
6
|
+
export { default as Avatar } from './avatar';
|
7
|
+
export { default as Badge } from './badge';
|
8
|
+
export { default as Button } from './button';
|
9
|
+
export { default as Carousel } from './carousel';
|
10
|
+
export { default as Cell } from './cell';
|
11
|
+
export { default as Checkbox } from './checkbox';
|
12
|
+
export { default as CircleProgress } from './circle-progress';
|
13
|
+
export { default as Collapse } from './collapse';
|
14
|
+
export { default as ContextProvider } from './context-provider';
|
15
|
+
export { default as CountDown } from './count-down';
|
16
|
+
export { default as DatePicker } from './date-picker';
|
17
|
+
export { default as Dialog } from './dialog';
|
18
|
+
export { default as Divider } from './divider';
|
19
|
+
export { default as Dropdown } from './dropdown';
|
20
|
+
export { default as DropdownMenu } from './dropdown-menu';
|
21
|
+
export { default as Ellipsis } from './ellipsis';
|
22
|
+
export { default as Form } from './form';
|
23
|
+
export { default as Grid } from './grid';
|
24
|
+
export { default as Image } from './image';
|
25
|
+
export { default as ImagePicker } from './image-picker';
|
26
|
+
export { default as ImagePreview } from './image-preview';
|
27
|
+
export { default as IndexBar } from './index-bar';
|
28
|
+
export { default as Input } from './input';
|
29
|
+
export { default as Keyboard } from './keyboard';
|
30
|
+
export { default as LoadMore } from './load-more';
|
31
|
+
export { default as Loading } from './loading';
|
32
|
+
export { default as Masking } from './masking';
|
33
|
+
export { default as NavBar } from './nav-bar';
|
34
|
+
export { default as NoticeBar } from './notice-bar';
|
35
|
+
export { default as Notify } from './notify';
|
36
|
+
export { default as Pagination } from './pagination';
|
37
|
+
export { default as Picker } from './picker';
|
38
|
+
export { default as PickerView } from './picker-view';
|
39
|
+
export { default as Popover } from './popover';
|
40
|
+
export { default as Popup } from './popup';
|
41
|
+
export { default as PopupSwiper } from './popup-swiper';
|
42
|
+
export { default as Progress } from './progress';
|
43
|
+
export { default as PullRefresh } from './pull-refresh';
|
44
|
+
export { default as Radio } from './radio';
|
45
|
+
export { default as Rate } from './rate';
|
46
|
+
export { default as SearchBar } from './search-bar';
|
47
|
+
export { default as ShowMonitor } from './show-monitor';
|
48
|
+
export { default as Skeleton } from './skeleton';
|
49
|
+
export { default as Slider } from './slider';
|
50
|
+
export { default as Stepper } from './stepper';
|
51
|
+
export { default as SwipeAction } from './swipe-action';
|
52
|
+
export { default as SwipeLoad } from './swipe-load';
|
53
|
+
export { default as Switch } from './switch';
|
54
|
+
export { default as TabBar } from './tab-bar';
|
55
|
+
export { default as Tag } from './tag';
|
56
|
+
export { default as Textarea } from './textarea';
|
57
|
+
export { default as Toast } from './toast';
|
58
|
+
export { default as Transition } from './transition';
|
59
|
+
export { default as Uploader } from './uploader';
|
package/esnext/index.js
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
export { default as Tabs } from './tabs';
|
2
|
+
export { default as Sticky } from './sticky';
|
3
|
+
export { default as Portal } from './portal';
|
4
|
+
export { default as Steps } from './steps';
|
5
|
+
export { default as ActionSheet } from './action-sheet';
|
6
|
+
export { default as Avatar } from './avatar';
|
7
|
+
export { default as Badge } from './badge';
|
8
|
+
export { default as Button } from './button';
|
9
|
+
export { default as Carousel } from './carousel';
|
10
|
+
export { default as Cell } from './cell';
|
11
|
+
export { default as Checkbox } from './checkbox';
|
12
|
+
export { default as CircleProgress } from './circle-progress';
|
13
|
+
export { default as Collapse } from './collapse';
|
14
|
+
export { default as ContextProvider } from './context-provider';
|
15
|
+
export { default as CountDown } from './count-down';
|
16
|
+
export { default as DatePicker } from './date-picker';
|
17
|
+
export { default as Dialog } from './dialog';
|
18
|
+
export { default as Divider } from './divider';
|
19
|
+
export { default as Dropdown } from './dropdown';
|
20
|
+
export { default as DropdownMenu } from './dropdown-menu';
|
21
|
+
export { default as Ellipsis } from './ellipsis';
|
22
|
+
export { default as Form } from './form';
|
23
|
+
export { default as Grid } from './grid';
|
24
|
+
export { default as Image } from './image';
|
25
|
+
export { default as ImagePicker } from './image-picker';
|
26
|
+
export { default as ImagePreview } from './image-preview';
|
27
|
+
export { default as IndexBar } from './index-bar';
|
28
|
+
export { default as Input } from './input';
|
29
|
+
export { default as Keyboard } from './keyboard';
|
30
|
+
export { default as LoadMore } from './load-more';
|
31
|
+
export { default as Loading } from './loading';
|
32
|
+
export { default as Masking } from './masking';
|
33
|
+
export { default as NavBar } from './nav-bar';
|
34
|
+
export { default as NoticeBar } from './notice-bar';
|
35
|
+
export { default as Notify } from './notify';
|
36
|
+
export { default as Pagination } from './pagination';
|
37
|
+
export { default as Picker } from './picker';
|
38
|
+
export { default as PickerView } from './picker-view';
|
39
|
+
export { default as Popover } from './popover';
|
40
|
+
export { default as Popup } from './popup';
|
41
|
+
export { default as PopupSwiper } from './popup-swiper';
|
42
|
+
export { default as Progress } from './progress';
|
43
|
+
export { default as PullRefresh } from './pull-refresh';
|
44
|
+
export { default as Radio } from './radio';
|
45
|
+
export { default as Rate } from './rate';
|
46
|
+
export { default as SearchBar } from './search-bar';
|
47
|
+
export { default as ShowMonitor } from './show-monitor';
|
48
|
+
export { default as Skeleton } from './skeleton';
|
49
|
+
export { default as Slider } from './slider';
|
50
|
+
export { default as Stepper } from './stepper';
|
51
|
+
export { default as SwipeAction } from './swipe-action';
|
52
|
+
export { default as SwipeLoad } from './swipe-load';
|
53
|
+
export { default as Switch } from './switch';
|
54
|
+
export { default as TabBar } from './tab-bar';
|
55
|
+
export { default as Tag } from './tag';
|
56
|
+
export { default as Textarea } from './textarea';
|
57
|
+
export { default as Toast } from './toast';
|
58
|
+
export { default as Transition } from './transition';
|
59
|
+
export { default as Uploader } from './uploader';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React, { ReactNode } from 'react';
|
2
|
+
import { BasicInputProps } from './props';
|
3
|
+
export declare type InputEleType = HTMLInputElement | HTMLTextAreaElement;
|
4
|
+
export declare function useInputLogic(props: BasicInputProps<InputEleType>, inputRef: React.MutableRefObject<InputEleType | null>): {
|
5
|
+
inputValue: string;
|
6
|
+
handleChange: (e: React.ChangeEvent<InputEleType>) => void;
|
7
|
+
handleInput: (e: any) => void;
|
8
|
+
handleKeyDown: (e: React.KeyboardEvent<InputEleType>) => void;
|
9
|
+
handleFocus: (e: React.FocusEvent<InputEleType>) => void;
|
10
|
+
handleBlur: (e: React.FocusEvent<InputEleType>) => void;
|
11
|
+
handleClick: (e: React.MouseEvent<InputEleType>) => void;
|
12
|
+
renderWrapper: (prefixCls: string, type: string, children: ReactNode) => JSX.Element;
|
13
|
+
wrapRef: React.MutableRefObject<HTMLDivElement | null>;
|
14
|
+
};
|