sard 1.0.0-canary.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/dist/accordion/Item.d.ts +17 -0
- package/dist/accordion/Item.js +25 -0
- package/dist/accordion/index.d.ts +26 -0
- package/dist/accordion/index.js +27 -0
- package/dist/accordion/index.scss +49 -0
- package/dist/action-sheet/ActionSheet.d.ts +24 -0
- package/dist/action-sheet/ActionSheet.js +79 -0
- package/dist/action-sheet/Agent.d.ts +6 -0
- package/dist/action-sheet/Agent.js +7 -0
- package/dist/action-sheet/Item.d.ts +16 -0
- package/dist/action-sheet/Item.js +22 -0
- package/dist/action-sheet/imperative.d.ts +10 -0
- package/dist/action-sheet/imperative.js +22 -0
- package/dist/action-sheet/index.d.ts +12 -0
- package/dist/action-sheet/index.js +10 -0
- package/dist/action-sheet/index.scss +148 -0
- package/dist/animated/index.d.ts +62 -0
- package/dist/animated/index.js +101 -0
- package/dist/animated/index.rn.d.ts +4 -0
- package/dist/animated/index.rn.js +35 -0
- package/dist/avatar/Group.d.ts +9 -0
- package/dist/avatar/Group.js +27 -0
- package/dist/avatar/index.d.ts +17 -0
- package/dist/avatar/index.js +22 -0
- package/dist/avatar/index.scss +82 -0
- package/dist/badge/index.d.ts +13 -0
- package/dist/badge/index.js +16 -0
- package/dist/badge/index.scss +81 -0
- package/dist/base.d.ts +11 -0
- package/dist/base.js +1 -0
- package/dist/button/CustomButton.d.ts +9 -0
- package/dist/button/CustomButton.js +23 -0
- package/dist/button/index.d.ts +21 -0
- package/dist/button/index.js +34 -0
- package/dist/button/index.scss +346 -0
- package/dist/calendar/Day.d.ts +23 -0
- package/dist/calendar/Day.js +70 -0
- package/dist/calendar/MonthPicker.d.ts +13 -0
- package/dist/calendar/MonthPicker.js +22 -0
- package/dist/calendar/Toolbar.d.ts +11 -0
- package/dist/calendar/Toolbar.js +18 -0
- package/dist/calendar/Weeks.d.ts +6 -0
- package/dist/calendar/Weeks.js +18 -0
- package/dist/calendar/index.d.ts +48 -0
- package/dist/calendar/index.js +193 -0
- package/dist/calendar/index.scss +210 -0
- package/dist/card/index.d.ts +15 -0
- package/dist/card/index.js +14 -0
- package/dist/card/index.scss +64 -0
- package/dist/cascader/index.d.ts +43 -0
- package/dist/cascader/index.js +216 -0
- package/dist/cascader/index.scss +130 -0
- package/dist/checkbox/Group.d.ts +5 -0
- package/dist/checkbox/Group.js +5 -0
- package/dist/checkbox/index.d.ts +10 -0
- package/dist/checkbox/index.js +8 -0
- package/dist/checkbox/index.scss +78 -0
- package/dist/collapse/index.d.ts +14 -0
- package/dist/collapse/index.js +61 -0
- package/dist/collapse/index.rn.d.ts +14 -0
- package/dist/collapse/index.rn.js +76 -0
- package/dist/collapse/index.scss +31 -0
- package/dist/components.d.ts +66 -0
- package/dist/components.js +66 -0
- package/dist/components.scss +65 -0
- package/dist/config-provider/index.d.ts +21 -0
- package/dist/config-provider/index.js +20 -0
- package/dist/count-down/index.d.ts +26 -0
- package/dist/count-down/index.js +95 -0
- package/dist/datetime-picker/index.d.ts +36 -0
- package/dist/datetime-picker/index.js +230 -0
- package/dist/dialog/Agent.d.ts +6 -0
- package/dist/dialog/Agent.js +7 -0
- package/dist/dialog/Dialog.d.ts +31 -0
- package/dist/dialog/Dialog.js +103 -0
- package/dist/dialog/imperative.d.ts +17 -0
- package/dist/dialog/imperative.js +35 -0
- package/dist/dialog/index.d.ts +14 -0
- package/dist/dialog/index.js +12 -0
- package/dist/dialog/index.scss +156 -0
- package/dist/dropdown/Item.d.ts +33 -0
- package/dist/dropdown/Item.js +164 -0
- package/dist/dropdown/Option.d.ts +10 -0
- package/dist/dropdown/Option.js +12 -0
- package/dist/dropdown/index.d.ts +20 -0
- package/dist/dropdown/index.js +59 -0
- package/dist/dropdown/index.scss +236 -0
- package/dist/ellipsis/index.d.ts +8 -0
- package/dist/ellipsis/index.js +18 -0
- package/dist/ellipsis/index.scss +23 -0
- package/dist/empty/index.d.ts +10 -0
- package/dist/empty/index.js +14 -0
- package/dist/empty/index.scss +59 -0
- package/dist/footer-bar/index.d.ts +8 -0
- package/dist/footer-bar/index.js +15 -0
- package/dist/footer-bar/index.scss +29 -0
- package/dist/form/CustomForm.d.ts +13 -0
- package/dist/form/CustomForm.js +26 -0
- package/dist/form/ErrorList.d.ts +6 -0
- package/dist/form/ErrorList.js +15 -0
- package/dist/form/Field.d.ts +41 -0
- package/dist/form/Field.js +124 -0
- package/dist/form/FieldContext.d.ts +18 -0
- package/dist/form/FieldContext.js +8 -0
- package/dist/form/List.d.ts +31 -0
- package/dist/form/List.js +87 -0
- package/dist/form/Map.d.ts +17 -0
- package/dist/form/Map.js +24 -0
- package/dist/form/NodeContext.d.ts +12 -0
- package/dist/form/NodeContext.js +14 -0
- package/dist/form/Validator.d.ts +88 -0
- package/dist/form/Validator.js +268 -0
- package/dist/form/createFormStore.d.ts +36 -0
- package/dist/form/createFormStore.js +249 -0
- package/dist/form/index.d.ts +43 -0
- package/dist/form/index.js +109 -0
- package/dist/form/index.scss +200 -0
- package/dist/form/store/Context.d.ts +4 -0
- package/dist/form/store/Context.js +3 -0
- package/dist/form/store/createStore.d.ts +6 -0
- package/dist/form/store/createStore.js +28 -0
- package/dist/form/store/useDispatch.d.ts +2 -0
- package/dist/form/store/useDispatch.js +10 -0
- package/dist/form/store/useSelector.d.ts +7 -0
- package/dist/form/store/useSelector.js +35 -0
- package/dist/form/type.d.ts +20 -0
- package/dist/form/type.js +1 -0
- package/dist/form/useForm.d.ts +27 -0
- package/dist/form/useForm.js +14 -0
- package/dist/form/useInternalWatch.d.ts +3 -0
- package/dist/form/useInternalWatch.js +27 -0
- package/dist/form/useNode.d.ts +49 -0
- package/dist/form/useNode.js +284 -0
- package/dist/form/useValidator.d.ts +23 -0
- package/dist/form/useValidator.js +74 -0
- package/dist/form/useWatch.d.ts +4 -0
- package/dist/form/useWatch.js +24 -0
- package/dist/grid/Col.d.ts +9 -0
- package/dist/grid/Col.js +20 -0
- package/dist/grid/Row.d.ts +11 -0
- package/dist/grid/Row.js +34 -0
- package/dist/grid/index.d.ts +2 -0
- package/dist/grid/index.js +2 -0
- package/dist/grid/index.scss +56 -0
- package/dist/halfline/index.d.ts +10 -0
- package/dist/halfline/index.js +27 -0
- package/dist/halfline/index.scss +80 -0
- package/dist/icon/common.d.ts +15 -0
- package/dist/icon/common.js +1 -0
- package/dist/icon/font/iconfont.json +275 -0
- package/dist/icon/font/iconfont.rn.scss +0 -0
- package/dist/icon/font/iconfont.scss +164 -0
- package/dist/icon/font/iconfont.ttf +0 -0
- package/dist/icon/fontLoader.d.ts +7 -0
- package/dist/icon/fontLoader.js +14 -0
- package/dist/icon/fontLoader.rn.d.ts +6 -0
- package/dist/icon/fontLoader.rn.js +52 -0
- package/dist/icon/index.d.ts +21 -0
- package/dist/icon/index.js +41 -0
- package/dist/icon/index.scss +23 -0
- package/dist/index-bar/Item.d.ts +9 -0
- package/dist/index-bar/Item.js +11 -0
- package/dist/index-bar/Nav.d.ts +13 -0
- package/dist/index-bar/Nav.js +75 -0
- package/dist/index-bar/index.d.ts +19 -0
- package/dist/index-bar/index.js +142 -0
- package/dist/index-bar/index.scss +153 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.scss +1 -0
- package/dist/input/index.d.ts +37 -0
- package/dist/input/index.js +116 -0
- package/dist/input/index.scss +249 -0
- package/dist/linear-gradient/index.d.ts +14 -0
- package/dist/linear-gradient/index.js +30 -0
- package/dist/linear-gradient/index.rn.d.ts +3 -0
- package/dist/linear-gradient/index.rn.js +3 -0
- package/dist/list/Item.d.ts +22 -0
- package/dist/list/Item.js +26 -0
- package/dist/list/ListContext.d.ts +9 -0
- package/dist/list/ListContext.js +2 -0
- package/dist/list/OrderContext.d.ts +8 -0
- package/dist/list/OrderContext.js +6 -0
- package/dist/list/index.d.ts +19 -0
- package/dist/list/index.js +29 -0
- package/dist/list/index.scss +257 -0
- package/dist/loading/index.d.ts +10 -0
- package/dist/loading/index.js +47 -0
- package/dist/loading/index.scss +25 -0
- package/dist/locale/index.d.ts +199 -0
- package/dist/locale/index.js +36 -0
- package/dist/locale/lang/en-US.d.ts +92 -0
- package/dist/locale/lang/en-US.js +92 -0
- package/dist/locale/lang/zh-CN.d.ts +92 -0
- package/dist/locale/lang/zh-CN.js +92 -0
- package/dist/locale/useTranslate.d.ts +7 -0
- package/dist/locale/useTranslate.js +41 -0
- package/dist/mask/index.d.ts +13 -0
- package/dist/mask/index.js +26 -0
- package/dist/mask/index.scss +24 -0
- package/dist/menu/Item.d.ts +15 -0
- package/dist/menu/Item.js +17 -0
- package/dist/menu/index.d.ts +17 -0
- package/dist/menu/index.js +15 -0
- package/dist/menu/index.scss +128 -0
- package/dist/mesh/Item.d.ts +16 -0
- package/dist/mesh/Item.js +16 -0
- package/dist/mesh/index.d.ts +14 -0
- package/dist/mesh/index.js +69 -0
- package/dist/mesh/index.scss +131 -0
- package/dist/mesh/type.d.ts +9 -0
- package/dist/mesh/type.js +1 -0
- package/dist/modal/index.d.ts +8 -0
- package/dist/modal/index.js +9 -0
- package/dist/modal/index.rn.d.ts +8 -0
- package/dist/modal/index.rn.js +8 -0
- package/dist/navbar/Item.d.ts +8 -0
- package/dist/navbar/Item.js +11 -0
- package/dist/navbar/index.d.ts +15 -0
- package/dist/navbar/index.js +16 -0
- package/dist/navbar/index.scss +128 -0
- package/dist/notice-bar/index.d.ts +28 -0
- package/dist/notice-bar/index.js +135 -0
- package/dist/notice-bar/index.scss +109 -0
- package/dist/notify/Agent.d.ts +6 -0
- package/dist/notify/Agent.js +7 -0
- package/dist/notify/Notify.d.ts +22 -0
- package/dist/notify/Notify.js +48 -0
- package/dist/notify/imperative.d.ts +18 -0
- package/dist/notify/imperative.js +35 -0
- package/dist/notify/index.d.ts +15 -0
- package/dist/notify/index.js +13 -0
- package/dist/notify/index.scss +65 -0
- package/dist/number-keyboard/index.d.ts +10 -0
- package/dist/number-keyboard/index.js +51 -0
- package/dist/number-keyboard/index.scss +93 -0
- package/dist/pagination/index.d.ts +20 -0
- package/dist/pagination/index.js +65 -0
- package/dist/pagination/index.scss +131 -0
- package/dist/pan-gesture-detector/index.d.ts +8 -0
- package/dist/pan-gesture-detector/index.js +11 -0
- package/dist/pan-gesture-detector/index.rn.d.ts +8 -0
- package/dist/pan-gesture-detector/index.rn.js +23 -0
- package/dist/pan-gesture-detector/usePan.d.ts +47 -0
- package/dist/pan-gesture-detector/usePan.js +146 -0
- package/dist/password-input/index.d.ts +22 -0
- package/dist/password-input/index.js +91 -0
- package/dist/password-input/index.scss +189 -0
- package/dist/picker/InertialMotion.d.ts +20 -0
- package/dist/picker/InertialMotion.js +141 -0
- package/dist/picker/PickerView.d.ts +1 -0
- package/dist/picker/PickerView.h5.d.ts +17 -0
- package/dist/picker/PickerView.h5.js +36 -0
- package/dist/picker/PickerView.js +1 -0
- package/dist/picker/PickerViewColumn copy.d.ts +9 -0
- package/dist/picker/PickerViewColumn copy.js +143 -0
- package/dist/picker/PickerViewColumn.d.ts +12 -0
- package/dist/picker/PickerViewColumn.js +238 -0
- package/dist/picker/index.d.ts +38 -0
- package/dist/picker/index.js +224 -0
- package/dist/picker/index.rn.scss +0 -0
- package/dist/picker/index.scss +138 -0
- package/dist/popout/index.d.ts +25 -0
- package/dist/popout/index.js +87 -0
- package/dist/popout/index.scss +136 -0
- package/dist/popout-input/index.d.ts +29 -0
- package/dist/popout-input/index.js +91 -0
- package/dist/popout-input/index.scss +53 -0
- package/dist/popover/index.d.ts +35 -0
- package/dist/popover/index.js +193 -0
- package/dist/popover/index.scss +94 -0
- package/dist/popover/utils.d.ts +23 -0
- package/dist/popover/utils.js +124 -0
- package/dist/popup/index.d.ts +29 -0
- package/dist/popup/index.js +60 -0
- package/dist/popup/index.scss +60 -0
- package/dist/pressable/index.d.ts +13 -0
- package/dist/pressable/index.js +58 -0
- package/dist/pressable/index.rn.d.ts +13 -0
- package/dist/pressable/index.rn.js +50 -0
- package/dist/progress-bar/index.d.ts +10 -0
- package/dist/progress-bar/index.js +22 -0
- package/dist/progress-bar/index.scss +45 -0
- package/dist/progress-circle/index.d.ts +11 -0
- package/dist/progress-circle/index.js +54 -0
- package/dist/progress-circle/index.scss +141 -0
- package/dist/radio/Group.d.ts +5 -0
- package/dist/radio/Group.js +5 -0
- package/dist/radio/index.d.ts +10 -0
- package/dist/radio/index.js +8 -0
- package/dist/radio/index.scss +77 -0
- package/dist/rate/index.d.ts +23 -0
- package/dist/rate/index.js +116 -0
- package/dist/rate/index.scss +99 -0
- package/dist/result/index.d.ts +12 -0
- package/dist/result/index.js +19 -0
- package/dist/result/index.scss +88 -0
- package/dist/safe-area/index.d.ts +7 -0
- package/dist/safe-area/index.js +35 -0
- package/dist/safe-area/index.scss +24 -0
- package/dist/scroll-view/index.d.ts +24 -0
- package/dist/scroll-view/index.js +72 -0
- package/dist/scroll-view/index.rn.d.ts +21 -0
- package/dist/scroll-view/index.rn.js +51 -0
- package/dist/search/index.d.ts +26 -0
- package/dist/search/index.js +35 -0
- package/dist/search/index.scss +75 -0
- package/dist/share-sheet/Item.d.ts +15 -0
- package/dist/share-sheet/Item.js +26 -0
- package/dist/share-sheet/Row.d.ts +10 -0
- package/dist/share-sheet/Row.js +26 -0
- package/dist/share-sheet/index.d.ts +26 -0
- package/dist/share-sheet/index.js +76 -0
- package/dist/share-sheet/index.scss +230 -0
- package/dist/skeleton/Avatar.d.ts +7 -0
- package/dist/skeleton/Avatar.js +17 -0
- package/dist/skeleton/Block.d.ts +8 -0
- package/dist/skeleton/Block.js +44 -0
- package/dist/skeleton/Paragraph.d.ts +7 -0
- package/dist/skeleton/Paragraph.js +13 -0
- package/dist/skeleton/Title.d.ts +7 -0
- package/dist/skeleton/Title.js +16 -0
- package/dist/skeleton/index.d.ts +28 -0
- package/dist/skeleton/index.js +22 -0
- package/dist/skeleton/index.scss +108 -0
- package/dist/slider/index.d.ts +36 -0
- package/dist/slider/index.js +187 -0
- package/dist/slider/index.scss +138 -0
- package/dist/space/index.d.ts +13 -0
- package/dist/space/index.js +33 -0
- package/dist/space/index.scss +36 -0
- package/dist/stepper/index.d.ts +26 -0
- package/dist/stepper/index.js +138 -0
- package/dist/stepper/index.scss +106 -0
- package/dist/steps/Step.d.ts +23 -0
- package/dist/steps/Step.js +41 -0
- package/dist/steps/index.d.ts +23 -0
- package/dist/steps/index.js +38 -0
- package/dist/steps/index.scss +300 -0
- package/dist/style/base.scss +3 -0
- package/dist/style/functions.scss +54 -0
- package/dist/style/index.d.ts +2 -0
- package/dist/style/index.js +2 -0
- package/dist/style/index.scss +0 -0
- package/dist/style/mixins/bem.scss +63 -0
- package/dist/style/mixins/border.scss +80 -0
- package/dist/style/mixins/disabled.scss +9 -0
- package/dist/style/mixins/env.rn.scss +11 -0
- package/dist/style/mixins/env.scss +11 -0
- package/dist/style/mixins/fixed.rn.scss +3 -0
- package/dist/style/mixins/fixed.scss +3 -0
- package/dist/style/mixins/sticky.rn.scss +3 -0
- package/dist/style/mixins/sticky.scss +3 -0
- package/dist/style/mixins/theme.scss +11 -0
- package/dist/style/mixins/universal.rn.scss +2 -0
- package/dist/style/mixins/universal.scss +6 -0
- package/dist/style/mixins.scss +8 -0
- package/dist/style/utils.scss +130 -0
- package/dist/style/variables.scss +422 -0
- package/dist/swiper/Item.d.ts +8 -0
- package/dist/swiper/Item.js +10 -0
- package/dist/swiper/index.d.ts +12 -0
- package/dist/swiper/index.js +13 -0
- package/dist/swiper/index.scss +10 -0
- package/dist/switch/index.d.ts +19 -0
- package/dist/switch/index.js +78 -0
- package/dist/switch/index.scss +106 -0
- package/dist/tabbar/Item.d.ts +17 -0
- package/dist/tabbar/Item.js +24 -0
- package/dist/tabbar/index.d.ts +17 -0
- package/dist/tabbar/index.js +33 -0
- package/dist/tabbar/index.scss +89 -0
- package/dist/tabs/Tab.d.ts +12 -0
- package/dist/tabs/Tab.js +17 -0
- package/dist/tabs/index.d.ts +23 -0
- package/dist/tabs/index.js +258 -0
- package/dist/tabs/index.scss +113 -0
- package/dist/tag/index.d.ts +17 -0
- package/dist/tag/index.js +21 -0
- package/dist/tag/index.scss +93 -0
- package/dist/template/index.d.ts +6 -0
- package/dist/template/index.js +10 -0
- package/dist/template/index.scss +16 -0
- package/dist/toast/Agent.d.ts +6 -0
- package/dist/toast/Agent.js +7 -0
- package/dist/toast/Toast.d.ts +24 -0
- package/dist/toast/Toast.js +43 -0
- package/dist/toast/imperative.d.ts +18 -0
- package/dist/toast/imperative.js +35 -0
- package/dist/toast/index.d.ts +15 -0
- package/dist/toast/index.js +13 -0
- package/dist/toast/index.scss +96 -0
- package/dist/transition/CSSTransition.d.ts +7 -0
- package/dist/transition/CSSTransition.js +49 -0
- package/dist/transition/CSSTransition.rn.d.ts +7 -0
- package/dist/transition/CSSTransition.rn.js +312 -0
- package/dist/transition/index.d.ts +43 -0
- package/dist/transition/index.js +156 -0
- package/dist/transition/index.rn.scss +0 -0
- package/dist/transition/index.scss +158 -0
- package/dist/upload/Preview.d.ts +35 -0
- package/dist/upload/Preview.js +41 -0
- package/dist/upload/PreviewVideo.d.ts +7 -0
- package/dist/upload/PreviewVideo.js +38 -0
- package/dist/upload/PreviewVideo.rn.d.ts +6 -0
- package/dist/upload/PreviewVideo.rn.js +24 -0
- package/dist/upload/chooseMedia.d.ts +26 -0
- package/dist/upload/chooseMedia.h5.d.ts +25 -0
- package/dist/upload/chooseMedia.h5.js +117 -0
- package/dist/upload/chooseMedia.js +55 -0
- package/dist/upload/index.d.ts +37 -0
- package/dist/upload/index.js +167 -0
- package/dist/upload/index.scss +247 -0
- package/dist/use/index.d.ts +20 -0
- package/dist/use/index.js +20 -0
- package/dist/use/useAutoplay.d.ts +1 -0
- package/dist/use/useAutoplay.js +34 -0
- package/dist/use/useBem.d.ts +9 -0
- package/dist/use/useBem.js +52 -0
- package/dist/use/useBrush.d.ts +23 -0
- package/dist/use/useBrush.js +61 -0
- package/dist/use/useControllableValue.d.ts +12 -0
- package/dist/use/useControllableValue.js +59 -0
- package/dist/use/useEvent.d.ts +4 -0
- package/dist/use/useEvent.js +12 -0
- package/dist/use/useForceRender.d.ts +5 -0
- package/dist/use/useForceRender.js +8 -0
- package/dist/use/useIndexableMap.d.ts +21 -0
- package/dist/use/useIndexableMap.js +65 -0
- package/dist/use/useInertRef.d.ts +7 -0
- package/dist/use/useInertRef.js +15 -0
- package/dist/use/useInternalSelect.d.ts +42 -0
- package/dist/use/useInternalSelect.js +64 -0
- package/dist/use/useLayoutUpdateEffect.d.ts +5 -0
- package/dist/use/useLayoutUpdateEffect.js +18 -0
- package/dist/use/usePropRef.d.ts +5 -0
- package/dist/use/usePropRef.js +9 -0
- package/dist/use/useResize.d.ts +2 -0
- package/dist/use/useResize.js +14 -0
- package/dist/use/useResizeObserver.d.ts +5 -0
- package/dist/use/useResizeObserver.js +38 -0
- package/dist/use/useSelect.d.ts +15 -0
- package/dist/use/useSelect.js +56 -0
- package/dist/use/useSelectorId.d.ts +1 -0
- package/dist/use/useSelectorId.js +5 -0
- package/dist/use/useSetTimeout.d.ts +10 -0
- package/dist/use/useSetTimeout.js +34 -0
- package/dist/use/useStopMovePropagate.d.ts +5 -0
- package/dist/use/useStopMovePropagate.js +28 -0
- package/dist/use/useThrottle.d.ts +8 -0
- package/dist/use/useThrottle.js +11 -0
- package/dist/use/useUpdateEffect.d.ts +5 -0
- package/dist/use/useUpdateEffect.js +18 -0
- package/dist/use/useUpdateWatchSync.d.ts +5 -0
- package/dist/use/useUpdateWatchSync.js +18 -0
- package/dist/use/useWatchStateSync.d.ts +4 -0
- package/dist/use/useWatchStateSync.js +18 -0
- package/dist/utils/animate.d.ts +28 -0
- package/dist/utils/animate.js +81 -0
- package/dist/utils/createPubSub.d.ts +8 -0
- package/dist/utils/createPubSub.js +53 -0
- package/dist/utils/date.d.ts +13 -0
- package/dist/utils/date.js +87 -0
- package/dist/utils/dom.d.ts +149 -0
- package/dist/utils/dom.js +297 -0
- package/dist/utils/file.d.ts +18 -0
- package/dist/utils/file.js +57 -0
- package/dist/utils/imperative.d.ts +20 -0
- package/dist/utils/imperative.js +37 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.js +7 -0
- package/dist/utils/is.d.ts +16 -0
- package/dist/utils/is.js +57 -0
- package/dist/utils/measure.d.ts +8 -0
- package/dist/utils/measure.js +13 -0
- package/dist/utils/measure.rn.d.ts +8 -0
- package/dist/utils/measure.rn.js +15 -0
- package/dist/utils/platform.android.d.ts +2 -0
- package/dist/utils/platform.android.js +2 -0
- package/dist/utils/platform.d.ts +2 -0
- package/dist/utils/platform.ios.d.ts +2 -0
- package/dist/utils/platform.ios.js +2 -0
- package/dist/utils/platform.js +2 -0
- package/dist/utils/style.d.ts +10 -0
- package/dist/utils/style.js +34 -0
- package/dist/utils/utils.d.ts +199 -0
- package/dist/utils/utils.js +639 -0
- package/package.json +30 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
@import '../style/base.scss';
|
|
2
|
+
// #variables
|
|
3
|
+
$sar-tag-sizes: (
|
|
4
|
+
small: (
|
|
5
|
+
padding: 0 2px,
|
|
6
|
+
font-size: $sar-text-xs,
|
|
7
|
+
line-height: 14px,
|
|
8
|
+
border-radius: $sar-rounded-xs,
|
|
9
|
+
),
|
|
10
|
+
medium: (
|
|
11
|
+
padding: 0 4px,
|
|
12
|
+
font-size: $sar-text-sm,
|
|
13
|
+
line-height: 18px,
|
|
14
|
+
border-radius: $sar-rounded-sm,
|
|
15
|
+
),
|
|
16
|
+
large: (
|
|
17
|
+
padding: 0 6px,
|
|
18
|
+
font-size: $sar-text-base,
|
|
19
|
+
line-height: 22px,
|
|
20
|
+
border-radius: $sar-rounded,
|
|
21
|
+
),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
$sar-tag-close-margin-left: 4px !default;
|
|
25
|
+
// #endvariables
|
|
26
|
+
|
|
27
|
+
@include bem(tag) {
|
|
28
|
+
@include b() {
|
|
29
|
+
@include universal;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
align-self: center;
|
|
34
|
+
border: 1px solid transparent;
|
|
35
|
+
color: $sar-white;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@each $theme, $value in $sar-theme-colors {
|
|
39
|
+
$color: nth($value, 1);
|
|
40
|
+
|
|
41
|
+
@include m($theme) {
|
|
42
|
+
background-color: $color;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include m(#{$theme}-plain) {
|
|
46
|
+
color: $color;
|
|
47
|
+
border-color: $color;
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// 尺寸
|
|
53
|
+
@each $size, $value in $sar-tag-sizes {
|
|
54
|
+
@include m($size) {
|
|
55
|
+
padding: map-get($value, padding);
|
|
56
|
+
font-size: map-get($value, font-size);
|
|
57
|
+
line-height: map-get($value, line-height);
|
|
58
|
+
border-radius: map-get($value, border-radius);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// 圆角
|
|
63
|
+
@include m(round) {
|
|
64
|
+
border-radius: $sar-rounded-full;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// 标记
|
|
68
|
+
@include m(mark) {
|
|
69
|
+
border-top-right-radius: $sar-rounded-full;
|
|
70
|
+
border-bottom-right-radius: $sar-rounded-full;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// 可关闭的
|
|
74
|
+
@include e(close) {
|
|
75
|
+
@include universal;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
margin-left: $sar-tag-close-margin-left;
|
|
79
|
+
@include ifweb {
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
color: $sar-white;
|
|
84
|
+
|
|
85
|
+
@each $theme, $value in $sar-theme-colors {
|
|
86
|
+
$color: nth($value, 1);
|
|
87
|
+
|
|
88
|
+
@include m(#{$theme}-plain) {
|
|
89
|
+
color: $color;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { View } from '@tarojs/components';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import { useBem } from '../use';
|
|
5
|
+
export const Template = (props) => {
|
|
6
|
+
const { className, style, children, ...restProps } = props;
|
|
7
|
+
const [bem] = useBem('template');
|
|
8
|
+
return (_jsx(View, { ...restProps, className: classNames(bem.b(), className), style: style, children: children }));
|
|
9
|
+
};
|
|
10
|
+
export default Template;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ToastProps, ToastRef } from './Toast';
|
|
3
|
+
import { AgentProps, MapIdAgent } from '../utils/imperative';
|
|
4
|
+
export declare const mapIdAgent: MapIdAgent<ToastProps, ToastRef>;
|
|
5
|
+
export declare const ToastAgent: (agentProps: AgentProps<ToastProps>) => import("react").CElement<any, import("react").Component<any, any, any>>;
|
|
6
|
+
export default ToastAgent;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, ReactNode, PropsWithoutRef, RefAttributes } from 'react';
|
|
2
|
+
import { LoadingProps } from '../loading';
|
|
3
|
+
import { PopupProps } from '../popup';
|
|
4
|
+
import { IconProps } from '../icon';
|
|
5
|
+
export interface ToastProps extends PopupProps {
|
|
6
|
+
type?: 'text' | 'loading' | 'success' | 'fail' | 'custom';
|
|
7
|
+
title?: ReactNode;
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
iconProps?: IconProps;
|
|
10
|
+
loadingProps?: LoadingProps;
|
|
11
|
+
duration?: number;
|
|
12
|
+
onTimeout?: (visible: false) => void;
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
defaultVisible?: boolean;
|
|
15
|
+
onVisible?: (visible: boolean) => void;
|
|
16
|
+
placement?: 'top' | 'bottom';
|
|
17
|
+
}
|
|
18
|
+
export interface ToastRef {
|
|
19
|
+
cancelHide: () => void;
|
|
20
|
+
hideLater: () => void;
|
|
21
|
+
}
|
|
22
|
+
export type ToastFC = ForwardRefExoticComponent<PropsWithoutRef<ToastProps> & RefAttributes<ToastRef>>;
|
|
23
|
+
export declare const Toast: ToastFC;
|
|
24
|
+
export default Toast;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, forwardRef, useImperativeHandle, } from 'react';
|
|
3
|
+
import { View } from '@tarojs/components';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import { Loading } from '../loading';
|
|
6
|
+
import { Popup } from '../popup';
|
|
7
|
+
import { Icon } from '../icon';
|
|
8
|
+
import { useBem, useControllableValue, useSetTimeout } from '../use';
|
|
9
|
+
export const Toast = forwardRef((props, ref) => {
|
|
10
|
+
const { className, style, contentClass, contentStyle, mask = false, type = 'text', title, icon, iconProps, loadingProps, duration = 1500, onTimeout, visible, defaultVisible, onVisible, placement, ...restProps } = props;
|
|
11
|
+
const [bem] = useBem('toast');
|
|
12
|
+
const [innerVisible, setInnerVisible] = useControllableValue({
|
|
13
|
+
value: visible,
|
|
14
|
+
defaultValue: defaultVisible,
|
|
15
|
+
trigger: onVisible,
|
|
16
|
+
initialValue: false,
|
|
17
|
+
});
|
|
18
|
+
const [hideLater, cancelHide] = useSetTimeout(() => {
|
|
19
|
+
onTimeout?.(false);
|
|
20
|
+
setInnerVisible?.(false);
|
|
21
|
+
}, duration, {
|
|
22
|
+
canDelay: () => type !== 'loading' && duration !== 0,
|
|
23
|
+
});
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (innerVisible) {
|
|
26
|
+
hideLater();
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
cancelHide();
|
|
30
|
+
}
|
|
31
|
+
}, [innerVisible]);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
hideLater();
|
|
34
|
+
}, [duration, type]);
|
|
35
|
+
useImperativeHandle(ref, () => ({
|
|
36
|
+
hideLater,
|
|
37
|
+
cancelHide,
|
|
38
|
+
}), []);
|
|
39
|
+
const isText = type === 'text' && !icon && !iconProps;
|
|
40
|
+
return (_jsxs(Popup, { ...restProps, visible: innerVisible, mask: mask, effect: "fade", className: classNames(bem.e('popup'), bem.m(placement, placement), className), style: style, contentClass: classNames(bem.b(), bem.m('is-text', isText), bem.m('not-text', !isText), contentClass), contentStyle: contentStyle, onlyPopup: true, children: [(type !== 'text' || icon || iconProps) && (_jsx(View, { className: bem.e('icon-wrapper'), children: icon ||
|
|
41
|
+
(type === 'loading' ? (_jsx(Loading, { size: 36, ...loadingProps, className: bem.e('loading') })) : (_jsx(Icon, { name: type, ...iconProps, className: bem.e('icon'), imageClass: bem.e('icon-image'), imageMode: "aspectFill" }))) })), _jsx(View, { className: bem.e('title'), children: title })] }));
|
|
42
|
+
});
|
|
43
|
+
export default Toast;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ToastProps } from './Toast';
|
|
3
|
+
export interface ToastOptions extends ToastProps {
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ToastShow {
|
|
7
|
+
(options: ToastOptions): void;
|
|
8
|
+
(title: ReactNode, options?: ToastOptions): void;
|
|
9
|
+
}
|
|
10
|
+
export interface ToastInternalShow {
|
|
11
|
+
(optionsOrTitle: ReactNode | ToastOptions, options?: ToastOptions, internalType?: ToastOptions['type']): void;
|
|
12
|
+
}
|
|
13
|
+
export declare const show: ToastShow;
|
|
14
|
+
export declare const success: ToastShow;
|
|
15
|
+
export declare const fail: ToastShow;
|
|
16
|
+
export declare const loading: ToastShow;
|
|
17
|
+
export declare const hide: (id?: string) => void;
|
|
18
|
+
export declare const hideAll: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { mapIdAgent } from './Agent';
|
|
2
|
+
import { isNotReactNode } from '../utils';
|
|
3
|
+
const internalShow = (optionsOrTitle, options = {}, internalType) => {
|
|
4
|
+
if (isNotReactNode(optionsOrTitle)) {
|
|
5
|
+
options = optionsOrTitle;
|
|
6
|
+
}
|
|
7
|
+
else {
|
|
8
|
+
options.title = optionsOrTitle;
|
|
9
|
+
}
|
|
10
|
+
options.type = internalType;
|
|
11
|
+
const { id = 'toast' } = options;
|
|
12
|
+
const ref = mapIdAgent[id];
|
|
13
|
+
if (ref) {
|
|
14
|
+
ref.current?.hideLater();
|
|
15
|
+
ref.current?.show(options);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export const show = (optionsOrTitle, options) => {
|
|
19
|
+
internalShow(optionsOrTitle, options, 'text');
|
|
20
|
+
};
|
|
21
|
+
export const success = (optionsOrTitle, options) => {
|
|
22
|
+
internalShow(optionsOrTitle, options, 'success');
|
|
23
|
+
};
|
|
24
|
+
export const fail = (optionsOrTitle, options) => {
|
|
25
|
+
internalShow(optionsOrTitle, options, 'fail');
|
|
26
|
+
};
|
|
27
|
+
export const loading = (optionsOrTitle, options) => {
|
|
28
|
+
internalShow(optionsOrTitle, options, 'loading');
|
|
29
|
+
};
|
|
30
|
+
export const hide = (id = 'toast') => {
|
|
31
|
+
mapIdAgent[id]?.current?.hide();
|
|
32
|
+
};
|
|
33
|
+
export const hideAll = () => {
|
|
34
|
+
Object.keys(mapIdAgent).forEach((key) => mapIdAgent[key]?.current?.hide());
|
|
35
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ToastFC as ToastOriginFC, ToastProps, ToastRef } from './Toast';
|
|
2
|
+
import { show, success, fail, loading, hide, hideAll } from './imperative';
|
|
3
|
+
import { ToastAgent } from './Agent';
|
|
4
|
+
interface ToastFC extends ToastOriginFC {
|
|
5
|
+
show: typeof show;
|
|
6
|
+
success: typeof success;
|
|
7
|
+
fail: typeof fail;
|
|
8
|
+
loading: typeof loading;
|
|
9
|
+
hide: typeof hide;
|
|
10
|
+
hideAll: typeof hideAll;
|
|
11
|
+
Agent: typeof ToastAgent;
|
|
12
|
+
}
|
|
13
|
+
declare const Toast: ToastFC;
|
|
14
|
+
export { Toast, ToastProps, ToastRef };
|
|
15
|
+
export default Toast;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Toast as ToastOrigin } from './Toast';
|
|
2
|
+
import { show, success, fail, loading, hide, hideAll } from './imperative';
|
|
3
|
+
import { ToastAgent } from './Agent';
|
|
4
|
+
const Toast = ToastOrigin;
|
|
5
|
+
Toast.show = show;
|
|
6
|
+
Toast.success = success;
|
|
7
|
+
Toast.fail = fail;
|
|
8
|
+
Toast.loading = loading;
|
|
9
|
+
Toast.hide = hide;
|
|
10
|
+
Toast.hideAll = hideAll;
|
|
11
|
+
Toast.Agent = ToastAgent;
|
|
12
|
+
export { Toast };
|
|
13
|
+
export default Toast;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@import '../style/base.scss';
|
|
2
|
+
// #variables
|
|
3
|
+
$sar-toast-z-index: 1180 !default;
|
|
4
|
+
|
|
5
|
+
$sar-toast-top: 20% !default;
|
|
6
|
+
$sar-toast-bottom: 20% !default;
|
|
7
|
+
|
|
8
|
+
$sar-toast-font-size: $sar-text-base !default;
|
|
9
|
+
$sar-toast-width: $sar-toast-font-size * 9 !default;
|
|
10
|
+
$sar-toast-not-text-min-height: $sar-toast-width !default;
|
|
11
|
+
$sar-toast-padding-x: $sar-toast-font-size !default;
|
|
12
|
+
$sar-toast-padding-y: $sar-toast-font-size !default;
|
|
13
|
+
$sar-toast-border-radius: $sar-rounded-lg !default;
|
|
14
|
+
$sar-toast-color: $sar-white !default;
|
|
15
|
+
$sar-toast-bg-color: $sar-mask-illegible !default;
|
|
16
|
+
|
|
17
|
+
$sar-toast-text-max-width: 80% !default;
|
|
18
|
+
$sar-toast-text-padding-y: 10px !default;
|
|
19
|
+
|
|
20
|
+
$sar-toast-icon-margin-bottom: 8px !default;
|
|
21
|
+
$sar-toast-icon-size: 36px !default;
|
|
22
|
+
|
|
23
|
+
$sar-toast-title-font-size: $sar-toast-font-size !default;
|
|
24
|
+
$sar-toast-title-line-height: $sar-toast-title-font-size * $sar-leading-normal !default;
|
|
25
|
+
// #endvariables
|
|
26
|
+
|
|
27
|
+
@include bem(toast) {
|
|
28
|
+
@include b() {
|
|
29
|
+
@include universal;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
padding: $sar-toast-padding-y $sar-toast-padding-x;
|
|
33
|
+
border-radius: $sar-toast-border-radius;
|
|
34
|
+
background-color: $sar-toast-bg-color;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include e(popup) {
|
|
38
|
+
z-index: $sar-toast-z-index;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@include e(icon-wrapper) {
|
|
42
|
+
@include universal;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
45
|
+
width: $sar-toast-icon-size;
|
|
46
|
+
height: $sar-toast-icon-size;
|
|
47
|
+
margin-bottom: $sar-toast-icon-margin-bottom;
|
|
48
|
+
text-align: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include e(icon) {
|
|
52
|
+
font-size: $sar-toast-icon-size;
|
|
53
|
+
color: $sar-toast-color;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include e(loading) {
|
|
57
|
+
color: $sar-toast-color;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include e(icon-image) {
|
|
61
|
+
width: $sar-toast-icon-size;
|
|
62
|
+
height: $sar-toast-icon-size;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@include e(title) {
|
|
66
|
+
@include universal;
|
|
67
|
+
font-size: $sar-toast-title-font-size;
|
|
68
|
+
line-height: $sar-toast-title-line-height;
|
|
69
|
+
text-align: center;
|
|
70
|
+
color: $sar-toast-color;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@include m(top) {
|
|
74
|
+
padding-top: $sar-toast-top;
|
|
75
|
+
justify-content: flex-start;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include m(bottom) {
|
|
79
|
+
padding-bottom: $sar-toast-bottom;
|
|
80
|
+
justify-content: flex-end;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@include m(is-text) {
|
|
84
|
+
max-width: $sar-toast-text-max-width;
|
|
85
|
+
padding-top: $sar-toast-text-padding-y;
|
|
86
|
+
padding-bottom: $sar-toast-text-padding-y;
|
|
87
|
+
@include ifweb {
|
|
88
|
+
word-break: break-word;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@include m(not-text) {
|
|
93
|
+
width: $sar-toast-width;
|
|
94
|
+
min-height: $sar-toast-not-text-min-height;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { TransitionProps } from './index';
|
|
3
|
+
export interface CSSTransitionProps extends TransitionProps {
|
|
4
|
+
effect?: 'fade' | 'slide-top' | 'slide-right' | 'slide-bottom' | 'slide-left' | 'zoom';
|
|
5
|
+
}
|
|
6
|
+
export declare const CSSTransition: FC<CSSTransitionProps>;
|
|
7
|
+
export default CSSTransition;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import { Transition } from './index';
|
|
5
|
+
import { useBem } from '../use';
|
|
6
|
+
import { View } from '@tarojs/components';
|
|
7
|
+
import { isFunction } from '../utils';
|
|
8
|
+
export const CSSTransition = (props) => {
|
|
9
|
+
const { children, className, style, in: _in, timeout = 300, onEnter, onEntering, onEntered, onExit, onExiting, onExited, effect, ...restProps } = props;
|
|
10
|
+
const [bem] = useBem('transition');
|
|
11
|
+
const prefix = bem.m(effect);
|
|
12
|
+
const [clsName, setClsName] = useState('');
|
|
13
|
+
const addClass = (...stages) => {
|
|
14
|
+
if (effect) {
|
|
15
|
+
setClsName(stages.map((stage) => prefix + '-' + stage).join(' '));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const handleEnter = () => {
|
|
19
|
+
addClass('enter');
|
|
20
|
+
onEnter?.();
|
|
21
|
+
};
|
|
22
|
+
const handleEntering = () => {
|
|
23
|
+
addClass('entering');
|
|
24
|
+
onEntering?.();
|
|
25
|
+
};
|
|
26
|
+
const handleEntered = () => {
|
|
27
|
+
addClass('entered');
|
|
28
|
+
onEntered?.();
|
|
29
|
+
};
|
|
30
|
+
const handleExit = () => {
|
|
31
|
+
addClass('exit');
|
|
32
|
+
onExit?.();
|
|
33
|
+
};
|
|
34
|
+
const handleExiting = () => {
|
|
35
|
+
addClass('exiting');
|
|
36
|
+
onExiting?.();
|
|
37
|
+
};
|
|
38
|
+
const handleExited = () => {
|
|
39
|
+
addClass('exited');
|
|
40
|
+
onExited?.();
|
|
41
|
+
};
|
|
42
|
+
return (_jsx(Transition, { ...restProps, in: _in, timeout: timeout, onEnter: handleEnter, onEntering: handleEntering, onEntered: handleEntered, onExit: handleExit, onExiting: handleExiting, onExited: handleExited, children: ({ status, timeouts }, props) => (_jsx(View, { ...props, style: {
|
|
43
|
+
...style,
|
|
44
|
+
animationDuration: `${_in ? timeouts.enter : timeouts.exit}ms`,
|
|
45
|
+
}, className: classNames(clsName, className), children: isFunction(children)
|
|
46
|
+
? children({ status, timeouts }, restProps)
|
|
47
|
+
: children })) }));
|
|
48
|
+
};
|
|
49
|
+
export default CSSTransition;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { TransitionProps } from './index';
|
|
3
|
+
export interface CSSTransitionProps extends TransitionProps {
|
|
4
|
+
effect?: 'fade' | 'slide-top' | 'slide-right' | 'slide-bottom' | 'slide-left' | 'zoom';
|
|
5
|
+
}
|
|
6
|
+
export declare const CSSTransition: FC<CSSTransitionProps>;
|
|
7
|
+
export default CSSTransition;
|