@bifrostui/react 1.5.3 → 2.0.0-alpha.1
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/ActionSheet/ActionSheet.css +16 -6
- package/dist/ActionSheet/ActionSheetItem.css +11 -17
- package/dist/ActionSheet/ActionSheetItem.js +3 -8
- package/dist/ActionSheet/index.css +89 -0
- package/dist/Alert/Alert.js +2 -1
- package/dist/Alert/__tests__/fixtures/A11yDemos.js +143 -0
- package/dist/Alert/index.css +18 -14
- package/dist/Avatar/Avatar.css +16 -12
- package/dist/Avatar/Avatar.js +3 -8
- package/dist/Avatar/AvatarGroup.css +19 -15
- package/dist/Avatar/AvatarGroup.js +2 -6
- package/dist/Avatar/index.css +93 -0
- package/dist/Backdrop/Backdrop.js +4 -3
- package/dist/Backdrop/__tests__/fixtures/A11yDemos.js +51 -0
- package/dist/Backdrop/index.css +19 -0
- package/dist/Badge/Badge.js +41 -19
- package/dist/Badge/__tests__/fixtures/A11yDemos.js +110 -0
- package/dist/Badge/hooks/useBadgeA11y.js +76 -0
- package/dist/Badge/hooks/useBadgeDisplay.js +56 -0
- package/dist/Badge/index.css +125 -0
- package/dist/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/Breadcrumb/index.css +38 -0
- package/dist/Button/Button.js +7 -11
- package/dist/Button/__tests__/fixtures/A11yDemos.js +81 -0
- package/dist/Button/index.css +267 -0
- package/dist/CSSTransition/CSSTransition.js +177 -0
- package/dist/CSSTransition/CSSTransition.types.js +15 -0
- package/dist/CSSTransition/demo/CSSTransitionDemo.js +76 -0
- package/dist/CSSTransition/demo/index.css +25 -0
- package/dist/CSSTransition/index.js +41 -0
- package/dist/Calendar/Calendar.js +136 -51
- package/dist/Calendar/__tests__/fixtures/A11yDemos.js +41 -0
- package/dist/Calendar/index.css +167 -0
- package/dist/Calendar/utils.js +33 -23
- package/dist/Card/Card.css +9 -0
- package/dist/Card/CardContent.css +1 -2
- package/dist/Card/CardFooter.css +2 -4
- package/dist/Card/CardHeader.css +5 -5
- package/dist/Card/CardHeader.js +2 -2
- package/dist/Card/index.css +77 -0
- package/dist/Checkbox/Checkbox.js +9 -12
- package/dist/Checkbox/CheckboxGroup.js +5 -8
- package/dist/Checkbox/__tests__/fixtures/A11yDemos.js +57 -0
- package/dist/Checkbox/index.css +51 -0
- package/dist/CitySelector/CitySelector.miniapp.js +0 -1
- package/dist/CitySelector/CitySelectorCore.js +1 -1
- package/dist/CitySelector/Selector/index.css +4 -4
- package/dist/CitySelector/index.css +120 -0
- package/dist/Collapse/Collapse.js +19 -8
- package/dist/Collapse/Collapse.miniapp.js +152 -74
- package/dist/Collapse/index.css +45 -0
- package/dist/CollapsePanel/CollapsePanel.js +1 -1
- package/dist/CollapsePanel/CollapsePanelItem.js +45 -46
- package/dist/CollapsePanel/index.css +36 -0
- package/dist/Countdown/Countdown.js +64 -31
- package/dist/Countdown/__tests__/fixtures/A11yDemos.js +107 -0
- package/dist/Countdown/index.css +54 -0
- package/dist/DesktopDatePicker/DesktopDatePicker.css +61 -0
- package/dist/DesktopDatePicker/DesktopDatePicker.js +1 -1
- package/dist/DesktopDatePicker/index.css +100 -0
- package/dist/Dialog/Dialog.js +56 -34
- package/dist/Dialog/FunctionalDialog.js +101 -90
- package/dist/Dialog/__tests__/fixtures/A11yDemos.js +78 -0
- package/dist/Dialog/index.css +39 -36
- package/dist/Dialog/index.js +9 -2
- package/dist/Divider/Divider.js +9 -6
- package/dist/Divider/index.css +47 -0
- package/dist/Drawer/Drawer.js +12 -18
- package/dist/Drawer/__tests__/fixtures/A11yDemos.js +148 -0
- package/dist/Drawer/index.css +36 -0
- package/dist/Fade/Fade.js +52 -56
- package/dist/IconButton/IconButton.js +26 -18
- package/dist/IconButton/index.css +205 -0
- package/dist/Image/Image.js +119 -119
- package/dist/Image/__tests__/fixtures/A11yDemos.js +130 -0
- package/dist/Image/index.css +7 -8
- package/dist/Input/Input.js +9 -13
- package/dist/Input/__tests__/fixtures/A11yDemos.js +81 -0
- package/dist/Input/index.css +70 -0
- package/dist/ItemSelector/ItemSelector.miniapp.js +0 -1
- package/dist/ItemSelector/ItemSelectorCore.js +1 -1
- package/dist/List/List.css +7 -3
- package/dist/List/List.js +3 -8
- package/dist/List/ListItem.css +3 -3
- package/dist/List/ListItem.js +42 -44
- package/dist/List/ListItemContent.js +1 -4
- package/dist/List/ListItemExtra.js +9 -4
- package/dist/List/ListItemFooter.js +9 -4
- package/dist/List/ListItemHeader.js +9 -4
- package/dist/List/index.css +80 -0
- package/dist/Loading/Loading.js +14 -5
- package/dist/Loading/index.css +37 -0
- package/dist/Modal/Modal.js +48 -54
- package/dist/Modal/Modal.miniapp.js +49 -44
- package/dist/Modal/ModalManager.js +238 -0
- package/dist/Modal/__tests__/fixtures/A11yDemos.js +52 -0
- package/dist/Modal/index.css +15 -0
- package/dist/Modal/index.js +9 -1
- package/dist/Modal/useModal.js +190 -0
- package/dist/NavBar/NavBar.js +1 -2
- package/dist/NavBar/index.css +65 -0
- package/dist/Picker/Picker.css +21 -17
- package/dist/Picker/Picker.js +53 -21
- package/dist/Picker/PickerPanel.css +8 -8
- package/dist/Picker/PickerPanel.js +80 -59
- package/dist/Picker/__tests__/fixtures/A11yDemos.js +79 -0
- package/dist/Picker/index.css +124 -0
- package/dist/Picker/utils.js +9 -12
- package/dist/Popover/Popover.js +120 -131
- package/dist/Popover/__tests__/fixtures/A11yDemos.js +175 -0
- package/dist/Popover/hooks/index.js +36 -0
- package/dist/Popover/hooks/usePopoverA11y.js +66 -0
- package/dist/Popover/hooks/usePopoverEvents.js +150 -0
- package/dist/Popover/hooks/usePopoverPosition.js +124 -0
- package/dist/Popover/hooks/usePopoverState.js +54 -0
- package/dist/Popover/index.css +99 -0
- package/dist/Portal/PortalCore.js +2 -2
- package/dist/Progress/Progress.js +62 -7
- package/dist/Progress/__tests__/fixtures/A11yDemos.js +100 -0
- package/dist/Progress/index.css +28 -0
- package/dist/Radio/Radio.js +8 -11
- package/dist/Radio/RadioButtonIcon.js +6 -1
- package/dist/Radio/RadioGroup.js +2 -5
- package/dist/Radio/__tests__/fixtures/A11yDemos.js +57 -0
- package/dist/Radio/index.css +69 -0
- package/dist/Rating/Rating.js +9 -19
- package/dist/Rating/index.css +65 -0
- package/dist/ScrollView/ScrollView.js +50 -211
- package/dist/ScrollView/__tests__/fixtures/A11yDemos.js +319 -0
- package/dist/ScrollView/useScrollView.js +300 -0
- package/dist/Select/Select.js +19 -18
- package/dist/Select/SelectOption.js +6 -2
- package/dist/Select/__tests__/fixtures/A11yDemos.js +154 -0
- package/dist/Select/index.css +118 -0
- package/dist/Skeleton/Skeleton.js +6 -10
- package/dist/Skeleton/index.css +63 -0
- package/dist/Slide/Slide.js +69 -74
- package/dist/Slider/Slider.js +8 -16
- package/dist/Slider/index.css +111 -0
- package/dist/Stack/Stack.js +1 -1
- package/dist/Stack/demo/index.css +2 -0
- package/dist/Steps/Step.css +14 -14
- package/dist/Steps/Step.js +81 -82
- package/dist/Steps/Steps.css +18 -14
- package/dist/Steps/Steps.js +57 -60
- package/dist/Steps/index.css +199 -0
- package/dist/SwipeAction/index.css +110 -0
- package/dist/Swiper/Swiper.js +19 -5
- package/dist/Swiper/index.css +25 -0
- package/dist/Switch/Switch.js +77 -79
- package/dist/Switch/__tests__/fixtures/A11yDemos.js +57 -0
- package/dist/Switch/index.css +153 -0
- package/dist/TabBar/TabBar.css +12 -8
- package/dist/TabBar/TabBar.js +3 -8
- package/dist/TabBar/TabBarItem.css +6 -0
- package/dist/TabBar/TabBarItem.js +3 -3
- package/dist/TabBar/index.css +59 -0
- package/dist/Tabs/Tab.css +10 -16
- package/dist/Tabs/Tab.js +37 -23
- package/dist/Tabs/TabPanel.js +9 -5
- package/dist/Tabs/Tabs.css +32 -21
- package/dist/Tabs/Tabs.js +87 -95
- package/dist/Tabs/TabsContext.js +3 -1
- package/dist/Tabs/index.css +135 -0
- package/dist/Tag/Tag.css +49 -23
- package/dist/Tag/Tag.js +3 -7
- package/dist/Tag/TagGroup.css +15 -11
- package/dist/Tag/TagGroup.js +16 -14
- package/dist/Tag/__tests__/fixtures/A11yDemos.js +196 -0
- package/dist/Tag/index.css +182 -0
- package/dist/TextArea/TextArea.js +54 -18
- package/dist/TextArea/__tests__/fixtures/A11yDemos.js +91 -0
- package/dist/TextArea/index.css +57 -0
- package/dist/ThemeProvider/ThemeProvider.js +1 -4
- package/dist/ThemeProvider/ThemeProvider.types.js +0 -12
- package/dist/ThemeProvider/utils/constants.js +4 -1
- package/dist/Toast/FunctionalToast.js +180 -96
- package/dist/Toast/Toast.js +70 -29
- package/dist/Toast/__tests__/fixtures/A11yDemos.js +54 -0
- package/dist/Toast/index.css +57 -0
- package/dist/Tooltip/Tooltip.js +64 -151
- package/dist/Tooltip/__tests__/fixtures/A11yDemos.js +100 -0
- package/dist/Tooltip/index.css +95 -0
- package/dist/Tooltip/useTooltip.js +313 -0
- package/dist/Transition/TransitionCore.js +27 -27
- package/dist/TransitionGroup/TransitionGroup.js +132 -0
- package/dist/TransitionGroup/TransitionGroup.types.js +15 -0
- package/dist/TransitionGroup/demo/TransitionGroupDemo.js +68 -0
- package/dist/TransitionGroup/demo/index.css +33 -0
- package/dist/TransitionGroup/index.js +41 -0
- package/dist/TransitionGroup/utils/childMapping.js +119 -0
- package/dist/_.._/benchmarks/components/Button.js +41 -0
- package/dist/_.._/benchmarks/components/Input.js +45 -0
- package/dist/_.._/benchmarks/components/Tabs.js +50 -0
- package/dist/benchmarks/components/Button.d.ts +3 -0
- package/dist/benchmarks/components/Input.d.ts +3 -0
- package/dist/benchmarks/components/Tabs.d.ts +3 -0
- package/dist/index.js +5 -1
- package/dist/locales/en-US.js +30 -2
- package/dist/locales/zh-CN.js +32 -1
- package/dist/locales/zh-TW.js +32 -1
- package/dist/src/ActionSheet/ActionSheetItem.types.d.ts +38 -0
- package/dist/src/Alert/Alert.types.d.ts +61 -0
- package/dist/src/Alert/__tests__/fixtures/A11yDemos.d.ts +17 -0
- package/dist/src/Backdrop/Backdrop.d.ts +5 -0
- package/dist/src/Backdrop/Backdrop.types.d.ts +21 -0
- package/dist/src/Backdrop/__tests__/fixtures/A11yDemos.d.ts +8 -0
- package/dist/src/Badge/Badge.d.ts +5 -0
- package/dist/src/Badge/Badge.types.d.ts +56 -0
- package/dist/src/Badge/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/dist/src/Badge/hooks/useBadgeA11y.d.ts +23 -0
- package/dist/src/Badge/hooks/useBadgeDisplay.d.ts +16 -0
- package/dist/src/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/dist/src/Button/Button.d.ts +5 -0
- package/dist/src/Button/Button.types.d.ts +53 -0
- package/dist/src/Button/__tests__/fixtures/A11yDemos.d.ts +23 -0
- package/dist/src/CSSTransition/CSSTransition.d.ts +4 -0
- package/dist/src/CSSTransition/CSSTransition.types.d.ts +13 -0
- package/dist/src/CSSTransition/index.d.ts +2 -0
- package/dist/src/Calendar/Calendar.d.ts +5 -0
- package/dist/src/Calendar/Calendar.types.d.ts +112 -0
- package/dist/src/Calendar/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/dist/src/Calendar/utils.d.ts +29 -0
- package/dist/src/Checkbox/Checkbox.d.ts +5 -0
- package/dist/src/Checkbox/CheckboxGroup.d.ts +5 -0
- package/dist/src/Checkbox/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/dist/src/CitySelector/CitySelector.types.d.ts +46 -0
- package/dist/src/CitySelector/CitySelectorCore.d.ts +5 -0
- package/dist/src/Collapse/Collapse.d.ts +5 -0
- package/dist/src/Collapse/Collapse.miniapp.d.ts +10 -0
- package/dist/src/CollapsePanel/CollapsePanel.d.ts +5 -0
- package/dist/src/Countdown/Countdown.d.ts +5 -0
- package/dist/src/Countdown/Countdown.types.d.ts +127 -0
- package/dist/src/Countdown/__tests__/fixtures/A11yDemos.d.ts +23 -0
- package/dist/src/DesktopDatePicker/DesktopDatePicker.d.ts +5 -0
- package/dist/src/Dialog/Dialog.d.ts +8 -0
- package/dist/src/Dialog/Dialog.types.d.ts +137 -0
- package/dist/src/Dialog/FunctionalDialog.d.ts +10 -0
- package/dist/src/Dialog/__tests__/fixtures/A11yDemos.d.ts +9 -0
- package/dist/src/Dialog/index.d.ts +5 -0
- package/dist/src/Divider/Divider.d.ts +5 -0
- package/dist/src/Drawer/Drawer.d.ts +5 -0
- package/dist/src/Drawer/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/IconButton/IconButton.d.ts +5 -0
- package/dist/src/IconButton/IconButton.types.d.ts +76 -0
- package/dist/src/Image/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/Input/Input.d.ts +5 -0
- package/dist/src/Input/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/ItemSelector/ItemSelector.types.d.ts +39 -0
- package/dist/src/ItemSelector/ItemSelectorCore.d.ts +5 -0
- package/dist/src/Loading/Loading.d.ts +5 -0
- package/dist/src/Modal/Modal.d.ts +5 -0
- package/dist/src/Modal/Modal.miniapp.d.ts +16 -0
- package/dist/src/Modal/Modal.types.d.ts +44 -0
- package/dist/src/Modal/ModalManager.d.ts +21 -0
- package/dist/src/Modal/__tests__/fixtures/A11yDemos.d.ts +8 -0
- package/dist/src/Modal/index.d.ts +6 -0
- package/dist/src/Modal/useModal.d.ts +24 -0
- package/dist/src/NavBar/NavBar.d.ts +5 -0
- package/dist/src/Picker/Picker.types.d.ts +121 -0
- package/dist/src/Picker/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/dist/src/Picker/utils.d.ts +32 -0
- package/dist/src/Popover/Popover.d.ts +5 -0
- package/dist/src/Popover/Popover.types.d.ts +94 -0
- package/dist/src/Popover/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/dist/src/Popover/hooks/index.d.ts +8 -0
- package/dist/src/Popover/hooks/usePopoverA11y.d.ts +14 -0
- package/dist/src/Popover/hooks/usePopoverEvents.d.ts +21 -0
- package/dist/src/Popover/hooks/usePopoverPosition.d.ts +17 -0
- package/dist/src/Popover/hooks/usePopoverState.d.ts +16 -0
- package/dist/src/Portal/Portal.types.d.ts +26 -0
- package/dist/src/Progress/Progress.d.ts +8 -0
- package/dist/src/Progress/Progress.types.d.ts +72 -0
- package/dist/src/Progress/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/Radio/Radio.d.ts +5 -0
- package/dist/src/Radio/RadioGroup.d.ts +5 -0
- package/dist/src/Radio/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/dist/src/Rating/Rating.d.ts +5 -0
- package/dist/src/ScrollView/ScrollView.d.ts +5 -0
- package/dist/src/ScrollView/ScrollView.types.d.ts +83 -0
- package/dist/src/ScrollView/__tests__/fixtures/A11yDemos.d.ts +7 -0
- package/dist/src/ScrollView/useScrollView.d.ts +10 -0
- package/dist/src/Select/Select.d.ts +5 -0
- package/dist/src/Select/Select.types.d.ts +104 -0
- package/dist/src/Select/SelectOption.d.ts +5 -0
- package/dist/src/Select/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/Select/selectContext.d.ts +3 -0
- package/dist/src/Skeleton/Skeleton.d.ts +5 -0
- package/dist/src/Slider/Slider.d.ts +5 -0
- package/dist/src/Stack/Stack.d.ts +5 -0
- package/dist/src/Steps/Steps.d.ts +5 -0
- package/dist/src/SwipeAction/SwipeActionContext.d.ts +3 -0
- package/dist/src/Swiper/Swiper.d.ts +10 -0
- package/dist/src/Switch/Switch.d.ts +5 -0
- package/dist/src/Switch/Switch.types.d.ts +56 -0
- package/dist/src/Switch/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/dist/src/TabBar/TabBarContext.d.ts +27 -0
- package/dist/src/TabBar/index.types.d.ts +54 -0
- package/dist/src/Tabs/Tab.types.d.ts +12 -0
- package/dist/src/Tabs/TabPanel.d.ts +5 -0
- package/dist/src/Tabs/Tabs.types.d.ts +35 -0
- package/dist/src/Tabs/TabsContext.d.ts +8 -0
- package/dist/src/Tag/Tag.types.d.ts +23 -0
- package/dist/src/Tag/TagGroup.d.ts +5 -0
- package/dist/src/Tag/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/dist/src/TextArea/TextArea.d.ts +5 -0
- package/dist/src/TextArea/TextArea.types.d.ts +98 -0
- package/dist/src/TextArea/__tests__/fixtures/A11yDemos.d.ts +19 -0
- package/dist/src/ThemeProvider/ThemeProvider.types.d.ts +122 -0
- package/dist/src/ThemeProvider/utils/constants.d.ts +38 -0
- package/dist/src/ThemeProvider/utils/mountTokens.d.ts +26 -0
- package/dist/src/Toast/FunctionalToast.d.ts +3 -0
- package/dist/src/Toast/Toast.d.ts +5 -0
- package/dist/src/Toast/Toast.types.d.ts +104 -0
- package/dist/src/Toast/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/dist/src/Tooltip/Tooltip.d.ts +5 -0
- package/dist/src/Tooltip/Tooltip.types.d.ts +99 -0
- package/dist/src/Tooltip/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/dist/src/Tooltip/useTooltip.d.ts +29 -0
- package/dist/src/TransitionGroup/TransitionGroup.d.ts +7 -0
- package/dist/src/TransitionGroup/TransitionGroup.types.d.ts +47 -0
- package/dist/src/TransitionGroup/demo/TransitionGroupDemo.d.ts +4 -0
- package/dist/src/TransitionGroup/index.d.ts +2 -0
- package/dist/src/TransitionGroup/utils/childMapping.d.ts +27 -0
- package/dist/src/index.d.ts +58 -0
- package/dist/src/locales/base.d.ts +79 -0
- package/es/ActionSheet/ActionSheet.css +16 -6
- package/es/ActionSheet/ActionSheetItem.css +11 -17
- package/es/ActionSheet/ActionSheetItem.js +3 -8
- package/es/ActionSheet/index.css +89 -0
- package/es/Alert/Alert.js +2 -1
- package/es/Alert/__tests__/fixtures/A11yDemos.js +107 -0
- package/es/Alert/index.css +18 -14
- package/es/Avatar/Avatar.css +16 -12
- package/es/Avatar/Avatar.js +3 -8
- package/es/Avatar/AvatarGroup.css +19 -15
- package/es/Avatar/AvatarGroup.js +2 -6
- package/es/Avatar/index.css +93 -0
- package/es/Backdrop/Backdrop.js +4 -3
- package/es/Backdrop/__tests__/fixtures/A11yDemos.js +17 -0
- package/es/Backdrop/index.css +19 -0
- package/es/Badge/Badge.js +41 -19
- package/es/Badge/__tests__/fixtures/A11yDemos.js +70 -0
- package/es/Badge/hooks/useBadgeA11y.js +53 -0
- package/es/Badge/hooks/useBadgeDisplay.js +33 -0
- package/es/Badge/index.css +125 -0
- package/es/Breadcrumb/Breadcrumb.js +1 -1
- package/es/Breadcrumb/index.css +38 -0
- package/es/Button/Button.js +7 -11
- package/es/Button/__tests__/fixtures/A11yDemos.js +42 -0
- package/es/Button/index.css +267 -0
- package/es/CSSTransition/CSSTransition.js +153 -0
- package/es/CSSTransition/CSSTransition.types.js +1 -0
- package/es/CSSTransition/demo/CSSTransitionDemo.js +47 -0
- package/es/CSSTransition/demo/index.css +25 -0
- package/es/CSSTransition/index.js +6 -0
- package/es/Calendar/Calendar.js +136 -51
- package/es/Calendar/__tests__/fixtures/A11yDemos.js +8 -0
- package/es/Calendar/index.css +167 -0
- package/es/Calendar/utils.js +29 -20
- package/es/Card/Card.css +9 -0
- package/es/Card/CardContent.css +1 -2
- package/es/Card/CardFooter.css +2 -4
- package/es/Card/CardHeader.css +5 -5
- package/es/Card/CardHeader.js +2 -2
- package/es/Card/index.css +77 -0
- package/es/Checkbox/Checkbox.js +9 -12
- package/es/Checkbox/CheckboxGroup.js +5 -8
- package/es/Checkbox/__tests__/fixtures/A11yDemos.js +22 -0
- package/es/Checkbox/index.css +51 -0
- package/es/CitySelector/CitySelector.miniapp.js +0 -1
- package/es/CitySelector/CitySelectorCore.js +1 -1
- package/es/CitySelector/Selector/index.css +4 -4
- package/es/CitySelector/index.css +120 -0
- package/es/Collapse/Collapse.js +19 -8
- package/es/Collapse/Collapse.miniapp.js +154 -75
- package/es/Collapse/index.css +45 -0
- package/es/CollapsePanel/CollapsePanel.js +1 -1
- package/es/CollapsePanel/CollapsePanelItem.js +45 -46
- package/es/CollapsePanel/index.css +36 -0
- package/es/Countdown/Countdown.js +64 -31
- package/es/Countdown/__tests__/fixtures/A11yDemos.js +68 -0
- package/es/Countdown/index.css +54 -0
- package/es/DesktopDatePicker/DesktopDatePicker.css +61 -0
- package/es/DesktopDatePicker/DesktopDatePicker.js +1 -1
- package/es/DesktopDatePicker/index.css +100 -0
- package/es/Dialog/Dialog.js +57 -35
- package/es/Dialog/FunctionalDialog.js +105 -94
- package/es/Dialog/__tests__/fixtures/A11yDemos.js +43 -0
- package/es/Dialog/index.css +39 -36
- package/es/Dialog/index.js +10 -3
- package/es/Divider/Divider.js +9 -6
- package/es/Divider/index.css +47 -0
- package/es/Drawer/Drawer.js +13 -19
- package/es/Drawer/__tests__/fixtures/A11yDemos.js +112 -0
- package/es/Drawer/index.css +36 -0
- package/es/Fade/Fade.js +52 -56
- package/es/IconButton/IconButton.js +26 -18
- package/es/IconButton/index.css +205 -0
- package/es/Image/Image.js +119 -119
- package/es/Image/__tests__/fixtures/A11yDemos.js +92 -0
- package/es/Image/index.css +7 -8
- package/es/Input/Input.js +9 -13
- package/es/Input/__tests__/fixtures/A11yDemos.js +43 -0
- package/es/Input/index.css +70 -0
- package/es/ItemSelector/ItemSelector.miniapp.js +0 -1
- package/es/ItemSelector/ItemSelectorCore.js +1 -1
- package/es/List/List.css +7 -3
- package/es/List/List.js +3 -8
- package/es/List/ListItem.css +3 -3
- package/es/List/ListItem.js +42 -44
- package/es/List/ListItemContent.js +1 -4
- package/es/List/ListItemExtra.js +9 -4
- package/es/List/ListItemFooter.js +9 -4
- package/es/List/ListItemHeader.js +9 -4
- package/es/List/index.css +80 -0
- package/es/Loading/Loading.js +14 -5
- package/es/Loading/index.css +37 -0
- package/es/Modal/Modal.js +49 -55
- package/es/Modal/Modal.miniapp.js +50 -45
- package/es/Modal/ModalManager.js +214 -0
- package/es/Modal/__tests__/fixtures/A11yDemos.js +18 -0
- package/es/Modal/index.css +15 -0
- package/es/Modal/index.js +6 -1
- package/es/Modal/useModal.js +169 -0
- package/es/NavBar/NavBar.js +1 -2
- package/es/NavBar/index.css +65 -0
- package/es/Picker/Picker.css +21 -17
- package/es/Picker/Picker.js +53 -21
- package/es/Picker/PickerPanel.css +8 -8
- package/es/Picker/PickerPanel.js +92 -60
- package/es/Picker/__tests__/fixtures/A11yDemos.js +46 -0
- package/es/Picker/index.css +124 -0
- package/es/Picker/utils.js +9 -12
- package/es/Popover/Popover.js +127 -140
- package/es/Popover/__tests__/fixtures/A11yDemos.js +135 -0
- package/es/Popover/hooks/index.js +10 -0
- package/es/Popover/hooks/usePopoverA11y.js +43 -0
- package/es/Popover/hooks/usePopoverEvents.js +127 -0
- package/es/Popover/hooks/usePopoverPosition.js +105 -0
- package/es/Popover/hooks/usePopoverState.js +31 -0
- package/es/Popover/index.css +99 -0
- package/es/Portal/PortalCore.js +2 -2
- package/es/Progress/Progress.js +62 -7
- package/es/Progress/__tests__/fixtures/A11yDemos.js +62 -0
- package/es/Progress/index.css +28 -0
- package/es/Radio/Radio.js +8 -11
- package/es/Radio/RadioButtonIcon.js +6 -1
- package/es/Radio/RadioGroup.js +2 -5
- package/es/Radio/__tests__/fixtures/A11yDemos.js +22 -0
- package/es/Radio/index.css +69 -0
- package/es/Rating/Rating.js +9 -19
- package/es/Rating/index.css +65 -0
- package/es/ScrollView/ScrollView.js +53 -212
- package/es/ScrollView/__tests__/fixtures/A11yDemos.js +283 -0
- package/es/ScrollView/useScrollView.js +279 -0
- package/es/Select/Select.js +19 -18
- package/es/Select/SelectOption.js +6 -2
- package/es/Select/__tests__/fixtures/A11yDemos.js +118 -0
- package/es/Select/index.css +118 -0
- package/es/Skeleton/Skeleton.js +6 -10
- package/es/Skeleton/index.css +63 -0
- package/es/Slide/Slide.js +69 -74
- package/es/Slider/Slider.js +8 -16
- package/es/Slider/index.css +111 -0
- package/es/Stack/Stack.js +1 -1
- package/es/Stack/demo/index.css +2 -0
- package/es/Steps/Step.css +14 -14
- package/es/Steps/Step.js +81 -82
- package/es/Steps/Steps.css +18 -14
- package/es/Steps/Steps.js +57 -60
- package/es/Steps/index.css +199 -0
- package/es/SwipeAction/index.css +110 -0
- package/es/Swiper/Swiper.js +19 -5
- package/es/Swiper/index.css +25 -0
- package/es/Switch/Switch.js +77 -79
- package/es/Switch/__tests__/fixtures/A11yDemos.js +22 -0
- package/es/Switch/index.css +153 -0
- package/es/TabBar/TabBar.css +12 -8
- package/es/TabBar/TabBar.js +3 -8
- package/es/TabBar/TabBarItem.css +6 -0
- package/es/TabBar/TabBarItem.js +2 -2
- package/es/TabBar/index.css +59 -0
- package/es/Tabs/Tab.css +10 -16
- package/es/Tabs/Tab.js +37 -23
- package/es/Tabs/TabPanel.js +8 -4
- package/es/Tabs/Tabs.css +32 -21
- package/es/Tabs/Tabs.js +87 -106
- package/es/Tabs/TabsContext.js +3 -1
- package/es/Tabs/index.css +135 -0
- package/es/Tag/Tag.css +49 -23
- package/es/Tag/Tag.js +3 -7
- package/es/Tag/TagGroup.css +15 -11
- package/es/Tag/TagGroup.js +16 -14
- package/es/Tag/__tests__/fixtures/A11yDemos.js +160 -0
- package/es/Tag/index.css +182 -0
- package/es/TextArea/TextArea.js +55 -19
- package/es/TextArea/__tests__/fixtures/A11yDemos.js +54 -0
- package/es/TextArea/index.css +57 -0
- package/es/ThemeProvider/ThemeProvider.js +1 -4
- package/es/ThemeProvider/utils/constants.js +4 -1
- package/es/Toast/FunctionalToast.js +185 -96
- package/es/Toast/Toast.js +70 -29
- package/es/Toast/__tests__/fixtures/A11yDemos.js +21 -0
- package/es/Toast/index.css +57 -0
- package/es/Tooltip/Tooltip.js +65 -159
- package/es/Tooltip/__tests__/fixtures/A11yDemos.js +60 -0
- package/es/Tooltip/index.css +95 -0
- package/es/Tooltip/useTooltip.js +290 -0
- package/es/Transition/TransitionCore.js +28 -28
- package/es/TransitionGroup/TransitionGroup.js +109 -0
- package/es/TransitionGroup/TransitionGroup.types.js +1 -0
- package/es/TransitionGroup/demo/TransitionGroupDemo.js +39 -0
- package/es/TransitionGroup/demo/index.css +33 -0
- package/es/TransitionGroup/index.js +6 -0
- package/es/TransitionGroup/utils/childMapping.js +93 -0
- package/es/_.._/benchmarks/components/Button.js +8 -0
- package/es/_.._/benchmarks/components/Input.js +12 -0
- package/es/_.._/benchmarks/components/Tabs.js +17 -0
- package/es/benchmarks/components/Button.d.ts +3 -0
- package/es/benchmarks/components/Input.d.ts +3 -0
- package/es/benchmarks/components/Tabs.d.ts +3 -0
- package/es/index.js +2 -0
- package/es/locales/en-US.js +30 -2
- package/es/locales/zh-CN.js +32 -1
- package/es/locales/zh-TW.js +32 -1
- package/es/src/ActionSheet/ActionSheetItem.types.d.ts +38 -0
- package/es/src/Alert/Alert.types.d.ts +61 -0
- package/es/src/Alert/__tests__/fixtures/A11yDemos.d.ts +17 -0
- package/es/src/Backdrop/Backdrop.d.ts +5 -0
- package/es/src/Backdrop/Backdrop.types.d.ts +21 -0
- package/es/src/Backdrop/__tests__/fixtures/A11yDemos.d.ts +8 -0
- package/es/src/Badge/Badge.d.ts +5 -0
- package/es/src/Badge/Badge.types.d.ts +56 -0
- package/es/src/Badge/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/es/src/Badge/hooks/useBadgeA11y.d.ts +23 -0
- package/es/src/Badge/hooks/useBadgeDisplay.d.ts +16 -0
- package/es/src/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/es/src/Button/Button.d.ts +5 -0
- package/es/src/Button/Button.types.d.ts +53 -0
- package/es/src/Button/__tests__/fixtures/A11yDemos.d.ts +23 -0
- package/es/src/CSSTransition/CSSTransition.d.ts +4 -0
- package/es/src/CSSTransition/CSSTransition.types.d.ts +13 -0
- package/es/src/CSSTransition/demo/CSSTransitionDemo.d.ts +4 -0
- package/es/src/CSSTransition/index.d.ts +2 -0
- package/es/src/Calendar/Calendar.d.ts +5 -0
- package/es/src/Calendar/Calendar.types.d.ts +112 -0
- package/es/src/Calendar/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/es/src/Calendar/utils.d.ts +29 -0
- package/es/src/Checkbox/Checkbox.d.ts +5 -0
- package/es/src/Checkbox/CheckboxGroup.d.ts +5 -0
- package/es/src/Checkbox/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/es/src/CitySelector/CitySelector.d.ts +4 -0
- package/es/src/CitySelector/CitySelector.miniapp.d.ts +4 -0
- package/es/src/CitySelector/CitySelector.types.d.ts +46 -0
- package/es/src/CitySelector/CitySelectorCore.d.ts +5 -0
- package/es/src/Collapse/Collapse.d.ts +5 -0
- package/es/src/Collapse/Collapse.miniapp.d.ts +10 -0
- package/es/src/CollapsePanel/CollapsePanel.d.ts +5 -0
- package/es/src/Countdown/Countdown.d.ts +5 -0
- package/es/src/Countdown/Countdown.types.d.ts +127 -0
- package/es/src/Countdown/__tests__/fixtures/A11yDemos.d.ts +23 -0
- package/es/src/DesktopDatePicker/DesktopDatePicker.d.ts +5 -0
- package/es/src/Dialog/Dialog.d.ts +8 -0
- package/es/src/Dialog/Dialog.types.d.ts +137 -0
- package/es/src/Dialog/FunctionalDialog.d.ts +10 -0
- package/es/src/Dialog/__tests__/fixtures/A11yDemos.d.ts +9 -0
- package/es/src/Dialog/index.d.ts +5 -0
- package/es/src/Divider/Divider.d.ts +5 -0
- package/es/src/Drawer/Drawer.d.ts +5 -0
- package/es/src/Drawer/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/IconButton/IconButton.d.ts +5 -0
- package/es/src/IconButton/IconButton.types.d.ts +76 -0
- package/es/src/Image/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/Input/Input.d.ts +5 -0
- package/es/src/Input/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/ItemSelector/ItemSelector.d.ts +4 -0
- package/es/src/ItemSelector/ItemSelector.miniapp.d.ts +4 -0
- package/es/src/ItemSelector/ItemSelector.types.d.ts +39 -0
- package/es/src/ItemSelector/ItemSelectorCore.d.ts +5 -0
- package/es/src/Loading/Loading.d.ts +5 -0
- package/es/src/Modal/Modal.d.ts +5 -0
- package/es/src/Modal/Modal.miniapp.d.ts +16 -0
- package/es/src/Modal/Modal.types.d.ts +44 -0
- package/es/src/Modal/ModalManager.d.ts +21 -0
- package/es/src/Modal/__tests__/fixtures/A11yDemos.d.ts +8 -0
- package/es/src/Modal/index.d.ts +6 -0
- package/es/src/Modal/useModal.d.ts +24 -0
- package/es/src/NavBar/NavBar.d.ts +5 -0
- package/es/src/Picker/Picker.types.d.ts +121 -0
- package/es/src/Picker/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/es/src/Picker/utils.d.ts +32 -0
- package/es/src/Popover/Popover.d.ts +5 -0
- package/es/src/Popover/Popover.types.d.ts +94 -0
- package/es/src/Popover/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/es/src/Popover/hooks/index.d.ts +8 -0
- package/es/src/Popover/hooks/usePopoverA11y.d.ts +14 -0
- package/es/src/Popover/hooks/usePopoverEvents.d.ts +21 -0
- package/es/src/Popover/hooks/usePopoverPosition.d.ts +17 -0
- package/es/src/Popover/hooks/usePopoverState.d.ts +16 -0
- package/es/src/Portal/Portal.types.d.ts +26 -0
- package/es/src/Progress/Progress.d.ts +8 -0
- package/es/src/Progress/Progress.types.d.ts +72 -0
- package/es/src/Progress/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/Radio/Radio.d.ts +5 -0
- package/es/src/Radio/RadioGroup.d.ts +5 -0
- package/es/src/Radio/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/es/src/Rating/Rating.d.ts +5 -0
- package/es/src/ScrollView/ScrollView.d.ts +5 -0
- package/es/src/ScrollView/ScrollView.types.d.ts +83 -0
- package/es/src/ScrollView/__tests__/fixtures/A11yDemos.d.ts +7 -0
- package/es/src/ScrollView/useScrollView.d.ts +10 -0
- package/es/src/Select/Select.d.ts +5 -0
- package/es/src/Select/Select.types.d.ts +104 -0
- package/es/src/Select/SelectOption.d.ts +5 -0
- package/es/src/Select/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/Select/selectContext.d.ts +3 -0
- package/es/src/Skeleton/Skeleton.d.ts +5 -0
- package/es/src/Slider/Slider.d.ts +5 -0
- package/es/src/Stack/Stack.d.ts +5 -0
- package/es/src/Stack/demo/StackDemo.d.ts +4 -0
- package/es/src/Steps/Steps.d.ts +5 -0
- package/es/src/SwipeAction/SwipeActionContext.d.ts +3 -0
- package/es/src/Swiper/Swiper.d.ts +10 -0
- package/es/src/Switch/Switch.d.ts +5 -0
- package/es/src/Switch/Switch.types.d.ts +56 -0
- package/es/src/Switch/__tests__/fixtures/A11yDemos.d.ts +15 -0
- package/es/src/TabBar/TabBarContext.d.ts +27 -0
- package/es/src/TabBar/index.types.d.ts +54 -0
- package/es/src/Tabs/Tab.types.d.ts +12 -0
- package/es/src/Tabs/TabPanel.d.ts +5 -0
- package/es/src/Tabs/Tabs.types.d.ts +35 -0
- package/es/src/Tabs/TabsContext.d.ts +8 -0
- package/es/src/Tag/Tag.types.d.ts +23 -0
- package/es/src/Tag/TagGroup.d.ts +5 -0
- package/es/src/Tag/__tests__/fixtures/A11yDemos.d.ts +21 -0
- package/es/src/TextArea/TextArea.d.ts +5 -0
- package/es/src/TextArea/TextArea.types.d.ts +98 -0
- package/es/src/TextArea/__tests__/fixtures/A11yDemos.d.ts +19 -0
- package/es/src/ThemeProvider/ThemeProvider.types.d.ts +122 -0
- package/es/src/ThemeProvider/utils/constants.d.ts +38 -0
- package/es/src/ThemeProvider/utils/mountTokens.d.ts +26 -0
- package/es/src/Toast/FunctionalToast.d.ts +3 -0
- package/es/src/Toast/Toast.d.ts +5 -0
- package/es/src/Toast/Toast.types.d.ts +104 -0
- package/es/src/Toast/__tests__/fixtures/A11yDemos.d.ts +2 -0
- package/es/src/Tooltip/Tooltip.d.ts +5 -0
- package/es/src/Tooltip/Tooltip.types.d.ts +99 -0
- package/es/src/Tooltip/__tests__/fixtures/A11yDemos.d.ts +25 -0
- package/es/src/Tooltip/useTooltip.d.ts +29 -0
- package/es/src/TransitionGroup/TransitionGroup.d.ts +7 -0
- package/es/src/TransitionGroup/TransitionGroup.types.d.ts +47 -0
- package/es/src/TransitionGroup/demo/TransitionGroupDemo.d.ts +4 -0
- package/es/src/TransitionGroup/index.d.ts +2 -0
- package/es/src/TransitionGroup/utils/childMapping.d.ts +27 -0
- package/es/src/index.d.ts +58 -0
- package/es/src/locales/base.d.ts +79 -0
- package/package.json +18 -7
- package/dist/ActionSheet/ActionSheetItem.types.d.ts +0 -38
- package/dist/Alert/Alert.types.d.ts +0 -61
- package/dist/Backdrop/Backdrop.css +0 -15
- package/dist/Backdrop/Backdrop.d.ts +0 -5
- package/dist/Backdrop/Backdrop.types.d.ts +0 -17
- package/dist/Badge/Badge.css +0 -105
- package/dist/Badge/Badge.d.ts +0 -5
- package/dist/Badge/Badge.types.d.ts +0 -27
- package/dist/Breadcrumb/Breadcrumb.css +0 -34
- package/dist/Breadcrumb/Breadcrumb.d.ts +0 -5
- package/dist/Button/Button.css +0 -237
- package/dist/Button/Button.d.ts +0 -5
- package/dist/Button/Button.types.d.ts +0 -52
- package/dist/Calendar/Calendar.css +0 -120
- package/dist/Calendar/Calendar.d.ts +0 -5
- package/dist/Calendar/Calendar.types.d.ts +0 -102
- package/dist/Calendar/utils.d.ts +0 -25
- package/dist/Checkbox/Checkbox.css +0 -47
- package/dist/Checkbox/Checkbox.d.ts +0 -5
- package/dist/Checkbox/CheckboxGroup.d.ts +0 -5
- package/dist/CitySelector/CitySelector.css +0 -116
- package/dist/CitySelector/CitySelector.miniapp.d.ts +0 -5
- package/dist/CitySelector/CitySelector.types.d.ts +0 -47
- package/dist/CitySelector/CitySelectorCore.d.ts +0 -5
- package/dist/CitySelector/miniapp.css +0 -4
- package/dist/Collapse/Collapse.css +0 -5
- package/dist/Collapse/Collapse.d.ts +0 -5
- package/dist/Collapse/Collapse.miniapp.d.ts +0 -5
- package/dist/CollapsePanel/CollapsePanel.css +0 -34
- package/dist/CollapsePanel/CollapsePanel.d.ts +0 -5
- package/dist/Countdown/Countdown.css +0 -39
- package/dist/Countdown/Countdown.d.ts +0 -5
- package/dist/Countdown/Countdown.types.d.ts +0 -123
- package/dist/DesktopDatePicker/DesktopDatePicker.d.ts +0 -5
- package/dist/Dialog/Dialog.d.ts +0 -5
- package/dist/Dialog/Dialog.types.d.ts +0 -114
- package/dist/Dialog/FunctionalDialog.d.ts +0 -3
- package/dist/Dialog/index.d.ts +0 -2
- package/dist/Divider/Divider.css +0 -43
- package/dist/Divider/Divider.d.ts +0 -5
- package/dist/Drawer/Drawer.css +0 -34
- package/dist/Drawer/Drawer.d.ts +0 -5
- package/dist/IconButton/IconButton.css +0 -152
- package/dist/IconButton/IconButton.d.ts +0 -5
- package/dist/IconButton/IconButton.types.d.ts +0 -40
- package/dist/Input/Input.css +0 -64
- package/dist/Input/Input.d.ts +0 -5
- package/dist/ItemSelector/ItemSelector.miniapp.d.ts +0 -5
- package/dist/ItemSelector/ItemSelector.types.d.ts +0 -40
- package/dist/ItemSelector/ItemSelectorCore.d.ts +0 -5
- package/dist/ItemSelector/miniapp.css +0 -4
- package/dist/Loading/Loading.css +0 -33
- package/dist/Loading/Loading.d.ts +0 -5
- package/dist/Modal/Modal.css +0 -15
- package/dist/Modal/Modal.d.ts +0 -5
- package/dist/Modal/Modal.miniapp.d.ts +0 -16
- package/dist/Modal/Modal.types.d.ts +0 -20
- package/dist/Modal/index.d.ts +0 -3
- package/dist/NavBar/NavBar.css +0 -61
- package/dist/NavBar/NavBar.d.ts +0 -5
- package/dist/Picker/Picker.types.d.ts +0 -121
- package/dist/Picker/utils.d.ts +0 -29
- package/dist/Popover/Popover.css +0 -95
- package/dist/Popover/Popover.d.ts +0 -5
- package/dist/Popover/Popover.types.d.ts +0 -57
- package/dist/Portal/Portal.types.d.ts +0 -26
- package/dist/Progress/Progress.css +0 -24
- package/dist/Progress/Progress.d.ts +0 -8
- package/dist/Progress/Progress.types.d.ts +0 -28
- package/dist/Radio/Radio.css +0 -66
- package/dist/Radio/Radio.d.ts +0 -5
- package/dist/Radio/RadioGroup.d.ts +0 -5
- package/dist/Rating/Rating.css +0 -56
- package/dist/Rating/Rating.d.ts +0 -5
- package/dist/ScrollView/ScrollView.d.ts +0 -5
- package/dist/ScrollView/ScrollView.types.d.ts +0 -257
- package/dist/Select/Select.css +0 -104
- package/dist/Select/Select.d.ts +0 -5
- package/dist/Select/Select.types.d.ts +0 -104
- package/dist/Select/SelectOption.d.ts +0 -5
- package/dist/Select/selectContext.d.ts +0 -4
- package/dist/Skeleton/Skeleton.css +0 -59
- package/dist/Skeleton/Skeleton.d.ts +0 -5
- package/dist/Slider/Slider.css +0 -106
- package/dist/Slider/Slider.d.ts +0 -5
- package/dist/Stack/Stack.d.ts +0 -5
- package/dist/Steps/Steps.d.ts +0 -5
- package/dist/SwipeAction/SwipeActionContext.d.ts +0 -4
- package/dist/Swiper/Swiper.css +0 -21
- package/dist/Swiper/Swiper.d.ts +0 -10
- package/dist/Switch/Switch.css +0 -142
- package/dist/Switch/Switch.d.ts +0 -5
- package/dist/Switch/Switch.types.d.ts +0 -56
- package/dist/TabBar/TabBarContext.d.ts +0 -27
- package/dist/TabBar/index.types.d.ts +0 -54
- package/dist/Tabs/Tab.types.d.ts +0 -12
- package/dist/Tabs/TabPanel.d.ts +0 -5
- package/dist/Tabs/Tabs.types.d.ts +0 -45
- package/dist/Tabs/TabsContext.d.ts +0 -9
- package/dist/Tag/Tag.types.d.ts +0 -23
- package/dist/Tag/TagGroup.d.ts +0 -5
- package/dist/TextArea/TextArea.css +0 -53
- package/dist/TextArea/TextArea.d.ts +0 -5
- package/dist/TextArea/TextArea.types.d.ts +0 -70
- package/dist/ThemeProvider/ThemeProvider.types.d.ts +0 -127
- package/dist/ThemeProvider/utils/constants.d.ts +0 -38
- package/dist/ThemeProvider/utils/mountTokens.d.ts +0 -26
- package/dist/Toast/FunctionalToast.d.ts +0 -3
- package/dist/Toast/Toast.css +0 -53
- package/dist/Toast/Toast.d.ts +0 -5
- package/dist/Toast/Toast.types.d.ts +0 -106
- package/dist/Tooltip/Tooltip.css +0 -91
- package/dist/Tooltip/Tooltip.d.ts +0 -5
- package/dist/Tooltip/Tooltip.types.d.ts +0 -48
- package/dist/index.d.ts +0 -56
- package/dist/locales/base.d.ts +0 -51
- package/es/ActionSheet/ActionSheetItem.types.d.ts +0 -38
- package/es/Alert/Alert.types.d.ts +0 -61
- package/es/Backdrop/Backdrop.css +0 -15
- package/es/Backdrop/Backdrop.d.ts +0 -5
- package/es/Backdrop/Backdrop.types.d.ts +0 -17
- package/es/Badge/Badge.css +0 -105
- package/es/Badge/Badge.d.ts +0 -5
- package/es/Badge/Badge.types.d.ts +0 -27
- package/es/Breadcrumb/Breadcrumb.css +0 -34
- package/es/Breadcrumb/Breadcrumb.d.ts +0 -5
- package/es/Button/Button.css +0 -237
- package/es/Button/Button.d.ts +0 -5
- package/es/Button/Button.types.d.ts +0 -52
- package/es/Calendar/Calendar.css +0 -120
- package/es/Calendar/Calendar.d.ts +0 -5
- package/es/Calendar/Calendar.types.d.ts +0 -102
- package/es/Calendar/utils.d.ts +0 -25
- package/es/Checkbox/Checkbox.css +0 -47
- package/es/Checkbox/Checkbox.d.ts +0 -5
- package/es/Checkbox/CheckboxGroup.d.ts +0 -5
- package/es/CitySelector/CitySelector.css +0 -116
- package/es/CitySelector/CitySelector.miniapp.d.ts +0 -5
- package/es/CitySelector/CitySelector.types.d.ts +0 -47
- package/es/CitySelector/CitySelectorCore.d.ts +0 -5
- package/es/CitySelector/miniapp.css +0 -4
- package/es/Collapse/Collapse.css +0 -5
- package/es/Collapse/Collapse.d.ts +0 -5
- package/es/Collapse/Collapse.miniapp.d.ts +0 -5
- package/es/CollapsePanel/CollapsePanel.css +0 -34
- package/es/CollapsePanel/CollapsePanel.d.ts +0 -5
- package/es/Countdown/Countdown.css +0 -39
- package/es/Countdown/Countdown.d.ts +0 -5
- package/es/Countdown/Countdown.types.d.ts +0 -123
- package/es/DesktopDatePicker/DesktopDatePicker.d.ts +0 -5
- package/es/Dialog/Dialog.d.ts +0 -5
- package/es/Dialog/Dialog.types.d.ts +0 -114
- package/es/Dialog/FunctionalDialog.d.ts +0 -3
- package/es/Dialog/index.d.ts +0 -2
- package/es/Divider/Divider.css +0 -43
- package/es/Divider/Divider.d.ts +0 -5
- package/es/Drawer/Drawer.css +0 -34
- package/es/Drawer/Drawer.d.ts +0 -5
- package/es/IconButton/IconButton.css +0 -152
- package/es/IconButton/IconButton.d.ts +0 -5
- package/es/IconButton/IconButton.types.d.ts +0 -40
- package/es/Input/Input.css +0 -64
- package/es/Input/Input.d.ts +0 -5
- package/es/ItemSelector/ItemSelector.miniapp.d.ts +0 -5
- package/es/ItemSelector/ItemSelector.types.d.ts +0 -40
- package/es/ItemSelector/ItemSelectorCore.d.ts +0 -5
- package/es/ItemSelector/miniapp.css +0 -4
- package/es/Loading/Loading.css +0 -33
- package/es/Loading/Loading.d.ts +0 -5
- package/es/Modal/Modal.css +0 -15
- package/es/Modal/Modal.d.ts +0 -5
- package/es/Modal/Modal.miniapp.d.ts +0 -16
- package/es/Modal/Modal.types.d.ts +0 -20
- package/es/Modal/index.d.ts +0 -3
- package/es/NavBar/NavBar.css +0 -61
- package/es/NavBar/NavBar.d.ts +0 -5
- package/es/Picker/Picker.types.d.ts +0 -121
- package/es/Picker/utils.d.ts +0 -29
- package/es/Popover/Popover.css +0 -95
- package/es/Popover/Popover.d.ts +0 -5
- package/es/Popover/Popover.types.d.ts +0 -57
- package/es/Portal/Portal.types.d.ts +0 -26
- package/es/Progress/Progress.css +0 -24
- package/es/Progress/Progress.d.ts +0 -8
- package/es/Progress/Progress.types.d.ts +0 -28
- package/es/Radio/Radio.css +0 -66
- package/es/Radio/Radio.d.ts +0 -5
- package/es/Radio/RadioGroup.d.ts +0 -5
- package/es/Rating/Rating.css +0 -56
- package/es/Rating/Rating.d.ts +0 -5
- package/es/ScrollView/ScrollView.d.ts +0 -5
- package/es/ScrollView/ScrollView.types.d.ts +0 -257
- package/es/Select/Select.css +0 -104
- package/es/Select/Select.d.ts +0 -5
- package/es/Select/Select.types.d.ts +0 -104
- package/es/Select/SelectOption.d.ts +0 -5
- package/es/Select/selectContext.d.ts +0 -4
- package/es/Skeleton/Skeleton.css +0 -59
- package/es/Skeleton/Skeleton.d.ts +0 -5
- package/es/Slider/Slider.css +0 -106
- package/es/Slider/Slider.d.ts +0 -5
- package/es/Stack/Stack.d.ts +0 -5
- package/es/Steps/Steps.d.ts +0 -5
- package/es/SwipeAction/SwipeActionContext.d.ts +0 -4
- package/es/Swiper/Swiper.css +0 -21
- package/es/Swiper/Swiper.d.ts +0 -10
- package/es/Switch/Switch.css +0 -142
- package/es/Switch/Switch.d.ts +0 -5
- package/es/Switch/Switch.types.d.ts +0 -56
- package/es/TabBar/TabBarContext.d.ts +0 -27
- package/es/TabBar/index.types.d.ts +0 -54
- package/es/Tabs/Tab.types.d.ts +0 -12
- package/es/Tabs/TabPanel.d.ts +0 -5
- package/es/Tabs/Tabs.types.d.ts +0 -45
- package/es/Tabs/TabsContext.d.ts +0 -9
- package/es/Tag/Tag.types.d.ts +0 -23
- package/es/Tag/TagGroup.d.ts +0 -5
- package/es/TextArea/TextArea.css +0 -53
- package/es/TextArea/TextArea.d.ts +0 -5
- package/es/TextArea/TextArea.types.d.ts +0 -70
- package/es/ThemeProvider/ThemeProvider.types.d.ts +0 -127
- package/es/ThemeProvider/utils/constants.d.ts +0 -38
- package/es/ThemeProvider/utils/mountTokens.d.ts +0 -26
- package/es/Toast/FunctionalToast.d.ts +0 -3
- package/es/Toast/Toast.css +0 -53
- package/es/Toast/Toast.d.ts +0 -5
- package/es/Toast/Toast.types.d.ts +0 -106
- package/es/Tooltip/Tooltip.css +0 -91
- package/es/Tooltip/Tooltip.d.ts +0 -5
- package/es/Tooltip/Tooltip.types.d.ts +0 -48
- package/es/index.d.ts +0 -56
- package/es/locales/base.d.ts +0 -51
- /package/dist/ItemSelector/{ItemSelector.css → index.css} +0 -0
- /package/dist/ScrollView/{ScrollView.css → index.css} +0 -0
- /package/dist/Stack/{Stack.css → index.css} +0 -0
- /package/dist/{ActionSheet → src/ActionSheet}/ActionSheet.d.ts +0 -0
- /package/dist/{ActionSheet → src/ActionSheet}/ActionSheet.types.d.ts +0 -0
- /package/dist/{ActionSheet → src/ActionSheet}/ActionSheetContext.d.ts +0 -0
- /package/dist/{ActionSheet → src/ActionSheet}/ActionSheetItem.d.ts +0 -0
- /package/dist/{ActionSheet → src/ActionSheet}/index.d.ts +0 -0
- /package/dist/{Alert → src/Alert}/Alert.d.ts +0 -0
- /package/dist/{Alert → src/Alert}/index.d.ts +0 -0
- /package/dist/{Avatar → src/Avatar}/Avatar.d.ts +0 -0
- /package/dist/{Avatar → src/Avatar}/Avatar.types.d.ts +0 -0
- /package/dist/{Avatar → src/Avatar}/AvatarGroup.d.ts +0 -0
- /package/dist/{Avatar → src/Avatar}/AvatarGroup.types.d.ts +0 -0
- /package/dist/{Avatar → src/Avatar}/index.d.ts +0 -0
- /package/dist/{Backdrop → src/Backdrop}/index.d.ts +0 -0
- /package/dist/{Badge → src/Badge}/index.d.ts +0 -0
- /package/dist/{Breadcrumb → src/Breadcrumb}/Breadcrumb.types.d.ts +0 -0
- /package/dist/{Breadcrumb → src/Breadcrumb}/BreadcrumbItem.d.ts +0 -0
- /package/dist/{Breadcrumb → src/Breadcrumb}/index.d.ts +0 -0
- /package/dist/{Button → src/Button}/index.d.ts +0 -0
- /package/dist/{Stack/demo/StackDemo.d.ts → src/CSSTransition/demo/CSSTransitionDemo.d.ts} +0 -0
- /package/dist/{Calendar → src/Calendar}/index.d.ts +0 -0
- /package/dist/{Card → src/Card}/Card.d.ts +0 -0
- /package/dist/{Card → src/Card}/Card.types.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardContent.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardContent.types.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardFooter.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardFooter.types.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardHeader.d.ts +0 -0
- /package/dist/{Card → src/Card}/CardHeader.types.d.ts +0 -0
- /package/dist/{Card → src/Card}/index.d.ts +0 -0
- /package/dist/{Checkbox → src/Checkbox}/Checkbox.types.d.ts +0 -0
- /package/dist/{Checkbox → src/Checkbox}/CheckboxContext.d.ts +0 -0
- /package/dist/{Checkbox → src/Checkbox}/index.d.ts +0 -0
- /package/dist/{CitySelector → src/CitySelector}/CitySelector.d.ts +0 -0
- /package/{es/CitySelector/CitySelector.d.ts → dist/src/CitySelector/CitySelector.miniapp.d.ts} +0 -0
- /package/dist/{CitySelector → src/CitySelector}/Selector/index.d.ts +0 -0
- /package/dist/{CitySelector → src/CitySelector}/index.d.ts +0 -0
- /package/dist/{Collapse → src/Collapse}/Collapse.types.d.ts +0 -0
- /package/dist/{Collapse → src/Collapse}/index.d.ts +0 -0
- /package/dist/{CollapsePanel → src/CollapsePanel}/CollapsePanel.types.d.ts +0 -0
- /package/dist/{CollapsePanel → src/CollapsePanel}/CollapsePanelItem.d.ts +0 -0
- /package/dist/{CollapsePanel → src/CollapsePanel}/index.d.ts +0 -0
- /package/dist/{Countdown → src/Countdown}/index.d.ts +0 -0
- /package/dist/{Countdown → src/Countdown}/useCountdown.d.ts +0 -0
- /package/dist/{Countdown → src/Countdown}/utils.d.ts +0 -0
- /package/dist/{DatePicker → src/DatePicker}/DatePicker.d.ts +0 -0
- /package/dist/{DatePicker → src/DatePicker}/DatePicker.types.d.ts +0 -0
- /package/dist/{DatePicker → src/DatePicker}/constants.d.ts +0 -0
- /package/dist/{DatePicker → src/DatePicker}/index.d.ts +0 -0
- /package/dist/{DesktopDatePicker → src/DesktopDatePicker}/DesktopDatePicker.types.d.ts +0 -0
- /package/dist/{DesktopDatePicker → src/DesktopDatePicker}/index.d.ts +0 -0
- /package/dist/{DesktopDatePicker → src/DesktopDatePicker}/useGetDatePickerContent.d.ts +0 -0
- /package/dist/{DesktopDateTimePicker → src/DesktopDateTimePicker}/DesktopDateTimePicker.d.ts +0 -0
- /package/dist/{DesktopDateTimePicker → src/DesktopDateTimePicker}/DesktopDateTimePicker.types.d.ts +0 -0
- /package/dist/{DesktopDateTimePicker → src/DesktopDateTimePicker}/index.d.ts +0 -0
- /package/dist/{DesktopPicker → src/DesktopPicker}/DesktopPicker.d.ts +0 -0
- /package/dist/{DesktopPicker → src/DesktopPicker}/DesktopPicker.types.d.ts +0 -0
- /package/dist/{DesktopPicker → src/DesktopPicker}/index.d.ts +0 -0
- /package/dist/{DesktopPicker → src/DesktopPicker}/utils/calcAfterMounted.d.ts +0 -0
- /package/dist/{DesktopPicker → src/DesktopPicker}/utils/calcAfterMounted.miniapp.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePicker.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePicker.types.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePickerList.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/index.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/useGetTimePickerContent.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/utils/scrollUtil.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/utils/scrollUtil.miniapp.d.ts +0 -0
- /package/dist/{DesktopTimePicker → src/DesktopTimePicker}/utils/utils.d.ts +0 -0
- /package/dist/{Divider → src/Divider}/Divider.types.d.ts +0 -0
- /package/dist/{Divider → src/Divider}/index.d.ts +0 -0
- /package/dist/{Drawer → src/Drawer}/Drawer.types.d.ts +0 -0
- /package/dist/{Drawer → src/Drawer}/index.d.ts +0 -0
- /package/dist/{Fade → src/Fade}/Fade.d.ts +0 -0
- /package/dist/{Fade → src/Fade}/Fade.miniapp.d.ts +0 -0
- /package/dist/{Fade → src/Fade}/Fade.types.d.ts +0 -0
- /package/dist/{Fade → src/Fade}/index.d.ts +0 -0
- /package/dist/{IconButton → src/IconButton}/index.d.ts +0 -0
- /package/dist/{Image → src/Image}/Image.d.ts +0 -0
- /package/dist/{Image → src/Image}/Image.types.d.ts +0 -0
- /package/dist/{Image → src/Image}/index.d.ts +0 -0
- /package/dist/{Input → src/Input}/Input.types.d.ts +0 -0
- /package/dist/{Input → src/Input}/index.d.ts +0 -0
- /package/dist/{ItemSelector → src/ItemSelector}/ItemSelector.d.ts +0 -0
- /package/{es/ItemSelector/ItemSelector.d.ts → dist/src/ItemSelector/ItemSelector.miniapp.d.ts} +0 -0
- /package/dist/{ItemSelector → src/ItemSelector}/Selector/index.d.ts +0 -0
- /package/dist/{ItemSelector → src/ItemSelector}/index.d.ts +0 -0
- /package/dist/{List → src/List}/List.d.ts +0 -0
- /package/dist/{List → src/List}/List.types.d.ts +0 -0
- /package/dist/{List → src/List}/ListContext.d.ts +0 -0
- /package/dist/{List → src/List}/ListItem.d.ts +0 -0
- /package/dist/{List → src/List}/ListItem.types.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemContent.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemContent.types.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemExtra.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemExtra.types.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemFooter.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemFooter.types.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemHeader.d.ts +0 -0
- /package/dist/{List → src/List}/ListItemHeader.types.d.ts +0 -0
- /package/dist/{List → src/List}/index.d.ts +0 -0
- /package/dist/{Loading → src/Loading}/Loading.types.d.ts +0 -0
- /package/dist/{Loading → src/Loading}/index.d.ts +0 -0
- /package/dist/{NavBar → src/NavBar}/NavBar.types.d.ts +0 -0
- /package/dist/{NavBar → src/NavBar}/index.d.ts +0 -0
- /package/dist/{Picker → src/Picker}/Picker.d.ts +0 -0
- /package/dist/{Picker → src/Picker}/PickerPanel.d.ts +0 -0
- /package/dist/{Picker → src/Picker}/index.d.ts +0 -0
- /package/dist/{Popover → src/Popover}/index.d.ts +0 -0
- /package/dist/{Portal → src/Portal}/Portal.d.ts +0 -0
- /package/dist/{Portal → src/Portal}/Portal.miniapp.d.ts +0 -0
- /package/dist/{Portal → src/Portal}/PortalCore.d.ts +0 -0
- /package/dist/{Portal → src/Portal}/index.d.ts +0 -0
- /package/dist/{Progress → src/Progress}/index.d.ts +0 -0
- /package/dist/{Radio → src/Radio}/Radio.types.d.ts +0 -0
- /package/dist/{Radio → src/Radio}/RadioButtonIcon.d.ts +0 -0
- /package/dist/{Radio → src/Radio}/RadioContext.d.ts +0 -0
- /package/dist/{Radio → src/Radio}/index.d.ts +0 -0
- /package/dist/{Rating → src/Rating}/Rating.types.d.ts +0 -0
- /package/dist/{Rating → src/Rating}/index.d.ts +0 -0
- /package/dist/{ScrollView → src/ScrollView}/ScrollView.miniapp.d.ts +0 -0
- /package/dist/{ScrollView → src/ScrollView}/index.d.ts +0 -0
- /package/dist/{Select → src/Select}/index.d.ts +0 -0
- /package/dist/{Skeleton → src/Skeleton}/Skeleton.types.d.ts +0 -0
- /package/dist/{Skeleton → src/Skeleton}/index.d.ts +0 -0
- /package/dist/{Slide → src/Slide}/Slide.d.ts +0 -0
- /package/dist/{Slide → src/Slide}/Slide.miniapp.d.ts +0 -0
- /package/dist/{Slide → src/Slide}/Slide.types.d.ts +0 -0
- /package/dist/{Slide → src/Slide}/index.d.ts +0 -0
- /package/dist/{Slider → src/Slider}/Slider.types.d.ts +0 -0
- /package/dist/{Slider → src/Slider}/index.d.ts +0 -0
- /package/dist/{Slider → src/Slider}/utils.d.ts +0 -0
- /package/dist/{Stack → src/Stack}/Stack.types.d.ts +0 -0
- /package/{es → dist/src}/Stack/demo/StackDemo.d.ts +0 -0
- /package/dist/{Stack → src/Stack}/index.d.ts +0 -0
- /package/dist/{Steps → src/Steps}/Step.d.ts +0 -0
- /package/dist/{Steps → src/Steps}/Step.types.d.ts +0 -0
- /package/dist/{Steps → src/Steps}/Steps.types.d.ts +0 -0
- /package/dist/{Steps → src/Steps}/StepsContext.d.ts +0 -0
- /package/dist/{Steps → src/Steps}/index.d.ts +0 -0
- /package/dist/{SwipeAction → src/SwipeAction}/SwipeAction.d.ts +0 -0
- /package/dist/{SwipeAction → src/SwipeAction}/SwipeAction.types.d.ts +0 -0
- /package/dist/{SwipeAction → src/SwipeAction}/SwipeActionItem.d.ts +0 -0
- /package/dist/{SwipeAction → src/SwipeAction}/constants.d.ts +0 -0
- /package/dist/{SwipeAction → src/SwipeAction}/index.d.ts +0 -0
- /package/dist/{Swiper → src/Swiper}/Swiper.miniapp.d.ts +0 -0
- /package/dist/{Swiper → src/Swiper}/Swiper.types.d.ts +0 -0
- /package/dist/{Swiper → src/Swiper}/SwiperItem.d.ts +0 -0
- /package/dist/{Swiper → src/Swiper}/SwiperItem.miniapp.d.ts +0 -0
- /package/dist/{Swiper → src/Swiper}/index.d.ts +0 -0
- /package/dist/{Switch → src/Switch}/index.d.ts +0 -0
- /package/dist/{TabBar → src/TabBar}/TabBar.d.ts +0 -0
- /package/dist/{TabBar → src/TabBar}/TabBarItem.d.ts +0 -0
- /package/dist/{TabBar → src/TabBar}/index.d.ts +0 -0
- /package/dist/{Tabs → src/Tabs}/Tab.d.ts +0 -0
- /package/dist/{Tabs → src/Tabs}/TabPanel.types.d.ts +0 -0
- /package/dist/{Tabs → src/Tabs}/Tabs.d.ts +0 -0
- /package/dist/{Tabs → src/Tabs}/index.d.ts +0 -0
- /package/dist/{Tabs → src/Tabs}/utils/scroll.d.ts +0 -0
- /package/dist/{Tag → src/Tag}/Tag.d.ts +0 -0
- /package/dist/{Tag → src/Tag}/TagGroup.types.d.ts +0 -0
- /package/dist/{Tag → src/Tag}/index.d.ts +0 -0
- /package/dist/{TextArea → src/TextArea}/index.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/ThemeProvider.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/hooks/ThemeContext.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/hooks/createTheme.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/hooks/index.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/hooks/useTheme.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/index.d.ts +0 -0
- /package/dist/{ThemeProvider → src/ThemeProvider}/utils/index.d.ts +0 -0
- /package/dist/{Toast → src/Toast}/index.d.ts +0 -0
- /package/dist/{Tooltip → src/Tooltip}/index.d.ts +0 -0
- /package/dist/{Transition → src/Transition}/Transition.d.ts +0 -0
- /package/dist/{Transition → src/Transition}/Transition.miniapp.d.ts +0 -0
- /package/dist/{Transition → src/Transition}/Transition.types.d.ts +0 -0
- /package/dist/{Transition → src/Transition}/TransitionCore.d.ts +0 -0
- /package/dist/{Transition → src/Transition}/index.d.ts +0 -0
- /package/dist/{locales → src/locales}/en-US.d.ts +0 -0
- /package/dist/{locales → src/locales}/hooks/useLocaleText.d.ts +0 -0
- /package/dist/{locales → src/locales}/index.d.ts +0 -0
- /package/dist/{locales → src/locales}/zh-CN.d.ts +0 -0
- /package/dist/{locales → src/locales}/zh-TW.d.ts +0 -0
- /package/es/ItemSelector/{ItemSelector.css → index.css} +0 -0
- /package/es/ScrollView/{ScrollView.css → index.css} +0 -0
- /package/es/Stack/{Stack.css → index.css} +0 -0
- /package/es/{ActionSheet → src/ActionSheet}/ActionSheet.d.ts +0 -0
- /package/es/{ActionSheet → src/ActionSheet}/ActionSheet.types.d.ts +0 -0
- /package/es/{ActionSheet → src/ActionSheet}/ActionSheetContext.d.ts +0 -0
- /package/es/{ActionSheet → src/ActionSheet}/ActionSheetItem.d.ts +0 -0
- /package/es/{ActionSheet → src/ActionSheet}/index.d.ts +0 -0
- /package/es/{Alert → src/Alert}/Alert.d.ts +0 -0
- /package/es/{Alert → src/Alert}/index.d.ts +0 -0
- /package/es/{Avatar → src/Avatar}/Avatar.d.ts +0 -0
- /package/es/{Avatar → src/Avatar}/Avatar.types.d.ts +0 -0
- /package/es/{Avatar → src/Avatar}/AvatarGroup.d.ts +0 -0
- /package/es/{Avatar → src/Avatar}/AvatarGroup.types.d.ts +0 -0
- /package/es/{Avatar → src/Avatar}/index.d.ts +0 -0
- /package/es/{Backdrop → src/Backdrop}/index.d.ts +0 -0
- /package/es/{Badge → src/Badge}/index.d.ts +0 -0
- /package/es/{Breadcrumb → src/Breadcrumb}/Breadcrumb.types.d.ts +0 -0
- /package/es/{Breadcrumb → src/Breadcrumb}/BreadcrumbItem.d.ts +0 -0
- /package/es/{Breadcrumb → src/Breadcrumb}/index.d.ts +0 -0
- /package/es/{Button → src/Button}/index.d.ts +0 -0
- /package/es/{Calendar → src/Calendar}/index.d.ts +0 -0
- /package/es/{Card → src/Card}/Card.d.ts +0 -0
- /package/es/{Card → src/Card}/Card.types.d.ts +0 -0
- /package/es/{Card → src/Card}/CardContent.d.ts +0 -0
- /package/es/{Card → src/Card}/CardContent.types.d.ts +0 -0
- /package/es/{Card → src/Card}/CardFooter.d.ts +0 -0
- /package/es/{Card → src/Card}/CardFooter.types.d.ts +0 -0
- /package/es/{Card → src/Card}/CardHeader.d.ts +0 -0
- /package/es/{Card → src/Card}/CardHeader.types.d.ts +0 -0
- /package/es/{Card → src/Card}/index.d.ts +0 -0
- /package/es/{Checkbox → src/Checkbox}/Checkbox.types.d.ts +0 -0
- /package/es/{Checkbox → src/Checkbox}/CheckboxContext.d.ts +0 -0
- /package/es/{Checkbox → src/Checkbox}/index.d.ts +0 -0
- /package/es/{CitySelector → src/CitySelector}/Selector/index.d.ts +0 -0
- /package/es/{CitySelector → src/CitySelector}/index.d.ts +0 -0
- /package/es/{Collapse → src/Collapse}/Collapse.types.d.ts +0 -0
- /package/es/{Collapse → src/Collapse}/index.d.ts +0 -0
- /package/es/{CollapsePanel → src/CollapsePanel}/CollapsePanel.types.d.ts +0 -0
- /package/es/{CollapsePanel → src/CollapsePanel}/CollapsePanelItem.d.ts +0 -0
- /package/es/{CollapsePanel → src/CollapsePanel}/index.d.ts +0 -0
- /package/es/{Countdown → src/Countdown}/index.d.ts +0 -0
- /package/es/{Countdown → src/Countdown}/useCountdown.d.ts +0 -0
- /package/es/{Countdown → src/Countdown}/utils.d.ts +0 -0
- /package/es/{DatePicker → src/DatePicker}/DatePicker.d.ts +0 -0
- /package/es/{DatePicker → src/DatePicker}/DatePicker.types.d.ts +0 -0
- /package/es/{DatePicker → src/DatePicker}/constants.d.ts +0 -0
- /package/es/{DatePicker → src/DatePicker}/index.d.ts +0 -0
- /package/es/{DesktopDatePicker → src/DesktopDatePicker}/DesktopDatePicker.types.d.ts +0 -0
- /package/es/{DesktopDatePicker → src/DesktopDatePicker}/index.d.ts +0 -0
- /package/es/{DesktopDatePicker → src/DesktopDatePicker}/useGetDatePickerContent.d.ts +0 -0
- /package/es/{DesktopDateTimePicker → src/DesktopDateTimePicker}/DesktopDateTimePicker.d.ts +0 -0
- /package/es/{DesktopDateTimePicker → src/DesktopDateTimePicker}/DesktopDateTimePicker.types.d.ts +0 -0
- /package/es/{DesktopDateTimePicker → src/DesktopDateTimePicker}/index.d.ts +0 -0
- /package/es/{DesktopPicker → src/DesktopPicker}/DesktopPicker.d.ts +0 -0
- /package/es/{DesktopPicker → src/DesktopPicker}/DesktopPicker.types.d.ts +0 -0
- /package/es/{DesktopPicker → src/DesktopPicker}/index.d.ts +0 -0
- /package/es/{DesktopPicker → src/DesktopPicker}/utils/calcAfterMounted.d.ts +0 -0
- /package/es/{DesktopPicker → src/DesktopPicker}/utils/calcAfterMounted.miniapp.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePicker.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePicker.types.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/DesktopTimePickerList.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/index.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/useGetTimePickerContent.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/utils/scrollUtil.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/utils/scrollUtil.miniapp.d.ts +0 -0
- /package/es/{DesktopTimePicker → src/DesktopTimePicker}/utils/utils.d.ts +0 -0
- /package/es/{Divider → src/Divider}/Divider.types.d.ts +0 -0
- /package/es/{Divider → src/Divider}/index.d.ts +0 -0
- /package/es/{Drawer → src/Drawer}/Drawer.types.d.ts +0 -0
- /package/es/{Drawer → src/Drawer}/index.d.ts +0 -0
- /package/es/{Fade → src/Fade}/Fade.d.ts +0 -0
- /package/es/{Fade → src/Fade}/Fade.miniapp.d.ts +0 -0
- /package/es/{Fade → src/Fade}/Fade.types.d.ts +0 -0
- /package/es/{Fade → src/Fade}/index.d.ts +0 -0
- /package/es/{IconButton → src/IconButton}/index.d.ts +0 -0
- /package/es/{Image → src/Image}/Image.d.ts +0 -0
- /package/es/{Image → src/Image}/Image.types.d.ts +0 -0
- /package/es/{Image → src/Image}/index.d.ts +0 -0
- /package/es/{Input → src/Input}/Input.types.d.ts +0 -0
- /package/es/{Input → src/Input}/index.d.ts +0 -0
- /package/es/{ItemSelector → src/ItemSelector}/Selector/index.d.ts +0 -0
- /package/es/{ItemSelector → src/ItemSelector}/index.d.ts +0 -0
- /package/es/{List → src/List}/List.d.ts +0 -0
- /package/es/{List → src/List}/List.types.d.ts +0 -0
- /package/es/{List → src/List}/ListContext.d.ts +0 -0
- /package/es/{List → src/List}/ListItem.d.ts +0 -0
- /package/es/{List → src/List}/ListItem.types.d.ts +0 -0
- /package/es/{List → src/List}/ListItemContent.d.ts +0 -0
- /package/es/{List → src/List}/ListItemContent.types.d.ts +0 -0
- /package/es/{List → src/List}/ListItemExtra.d.ts +0 -0
- /package/es/{List → src/List}/ListItemExtra.types.d.ts +0 -0
- /package/es/{List → src/List}/ListItemFooter.d.ts +0 -0
- /package/es/{List → src/List}/ListItemFooter.types.d.ts +0 -0
- /package/es/{List → src/List}/ListItemHeader.d.ts +0 -0
- /package/es/{List → src/List}/ListItemHeader.types.d.ts +0 -0
- /package/es/{List → src/List}/index.d.ts +0 -0
- /package/es/{Loading → src/Loading}/Loading.types.d.ts +0 -0
- /package/es/{Loading → src/Loading}/index.d.ts +0 -0
- /package/es/{NavBar → src/NavBar}/NavBar.types.d.ts +0 -0
- /package/es/{NavBar → src/NavBar}/index.d.ts +0 -0
- /package/es/{Picker → src/Picker}/Picker.d.ts +0 -0
- /package/es/{Picker → src/Picker}/PickerPanel.d.ts +0 -0
- /package/es/{Picker → src/Picker}/index.d.ts +0 -0
- /package/es/{Popover → src/Popover}/index.d.ts +0 -0
- /package/es/{Portal → src/Portal}/Portal.d.ts +0 -0
- /package/es/{Portal → src/Portal}/Portal.miniapp.d.ts +0 -0
- /package/es/{Portal → src/Portal}/PortalCore.d.ts +0 -0
- /package/es/{Portal → src/Portal}/index.d.ts +0 -0
- /package/es/{Progress → src/Progress}/index.d.ts +0 -0
- /package/es/{Radio → src/Radio}/Radio.types.d.ts +0 -0
- /package/es/{Radio → src/Radio}/RadioButtonIcon.d.ts +0 -0
- /package/es/{Radio → src/Radio}/RadioContext.d.ts +0 -0
- /package/es/{Radio → src/Radio}/index.d.ts +0 -0
- /package/es/{Rating → src/Rating}/Rating.types.d.ts +0 -0
- /package/es/{Rating → src/Rating}/index.d.ts +0 -0
- /package/es/{ScrollView → src/ScrollView}/ScrollView.miniapp.d.ts +0 -0
- /package/es/{ScrollView → src/ScrollView}/index.d.ts +0 -0
- /package/es/{Select → src/Select}/index.d.ts +0 -0
- /package/es/{Skeleton → src/Skeleton}/Skeleton.types.d.ts +0 -0
- /package/es/{Skeleton → src/Skeleton}/index.d.ts +0 -0
- /package/es/{Slide → src/Slide}/Slide.d.ts +0 -0
- /package/es/{Slide → src/Slide}/Slide.miniapp.d.ts +0 -0
- /package/es/{Slide → src/Slide}/Slide.types.d.ts +0 -0
- /package/es/{Slide → src/Slide}/index.d.ts +0 -0
- /package/es/{Slider → src/Slider}/Slider.types.d.ts +0 -0
- /package/es/{Slider → src/Slider}/index.d.ts +0 -0
- /package/es/{Slider → src/Slider}/utils.d.ts +0 -0
- /package/es/{Stack → src/Stack}/Stack.types.d.ts +0 -0
- /package/es/{Stack → src/Stack}/index.d.ts +0 -0
- /package/es/{Steps → src/Steps}/Step.d.ts +0 -0
- /package/es/{Steps → src/Steps}/Step.types.d.ts +0 -0
- /package/es/{Steps → src/Steps}/Steps.types.d.ts +0 -0
- /package/es/{Steps → src/Steps}/StepsContext.d.ts +0 -0
- /package/es/{Steps → src/Steps}/index.d.ts +0 -0
- /package/es/{SwipeAction → src/SwipeAction}/SwipeAction.d.ts +0 -0
- /package/es/{SwipeAction → src/SwipeAction}/SwipeAction.types.d.ts +0 -0
- /package/es/{SwipeAction → src/SwipeAction}/SwipeActionItem.d.ts +0 -0
- /package/es/{SwipeAction → src/SwipeAction}/constants.d.ts +0 -0
- /package/es/{SwipeAction → src/SwipeAction}/index.d.ts +0 -0
- /package/es/{Swiper → src/Swiper}/Swiper.miniapp.d.ts +0 -0
- /package/es/{Swiper → src/Swiper}/Swiper.types.d.ts +0 -0
- /package/es/{Swiper → src/Swiper}/SwiperItem.d.ts +0 -0
- /package/es/{Swiper → src/Swiper}/SwiperItem.miniapp.d.ts +0 -0
- /package/es/{Swiper → src/Swiper}/index.d.ts +0 -0
- /package/es/{Switch → src/Switch}/index.d.ts +0 -0
- /package/es/{TabBar → src/TabBar}/TabBar.d.ts +0 -0
- /package/es/{TabBar → src/TabBar}/TabBarItem.d.ts +0 -0
- /package/es/{TabBar → src/TabBar}/index.d.ts +0 -0
- /package/es/{Tabs → src/Tabs}/Tab.d.ts +0 -0
- /package/es/{Tabs → src/Tabs}/TabPanel.types.d.ts +0 -0
- /package/es/{Tabs → src/Tabs}/Tabs.d.ts +0 -0
- /package/es/{Tabs → src/Tabs}/index.d.ts +0 -0
- /package/es/{Tabs → src/Tabs}/utils/scroll.d.ts +0 -0
- /package/es/{Tag → src/Tag}/Tag.d.ts +0 -0
- /package/es/{Tag → src/Tag}/TagGroup.types.d.ts +0 -0
- /package/es/{Tag → src/Tag}/index.d.ts +0 -0
- /package/es/{TextArea → src/TextArea}/index.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/ThemeProvider.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/hooks/ThemeContext.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/hooks/createTheme.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/hooks/index.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/hooks/useTheme.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/index.d.ts +0 -0
- /package/es/{ThemeProvider → src/ThemeProvider}/utils/index.d.ts +0 -0
- /package/es/{Toast → src/Toast}/index.d.ts +0 -0
- /package/es/{Tooltip → src/Tooltip}/index.d.ts +0 -0
- /package/es/{Transition → src/Transition}/Transition.d.ts +0 -0
- /package/es/{Transition → src/Transition}/Transition.miniapp.d.ts +0 -0
- /package/es/{Transition → src/Transition}/Transition.types.d.ts +0 -0
- /package/es/{Transition → src/Transition}/TransitionCore.d.ts +0 -0
- /package/es/{Transition → src/Transition}/index.d.ts +0 -0
- /package/es/{locales → src/locales}/en-US.d.ts +0 -0
- /package/es/{locales → src/locales}/hooks/useLocaleText.d.ts +0 -0
- /package/es/{locales → src/locales}/index.d.ts +0 -0
- /package/es/{locales → src/locales}/zh-CN.d.ts +0 -0
- /package/es/{locales → src/locales}/zh-TW.d.ts +0 -0
package/es/Select/Select.css
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
.bui-select {
|
|
2
|
-
--height: var(--bui-select-height, 27px);
|
|
3
|
-
--mini-width: var(--bui-select-min-width, 100px);
|
|
4
|
-
--font-size: var(--bui-select-font-size, var(--bui-title-size-3));
|
|
5
|
-
--padding: var(--bui-select-selector-container, 0 14px);
|
|
6
|
-
position: relative;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
height: var(--height);
|
|
9
|
-
min-width: var(--mini-width);
|
|
10
|
-
font-size: var(--font-size);
|
|
11
|
-
border-radius: 5px;
|
|
12
|
-
background-color: var(--bui-color-bg-view);
|
|
13
|
-
font-family: var(--bui-font-family);
|
|
14
|
-
-webkit-tap-highlight-color: transparent;
|
|
15
|
-
}
|
|
16
|
-
.bui-select-active {
|
|
17
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-default);
|
|
18
|
-
}
|
|
19
|
-
.bui-select-selector-container {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
padding: var(--padding);
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
.bui-select-input {
|
|
26
|
-
width: 0;
|
|
27
|
-
height: 0;
|
|
28
|
-
border: 0;
|
|
29
|
-
opacity: 0;
|
|
30
|
-
pointer-events: none;
|
|
31
|
-
}
|
|
32
|
-
.bui-select-placeholder {
|
|
33
|
-
color: var(--bui-color-fg-disabled);
|
|
34
|
-
}
|
|
35
|
-
.bui-select-selector {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
align-items: center;
|
|
39
|
-
flex: 1;
|
|
40
|
-
height: var(--height);
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
outline: none;
|
|
43
|
-
border: 0;
|
|
44
|
-
}
|
|
45
|
-
.bui-select-selector-icon {
|
|
46
|
-
font-size: var(--bui-title-size-3);
|
|
47
|
-
}
|
|
48
|
-
.bui-select-option-container {
|
|
49
|
-
position: absolute;
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
font-size: var(--bui-select-font-size, var(--bui-title-size-3));
|
|
52
|
-
z-index: var(--bui-z-index-tooltip);
|
|
53
|
-
border-radius: 3px;
|
|
54
|
-
padding: 2px;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
}
|
|
57
|
-
.bui-select-option-container-top {
|
|
58
|
-
margin-top: -6px;
|
|
59
|
-
}
|
|
60
|
-
.bui-select-option-container-bottom {
|
|
61
|
-
margin-top: 6px;
|
|
62
|
-
}
|
|
63
|
-
.bui-select-option-container-hide {
|
|
64
|
-
pointer-events: none;
|
|
65
|
-
}
|
|
66
|
-
.bui-select-option-main {
|
|
67
|
-
border-radius: 3px;
|
|
68
|
-
padding: var(--bui-select-option-container-padding, 3px 0);
|
|
69
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-default);
|
|
70
|
-
background-color: var(--bui-color-bg-view);
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
}
|
|
73
|
-
.bui-select-option {
|
|
74
|
-
--option-padding: var(--bui-select-option-padding, 0 14px);
|
|
75
|
-
--option-margin: var(--bui-select-option-margin, 0 3px);
|
|
76
|
-
--option-height: var(--bui-select-option-height, 27px);
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
height: var(--option-height);
|
|
80
|
-
padding: var(--option-padding);
|
|
81
|
-
border-radius: 5px;
|
|
82
|
-
margin: var(--option-margin);
|
|
83
|
-
}
|
|
84
|
-
.bui-select-option:hover {
|
|
85
|
-
background-color: var(---bui-select-options-active-bg, #fff2f0);
|
|
86
|
-
color: var(--bui-color-primary);
|
|
87
|
-
}
|
|
88
|
-
.bui-select-option-active {
|
|
89
|
-
font-weight: var(--bui-font-weight-medium);
|
|
90
|
-
color: var(--bui-color-primary);
|
|
91
|
-
background-color: var(---bui-select-options-active-bg, #fff2f0);
|
|
92
|
-
}
|
|
93
|
-
.bui-select-option-hide {
|
|
94
|
-
opacity: 0;
|
|
95
|
-
transform: translateY(-5px);
|
|
96
|
-
}
|
|
97
|
-
.bui-select.bui-select-disabled,
|
|
98
|
-
.bui-select-option-disabled {
|
|
99
|
-
pointer-events: none;
|
|
100
|
-
box-shadow: none;
|
|
101
|
-
background-color: var(--bui-color-bg-view);
|
|
102
|
-
color: var(--bui-color-fg-subtle);
|
|
103
|
-
border: none;
|
|
104
|
-
}
|
package/es/Select/Select.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { OverrideProps } from '@bifrostui/types';
|
|
2
|
-
import React, { Ref, SyntheticEvent } from 'react';
|
|
3
|
-
import { BackdropProps } from '../Backdrop';
|
|
4
|
-
export type BuiSelectValue = string | number;
|
|
5
|
-
export interface BuiSelectContextProps {
|
|
6
|
-
/**
|
|
7
|
-
* 当前选中值
|
|
8
|
-
*/
|
|
9
|
-
selectValue?: BuiSelectValue;
|
|
10
|
-
/**
|
|
11
|
-
* 设置根选择器展示内容
|
|
12
|
-
*/
|
|
13
|
-
setRenderValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
14
|
-
/**
|
|
15
|
-
* 选项点击的回调
|
|
16
|
-
*/
|
|
17
|
-
handleOptionClick?: (event?: React.MouseEvent<HTMLDivElement>, value?: BuiSelectValue, label?: React.ReactNode) => void;
|
|
18
|
-
}
|
|
19
|
-
export type SelectOptionProps<D extends React.ElementType = 'div', P = {}> = OverrideProps<{
|
|
20
|
-
props: P & {
|
|
21
|
-
/**
|
|
22
|
-
* 选项的值
|
|
23
|
-
*/
|
|
24
|
-
value?: BuiSelectValue;
|
|
25
|
-
/**
|
|
26
|
-
* 回填内容
|
|
27
|
-
* 没传children时也作为选项内容
|
|
28
|
-
*/
|
|
29
|
-
label?: React.ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* 禁用
|
|
32
|
-
*/
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
};
|
|
35
|
-
defaultComponent: D;
|
|
36
|
-
}, D>;
|
|
37
|
-
export type SelectProps<D extends React.ElementType = 'div', P = {}> = OverrideProps<{
|
|
38
|
-
props: P & {
|
|
39
|
-
/**
|
|
40
|
-
* inputRef
|
|
41
|
-
*/
|
|
42
|
-
inputRef?: Ref<HTMLInputElement>;
|
|
43
|
-
/**
|
|
44
|
-
* inputProp
|
|
45
|
-
*/
|
|
46
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
47
|
-
/**
|
|
48
|
-
* BackdropProp
|
|
49
|
-
*/
|
|
50
|
-
BackdropProps?: BackdropProps;
|
|
51
|
-
/**
|
|
52
|
-
* input 名称标识
|
|
53
|
-
*/
|
|
54
|
-
name?: string;
|
|
55
|
-
/**
|
|
56
|
-
* 当前值
|
|
57
|
-
*/
|
|
58
|
-
value?: BuiSelectValue;
|
|
59
|
-
/**
|
|
60
|
-
* 默认值
|
|
61
|
-
*/
|
|
62
|
-
defaultValue?: BuiSelectValue;
|
|
63
|
-
/**
|
|
64
|
-
* 没有选中时显示的内容
|
|
65
|
-
*/
|
|
66
|
-
placeholder?: React.ReactNode;
|
|
67
|
-
/**
|
|
68
|
-
* 自定义图标
|
|
69
|
-
*/
|
|
70
|
-
icon?: React.ReactNode;
|
|
71
|
-
/**
|
|
72
|
-
* 禁用
|
|
73
|
-
*/
|
|
74
|
-
disabled?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* 是否展开下拉框
|
|
77
|
-
*/
|
|
78
|
-
open?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* 滚动容器
|
|
81
|
-
* 下拉框元素和children将会被append到scrollContainer中
|
|
82
|
-
* 默认是页面的根节点
|
|
83
|
-
*/
|
|
84
|
-
scrollContainer?: () => Element | null;
|
|
85
|
-
/**
|
|
86
|
-
* 自定义选中后展示的内容
|
|
87
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* 选中某一项时的回调,并将选中的值传递过去
|
|
90
|
-
*/
|
|
91
|
-
onChange?: (e: SyntheticEvent, data: {
|
|
92
|
-
value: string;
|
|
93
|
-
}) => void;
|
|
94
|
-
/**
|
|
95
|
-
* 展开下拉框时的回调
|
|
96
|
-
*/
|
|
97
|
-
onOpen?: () => void;
|
|
98
|
-
/**
|
|
99
|
-
* 折叠下拉框时的回调
|
|
100
|
-
*/
|
|
101
|
-
onClose?: () => void;
|
|
102
|
-
};
|
|
103
|
-
defaultComponent: D;
|
|
104
|
-
}, D>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectOptionProps } from './Select.types';
|
|
3
|
-
import './Select.less';
|
|
4
|
-
declare const SelectOption: React.ForwardRefExoticComponent<Omit<SelectOptionProps<"div", {}>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export default SelectOption;
|
package/es/Skeleton/Skeleton.css
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.bui-skeleton {
|
|
2
|
-
--height: var(--bui-skeleton-height, 1.2em);
|
|
3
|
-
display: block;
|
|
4
|
-
}
|
|
5
|
-
.bui-skeleton-animation-wave {
|
|
6
|
-
background:
|
|
7
|
-
linear-gradient(
|
|
8
|
-
90deg,
|
|
9
|
-
rgba(190, 190, 190, 0.2) 25%,
|
|
10
|
-
rgba(129, 129, 129, 0.24) 37%,
|
|
11
|
-
rgba(190, 190, 190, 0.2) 63%);
|
|
12
|
-
background-size: 400% 100%;
|
|
13
|
-
animation: bui-skeleton-wave 1.4s ease infinite;
|
|
14
|
-
}
|
|
15
|
-
.bui-skeleton-animation-pulse {
|
|
16
|
-
background: rgba(190, 190, 190, 0.35);
|
|
17
|
-
animation: bui-skeleton-pulse 1.4s ease infinite;
|
|
18
|
-
}
|
|
19
|
-
.bui-skeleton-text {
|
|
20
|
-
height: auto;
|
|
21
|
-
transform-origin: 0 55%;
|
|
22
|
-
transform: scale(1, 0.6);
|
|
23
|
-
border-radius: var(--bui-shape-radius-label);
|
|
24
|
-
}
|
|
25
|
-
.bui-skeleton-text::before {
|
|
26
|
-
content: "\a0";
|
|
27
|
-
}
|
|
28
|
-
.bui-skeleton-rectangular {
|
|
29
|
-
height: var(--height);
|
|
30
|
-
}
|
|
31
|
-
.bui-skeleton-rounded {
|
|
32
|
-
height: var(--height);
|
|
33
|
-
border-radius: var(--bui-shape-radius-label);
|
|
34
|
-
}
|
|
35
|
-
.bui-skeleton-circular {
|
|
36
|
-
border-radius: 50%;
|
|
37
|
-
}
|
|
38
|
-
.bui-skeleton-with-children {
|
|
39
|
-
max-width: fit-content;
|
|
40
|
-
}
|
|
41
|
-
@keyframes bui-skeleton-wave {
|
|
42
|
-
0% {
|
|
43
|
-
background-position: 100% 50%;
|
|
44
|
-
}
|
|
45
|
-
100% {
|
|
46
|
-
background-position: 0 50%;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
@keyframes bui-skeleton-pulse {
|
|
50
|
-
0% {
|
|
51
|
-
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
50% {
|
|
54
|
-
opacity: 0.58;
|
|
55
|
-
}
|
|
56
|
-
100% {
|
|
57
|
-
opacity: 1;
|
|
58
|
-
}
|
|
59
|
-
}
|
package/es/Slider/Slider.css
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
.bui-slider {
|
|
2
|
-
--line-color: var(--bui-slider-line-color, var(--bui-color-primary));
|
|
3
|
-
--line-bg-color: var(--bui-slider-line-bg-color, var(--bui-color-border-default));
|
|
4
|
-
--width: var(--bui-slider-width, 100%);
|
|
5
|
-
--height: var(--bui-slider-height, 2px);
|
|
6
|
-
--padding: var(--bui-slider-padding, 19px 0);
|
|
7
|
-
--button-width: var(--bui-slider-button-width, 26px);
|
|
8
|
-
--button-height: var(--bui-slider-button-height, 26px);
|
|
9
|
-
--button-font-size: var(--bui-slider-button-font-size, var(--bui-title-size-3));
|
|
10
|
-
--button-border-radius: var(--bui-slider-button-border-radius, 50%);
|
|
11
|
-
--tooltip-width: var(--bui-slider-tooltip-width, 46px);
|
|
12
|
-
--tooltip-height: var(--bui-slider-tooltip-height, 24px);
|
|
13
|
-
--tooltip-line-height: var(--bui-slider-tooltip-line-height, 24px);
|
|
14
|
-
--tooltip-border-radius: var(--bui-slider-tooltip-border-radius, 24px);
|
|
15
|
-
--tooltip-font-size: var(--bui-tooltip-font-size, var(--bui-text-size-3));
|
|
16
|
-
--tooltip-color: var(--bui-tooltip-color, var(--bui-color-white));
|
|
17
|
-
--tooltip-bg-color: var(--bui-tooltip-bg-color, var(--line-color));
|
|
18
|
-
position: relative;
|
|
19
|
-
width: var(--width);
|
|
20
|
-
height: var(--height);
|
|
21
|
-
padding: var(--padding);
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
font-family: var(--bui-font-family);
|
|
24
|
-
}
|
|
25
|
-
.bui-slider-disabled {
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
opacity: 0.5;
|
|
28
|
-
}
|
|
29
|
-
.bui-slider-line {
|
|
30
|
-
position: absolute;
|
|
31
|
-
top: 50%;
|
|
32
|
-
left: 0;
|
|
33
|
-
height: var(--height);
|
|
34
|
-
transform: translateY(-50%);
|
|
35
|
-
background-color: var(--line-color);
|
|
36
|
-
}
|
|
37
|
-
.bui-slider-rail {
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 50%;
|
|
40
|
-
left: 0;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: var(--height);
|
|
43
|
-
transform: translateY(-50%);
|
|
44
|
-
background-color: var(--line-bg-color);
|
|
45
|
-
}
|
|
46
|
-
.bui-slider-button {
|
|
47
|
-
display: flex;
|
|
48
|
-
position: absolute;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
align-items: center;
|
|
51
|
-
width: var(--button-width);
|
|
52
|
-
height: var(--button-height);
|
|
53
|
-
background-color: var(--bui-color-white);
|
|
54
|
-
box-shadow: #ddd 0 0 10px;
|
|
55
|
-
border-radius: var(--button-border-radius);
|
|
56
|
-
transform: translate(-50%, -50%);
|
|
57
|
-
font-size: var(--bui-title-size-3);
|
|
58
|
-
cursor: grab;
|
|
59
|
-
}
|
|
60
|
-
.bui-slider-button::after {
|
|
61
|
-
position: absolute;
|
|
62
|
-
content: "";
|
|
63
|
-
top: -10px;
|
|
64
|
-
bottom: -10px;
|
|
65
|
-
left: -10px;
|
|
66
|
-
right: -10px;
|
|
67
|
-
}
|
|
68
|
-
.bui-slider-button-0 {
|
|
69
|
-
left: 0%;
|
|
70
|
-
top: 50%;
|
|
71
|
-
z-index: var(--bui-z-index-affix);
|
|
72
|
-
}
|
|
73
|
-
.bui-slider-button-1 {
|
|
74
|
-
left: 0%;
|
|
75
|
-
top: 50%;
|
|
76
|
-
z-index: var(--bui-z-index-affix);
|
|
77
|
-
}
|
|
78
|
-
.bui-slider-tooltip {
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: -14px;
|
|
81
|
-
width: var(--tooltip-width);
|
|
82
|
-
height: var(--tooltip-height);
|
|
83
|
-
line-height: var(--tooltip-line-height);
|
|
84
|
-
font-size: var(--tooltip-font-size);
|
|
85
|
-
border-radius: var(--tooltip-border-radius);
|
|
86
|
-
color: var(--tooltip-color);
|
|
87
|
-
text-align: center;
|
|
88
|
-
background-color: var(--tooltip-bg-color);
|
|
89
|
-
transform: translate(-50%, -50%);
|
|
90
|
-
z-index: var(--bui-z-index-popover);
|
|
91
|
-
}
|
|
92
|
-
.bui-slider-tooltip::after {
|
|
93
|
-
position: absolute;
|
|
94
|
-
bottom: -10px;
|
|
95
|
-
left: 0;
|
|
96
|
-
right: 0;
|
|
97
|
-
margin: 0 auto;
|
|
98
|
-
content: "";
|
|
99
|
-
width: 0;
|
|
100
|
-
height: 0;
|
|
101
|
-
border: 6px solid transparent;
|
|
102
|
-
border-top: 6px solid var(--tooltip-bg-color);
|
|
103
|
-
}
|
|
104
|
-
.bui-slider-tooltip-hidden {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
package/es/Slider/Slider.d.ts
DELETED
package/es/Stack/Stack.d.ts
DELETED
package/es/Steps/Steps.d.ts
DELETED
package/es/Swiper/Swiper.css
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.bui-swiper {
|
|
2
|
-
--height: var(--bui-swiper-height, 150px);
|
|
3
|
-
font-family: var(--bui-font-family);
|
|
4
|
-
}
|
|
5
|
-
.bui-swiper .swiper-container-wrapper {
|
|
6
|
-
height: var(--height);
|
|
7
|
-
}
|
|
8
|
-
.bui-swiper .swiper-container {
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
.bui-swiper .swiper-pagination {
|
|
12
|
-
font-size: 0;
|
|
13
|
-
}
|
|
14
|
-
.bui-swiper .swiper-pagination-bullet {
|
|
15
|
-
opacity: 1;
|
|
16
|
-
background: var(--indicator-color);
|
|
17
|
-
}
|
|
18
|
-
.bui-swiper .swiper-pagination-bullet-active {
|
|
19
|
-
opacity: 1;
|
|
20
|
-
background: var(--indicator-color-active);
|
|
21
|
-
}
|
package/es/Swiper/Swiper.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'swiper/css';
|
|
3
|
-
import 'swiper/css/autoplay';
|
|
4
|
-
import 'swiper/css/pagination';
|
|
5
|
-
import 'swiper/css/effect-fade';
|
|
6
|
-
import { SwiperRef } from 'swiper/react';
|
|
7
|
-
import './Swiper.less';
|
|
8
|
-
import { SwiperProps } from './Swiper.types';
|
|
9
|
-
declare const Swiper: React.ForwardRefExoticComponent<Omit<SwiperProps<"div", {}>, "ref"> & React.RefAttributes<SwiperRef>>;
|
|
10
|
-
export default Swiper;
|
package/es/Switch/Switch.css
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
.bui-switch {
|
|
2
|
-
--bg-color: var(--bui-switch-bg-color, #ccc);
|
|
3
|
-
--padding: var(--bui-switch-padding, 0);
|
|
4
|
-
--border-radius: var(--bui-switch-border-radius, 15px);
|
|
5
|
-
--small-width: var(--bui-switch-small-width, 24px);
|
|
6
|
-
--small-height: var(--bui-switch-small-height, 16px);
|
|
7
|
-
--small-font-size: var(--bui-switch-small-font-size, 9px);
|
|
8
|
-
--controller-small-width: var(--bui-switch-controller-small-width, 12px);
|
|
9
|
-
--controller-small-height: var(--bui-switch-controller-small-height, 12px);
|
|
10
|
-
--medium-width: var(--bui-switch-medium-width, 44px);
|
|
11
|
-
--medium-height: var(--bui-switch-medium-height, 22px);
|
|
12
|
-
--controller-medium-width: var(--bui-switch-controller-medium-width, 18px);
|
|
13
|
-
--controller-medium-height: var(--bui-switch-controller-medium-height, 18px);
|
|
14
|
-
--large-width: var(--bui-switch-large-width, 51px);
|
|
15
|
-
--large-height: var(--bui-switch-large-height, 30px);
|
|
16
|
-
--controller-large-width: var(--bui-switch-controller-large-width, 24px);
|
|
17
|
-
--controller-large-height: var(--bui-switch-controller-large-height, 24px);
|
|
18
|
-
position: relative;
|
|
19
|
-
display: inline-block;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
padding: var(--padding);
|
|
22
|
-
vertical-align: middle;
|
|
23
|
-
border-radius: var(--border-radius);
|
|
24
|
-
background-color: var(--bg-color);
|
|
25
|
-
transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
26
|
-
font-family: var(--bui-font-family);
|
|
27
|
-
}
|
|
28
|
-
.bui-switch::after {
|
|
29
|
-
position: absolute;
|
|
30
|
-
left: 2px;
|
|
31
|
-
top: 2px;
|
|
32
|
-
border-radius: 50%;
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
content: " ";
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
|
|
37
|
-
transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
38
|
-
animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
|
|
39
|
-
animation-duration: 0.3s;
|
|
40
|
-
}
|
|
41
|
-
.bui-switch:focus {
|
|
42
|
-
outline: none;
|
|
43
|
-
}
|
|
44
|
-
.bui-switch-small {
|
|
45
|
-
width: var(--small-width);
|
|
46
|
-
height: var(--small-height);
|
|
47
|
-
}
|
|
48
|
-
.bui-switch-small .bui-switch-inner {
|
|
49
|
-
left: calc(100% - 10px);
|
|
50
|
-
font-size: var(--font-size-smal);
|
|
51
|
-
}
|
|
52
|
-
.bui-switch-small::after {
|
|
53
|
-
width: var(--controller-small-width);
|
|
54
|
-
height: var(--controller-small-height);
|
|
55
|
-
left: 2px;
|
|
56
|
-
top: 2px;
|
|
57
|
-
}
|
|
58
|
-
.bui-switch-small.bui-switch-checked::after {
|
|
59
|
-
left: calc(100% - 14px);
|
|
60
|
-
}
|
|
61
|
-
.bui-switch-small.bui-switch-checked .bui-switch-inner {
|
|
62
|
-
left: 2px;
|
|
63
|
-
}
|
|
64
|
-
.bui-switch-medium {
|
|
65
|
-
width: var(--medium-width);
|
|
66
|
-
height: var(--medium-height);
|
|
67
|
-
}
|
|
68
|
-
.bui-switch-medium::after {
|
|
69
|
-
width: var(--controller-medium-width);
|
|
70
|
-
height: var(--controller-medium-height);
|
|
71
|
-
}
|
|
72
|
-
.bui-switch-medium.bui-switch-checked::after {
|
|
73
|
-
left: calc(100% - 20px);
|
|
74
|
-
}
|
|
75
|
-
.bui-switch-medium.bui-switch-checked .bui-switch-inner {
|
|
76
|
-
left: var(--bui-spacing-sm);
|
|
77
|
-
}
|
|
78
|
-
.bui-switch-large {
|
|
79
|
-
width: var(--large-width);
|
|
80
|
-
height: var(--large-height);
|
|
81
|
-
}
|
|
82
|
-
.bui-switch-large .bui-switch-inner {
|
|
83
|
-
left: calc(100% - 22px);
|
|
84
|
-
}
|
|
85
|
-
.bui-switch-large::after {
|
|
86
|
-
width: var(--controller-large-width);
|
|
87
|
-
height: var(--controller-large-height);
|
|
88
|
-
left: 3px;
|
|
89
|
-
top: 3px;
|
|
90
|
-
}
|
|
91
|
-
.bui-switch-large.bui-switch-checked::after {
|
|
92
|
-
left: calc(100% - 27px);
|
|
93
|
-
}
|
|
94
|
-
.bui-switch-large.bui-switch-checked .bui-switch-inner {
|
|
95
|
-
left: var(--bui-spacing-sm);
|
|
96
|
-
}
|
|
97
|
-
.bui-switch-primary.bui-switch-checked {
|
|
98
|
-
background-color: var(--bui-color-primary);
|
|
99
|
-
}
|
|
100
|
-
.bui-switch-info.bui-switch-checked {
|
|
101
|
-
background-color: var(--bui-color-info);
|
|
102
|
-
}
|
|
103
|
-
.bui-switch-success.bui-switch-checked {
|
|
104
|
-
background-color: var(--bui-color-success);
|
|
105
|
-
}
|
|
106
|
-
.bui-switch-warning.bui-switch-checked {
|
|
107
|
-
background-color: var(--bui-color-warning);
|
|
108
|
-
}
|
|
109
|
-
.bui-switch-danger.bui-switch-checked {
|
|
110
|
-
background-color: var(--bui-color-danger);
|
|
111
|
-
}
|
|
112
|
-
.bui-switch-inner {
|
|
113
|
-
position: absolute;
|
|
114
|
-
left: calc(100% - 20px);
|
|
115
|
-
color: var(--bui-color-white);
|
|
116
|
-
font-size: var(--bui-text-size-3);
|
|
117
|
-
height: 100%;
|
|
118
|
-
display: flex;
|
|
119
|
-
align-items: center;
|
|
120
|
-
}
|
|
121
|
-
.bui-switch-inner .bui-svg-icon {
|
|
122
|
-
position: absolute;
|
|
123
|
-
top: 50%;
|
|
124
|
-
transform: translateY(-50%);
|
|
125
|
-
}
|
|
126
|
-
.bui-switch-disabled {
|
|
127
|
-
pointer-events: none;
|
|
128
|
-
opacity: 0.5;
|
|
129
|
-
}
|
|
130
|
-
.bui-switch-disabled::after {
|
|
131
|
-
animation-name: none;
|
|
132
|
-
cursor: not-allowed;
|
|
133
|
-
}
|
|
134
|
-
.bui-switch-input {
|
|
135
|
-
opacity: 0;
|
|
136
|
-
width: 100%;
|
|
137
|
-
height: 100%;
|
|
138
|
-
margin: 0;
|
|
139
|
-
position: absolute;
|
|
140
|
-
z-index: 1;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
}
|
package/es/Switch/Switch.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { OverrideProps, ThemeColor } from '@bifrostui/types';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
export type SwitchProps<D extends React.ElementType = 'div', P = {}> = OverrideProps<{
|
|
4
|
-
props: P & {
|
|
5
|
-
/**
|
|
6
|
-
* 是否选中
|
|
7
|
-
*/
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 默认是否选中,当组件非受控时使用
|
|
11
|
-
*/
|
|
12
|
-
defaultChecked?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 内部<input>标签的ref
|
|
15
|
-
*/
|
|
16
|
-
inputRef?: React.Ref<HTMLInputElement>;
|
|
17
|
-
/**
|
|
18
|
-
* <input>名称标识
|
|
19
|
-
*/
|
|
20
|
-
name?: string;
|
|
21
|
-
/**
|
|
22
|
-
* 内部<input>标签的标准属性
|
|
23
|
-
*/
|
|
24
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
25
|
-
/**
|
|
26
|
-
* 选中时的内容
|
|
27
|
-
*/
|
|
28
|
-
checkedChildren?: ReactNode;
|
|
29
|
-
/**
|
|
30
|
-
* 未选中时的内容
|
|
31
|
-
*/
|
|
32
|
-
unCheckedChildren?: ReactNode;
|
|
33
|
-
/**
|
|
34
|
-
* 是否禁用
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* 大小 'small' | 'medium' | 'large'
|
|
40
|
-
* @default 'medium'
|
|
41
|
-
*/
|
|
42
|
-
size?: 'small' | 'medium' | 'large';
|
|
43
|
-
/**
|
|
44
|
-
* 颜色 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
45
|
-
* @default 'primary'
|
|
46
|
-
*/
|
|
47
|
-
color?: ThemeColor;
|
|
48
|
-
/**
|
|
49
|
-
* 变化时的回调函数
|
|
50
|
-
*/
|
|
51
|
-
onChange?: (e: React.SyntheticEvent, data: {
|
|
52
|
-
checked: boolean;
|
|
53
|
-
}) => void;
|
|
54
|
-
};
|
|
55
|
-
defaultComponent: D;
|
|
56
|
-
}, D>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ThemeColor } from '@bifrostui/types';
|
|
2
|
-
import { Context, SyntheticEvent } from 'react';
|
|
3
|
-
export interface TabBarState {
|
|
4
|
-
/**
|
|
5
|
-
* 当前选中的标签索引值
|
|
6
|
-
* @default 0
|
|
7
|
-
*/
|
|
8
|
-
currentIndex?: number;
|
|
9
|
-
/**
|
|
10
|
-
* 选中文案颜色
|
|
11
|
-
* @default 'primary'
|
|
12
|
-
*/
|
|
13
|
-
activeColor?: ThemeColor | 'default' | 'vip';
|
|
14
|
-
/**
|
|
15
|
-
* 默认文案颜色
|
|
16
|
-
* @default 'default'
|
|
17
|
-
*/
|
|
18
|
-
color?: ThemeColor | 'default' | 'vip';
|
|
19
|
-
/**
|
|
20
|
-
* 变化时回调函数
|
|
21
|
-
*/
|
|
22
|
-
onChange?: (e: SyntheticEvent, data: {
|
|
23
|
-
value: number;
|
|
24
|
-
}) => void;
|
|
25
|
-
}
|
|
26
|
-
declare const TabBarContext: Context<TabBarState>;
|
|
27
|
-
export default TabBarContext;
|