aot-ui 0.0.0-stage → 0.2.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/README.md +53 -3
- package/dist-lib/aot-ui.css +2 -0
- package/dist-lib/aot-ui.js +58349 -0
- package/dist-lib/index.d.ts +186 -0
- package/dist-lib/modules/activity-rings/components/ActivityRings.d.ts +2 -0
- package/dist-lib/modules/activity-rings/constants.d.ts +22 -0
- package/dist-lib/modules/activity-rings/index.d.ts +2 -0
- package/dist-lib/modules/activity-rings/types.d.ts +15 -0
- package/dist-lib/modules/affix/components/Affix.d.ts +3 -0
- package/dist-lib/modules/affix/index.d.ts +2 -0
- package/dist-lib/modules/affix/types.d.ts +28 -0
- package/dist-lib/modules/alert/components/Alert.d.ts +2 -0
- package/dist-lib/modules/alert/index.d.ts +2 -0
- package/dist-lib/modules/alert/types.d.ts +47 -0
- package/dist-lib/modules/anchor/components/Anchor.d.ts +3 -0
- package/dist-lib/modules/anchor/index.d.ts +2 -0
- package/dist-lib/modules/anchor/types.d.ts +36 -0
- package/dist-lib/modules/arc-progress/components/ArcProgress.d.ts +5 -0
- package/dist-lib/modules/arc-progress/constants.d.ts +6 -0
- package/dist-lib/modules/arc-progress/index.d.ts +3 -0
- package/dist-lib/modules/arc-progress/types.d.ts +22 -0
- package/dist-lib/modules/article-progress/components/ArticleProgress.d.ts +2 -0
- package/dist-lib/modules/article-progress/constants.d.ts +12 -0
- package/dist-lib/modules/article-progress/index.d.ts +2 -0
- package/dist-lib/modules/article-progress/types.d.ts +5 -0
- package/dist-lib/modules/autocomplete/components/Autocomplete.d.ts +2 -0
- package/dist-lib/modules/autocomplete/index.d.ts +2 -0
- package/dist-lib/modules/autocomplete/types.d.ts +128 -0
- package/dist-lib/modules/avatar/components/Avatar.d.ts +2 -0
- package/dist-lib/modules/avatar/components/AvatarGroup.d.ts +2 -0
- package/dist-lib/modules/avatar/context.d.ts +3 -0
- package/dist-lib/modules/avatar/index.d.ts +3 -0
- package/dist-lib/modules/avatar/types.d.ts +84 -0
- package/dist-lib/modules/back-top/components/BackTop.d.ts +2 -0
- package/dist-lib/modules/back-top/index.d.ts +2 -0
- package/dist-lib/modules/back-top/types.d.ts +27 -0
- package/dist-lib/modules/badge/components/Badge.d.ts +2 -0
- package/dist-lib/modules/badge/index.d.ts +2 -0
- package/dist-lib/modules/badge/types.d.ts +57 -0
- package/dist-lib/modules/blur-scroll-gallery/components/BlurScrollGallery.d.ts +2 -0
- package/dist-lib/modules/blur-scroll-gallery/components/ProgressiveImage.d.ts +10 -0
- package/dist-lib/modules/blur-scroll-gallery/constants.d.ts +10 -0
- package/dist-lib/modules/blur-scroll-gallery/data.d.ts +3 -0
- package/dist-lib/modules/blur-scroll-gallery/index.d.ts +4 -0
- package/dist-lib/modules/blur-scroll-gallery/types.d.ts +15 -0
- package/dist-lib/modules/blur-scroll-gallery/urls.d.ts +10 -0
- package/dist-lib/modules/border/components/Border.d.ts +5 -0
- package/dist-lib/modules/border/constants.d.ts +4 -0
- package/dist-lib/modules/border/index.d.ts +3 -0
- package/dist-lib/modules/border/types.d.ts +34 -0
- package/dist-lib/modules/bottom-nav/components/BottomNav.d.ts +2 -0
- package/dist-lib/modules/bottom-nav/components/BottomNavIcons.d.ts +8 -0
- package/dist-lib/modules/bottom-nav/constants.d.ts +12 -0
- package/dist-lib/modules/bottom-nav/hooks/useDropletNav.d.ts +20 -0
- package/dist-lib/modules/bottom-nav/index.d.ts +4 -0
- package/dist-lib/modules/bottom-nav/math.d.ts +26 -0
- package/dist-lib/modules/bottom-nav/types.d.ts +23 -0
- package/dist-lib/modules/bottom-sheet/components/BottomSheet.d.ts +2 -0
- package/dist-lib/modules/bottom-sheet/constants.d.ts +21 -0
- package/dist-lib/modules/bottom-sheet/hooks/useBottomSheet.d.ts +20 -0
- package/dist-lib/modules/bottom-sheet/index.d.ts +3 -0
- package/dist-lib/modules/bottom-sheet/math.d.ts +15 -0
- package/dist-lib/modules/bottom-sheet/types.d.ts +14 -0
- package/dist-lib/modules/breadcrumb/components/Breadcrumb.d.ts +2 -0
- package/dist-lib/modules/breadcrumb/index.d.ts +2 -0
- package/dist-lib/modules/breadcrumb/types.d.ts +40 -0
- package/dist-lib/modules/bubble-chart/components/BubbleChart.d.ts +2 -0
- package/dist-lib/modules/bubble-chart/constants.d.ts +44 -0
- package/dist-lib/modules/bubble-chart/index.d.ts +2 -0
- package/dist-lib/modules/bubble-chart/types.d.ts +13 -0
- package/dist-lib/modules/button/components/Button.d.ts +2 -0
- package/dist-lib/modules/button/components/ButtonGroup.d.ts +5 -0
- package/dist-lib/modules/button/context.d.ts +3 -0
- package/dist-lib/modules/button/index.d.ts +3 -0
- package/dist-lib/modules/button/types.d.ts +94 -0
- package/dist-lib/modules/button-fill/components/ButtonFill.d.ts +6 -0
- package/dist-lib/modules/button-fill/constants.d.ts +2 -0
- package/dist-lib/modules/button-fill/index.d.ts +3 -0
- package/dist-lib/modules/button-fill/types.d.ts +28 -0
- package/dist-lib/modules/calendar/components/Calendar.d.ts +2 -0
- package/dist-lib/modules/calendar/index.d.ts +2 -0
- package/dist-lib/modules/calendar/types.d.ts +19 -0
- package/dist-lib/modules/capsule-expand/components/CapsuleExpand.d.ts +2 -0
- package/dist-lib/modules/capsule-expand/constants.d.ts +3 -0
- package/dist-lib/modules/capsule-expand/index.d.ts +2 -0
- package/dist-lib/modules/capsule-expand/types.d.ts +6 -0
- package/dist-lib/modules/card/components/Card.d.ts +2 -0
- package/dist-lib/modules/card/index.d.ts +2 -0
- package/dist-lib/modules/card/types.d.ts +44 -0
- package/dist-lib/modules/card-expand/components/CardExpand.d.ts +2 -0
- package/dist-lib/modules/card-expand/constants.d.ts +34 -0
- package/dist-lib/modules/card-expand/index.d.ts +3 -0
- package/dist-lib/modules/card-expand/math.d.ts +6 -0
- package/dist-lib/modules/card-expand/types.d.ts +18 -0
- package/dist-lib/modules/card-modal/components/CardModal.d.ts +2 -0
- package/dist-lib/modules/card-modal/constants.d.ts +3 -0
- package/dist-lib/modules/card-modal/index.d.ts +2 -0
- package/dist-lib/modules/card-modal/types.d.ts +17 -0
- package/dist-lib/modules/carousel/components/Carousel.d.ts +2 -0
- package/dist-lib/modules/carousel/components/CarouselItem.d.ts +6 -0
- package/dist-lib/modules/carousel/index.d.ts +5 -0
- package/dist-lib/modules/carousel/types.d.ts +110 -0
- package/dist-lib/modules/cascader/components/Cascader.d.ts +2 -0
- package/dist-lib/modules/cascader/components/CascaderPanel.d.ts +6 -0
- package/dist-lib/modules/cascader/index.d.ts +3 -0
- package/dist-lib/modules/cascader/pathUtils.d.ts +31 -0
- package/dist-lib/modules/cascader/types.d.ts +228 -0
- package/dist-lib/modules/center-select/components/CenterSelect.d.ts +2 -0
- package/dist-lib/modules/center-select/constants.d.ts +22 -0
- package/dist-lib/modules/center-select/index.d.ts +2 -0
- package/dist-lib/modules/center-select/types.d.ts +11 -0
- package/dist-lib/modules/check-in-confetti/components/CheckInButton.d.ts +2 -0
- package/dist-lib/modules/check-in-confetti/components/ConfettiLayer.d.ts +11 -0
- package/dist-lib/modules/check-in-confetti/constants.d.ts +13 -0
- package/dist-lib/modules/check-in-confetti/draw.d.ts +2 -0
- package/dist-lib/modules/check-in-confetti/index.d.ts +6 -0
- package/dist-lib/modules/check-in-confetti/physics.d.ts +8 -0
- package/dist-lib/modules/check-in-confetti/types.d.ts +38 -0
- package/dist-lib/modules/checkbox/components/Checkbox.d.ts +3 -0
- package/dist-lib/modules/checkbox/index.d.ts +2 -0
- package/dist-lib/modules/checkbox/types.d.ts +24 -0
- package/dist-lib/modules/checkin-heatmap/components/CheckinHeatmap.d.ts +2 -0
- package/dist-lib/modules/checkin-heatmap/constants.d.ts +9 -0
- package/dist-lib/modules/checkin-heatmap/index.d.ts +2 -0
- package/dist-lib/modules/checkin-heatmap/types.d.ts +8 -0
- package/dist-lib/modules/code-copy/clipboard.d.ts +2 -0
- package/dist-lib/modules/code-copy/components/CodeBlock.d.ts +2 -0
- package/dist-lib/modules/code-copy/components/CopyCodeButton.d.ts +2 -0
- package/dist-lib/modules/code-copy/constants.d.ts +3 -0
- package/dist-lib/modules/code-copy/index.d.ts +5 -0
- package/dist-lib/modules/code-copy/types.d.ts +19 -0
- package/dist-lib/modules/collapse/components/Collapse.d.ts +2 -0
- package/dist-lib/modules/collapse/components/CollapseItem.d.ts +6 -0
- package/dist-lib/modules/collapse/index.d.ts +5 -0
- package/dist-lib/modules/collapse/types.d.ts +67 -0
- package/dist-lib/modules/collapse-detail/components/CollapseDetail.d.ts +2 -0
- package/dist-lib/modules/collapse-detail/constants.d.ts +18 -0
- package/dist-lib/modules/collapse-detail/hooks/useCollapseScroll.d.ts +20 -0
- package/dist-lib/modules/collapse-detail/index.d.ts +3 -0
- package/dist-lib/modules/collapse-detail/math.d.ts +26 -0
- package/dist-lib/modules/collapse-detail/types.d.ts +11 -0
- package/dist-lib/modules/color/components/Color.d.ts +5 -0
- package/dist-lib/modules/color/index.d.ts +3 -0
- package/dist-lib/modules/color/palette.d.ts +48 -0
- package/dist-lib/modules/color/types.d.ts +49 -0
- package/dist-lib/modules/color-picker/colorUtils.d.ts +35 -0
- package/dist-lib/modules/color-picker/components/ColorPicker.d.ts +2 -0
- package/dist-lib/modules/color-picker/components/ColorPickerPanel.d.ts +2 -0
- package/dist-lib/modules/color-picker/index.d.ts +3 -0
- package/dist-lib/modules/color-picker/types.d.ts +92 -0
- package/dist-lib/modules/color-strip/components/ColorStrip.d.ts +2 -0
- package/dist-lib/modules/color-strip/constants.d.ts +2 -0
- package/dist-lib/modules/color-strip/index.d.ts +2 -0
- package/dist-lib/modules/color-strip/types.d.ts +12 -0
- package/dist-lib/modules/command-palette/components/CommandPalette.d.ts +2 -0
- package/dist-lib/modules/command-palette/constants.d.ts +42 -0
- package/dist-lib/modules/command-palette/index.d.ts +2 -0
- package/dist-lib/modules/command-palette/types.d.ts +27 -0
- package/dist-lib/modules/comment-react/components/CommentReact.d.ts +2 -0
- package/dist-lib/modules/comment-react/constants.d.ts +37 -0
- package/dist-lib/modules/comment-react/index.d.ts +3 -0
- package/dist-lib/modules/comment-react/types.d.ts +17 -0
- package/dist-lib/modules/config-provider/components/ConfigProvider.d.ts +12 -0
- package/dist-lib/modules/config-provider/index.d.ts +5 -0
- package/dist-lib/modules/config-provider/locale/enUS.d.ts +2 -0
- package/dist-lib/modules/config-provider/locale/zhCN.d.ts +2 -0
- package/dist-lib/modules/config-provider/themeColor.d.ts +10 -0
- package/dist-lib/modules/config-provider/types.d.ts +133 -0
- package/dist-lib/modules/corner-badge/components/BadgeAnchor.d.ts +5 -0
- package/dist-lib/modules/corner-badge/components/CornerBadge.d.ts +2 -0
- package/dist-lib/modules/corner-badge/index.d.ts +3 -0
- package/dist-lib/modules/corner-badge/types.d.ts +20 -0
- package/dist-lib/modules/corner-morph/components/CornerMorph.d.ts +2 -0
- package/dist-lib/modules/corner-morph/constants.d.ts +1 -0
- package/dist-lib/modules/corner-morph/index.d.ts +2 -0
- package/dist-lib/modules/corner-morph/types.d.ts +6 -0
- package/dist-lib/modules/date-picker/components/DatePicker.d.ts +2 -0
- package/dist-lib/modules/date-picker/components/DatePickerPanel.d.ts +2 -0
- package/dist-lib/modules/date-picker/index.d.ts +3 -0
- package/dist-lib/modules/date-picker/types.d.ts +107 -0
- package/dist-lib/modules/date-picker/utils.d.ts +24 -0
- package/dist-lib/modules/date-popover/components/DatePopover.d.ts +2 -0
- package/dist-lib/modules/date-popover/constants.d.ts +6 -0
- package/dist-lib/modules/date-popover/index.d.ts +2 -0
- package/dist-lib/modules/date-popover/types.d.ts +6 -0
- package/dist-lib/modules/datetime-picker/components/DateTimePicker.d.ts +2 -0
- package/dist-lib/modules/datetime-picker/index.d.ts +2 -0
- package/dist-lib/modules/datetime-picker/types.d.ts +94 -0
- package/dist-lib/modules/datetime-picker/utils.d.ts +8 -0
- package/dist-lib/modules/descriptions/components/Descriptions.d.ts +5 -0
- package/dist-lib/modules/descriptions/components/DescriptionsItem.d.ts +6 -0
- package/dist-lib/modules/descriptions/index.d.ts +5 -0
- package/dist-lib/modules/descriptions/types.d.ts +68 -0
- package/dist-lib/modules/divider/components/Divider.d.ts +2 -0
- package/dist-lib/modules/divider/index.d.ts +2 -0
- package/dist-lib/modules/divider/types.d.ts +18 -0
- package/dist-lib/modules/donut-chart/components/DonutChart.d.ts +2 -0
- package/dist-lib/modules/donut-chart/constants.d.ts +29 -0
- package/dist-lib/modules/donut-chart/index.d.ts +2 -0
- package/dist-lib/modules/donut-chart/types.d.ts +10 -0
- package/dist-lib/modules/download/components/Download.d.ts +2 -0
- package/dist-lib/modules/download/constants.d.ts +20 -0
- package/dist-lib/modules/download/index.d.ts +3 -0
- package/dist-lib/modules/download/resumeStorage.d.ts +12 -0
- package/dist-lib/modules/download/types.d.ts +67 -0
- package/dist-lib/modules/drag-to-reorder/components/DragToReorder.d.ts +2 -0
- package/dist-lib/modules/drag-to-reorder/constants.d.ts +8 -0
- package/dist-lib/modules/drag-to-reorder/index.d.ts +3 -0
- package/dist-lib/modules/drag-to-reorder/math.d.ts +12 -0
- package/dist-lib/modules/drag-to-reorder/types.d.ts +10 -0
- package/dist-lib/modules/drawer/components/Drawer.d.ts +6 -0
- package/dist-lib/modules/drawer/constants.d.ts +2 -0
- package/dist-lib/modules/drawer/index.d.ts +4 -0
- package/dist-lib/modules/drawer/types.d.ts +100 -0
- package/dist-lib/modules/dropdown/components/Dropdown.d.ts +3 -0
- package/dist-lib/modules/dropdown/index.d.ts +2 -0
- package/dist-lib/modules/dropdown/types.d.ts +73 -0
- package/dist-lib/modules/email-validate/components/EmailValidate.d.ts +2 -0
- package/dist-lib/modules/email-validate/constants.d.ts +4 -0
- package/dist-lib/modules/email-validate/index.d.ts +3 -0
- package/dist-lib/modules/email-validate/types.d.ts +7 -0
- package/dist-lib/modules/empty/components/Empty.d.ts +2 -0
- package/dist-lib/modules/empty/index.d.ts +2 -0
- package/dist-lib/modules/empty/types.d.ts +7 -0
- package/dist-lib/modules/empty-todo/components/CurvedArrow.d.ts +4 -0
- package/dist-lib/modules/empty-todo/components/EmptyArt.d.ts +1 -0
- package/dist-lib/modules/empty-todo/components/EmptyTodo.d.ts +2 -0
- package/dist-lib/modules/empty-todo/constants.d.ts +5 -0
- package/dist-lib/modules/empty-todo/index.d.ts +2 -0
- package/dist-lib/modules/empty-todo/types.d.ts +11 -0
- package/dist-lib/modules/expand-text/components/ExpandText.d.ts +8 -0
- package/dist-lib/modules/expand-text/constants.d.ts +4 -0
- package/dist-lib/modules/expand-text/index.d.ts +3 -0
- package/dist-lib/modules/expand-text/types.d.ts +10 -0
- package/dist-lib/modules/fan-fab/components/FanFab.d.ts +2 -0
- package/dist-lib/modules/fan-fab/components/FanIcons.d.ts +4 -0
- package/dist-lib/modules/fan-fab/constants.d.ts +5 -0
- package/dist-lib/modules/fan-fab/index.d.ts +4 -0
- package/dist-lib/modules/fan-fab/types.d.ts +17 -0
- package/dist-lib/modules/faq-accordion/components/FaqAccordion.d.ts +2 -0
- package/dist-lib/modules/faq-accordion/constants.d.ts +23 -0
- package/dist-lib/modules/faq-accordion/index.d.ts +3 -0
- package/dist-lib/modules/faq-accordion/types.d.ts +11 -0
- package/dist-lib/modules/feed-new-tip/components/FeedNewTip.d.ts +2 -0
- package/dist-lib/modules/feed-new-tip/constants.d.ts +74 -0
- package/dist-lib/modules/feed-new-tip/index.d.ts +2 -0
- package/dist-lib/modules/feed-new-tip/types.d.ts +12 -0
- package/dist-lib/modules/feed-skeleton/components/FeedCard.d.ts +2 -0
- package/dist-lib/modules/feed-skeleton/components/FeedSkeletonList.d.ts +2 -0
- package/dist-lib/modules/feed-skeleton/constants.d.ts +8 -0
- package/dist-lib/modules/feed-skeleton/data.d.ts +2 -0
- package/dist-lib/modules/feed-skeleton/index.d.ts +4 -0
- package/dist-lib/modules/feed-skeleton/types.d.ts +24 -0
- package/dist-lib/modules/flip-card/components/FlipCard.d.ts +2 -0
- package/dist-lib/modules/flip-card/constants.d.ts +1 -0
- package/dist-lib/modules/flip-card/index.d.ts +2 -0
- package/dist-lib/modules/flip-card/types.d.ts +7 -0
- package/dist-lib/modules/float-button/components/FloatButton.d.ts +7 -0
- package/dist-lib/modules/float-button/index.d.ts +2 -0
- package/dist-lib/modules/float-button/types.d.ts +31 -0
- package/dist-lib/modules/floating-label/components/FloatingLabel.d.ts +3 -0
- package/dist-lib/modules/floating-label/index.d.ts +2 -0
- package/dist-lib/modules/floating-label/types.d.ts +17 -0
- package/dist-lib/modules/flow-progress/components/FlowProgress.d.ts +2 -0
- package/dist-lib/modules/flow-progress/constants.d.ts +23 -0
- package/dist-lib/modules/flow-progress/hooks/useFlowSpring.d.ts +8 -0
- package/dist-lib/modules/flow-progress/index.d.ts +2 -0
- package/dist-lib/modules/flow-progress/math.d.ts +5 -0
- package/dist-lib/modules/flow-progress/types.d.ts +12 -0
- package/dist-lib/modules/fluid-progress/components/FluidProgress.d.ts +5 -0
- package/dist-lib/modules/fluid-progress/constants.d.ts +3 -0
- package/dist-lib/modules/fluid-progress/index.d.ts +3 -0
- package/dist-lib/modules/fluid-progress/types.d.ts +25 -0
- package/dist-lib/modules/focus-segments/components/FocusSegments.d.ts +2 -0
- package/dist-lib/modules/focus-segments/constants.d.ts +3 -0
- package/dist-lib/modules/focus-segments/index.d.ts +2 -0
- package/dist-lib/modules/focus-segments/types.d.ts +15 -0
- package/dist-lib/modules/form/components/Form.d.ts +3 -0
- package/dist-lib/modules/form/index.d.ts +4 -0
- package/dist-lib/modules/form/types.d.ts +160 -0
- package/dist-lib/modules/form/useForm.d.ts +35 -0
- package/dist-lib/modules/format-input/components/FormatInput.d.ts +2 -0
- package/dist-lib/modules/format-input/constants.d.ts +2 -0
- package/dist-lib/modules/format-input/index.d.ts +2 -0
- package/dist-lib/modules/format-input/types.d.ts +10 -0
- package/dist-lib/modules/fox-progress/components/FoxProgress.d.ts +5 -0
- package/dist-lib/modules/fox-progress/constants.d.ts +1 -0
- package/dist-lib/modules/fox-progress/index.d.ts +3 -0
- package/dist-lib/modules/fox-progress/types.d.ts +19 -0
- package/dist-lib/modules/grid/index.d.ts +2 -0
- package/dist-lib/modules/grid/types.d.ts +1 -0
- package/dist-lib/modules/hold-to-confirm/components/HoldToConfirm.d.ts +2 -0
- package/dist-lib/modules/hold-to-confirm/constants.d.ts +5 -0
- package/dist-lib/modules/hold-to-confirm/index.d.ts +3 -0
- package/dist-lib/modules/hold-to-confirm/types.d.ts +15 -0
- package/dist-lib/modules/icon/components/Icon.d.ts +2 -0
- package/dist-lib/modules/icon/icons.d.ts +5 -0
- package/dist-lib/modules/icon/index.d.ts +3 -0
- package/dist-lib/modules/icon/types.d.ts +11 -0
- package/dist-lib/modules/icon-dock/components/IconDock.d.ts +2 -0
- package/dist-lib/modules/icon-dock/constants.d.ts +21 -0
- package/dist-lib/modules/icon-dock/index.d.ts +2 -0
- package/dist-lib/modules/icon-dock/types.d.ts +4 -0
- package/dist-lib/modules/image/components/Image.d.ts +2 -0
- package/dist-lib/modules/image/components/ImageLightbox.d.ts +4 -0
- package/dist-lib/modules/image/components/ImagePreviewGroup.d.ts +2 -0
- package/dist-lib/modules/image/context.d.ts +8 -0
- package/dist-lib/modules/image/index.d.ts +4 -0
- package/dist-lib/modules/image/types.d.ts +202 -0
- package/dist-lib/modules/image-detail/components/ImageDetail.d.ts +2 -0
- package/dist-lib/modules/image-detail/constants.d.ts +17 -0
- package/dist-lib/modules/image-detail/index.d.ts +2 -0
- package/dist-lib/modules/image-detail/types.d.ts +10 -0
- package/dist-lib/modules/infinite-feed/components/InfiniteFeed.d.ts +2 -0
- package/dist-lib/modules/infinite-feed/components/LoadingDots.d.ts +1 -0
- package/dist-lib/modules/infinite-feed/components/ProductCard.d.ts +9 -0
- package/dist-lib/modules/infinite-feed/constants.d.ts +12 -0
- package/dist-lib/modules/infinite-feed/data.d.ts +6 -0
- package/dist-lib/modules/infinite-feed/hooks/useInfiniteFeed.d.ts +12 -0
- package/dist-lib/modules/infinite-feed/index.d.ts +2 -0
- package/dist-lib/modules/infinite-feed/types.d.ts +12 -0
- package/dist-lib/modules/input/components/Input.d.ts +2 -0
- package/dist-lib/modules/input/index.d.ts +2 -0
- package/dist-lib/modules/input/types.d.ts +91 -0
- package/dist-lib/modules/input-number/components/InputNumber.d.ts +2 -0
- package/dist-lib/modules/input-number/index.d.ts +2 -0
- package/dist-lib/modules/input-number/types.d.ts +89 -0
- package/dist-lib/modules/input-otp/components/InputOtp.d.ts +2 -0
- package/dist-lib/modules/input-otp/index.d.ts +2 -0
- package/dist-lib/modules/input-otp/types.d.ts +67 -0
- package/dist-lib/modules/input-tag/components/InputTag.d.ts +2 -0
- package/dist-lib/modules/input-tag/index.d.ts +2 -0
- package/dist-lib/modules/input-tag/types.d.ts +114 -0
- package/dist-lib/modules/instant-message/components/InstantMessage.d.ts +2 -0
- package/dist-lib/modules/instant-message/constants.d.ts +14 -0
- package/dist-lib/modules/instant-message/index.d.ts +2 -0
- package/dist-lib/modules/instant-message/types.d.ts +14 -0
- package/dist-lib/modules/jelly-toggle/components/JellyToggle.d.ts +2 -0
- package/dist-lib/modules/jelly-toggle/constants.d.ts +1 -0
- package/dist-lib/modules/jelly-toggle/index.d.ts +3 -0
- package/dist-lib/modules/jelly-toggle/types.d.ts +8 -0
- package/dist-lib/modules/karaoke-scroll/components/KaraokeScroll.d.ts +2 -0
- package/dist-lib/modules/karaoke-scroll/constants.d.ts +2 -0
- package/dist-lib/modules/karaoke-scroll/index.d.ts +2 -0
- package/dist-lib/modules/karaoke-scroll/types.d.ts +5 -0
- package/dist-lib/modules/layout/components/Layout.d.ts +28 -0
- package/dist-lib/modules/layout/components/Row.d.ts +868 -0
- package/dist-lib/modules/layout/index.d.ts +3 -0
- package/dist-lib/modules/layout/types.d.ts +116 -0
- package/dist-lib/modules/layout-reflow/components/LayoutReflow.d.ts +2 -0
- package/dist-lib/modules/layout-reflow/constants.d.ts +2 -0
- package/dist-lib/modules/layout-reflow/index.d.ts +2 -0
- package/dist-lib/modules/layout-reflow/types.d.ts +7 -0
- package/dist-lib/modules/like-burst/components/LikeBurst.d.ts +2 -0
- package/dist-lib/modules/like-burst/constants.d.ts +4 -0
- package/dist-lib/modules/like-burst/index.d.ts +3 -0
- package/dist-lib/modules/like-burst/types.d.ts +14 -0
- package/dist-lib/modules/like-odometer/components/DigitColumn.d.ts +10 -0
- package/dist-lib/modules/like-odometer/components/LikeOdometer.d.ts +2 -0
- package/dist-lib/modules/like-odometer/constants.d.ts +9 -0
- package/dist-lib/modules/like-odometer/index.d.ts +3 -0
- package/dist-lib/modules/like-odometer/math.d.ts +15 -0
- package/dist-lib/modules/like-odometer/types.d.ts +5 -0
- package/dist-lib/modules/link/components/Link.d.ts +2 -0
- package/dist-lib/modules/link/index.d.ts +2 -0
- package/dist-lib/modules/link/types.d.ts +53 -0
- package/dist-lib/modules/liquid-progress/components/LiquidProgress.d.ts +5 -0
- package/dist-lib/modules/liquid-progress/constants.d.ts +2 -0
- package/dist-lib/modules/liquid-progress/index.d.ts +3 -0
- package/dist-lib/modules/liquid-progress/types.d.ts +22 -0
- package/dist-lib/modules/list/components/List.d.ts +7 -0
- package/dist-lib/modules/list/components/ListItem.d.ts +2 -0
- package/dist-lib/modules/list/index.d.ts +3 -0
- package/dist-lib/modules/list/types.d.ts +29 -0
- package/dist-lib/modules/load-retry/components/FailArt.d.ts +2 -0
- package/dist-lib/modules/load-retry/components/LoadRetry.d.ts +2 -0
- package/dist-lib/modules/load-retry/constants.d.ts +31 -0
- package/dist-lib/modules/load-retry/index.d.ts +3 -0
- package/dist-lib/modules/load-retry/types.d.ts +15 -0
- package/dist-lib/modules/magnetic-button/components/MagneticButton.d.ts +2 -0
- package/dist-lib/modules/magnetic-button/constants.d.ts +5 -0
- package/dist-lib/modules/magnetic-button/index.d.ts +2 -0
- package/dist-lib/modules/magnetic-button/types.d.ts +9 -0
- package/dist-lib/modules/mega-nav/components/MegaNav.d.ts +2 -0
- package/dist-lib/modules/mega-nav/constants.d.ts +63 -0
- package/dist-lib/modules/mega-nav/index.d.ts +2 -0
- package/dist-lib/modules/mega-nav/types.d.ts +3 -0
- package/dist-lib/modules/mention/components/Mention.d.ts +2 -0
- package/dist-lib/modules/mention/index.d.ts +2 -0
- package/dist-lib/modules/mention/types.d.ts +117 -0
- package/dist-lib/modules/mention-suggest/components/MentionSuggest.d.ts +2 -0
- package/dist-lib/modules/mention-suggest/constants.d.ts +46 -0
- package/dist-lib/modules/mention-suggest/dom.d.ts +19 -0
- package/dist-lib/modules/mention-suggest/index.d.ts +5 -0
- package/dist-lib/modules/mention-suggest/types.d.ts +14 -0
- package/dist-lib/modules/menu/components/Menu.d.ts +2 -0
- package/dist-lib/modules/menu/index.d.ts +2 -0
- package/dist-lib/modules/menu/types.d.ts +56 -0
- package/dist-lib/modules/message-banner/components/MessageBanner.d.ts +2 -0
- package/dist-lib/modules/message-banner/constants.d.ts +33 -0
- package/dist-lib/modules/message-banner/index.d.ts +3 -0
- package/dist-lib/modules/message-banner/types.d.ts +15 -0
- package/dist-lib/modules/message-box/components/MessageBoxView.d.ts +7 -0
- package/dist-lib/modules/message-box/components/messageBoxApi.d.ts +2 -0
- package/dist-lib/modules/message-box/index.d.ts +3 -0
- package/dist-lib/modules/message-box/types.d.ts +60 -0
- package/dist-lib/modules/modal/components/Modal.d.ts +6 -0
- package/dist-lib/modules/modal/constants.d.ts +2 -0
- package/dist-lib/modules/modal/index.d.ts +2 -0
- package/dist-lib/modules/modal/motion.d.ts +24 -0
- package/dist-lib/modules/modal/types.d.ts +95 -0
- package/dist-lib/modules/music-play/components/MusicPlay.d.ts +2 -0
- package/dist-lib/modules/music-play/constants.d.ts +11 -0
- package/dist-lib/modules/music-play/index.d.ts +2 -0
- package/dist-lib/modules/music-play/types.d.ts +8 -0
- package/dist-lib/modules/notif-stack/components/NotifCard.d.ts +16 -0
- package/dist-lib/modules/notif-stack/components/NotifStack.d.ts +2 -0
- package/dist-lib/modules/notif-stack/constants.d.ts +34 -0
- package/dist-lib/modules/notif-stack/index.d.ts +2 -0
- package/dist-lib/modules/notif-stack/types.d.ts +13 -0
- package/dist-lib/modules/notification/components/NotificationProvider.d.ts +5 -0
- package/dist-lib/modules/notification/index.d.ts +2 -0
- package/dist-lib/modules/notification/types.d.ts +55 -0
- package/dist-lib/modules/notify-permit/components/NotifyPermit.d.ts +2 -0
- package/dist-lib/modules/notify-permit/constants.d.ts +9 -0
- package/dist-lib/modules/notify-permit/index.d.ts +2 -0
- package/dist-lib/modules/notify-permit/types.d.ts +17 -0
- package/dist-lib/modules/offline-banner/components/LazyCover.d.ts +17 -0
- package/dist-lib/modules/offline-banner/components/OfflineBanner.d.ts +2 -0
- package/dist-lib/modules/offline-banner/constants.d.ts +34 -0
- package/dist-lib/modules/offline-banner/index.d.ts +2 -0
- package/dist-lib/modules/offline-banner/types.d.ts +7 -0
- package/dist-lib/modules/otp-code/components/OtpCode.d.ts +2 -0
- package/dist-lib/modules/otp-code/constants.d.ts +4 -0
- package/dist-lib/modules/otp-code/index.d.ts +2 -0
- package/dist-lib/modules/otp-code/types.d.ts +5 -0
- package/dist-lib/modules/page-header/components/PageHeader.d.ts +2 -0
- package/dist-lib/modules/page-header/index.d.ts +2 -0
- package/dist-lib/modules/page-header/types.d.ts +20 -0
- package/dist-lib/modules/pagination/components/PagedList.d.ts +2 -0
- package/dist-lib/modules/pagination/components/Pagination.d.ts +5 -0
- package/dist-lib/modules/pagination/constants.d.ts +6 -0
- package/dist-lib/modules/pagination/index.d.ts +4 -0
- package/dist-lib/modules/pagination/math.d.ts +8 -0
- package/dist-lib/modules/pagination/types.d.ts +107 -0
- package/dist-lib/modules/panel-morph/components/PanelMorph.d.ts +2 -0
- package/dist-lib/modules/panel-morph/constants.d.ts +2 -0
- package/dist-lib/modules/panel-morph/index.d.ts +2 -0
- package/dist-lib/modules/panel-morph/types.d.ts +6 -0
- package/dist-lib/modules/password-shake/components/PasswordShake.d.ts +2 -0
- package/dist-lib/modules/password-shake/constants.d.ts +2 -0
- package/dist-lib/modules/password-shake/index.d.ts +2 -0
- package/dist-lib/modules/password-shake/types.d.ts +4 -0
- package/dist-lib/modules/period-bars/components/PeriodBars.d.ts +2 -0
- package/dist-lib/modules/period-bars/constants.d.ts +6 -0
- package/dist-lib/modules/period-bars/index.d.ts +2 -0
- package/dist-lib/modules/period-bars/types.d.ts +9 -0
- package/dist-lib/modules/period-line/components/PeriodLine.d.ts +2 -0
- package/dist-lib/modules/period-line/constants.d.ts +11 -0
- package/dist-lib/modules/period-line/index.d.ts +2 -0
- package/dist-lib/modules/period-line/types.d.ts +8 -0
- package/dist-lib/modules/photo-upload/components/PhotoUpload.d.ts +2 -0
- package/dist-lib/modules/photo-upload/constants.d.ts +17 -0
- package/dist-lib/modules/photo-upload/index.d.ts +3 -0
- package/dist-lib/modules/photo-upload/types.d.ts +20 -0
- package/dist-lib/modules/photo-wall/components/PhotoWall.d.ts +2 -0
- package/dist-lib/modules/photo-wall/components/ProgressivePhoto.d.ts +12 -0
- package/dist-lib/modules/photo-wall/constants.d.ts +6 -0
- package/dist-lib/modules/photo-wall/data.d.ts +3 -0
- package/dist-lib/modules/photo-wall/index.d.ts +5 -0
- package/dist-lib/modules/photo-wall/types.d.ts +16 -0
- package/dist-lib/modules/popconfirm/components/Popconfirm.d.ts +2 -0
- package/dist-lib/modules/popconfirm/index.d.ts +2 -0
- package/dist-lib/modules/popconfirm/types.d.ts +26 -0
- package/dist-lib/modules/popover/components/Popover.d.ts +2 -0
- package/dist-lib/modules/popover/index.d.ts +2 -0
- package/dist-lib/modules/popover/placement.d.ts +15 -0
- package/dist-lib/modules/popover/types.d.ts +30 -0
- package/dist-lib/modules/popover-menu/components/PopoverMenu.d.ts +2 -0
- package/dist-lib/modules/popover-menu/constants.d.ts +3 -0
- package/dist-lib/modules/popover-menu/index.d.ts +2 -0
- package/dist-lib/modules/popover-menu/types.d.ts +11 -0
- package/dist-lib/modules/price-range/components/PriceRangeSlider.d.ts +2 -0
- package/dist-lib/modules/price-range/constants.d.ts +12 -0
- package/dist-lib/modules/price-range/hooks/usePriceRange.d.ts +24 -0
- package/dist-lib/modules/price-range/index.d.ts +3 -0
- package/dist-lib/modules/price-range/math.d.ts +17 -0
- package/dist-lib/modules/price-range/types.d.ts +21 -0
- package/dist-lib/modules/product-story/components/ProductStory.d.ts +2 -0
- package/dist-lib/modules/product-story/constants.d.ts +21 -0
- package/dist-lib/modules/product-story/index.d.ts +2 -0
- package/dist-lib/modules/product-story/types.d.ts +10 -0
- package/dist-lib/modules/progress/components/Progress.d.ts +5 -0
- package/dist-lib/modules/progress/index.d.ts +2 -0
- package/dist-lib/modules/progress/types.d.ts +92 -0
- package/dist-lib/modules/proportion-bar/components/ProportionBar.d.ts +2 -0
- package/dist-lib/modules/proportion-bar/constants.d.ts +21 -0
- package/dist-lib/modules/proportion-bar/index.d.ts +2 -0
- package/dist-lib/modules/proportion-bar/types.d.ts +10 -0
- package/dist-lib/modules/pull-to-refresh/components/PullToRefresh.d.ts +2 -0
- package/dist-lib/modules/pull-to-refresh/constants.d.ts +19 -0
- package/dist-lib/modules/pull-to-refresh/hooks/usePullToRefresh.d.ts +16 -0
- package/dist-lib/modules/pull-to-refresh/index.d.ts +3 -0
- package/dist-lib/modules/pull-to-refresh/math.d.ts +8 -0
- package/dist-lib/modules/pull-to-refresh/types.d.ts +16 -0
- package/dist-lib/modules/qrcode/components/QRCode.d.ts +2 -0
- package/dist-lib/modules/qrcode/index.d.ts +2 -0
- package/dist-lib/modules/qrcode/types.d.ts +18 -0
- package/dist-lib/modules/quantity-stepper/components/DigitReel.d.ts +8 -0
- package/dist-lib/modules/quantity-stepper/components/QuantityStepper.d.ts +2 -0
- package/dist-lib/modules/quantity-stepper/constants.d.ts +14 -0
- package/dist-lib/modules/quantity-stepper/hooks/useHoldRepeat.d.ts +12 -0
- package/dist-lib/modules/quantity-stepper/index.d.ts +2 -0
- package/dist-lib/modules/quantity-stepper/types.d.ts +11 -0
- package/dist-lib/modules/radio/components/Radio.d.ts +2 -0
- package/dist-lib/modules/radio/components/RadioButton.d.ts +5 -0
- package/dist-lib/modules/radio/components/RadioGroup.d.ts +2 -0
- package/dist-lib/modules/radio/context.d.ts +3 -0
- package/dist-lib/modules/radio/index.d.ts +4 -0
- package/dist-lib/modules/radio/types.d.ts +111 -0
- package/dist-lib/modules/range-picker/components/RangePicker.d.ts +2 -0
- package/dist-lib/modules/range-picker/index.d.ts +2 -0
- package/dist-lib/modules/range-picker/types.d.ts +46 -0
- package/dist-lib/modules/range-picker/utils.d.ts +4 -0
- package/dist-lib/modules/rate/components/Rate.d.ts +2 -0
- package/dist-lib/modules/rate/index.d.ts +2 -0
- package/dist-lib/modules/rate/types.d.ts +109 -0
- package/dist-lib/modules/result/components/Result.d.ts +5 -0
- package/dist-lib/modules/result/index.d.ts +2 -0
- package/dist-lib/modules/result/types.d.ts +23 -0
- package/dist-lib/modules/sand-dissolve/components/ChatMessageItem.d.ts +13 -0
- package/dist-lib/modules/sand-dissolve/components/ChatSandDemo.d.ts +1 -0
- package/dist-lib/modules/sand-dissolve/components/SandOverlay.d.ts +7 -0
- package/dist-lib/modules/sand-dissolve/constants.d.ts +5 -0
- package/dist-lib/modules/sand-dissolve/drawSand.d.ts +7 -0
- package/dist-lib/modules/sand-dissolve/index.d.ts +6 -0
- package/dist-lib/modules/sand-dissolve/sampleParticles.d.ts +10 -0
- package/dist-lib/modules/sand-dissolve/types.d.ts +29 -0
- package/dist-lib/modules/score-celebrate/components/ScoreCelebrate.d.ts +2 -0
- package/dist-lib/modules/score-celebrate/constants.d.ts +17 -0
- package/dist-lib/modules/score-celebrate/index.d.ts +3 -0
- package/dist-lib/modules/score-celebrate/math.d.ts +4 -0
- package/dist-lib/modules/score-celebrate/particles.d.ts +3 -0
- package/dist-lib/modules/score-celebrate/types.d.ts +19 -0
- package/dist-lib/modules/scrollbar/components/Scrollbar.d.ts +2 -0
- package/dist-lib/modules/scrollbar/index.d.ts +2 -0
- package/dist-lib/modules/scrollbar/types.d.ts +91 -0
- package/dist-lib/modules/search/components/Search.d.ts +2 -0
- package/dist-lib/modules/search/index.d.ts +2 -0
- package/dist-lib/modules/search/types.d.ts +20 -0
- package/dist-lib/modules/segment-tabs/components/SegmentTabs.d.ts +2 -0
- package/dist-lib/modules/segment-tabs/constants.d.ts +16 -0
- package/dist-lib/modules/segment-tabs/hooks/useSegmentPager.d.ts +18 -0
- package/dist-lib/modules/segment-tabs/index.d.ts +3 -0
- package/dist-lib/modules/segment-tabs/math.d.ts +28 -0
- package/dist-lib/modules/segment-tabs/types.d.ts +25 -0
- package/dist-lib/modules/segmented/components/Segmented.d.ts +3 -0
- package/dist-lib/modules/segmented/index.d.ts +2 -0
- package/dist-lib/modules/segmented/types.d.ts +41 -0
- package/dist-lib/modules/select/components/Select.d.ts +2 -0
- package/dist-lib/modules/select/index.d.ts +3 -0
- package/dist-lib/modules/select/types.d.ts +172 -0
- package/dist-lib/modules/semi-gauge/components/SemiGauge.d.ts +2 -0
- package/dist-lib/modules/semi-gauge/constants.d.ts +23 -0
- package/dist-lib/modules/semi-gauge/index.d.ts +2 -0
- package/dist-lib/modules/semi-gauge/types.d.ts +16 -0
- package/dist-lib/modules/skeleton/components/Skeleton.d.ts +5 -0
- package/dist-lib/modules/skeleton/components/SkeletonItem.d.ts +5 -0
- package/dist-lib/modules/skeleton/index.d.ts +3 -0
- package/dist-lib/modules/skeleton/types.d.ts +65 -0
- package/dist-lib/modules/slide-confirm/components/SlideConfirm.d.ts +2 -0
- package/dist-lib/modules/slide-confirm/constants.d.ts +3 -0
- package/dist-lib/modules/slide-confirm/index.d.ts +2 -0
- package/dist-lib/modules/slide-confirm/types.d.ts +7 -0
- package/dist-lib/modules/slider/components/Slider.d.ts +2 -0
- package/dist-lib/modules/slider/components/SliderMeta.d.ts +8 -0
- package/dist-lib/modules/slider/components/SliderTrack.d.ts +21 -0
- package/dist-lib/modules/slider/components/SnapSlider.d.ts +2 -0
- package/dist-lib/modules/slider/constants.d.ts +12 -0
- package/dist-lib/modules/slider/hooks/useSnapSlider.d.ts +16 -0
- package/dist-lib/modules/slider/index.d.ts +6 -0
- package/dist-lib/modules/slider/math.d.ts +9 -0
- package/dist-lib/modules/slider/types.d.ts +133 -0
- package/dist-lib/modules/space/components/Space.d.ts +2 -0
- package/dist-lib/modules/space/index.d.ts +2 -0
- package/dist-lib/modules/space/types.d.ts +57 -0
- package/dist-lib/modules/spin/components/Spin.d.ts +2 -0
- package/dist-lib/modules/spin/components/loadingService.d.ts +44 -0
- package/dist-lib/modules/spin/index.d.ts +4 -0
- package/dist-lib/modules/spin/types.d.ts +34 -0
- package/dist-lib/modules/splash-intro/components/AppSplash.d.ts +25 -0
- package/dist-lib/modules/splash-intro/components/SplashIntro.d.ts +38 -0
- package/dist-lib/modules/splash-intro/components/SplashLogo.d.ts +2 -0
- package/dist-lib/modules/splash-intro/components/SplashStagger.d.ts +14 -0
- package/dist-lib/modules/splash-intro/constants.d.ts +8 -0
- package/dist-lib/modules/splash-intro/context.d.ts +13 -0
- package/dist-lib/modules/splash-intro/index.d.ts +10 -0
- package/dist-lib/modules/splash-intro/types.d.ts +4 -0
- package/dist-lib/modules/splitter/components/Splitter.d.ts +13 -0
- package/dist-lib/modules/splitter/index.d.ts +2 -0
- package/dist-lib/modules/splitter/types.d.ts +85 -0
- package/dist-lib/modules/spotlight-tour/components/SpotlightTour.d.ts +2 -0
- package/dist-lib/modules/spotlight-tour/constants.d.ts +15 -0
- package/dist-lib/modules/spotlight-tour/index.d.ts +3 -0
- package/dist-lib/modules/spotlight-tour/placement.d.ts +15 -0
- package/dist-lib/modules/spotlight-tour/types.d.ts +31 -0
- package/dist-lib/modules/star-rating/components/StarRating.d.ts +2 -0
- package/dist-lib/modules/star-rating/constants.d.ts +4 -0
- package/dist-lib/modules/star-rating/index.d.ts +2 -0
- package/dist-lib/modules/star-rating/types.d.ts +6 -0
- package/dist-lib/modules/statistic/components/Countdown.d.ts +3 -0
- package/dist-lib/modules/statistic/components/Statistic.d.ts +3 -0
- package/dist-lib/modules/statistic/index.d.ts +3 -0
- package/dist-lib/modules/statistic/types.d.ts +34 -0
- package/dist-lib/modules/stats-card/components/StatsCard.d.ts +2 -0
- package/dist-lib/modules/stats-card/constants.d.ts +25 -0
- package/dist-lib/modules/stats-card/hooks/useStatsEntrance.d.ts +11 -0
- package/dist-lib/modules/stats-card/index.d.ts +4 -0
- package/dist-lib/modules/stats-card/math.d.ts +8 -0
- package/dist-lib/modules/stats-card/types.d.ts +15 -0
- package/dist-lib/modules/step-dots/components/StepDots.d.ts +2 -0
- package/dist-lib/modules/step-dots/constants.d.ts +23 -0
- package/dist-lib/modules/step-dots/index.d.ts +3 -0
- package/dist-lib/modules/step-dots/types.d.ts +12 -0
- package/dist-lib/modules/step-sheet/components/StepSheet.d.ts +2 -0
- package/dist-lib/modules/step-sheet/constants.d.ts +14 -0
- package/dist-lib/modules/step-sheet/index.d.ts +2 -0
- package/dist-lib/modules/step-sheet/types.d.ts +3 -0
- package/dist-lib/modules/steps/components/Steps.d.ts +2 -0
- package/dist-lib/modules/steps/index.d.ts +2 -0
- package/dist-lib/modules/steps/types.d.ts +37 -0
- package/dist-lib/modules/storybook-welcome/components/PageArts.d.ts +6 -0
- package/dist-lib/modules/storybook-welcome/components/StorybookWelcome.d.ts +2 -0
- package/dist-lib/modules/storybook-welcome/constants.d.ts +15 -0
- package/dist-lib/modules/storybook-welcome/data.d.ts +3 -0
- package/dist-lib/modules/storybook-welcome/index.d.ts +3 -0
- package/dist-lib/modules/storybook-welcome/math.d.ts +9 -0
- package/dist-lib/modules/storybook-welcome/types.d.ts +42 -0
- package/dist-lib/modules/submit-morph/components/SubmitMorph.d.ts +2 -0
- package/dist-lib/modules/submit-morph/components/SubmitSendIcon.d.ts +2 -0
- package/dist-lib/modules/submit-morph/constants.d.ts +6 -0
- package/dist-lib/modules/submit-morph/index.d.ts +4 -0
- package/dist-lib/modules/submit-morph/types.d.ts +23 -0
- package/dist-lib/modules/swipe-cards/components/SwipeCards.d.ts +2 -0
- package/dist-lib/modules/swipe-cards/constants.d.ts +14 -0
- package/dist-lib/modules/swipe-cards/data.d.ts +2 -0
- package/dist-lib/modules/swipe-cards/index.d.ts +4 -0
- package/dist-lib/modules/swipe-cards/math.d.ts +5 -0
- package/dist-lib/modules/swipe-cards/types.d.ts +13 -0
- package/dist-lib/modules/swipe-to-delete/components/SwipeRow.d.ts +9 -0
- package/dist-lib/modules/swipe-to-delete/components/SwipeToDelete.d.ts +2 -0
- package/dist-lib/modules/swipe-to-delete/constants.d.ts +8 -0
- package/dist-lib/modules/swipe-to-delete/index.d.ts +3 -0
- package/dist-lib/modules/swipe-to-delete/types.d.ts +11 -0
- package/dist-lib/modules/switch/components/Switch.d.ts +2 -0
- package/dist-lib/modules/switch/index.d.ts +2 -0
- package/dist-lib/modules/switch/types.d.ts +113 -0
- package/dist-lib/modules/table/components/Table.d.ts +6 -0
- package/dist-lib/modules/table/index.d.ts +2 -0
- package/dist-lib/modules/table/types.d.ts +165 -0
- package/dist-lib/modules/table-v2/components/AutoResizer.d.ts +3 -0
- package/dist-lib/modules/table-v2/components/TableV2.d.ts +6 -0
- package/dist-lib/modules/table-v2/index.d.ts +3 -0
- package/dist-lib/modules/table-v2/types.d.ts +161 -0
- package/dist-lib/modules/tabs/components/Tabs.d.ts +2 -0
- package/dist-lib/modules/tabs/index.d.ts +2 -0
- package/dist-lib/modules/tabs/types.d.ts +60 -0
- package/dist-lib/modules/tag/components/CheckTag.d.ts +3 -0
- package/dist-lib/modules/tag/components/Tag.d.ts +3 -0
- package/dist-lib/modules/tag/index.d.ts +3 -0
- package/dist-lib/modules/tag/types.d.ts +39 -0
- package/dist-lib/modules/target-bars/components/TargetBars.d.ts +2 -0
- package/dist-lib/modules/target-bars/constants.d.ts +3 -0
- package/dist-lib/modules/target-bars/index.d.ts +2 -0
- package/dist-lib/modules/target-bars/types.d.ts +6 -0
- package/dist-lib/modules/task-checklist/components/PercentDigit.d.ts +5 -0
- package/dist-lib/modules/task-checklist/components/TaskChecklist.d.ts +2 -0
- package/dist-lib/modules/task-checklist/constants.d.ts +17 -0
- package/dist-lib/modules/task-checklist/hooks/usePercentRoll.d.ts +6 -0
- package/dist-lib/modules/task-checklist/index.d.ts +3 -0
- package/dist-lib/modules/task-checklist/math.d.ts +12 -0
- package/dist-lib/modules/task-checklist/particles.d.ts +4 -0
- package/dist-lib/modules/task-checklist/types.d.ts +25 -0
- package/dist-lib/modules/text/components/Text.d.ts +2 -0
- package/dist-lib/modules/text/index.d.ts +2 -0
- package/dist-lib/modules/text/types.d.ts +37 -0
- package/dist-lib/modules/theme-reveal/components/ThemeReveal.d.ts +2 -0
- package/dist-lib/modules/theme-reveal/constants.d.ts +1 -0
- package/dist-lib/modules/theme-reveal/index.d.ts +2 -0
- package/dist-lib/modules/theme-reveal/types.d.ts +3 -0
- package/dist-lib/modules/thread-expand/components/EmojiReactTarget.d.ts +11 -0
- package/dist-lib/modules/thread-expand/components/MentionComposer.d.ts +9 -0
- package/dist-lib/modules/thread-expand/components/ThreadExpand.d.ts +2 -0
- package/dist-lib/modules/thread-expand/constants.d.ts +136 -0
- package/dist-lib/modules/thread-expand/index.d.ts +3 -0
- package/dist-lib/modules/thread-expand/types.d.ts +67 -0
- package/dist-lib/modules/time-picker/components/TimePicker.d.ts +2 -0
- package/dist-lib/modules/time-picker/index.d.ts +2 -0
- package/dist-lib/modules/time-picker/types.d.ts +11 -0
- package/dist-lib/modules/time-picker/utils.d.ts +10 -0
- package/dist-lib/modules/time-select/components/TimeSelect.d.ts +2 -0
- package/dist-lib/modules/time-select/index.d.ts +2 -0
- package/dist-lib/modules/time-select/types.d.ts +12 -0
- package/dist-lib/modules/time-select/utils.d.ts +1 -0
- package/dist-lib/modules/timeline/components/Timeline.d.ts +3 -0
- package/dist-lib/modules/timeline/index.d.ts +2 -0
- package/dist-lib/modules/timeline/types.d.ts +50 -0
- package/dist-lib/modules/timer-strip/components/TimerStrip.d.ts +2 -0
- package/dist-lib/modules/timer-strip/constants.d.ts +2 -0
- package/dist-lib/modules/timer-strip/index.d.ts +2 -0
- package/dist-lib/modules/timer-strip/types.d.ts +5 -0
- package/dist-lib/modules/toast/components/ToastProvider.d.ts +5 -0
- package/dist-lib/modules/toast/index.d.ts +2 -0
- package/dist-lib/modules/toast/types.d.ts +64 -0
- package/dist-lib/modules/tooltip/components/Tooltip.d.ts +2 -0
- package/dist-lib/modules/tooltip/constants.d.ts +6 -0
- package/dist-lib/modules/tooltip/index.d.ts +2 -0
- package/dist-lib/modules/tooltip/placement.d.ts +12 -0
- package/dist-lib/modules/tooltip/types.d.ts +30 -0
- package/dist-lib/modules/tour/components/Tour.d.ts +3 -0
- package/dist-lib/modules/tour/index.d.ts +2 -0
- package/dist-lib/modules/tour/types.d.ts +75 -0
- package/dist-lib/modules/transfer/components/Transfer.d.ts +2 -0
- package/dist-lib/modules/transfer/components/TransferVirtualBody.d.ts +10 -0
- package/dist-lib/modules/transfer/index.d.ts +2 -0
- package/dist-lib/modules/transfer/types.d.ts +133 -0
- package/dist-lib/modules/transition/components/CollapseTransition.d.ts +5 -0
- package/dist-lib/modules/transition/components/Transition.d.ts +6 -0
- package/dist-lib/modules/transition/constants.d.ts +9 -0
- package/dist-lib/modules/transition/index.d.ts +5 -0
- package/dist-lib/modules/transition/types.d.ts +59 -0
- package/dist-lib/modules/travel-home/components/TravelCard.d.ts +8 -0
- package/dist-lib/modules/travel-home/components/TravelHome.d.ts +2 -0
- package/dist-lib/modules/travel-home/constants.d.ts +6 -0
- package/dist-lib/modules/travel-home/data.d.ts +3 -0
- package/dist-lib/modules/travel-home/hooks/useRevealOnScroll.d.ts +15 -0
- package/dist-lib/modules/travel-home/index.d.ts +6 -0
- package/dist-lib/modules/travel-home/types.d.ts +14 -0
- package/dist-lib/modules/tree/checkUtils.d.ts +14 -0
- package/dist-lib/modules/tree/components/Tree.d.ts +3 -0
- package/dist-lib/modules/tree/dragUtils.d.ts +11 -0
- package/dist-lib/modules/tree/index.d.ts +2 -0
- package/dist-lib/modules/tree/types.d.ts +116 -0
- package/dist-lib/modules/tree-select/components/TreeSelect.d.ts +2 -0
- package/dist-lib/modules/tree-select/index.d.ts +2 -0
- package/dist-lib/modules/tree-select/types.d.ts +115 -0
- package/dist-lib/modules/tree-select/utils.d.ts +16 -0
- package/dist-lib/modules/tree-v2/components/TreeV2.d.ts +3 -0
- package/dist-lib/modules/tree-v2/index.d.ts +2 -0
- package/dist-lib/modules/tree-v2/types.d.ts +97 -0
- package/dist-lib/modules/tree-v2/utils.d.ts +24 -0
- package/dist-lib/modules/typography/components/Typography.d.ts +16 -0
- package/dist-lib/modules/typography/constants.d.ts +27 -0
- package/dist-lib/modules/typography/index.d.ts +3 -0
- package/dist-lib/modules/typography/types.d.ts +55 -0
- package/dist-lib/modules/undo-delete/components/UndoDelete.d.ts +2 -0
- package/dist-lib/modules/undo-delete/components/UndoRow.d.ts +10 -0
- package/dist-lib/modules/undo-delete/constants.d.ts +32 -0
- package/dist-lib/modules/undo-delete/index.d.ts +3 -0
- package/dist-lib/modules/undo-delete/types.d.ts +13 -0
- package/dist-lib/modules/upload/ajaxUpload.d.ts +2 -0
- package/dist-lib/modules/upload/chunkUpload.d.ts +6 -0
- package/dist-lib/modules/upload/components/Upload.d.ts +2 -0
- package/dist-lib/modules/upload/index.d.ts +3 -0
- package/dist-lib/modules/upload/resumeStorage.d.ts +16 -0
- package/dist-lib/modules/upload/types.d.ts +178 -0
- package/dist-lib/modules/upload-liquid-card/components/LiquidOrbitScene.d.ts +9 -0
- package/dist-lib/modules/upload-liquid-card/components/UploadLiquidCard.d.ts +2 -0
- package/dist-lib/modules/upload-liquid-card/constants.d.ts +16 -0
- package/dist-lib/modules/upload-liquid-card/index.d.ts +3 -0
- package/dist-lib/modules/upload-liquid-card/math.d.ts +7 -0
- package/dist-lib/modules/upload-liquid-card/types.d.ts +12 -0
- package/dist-lib/modules/upload-ring/components/UploadRing.d.ts +6 -0
- package/dist-lib/modules/upload-ring/constants.d.ts +8 -0
- package/dist-lib/modules/upload-ring/index.d.ts +3 -0
- package/dist-lib/modules/upload-ring/math.d.ts +2 -0
- package/dist-lib/modules/upload-ring/types.d.ts +7 -0
- package/dist-lib/modules/virtual-list/components/VirtualList.d.ts +2 -0
- package/dist-lib/modules/virtual-list/index.d.ts +2 -0
- package/dist-lib/modules/virtual-list/types.d.ts +16 -0
- package/dist-lib/modules/volume-rubber/components/VolumeRubber.d.ts +2 -0
- package/dist-lib/modules/volume-rubber/constants.d.ts +6 -0
- package/dist-lib/modules/volume-rubber/index.d.ts +2 -0
- package/dist-lib/modules/volume-rubber/types.d.ts +8 -0
- package/dist-lib/modules/wallet-balance/components/DigitWheel.d.ts +19 -0
- package/dist-lib/modules/wallet-balance/components/WalletBalance.d.ts +2 -0
- package/dist-lib/modules/wallet-balance/constants.d.ts +6 -0
- package/dist-lib/modules/wallet-balance/hooks/useBalanceRoll.d.ts +12 -0
- package/dist-lib/modules/wallet-balance/index.d.ts +4 -0
- package/dist-lib/modules/wallet-balance/math.d.ts +5 -0
- package/dist-lib/modules/wallet-balance/types.d.ts +9 -0
- package/dist-lib/modules/watermark/components/Watermark.d.ts +2 -0
- package/dist-lib/modules/watermark/index.d.ts +2 -0
- package/dist-lib/modules/watermark/types.d.ts +19 -0
- package/dist-lib/vite-env.d.ts +4 -0
- package/package.json +78 -4
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
export type PopoverPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
3
|
+
export type PopoverTrigger = "click" | "hover";
|
|
4
|
+
export type PopoverEffect = "light" | "dark";
|
|
5
|
+
export type PopoverProps = {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** Panel title (optional). */
|
|
8
|
+
title?: ReactNode;
|
|
9
|
+
/** Panel body. */
|
|
10
|
+
content: ReactNode;
|
|
11
|
+
placement?: PopoverPlacement;
|
|
12
|
+
trigger?: PopoverTrigger;
|
|
13
|
+
/**
|
|
14
|
+
* 主题(对齐 Element effect)
|
|
15
|
+
* @default light
|
|
16
|
+
*/
|
|
17
|
+
effect?: PopoverEffect;
|
|
18
|
+
/** Controlled open. */
|
|
19
|
+
open?: boolean;
|
|
20
|
+
defaultOpen?: boolean;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
/** Panel width; number = px. */
|
|
25
|
+
width?: number | string;
|
|
26
|
+
/** 启用虚拟触发 */
|
|
27
|
+
virtualTriggering?: boolean;
|
|
28
|
+
/** 虚拟触发参照元素 */
|
|
29
|
+
virtualRef?: RefObject<HTMLElement | null> | HTMLElement | null;
|
|
30
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const PRANGE_DEFAULT_MIN = 0;
|
|
2
|
+
export declare const PRANGE_DEFAULT_MAX = 2000;
|
|
3
|
+
/** Snap step in yuan. */
|
|
4
|
+
export declare const PRANGE_STEP = 50;
|
|
5
|
+
/** Minimum gap between thumbs in yuan. */
|
|
6
|
+
export declare const PRANGE_MIN_GAP = 100;
|
|
7
|
+
export declare const PRANGE_THUMB_SCALE = 1.2;
|
|
8
|
+
export declare const PRANGE_SPRING_MS = 280;
|
|
9
|
+
/** Bubble stagger kick (px) when labels would overlap. */
|
|
10
|
+
export declare const PRANGE_BUBBLE_STAGGER_Y = 22;
|
|
11
|
+
/** Horizontal overlap threshold as fraction of combined bubble widths. */
|
|
12
|
+
export declare const PRANGE_BUBBLE_OVERLAP_PAD = 8;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PointerEvent as ReactPointerEvent, RefObject } from 'react';
|
|
2
|
+
import { ActiveThumb, PriceRangeValue } from '../types';
|
|
3
|
+
export type UsePriceRangeOptions = {
|
|
4
|
+
value: PriceRangeValue;
|
|
5
|
+
boundMin: number;
|
|
6
|
+
boundMax: number;
|
|
7
|
+
step: number;
|
|
8
|
+
minGap: number;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
onChange: (value: PriceRangeValue) => void;
|
|
11
|
+
onScrub?: (value: PriceRangeValue) => void;
|
|
12
|
+
};
|
|
13
|
+
export type UsePriceRangeResult = {
|
|
14
|
+
trackRef: RefObject<HTMLDivElement | null>;
|
|
15
|
+
visual: PriceRangeValue;
|
|
16
|
+
active: ActiveThumb;
|
|
17
|
+
dragging: boolean;
|
|
18
|
+
onThumbPointerDown: (thumb: "min" | "max") => (event: ReactPointerEvent<HTMLElement>) => void;
|
|
19
|
+
onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
20
|
+
onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
21
|
+
onPointerCancel: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
22
|
+
onTrackPointerDown: (event: ReactPointerEvent<HTMLDivElement>) => void;
|
|
23
|
+
};
|
|
24
|
+
export declare function usePriceRange({ value, boundMin, boundMax, step, minGap, disabled, onChange, onScrub, }: UsePriceRangeOptions): UsePriceRangeResult;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PRANGE_MIN_GAP, PRANGE_STEP } from './constants';
|
|
2
|
+
import { PriceRangeValue } from './types';
|
|
3
|
+
export declare function clamp(value: number, min: number, max: number): number;
|
|
4
|
+
export declare function lerp(a: number, b: number, t: number): number;
|
|
5
|
+
export declare function ratioFromValue(value: number, min: number, max: number): number;
|
|
6
|
+
export declare function valueFromRatio(ratio: number, min: number, max: number): number;
|
|
7
|
+
export declare function snapToStep(value: number, min: number, max: number, step: number): number;
|
|
8
|
+
/** Keep [lo, hi] ordered with at least `gap` between them. */
|
|
9
|
+
export declare function constrainPair(lo: number, hi: number, boundMin: number, boundMax: number, gap: number, moving: "min" | "max"): PriceRangeValue;
|
|
10
|
+
export declare function snapPair(value: PriceRangeValue, boundMin: number, boundMax: number, step: number, gap: number): PriceRangeValue;
|
|
11
|
+
export declare function defaultFormat(value: number): string;
|
|
12
|
+
/**
|
|
13
|
+
* Vertical stagger for bubbles when their projected centers are too close.
|
|
14
|
+
* Returns [minOffsetY, maxOffsetY] — negative lifts up.
|
|
15
|
+
*/
|
|
16
|
+
export declare function bubbleStagger(minRatio: number, maxRatio: number, trackWidth: number, minBubbleW: number, maxBubbleW: number, staggerY: number): [number, number];
|
|
17
|
+
export { PRANGE_MIN_GAP, PRANGE_STEP };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type PriceRangeValue = {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
};
|
|
5
|
+
export type PriceRangeSliderProps = {
|
|
6
|
+
value?: PriceRangeValue;
|
|
7
|
+
defaultValue?: PriceRangeValue;
|
|
8
|
+
/** Absolute slider bounds. */
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
/** Snap step (yuan). */
|
|
12
|
+
step?: number;
|
|
13
|
+
/** Minimum span between thumbs (yuan). */
|
|
14
|
+
minGap?: number;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
formatValue?: (value: number) => string;
|
|
18
|
+
onChange?: (value: PriceRangeValue) => void;
|
|
19
|
+
onScrub?: (value: PriceRangeValue) => void;
|
|
20
|
+
};
|
|
21
|
+
export type ActiveThumb = "min" | "max" | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const PS_SECTIONS: readonly [{
|
|
2
|
+
readonly id: "ps-1";
|
|
3
|
+
readonly title: "一触即开";
|
|
4
|
+
readonly body: "从冷启动到首屏可读,把等待压进一次呼吸里。";
|
|
5
|
+
readonly hue: "linear-gradient(145deg, var(--aot-config-primary), var(--aot-config-primary-hover))";
|
|
6
|
+
}, {
|
|
7
|
+
readonly id: "ps-2";
|
|
8
|
+
readonly title: "指尖有回声";
|
|
9
|
+
readonly body: "每个按压缩一点、弹回来,反馈跟着手感走。";
|
|
10
|
+
readonly hue: "linear-gradient(145deg, #a78bfa, #6d28d9)";
|
|
11
|
+
}, {
|
|
12
|
+
readonly id: "ps-3";
|
|
13
|
+
readonly title: "内容自己排队";
|
|
14
|
+
readonly body: "新动态不打断阅读,提示轻轻落在肩上。";
|
|
15
|
+
readonly hue: "linear-gradient(145deg, #34d399, #047857)";
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "ps-4";
|
|
18
|
+
readonly title: "桌面也讲究";
|
|
19
|
+
readonly body: "为 1440×900 的工作台留出呼吸感与对齐。";
|
|
20
|
+
readonly hue: "linear-gradient(145deg, #fb7185, #be123c)";
|
|
21
|
+
}];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ProgressProps } from '../types';
|
|
2
|
+
export declare function Progress({ percentage: percentageProp, percent, type, strokeWidth, textInside, status, indeterminate, duration, color, width, showText, showInfo, strokeLinecap, format, striped, stripedFlow, children, tone, size, className, style, }: ProgressProps): import('react').JSX.Element;
|
|
3
|
+
export declare namespace Progress {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export type ProgressType = "line" | "circle" | "dashboard";
|
|
3
|
+
export type ProgressStatus = "success" | "exception" | "warning" | "";
|
|
4
|
+
/** @deprecated 库扩展状态;请优先用 Element status / indeterminate / striped */
|
|
5
|
+
export type ProgressLegacyStatus = "normal" | "success" | "exception" | "active" | "paused";
|
|
6
|
+
export type ProgressTone = "primary" | "success" | "warning" | "danger";
|
|
7
|
+
export type ProgressSize = "sm" | "md" | "lg";
|
|
8
|
+
export type ProgressStrokeLinecap = "butt" | "round" | "square";
|
|
9
|
+
export type ProgressColorStop = {
|
|
10
|
+
color: string;
|
|
11
|
+
percentage: number;
|
|
12
|
+
};
|
|
13
|
+
export type ProgressColor = string | ((percentage: number) => string) | ProgressColorStop[];
|
|
14
|
+
export type ProgressProps = {
|
|
15
|
+
/**
|
|
16
|
+
* 百分比 0–100(Element: percentage)
|
|
17
|
+
* @default 0
|
|
18
|
+
*/
|
|
19
|
+
percentage?: number;
|
|
20
|
+
/** @deprecated 请使用 percentage */
|
|
21
|
+
percent?: number;
|
|
22
|
+
/**
|
|
23
|
+
* 进度条类型
|
|
24
|
+
* @default "line"
|
|
25
|
+
*/
|
|
26
|
+
type?: ProgressType;
|
|
27
|
+
/**
|
|
28
|
+
* 进度条宽度(线形为高度;环形为描边宽)
|
|
29
|
+
* @default 6
|
|
30
|
+
*/
|
|
31
|
+
strokeWidth?: number;
|
|
32
|
+
/**
|
|
33
|
+
* 文字内置在进度条内(仅 line)
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
textInside?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 进度条状态
|
|
39
|
+
*/
|
|
40
|
+
status?: ProgressStatus | ProgressLegacyStatus;
|
|
41
|
+
/**
|
|
42
|
+
* 不确定动画进度条
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
indeterminate?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 动画 / 条纹流动时长(秒)
|
|
48
|
+
* @default 3
|
|
49
|
+
*/
|
|
50
|
+
duration?: number;
|
|
51
|
+
/**
|
|
52
|
+
* 进度条颜色;覆盖 status 色
|
|
53
|
+
*/
|
|
54
|
+
color?: ProgressColor;
|
|
55
|
+
/**
|
|
56
|
+
* 环形画布宽度(circle / dashboard)
|
|
57
|
+
* @default 126
|
|
58
|
+
*/
|
|
59
|
+
width?: number;
|
|
60
|
+
/**
|
|
61
|
+
* 是否显示文字
|
|
62
|
+
* @default true
|
|
63
|
+
*/
|
|
64
|
+
showText?: boolean;
|
|
65
|
+
/** @deprecated 请使用 showText */
|
|
66
|
+
showInfo?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* circle/dashboard 路径端点
|
|
69
|
+
* @default "round"
|
|
70
|
+
*/
|
|
71
|
+
strokeLinecap?: ProgressStrokeLinecap;
|
|
72
|
+
/** 自定义文字内容 */
|
|
73
|
+
format?: (percentage: number) => ReactNode;
|
|
74
|
+
/**
|
|
75
|
+
* 条纹(仅 line)
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
78
|
+
striped?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* 条纹流动(仅 line)
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
stripedFlow?: boolean;
|
|
84
|
+
/** 自定义内容(默认插槽);优先于 format / 百分比文字 */
|
|
85
|
+
children?: ReactNode;
|
|
86
|
+
/** @deprecated 库扩展语义色;可被 status / color 覆盖 */
|
|
87
|
+
tone?: ProgressTone;
|
|
88
|
+
/** @deprecated 库扩展尺寸;优先 strokeWidth */
|
|
89
|
+
size?: ProgressSize;
|
|
90
|
+
className?: string;
|
|
91
|
+
style?: CSSProperties;
|
|
92
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const PR_SEGMENTS: readonly [{
|
|
2
|
+
readonly id: "product";
|
|
3
|
+
readonly label: "产品";
|
|
4
|
+
readonly value: 34;
|
|
5
|
+
readonly color: "var(--aot-config-primary)";
|
|
6
|
+
}, {
|
|
7
|
+
readonly id: "design";
|
|
8
|
+
readonly label: "设计";
|
|
9
|
+
readonly value: 22;
|
|
10
|
+
readonly color: "#8b5cf6";
|
|
11
|
+
}, {
|
|
12
|
+
readonly id: "eng";
|
|
13
|
+
readonly label: "研发";
|
|
14
|
+
readonly value: 28;
|
|
15
|
+
readonly color: "#14b8a6";
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "ops";
|
|
18
|
+
readonly label: "运营";
|
|
19
|
+
readonly value: 16;
|
|
20
|
+
readonly color: "#f59e0b";
|
|
21
|
+
}];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Finger Δy → list offset: y = x / (1 + x/K). At x=100 → y≈50. */
|
|
2
|
+
export declare const PTR_DAMP_K = 100;
|
|
3
|
+
/** List offset (px) that arms refresh. */
|
|
4
|
+
export declare const PTR_THRESHOLD = 70;
|
|
5
|
+
/** Resting offset while loading. */
|
|
6
|
+
export declare const PTR_REFRESH_REST = 60;
|
|
7
|
+
/** Simulated refresh duration. */
|
|
8
|
+
export declare const PTR_REFRESH_MS = 1200;
|
|
9
|
+
/** Ignore tiny moves until this many px of finger travel. */
|
|
10
|
+
export declare const PTR_DRAG_THRESHOLD_PX = 6;
|
|
11
|
+
/** Underdamped spring (px space) — soft overshoot then settle. */
|
|
12
|
+
export declare const PTR_SPRING_STIFFNESS = 260;
|
|
13
|
+
export declare const PTR_SPRING_DAMPING = 22;
|
|
14
|
+
export declare const PTR_SETTLE_POS = 0.45;
|
|
15
|
+
export declare const PTR_SETTLE_VEL = 0.08;
|
|
16
|
+
export declare const PTR_OVERSHOOT_MAX = 14;
|
|
17
|
+
export declare const PTR_HINT_PULL = "\u4E0B\u62C9\u5237\u65B0";
|
|
18
|
+
export declare const PTR_HINT_RELEASE = "\u677E\u624B\u5237\u65B0";
|
|
19
|
+
export declare const PTR_HINT_LOADING = "\u6B63\u5728\u5237\u65B0";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PointerEvent as ReactPointerEvent } from 'react';
|
|
2
|
+
import { PullPhase } from '../types';
|
|
3
|
+
type Options = {
|
|
4
|
+
onRefresh?: () => void | Promise<void>;
|
|
5
|
+
onRefreshComplete?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function usePullToRefresh({ onRefresh, onRefreshComplete }: Options): {
|
|
8
|
+
scrollerRef: import('react').RefObject<HTMLDivElement | null>;
|
|
9
|
+
offset: number;
|
|
10
|
+
phase: PullPhase;
|
|
11
|
+
onPointerDown: (event: ReactPointerEvent<HTMLDivElement>) => void;
|
|
12
|
+
onPointerMove: (event: ReactPointerEvent<HTMLDivElement>) => void;
|
|
13
|
+
onPointerUp: (event: ReactPointerEvent<HTMLDivElement>) => void;
|
|
14
|
+
onPointerCancel: (event: ReactPointerEvent<HTMLDivElement>) => void;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function clamp(value: number, min: number, max: number): number;
|
|
2
|
+
/**
|
|
3
|
+
* Rubber-band damping: finger 100px → list ~50px, progressively harder.
|
|
4
|
+
* y = x / (1 + x/K), K=100 → y(100)=50, asymptote → K.
|
|
5
|
+
*/
|
|
6
|
+
export declare function dampPull(fingerDelta: number): number;
|
|
7
|
+
/** Arrow rotation degrees: tracks pull, flips fully once past threshold. */
|
|
8
|
+
export declare function arrowRotation(offset: number): number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type PullPhase = "idle" | "pulling" | "armed" | "refreshing" | "settling";
|
|
3
|
+
export type PtrItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
meta: string;
|
|
7
|
+
};
|
|
8
|
+
export type PullToRefreshProps = {
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Optional custom list; defaults to a built-in demo feed. */
|
|
11
|
+
items?: PtrItem[];
|
|
12
|
+
/** Called when refresh starts; resolve to finish early (else 1.2s). */
|
|
13
|
+
onRefresh?: () => void | Promise<void>;
|
|
14
|
+
/** Render each row; defaults to a simple card. */
|
|
15
|
+
renderItem?: (item: PtrItem, flashing: boolean) => ReactNode;
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export type QRCodeStatus = "active" | "loading" | "expired" | "scanned";
|
|
3
|
+
export type QRCodeProps = {
|
|
4
|
+
value: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
/** Quiet zone / margin modules. */
|
|
7
|
+
margin?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
bgColor?: string;
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
status?: QRCodeStatus;
|
|
12
|
+
statusRender?: () => ReactNode;
|
|
13
|
+
onRefresh?: () => void;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
/** Error correction level. */
|
|
17
|
+
level?: "L" | "M" | "Q" | "H";
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Digit slide duration (ms). */
|
|
2
|
+
export declare const STEPPER_SLIDE_MS = 220;
|
|
3
|
+
/** Button press bounce window (ms). */
|
|
4
|
+
export declare const STEPPER_PRESS_MS = 160;
|
|
5
|
+
/** Long-press delay before auto-increment starts (ms). */
|
|
6
|
+
export declare const STEPPER_HOLD_DELAY_MS = 500;
|
|
7
|
+
/** Initial auto-repeat interval (ms). */
|
|
8
|
+
export declare const STEPPER_REPEAT_START_MS = 180;
|
|
9
|
+
/** Fastest auto-repeat interval (ms). */
|
|
10
|
+
export declare const STEPPER_REPEAT_MIN_MS = 48;
|
|
11
|
+
/** Interval shrink factor each tick while holding. */
|
|
12
|
+
export declare const STEPPER_REPEAT_ACCEL = 0.86;
|
|
13
|
+
export declare const STEPPER_DEFAULT_MIN = 1;
|
|
14
|
+
export declare const STEPPER_DEFAULT_MAX = 99;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type UseHoldRepeatOptions = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
onTick: () => void;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* After holding 0.5s, fires onTick repeatedly with accelerating interval.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useHoldRepeat({ enabled, onTick }: UseHoldRepeatOptions): {
|
|
9
|
+
start: () => void;
|
|
10
|
+
stop: () => void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type QuantityStepperProps = {
|
|
2
|
+
value?: number;
|
|
3
|
+
defaultValue?: number;
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
"aria-label"?: string;
|
|
9
|
+
onChange?: (value: number) => void;
|
|
10
|
+
};
|
|
11
|
+
export type SlideDirection = "up" | "down" | null;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { RadioGroupProps } from '../types';
|
|
2
|
+
export declare function RadioGroup({ options, optionProps, value: valueProp, defaultValue, name, id, "aria-label": ariaLabel, disabled, direction, optionType, type, border, size, fill, textColor, className, children, onChange, }: RadioGroupProps): import('react').JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Radio } from './components/Radio';
|
|
2
|
+
export { RadioButton } from './components/RadioButton';
|
|
3
|
+
export { RadioGroup } from './components/RadioGroup';
|
|
4
|
+
export type { RadioProps, RadioButtonProps, RadioGroupProps, RadioOption, RadioOptionPropsMap, RadioValue, RadioSize, RadioOptionType, } from './types';
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type RadioValue = string | number | boolean;
|
|
3
|
+
/** 项目约定 sm/md/lg;兼容 Form / Element 的 small/default/large */
|
|
4
|
+
export type RadioSize = "sm" | "md" | "lg" | "small" | "default" | "large";
|
|
5
|
+
export type RadioOptionType = "default" | "button" | "radio";
|
|
6
|
+
/** options 字段别名,对齐 Element props */
|
|
7
|
+
export type RadioOptionPropsMap = {
|
|
8
|
+
value?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
disabled?: string;
|
|
11
|
+
};
|
|
12
|
+
export type RadioOption = {
|
|
13
|
+
value: RadioValue;
|
|
14
|
+
label: ReactNode;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
export type RadioProps = {
|
|
19
|
+
/**
|
|
20
|
+
* 单选框的值(对齐 Element value;不使用 label 充当 value)
|
|
21
|
+
*/
|
|
22
|
+
value: RadioValue;
|
|
23
|
+
/**
|
|
24
|
+
* 单独使用时的选中态;在 RadioGroup 内由组控制
|
|
25
|
+
*/
|
|
26
|
+
checked?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* 单独使用时的默认选中
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
defaultChecked?: boolean;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 是否显示边框
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
border?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 尺寸;边框或按钮形态时更明显
|
|
40
|
+
*/
|
|
41
|
+
size?: RadioSize;
|
|
42
|
+
name?: string;
|
|
43
|
+
className?: string;
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
onChange?: (value: RadioValue) => void;
|
|
46
|
+
};
|
|
47
|
+
export type RadioButtonProps = {
|
|
48
|
+
value: RadioValue;
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
name?: string;
|
|
51
|
+
className?: string;
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
};
|
|
54
|
+
export type RadioGroupProps = {
|
|
55
|
+
/**
|
|
56
|
+
* 选项数据源;与 children 二选一,优先 children
|
|
57
|
+
*/
|
|
58
|
+
options?: RadioOption[] | Record<string, unknown>[];
|
|
59
|
+
/**
|
|
60
|
+
* options 字段别名(对齐 Element props)
|
|
61
|
+
* @default { value: "value", label: "label", disabled: "disabled" }
|
|
62
|
+
*/
|
|
63
|
+
optionProps?: RadioOptionPropsMap;
|
|
64
|
+
value?: RadioValue;
|
|
65
|
+
defaultValue?: RadioValue;
|
|
66
|
+
name?: string;
|
|
67
|
+
id?: string;
|
|
68
|
+
"aria-label"?: string;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
direction?: "horizontal" | "vertical";
|
|
71
|
+
/**
|
|
72
|
+
* 选项形态;options 模式下生效(对齐 Element type)
|
|
73
|
+
* @default "radio"
|
|
74
|
+
*/
|
|
75
|
+
optionType?: RadioOptionType;
|
|
76
|
+
/**
|
|
77
|
+
* 同 optionType;Element 2.11.5 API
|
|
78
|
+
*/
|
|
79
|
+
type?: RadioOptionType;
|
|
80
|
+
/**
|
|
81
|
+
* 为 options / 子 Radio 加上边框(也可在单个 Radio 上设)
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
border?: boolean;
|
|
85
|
+
/** 组尺寸,作用于边框 Radio / 按钮 Radio */
|
|
86
|
+
size?: RadioSize;
|
|
87
|
+
/**
|
|
88
|
+
* 按钮形态激活填充色
|
|
89
|
+
* @default 主题主色
|
|
90
|
+
*/
|
|
91
|
+
fill?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 按钮形态激活文字色
|
|
94
|
+
* @default #ffffff
|
|
95
|
+
*/
|
|
96
|
+
textColor?: string;
|
|
97
|
+
className?: string;
|
|
98
|
+
children?: ReactNode;
|
|
99
|
+
onChange?: (value: RadioValue) => void;
|
|
100
|
+
};
|
|
101
|
+
export type RadioContextValue = {
|
|
102
|
+
name: string;
|
|
103
|
+
value: RadioValue | undefined;
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
size?: RadioSize;
|
|
106
|
+
border: boolean;
|
|
107
|
+
optionType: RadioOptionType;
|
|
108
|
+
fill?: string;
|
|
109
|
+
textColor?: string;
|
|
110
|
+
onSelect: (value: RadioValue) => void;
|
|
111
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { RangePickerProps } from '../types';
|
|
2
|
+
export declare function RangePicker({ value: valueProp, defaultValue, placeholder, disabled, clearable, format, rangeSeparator, unlinkPanels, singlePanel, disabledDate, shortcuts, className, onChange, onCalendarChange, onVisibleChange, }: RangePickerProps): import('react').JSX.Element;
|