@unicom-cloud/ui 0.8.100 → 0.8.101

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.
Files changed (188) hide show
  1. package/Details.js +13 -2
  2. package/Divider.js +3 -2
  3. package/Flex.js +14 -4
  4. package/Loading.js +16 -3
  5. package/Space.js +3 -3
  6. package/Splitter.js +4 -3
  7. package/SuspenseFallbackTest.js +2 -4
  8. package/alert/index.js +60 -62
  9. package/back-top/index.js +32 -33
  10. package/calendar/index.js +85 -84
  11. package/components/common/development/index.js +44 -29
  12. package/components/common/empty/index.js +35 -23
  13. package/components/common/flex/index.js +64 -0
  14. package/components/common/flex/interface.js +9 -0
  15. package/components/common/higher-order/with-speech-synthesis/index.js +79 -55
  16. package/components/common/space/index.js +71 -91
  17. package/components/common/suspense-fallback-test/index.js +16 -0
  18. package/components/common/utils/toArray.js +12 -0
  19. package/details/index.js +102 -62
  20. package/divider/index.js +27 -21
  21. package/empty/index.js +13 -13
  22. package/flex/index.js +43 -55
  23. package/flex/interface.js +1 -34
  24. package/icon/interface.js +1 -0
  25. package/icon-hover/interface.js +1 -0
  26. package/index.js +537 -536
  27. package/loading/index.js +72 -53
  28. package/loading/interface.js +1 -0
  29. package/modal/Modal.js +73 -74
  30. package/package.json +1 -1
  31. package/portal/interface.js +1 -0
  32. package/segmented/index.js +47 -47
  33. package/space/index.js +41 -35
  34. package/speech-synthesis/interface.js +1 -0
  35. package/splitter/Splitter.js +85 -89
  36. package/splitter/hooks/useItems.js +1 -1
  37. package/splitter/index.js +5 -4
  38. package/style.css +1 -1
  39. package/suspense-fallback-test/index.js +2 -11
  40. package/suspense-fallback-test/interface.js +1 -0
  41. package/table/Table.js +38 -38
  42. package/trigger/index.js +67 -70
  43. package/types/common/development/index.d.ts +7 -1
  44. package/types/common/development/interface.d.ts +22 -0
  45. package/types/common/empty/index.d.ts +2 -1
  46. package/types/common/flex/index.d.ts +14 -0
  47. package/types/common/flex/interface.d.ts +62 -0
  48. package/types/common/higher-order/with-speech-synthesis/index.d.ts +6 -1
  49. package/types/common/higher-order/with-speech-synthesis/interface.d.ts +13 -0
  50. package/types/common/space/index.d.ts +4 -4
  51. package/types/common/space/interface.d.ts +10 -18
  52. package/types/common/suspense-fallback-test/index.d.ts +7 -0
  53. package/types/common/suspense-fallback-test/interface.d.ts +1 -0
  54. package/types/common/utils/PqbCSSTransition.d.ts +1 -1
  55. package/types/common/utils/toArray.d.ts +13 -0
  56. package/types/pc/alert/index.d.ts +2 -1
  57. package/types/pc/alert/interface.d.ts +7 -1
  58. package/types/pc/badge/Count.d.ts +1 -1
  59. package/types/pc/breadcrumb/Item.d.ts +1 -1
  60. package/types/pc/calendar/Month.d.ts +1 -1
  61. package/types/pc/calendar/WeekList.d.ts +1 -1
  62. package/types/pc/calendar/Year.d.ts +1 -1
  63. package/types/pc/calendar/header/Panel.d.ts +1 -1
  64. package/types/pc/calendar/header/index.d.ts +1 -1
  65. package/types/pc/calendar/index.d.ts +1 -1
  66. package/types/pc/calendar/interface.d.ts +2 -1
  67. package/types/pc/cascader/interface.d.ts +1 -1
  68. package/types/pc/cascader/panel/List.d.ts +1 -1
  69. package/types/pc/cascader/panel/Option.d.ts +1 -1
  70. package/types/pc/cascader/panel/Search.d.ts +1 -1
  71. package/types/pc/checkbox/Group.d.ts +2 -2
  72. package/types/pc/checkbox/GroupBlock.d.ts +1 -1
  73. package/types/pc/checkbox/IconCheck.d.ts +1 -1
  74. package/types/pc/color-picker/InputRgb.d.ts +1 -1
  75. package/types/pc/color-picker/Palette.d.ts +1 -1
  76. package/types/pc/config-provider/ConfigProvider.d.ts +1 -1
  77. package/types/pc/config-provider/interface.d.ts +4 -0
  78. package/types/pc/copy/index.d.ts +1 -1
  79. package/types/pc/date-picker/panel/Body.d.ts +1 -1
  80. package/types/pc/date-picker/panel/Footer.d.ts +1 -1
  81. package/types/pc/date-picker/panel/Header.d.ts +1 -1
  82. package/types/pc/date-picker/panel/WeekList.d.ts +1 -1
  83. package/types/pc/date-picker/panel/date/index.d.ts +1 -1
  84. package/types/pc/date-picker/panel/month/index.d.ts +1 -1
  85. package/types/pc/date-picker/panel/quarter/index.d.ts +1 -1
  86. package/types/pc/date-picker/panel/range/index.d.ts +1 -1
  87. package/types/pc/date-picker/panel/week/index.d.ts +1 -1
  88. package/types/pc/date-picker/panel/year/index.d.ts +1 -1
  89. package/types/pc/descriptions/index.d.ts +1 -1
  90. package/types/pc/details/index.d.ts +3 -2
  91. package/types/pc/details/interface.d.ts +16 -0
  92. package/types/pc/development/index.d.ts +2 -1
  93. package/types/pc/development/interface.d.ts +15 -0
  94. package/types/pc/divider/index.d.ts +7 -2
  95. package/types/pc/draggable/Item.d.ts +1 -1
  96. package/types/pc/draggable/index.d.ts +1 -1
  97. package/types/pc/flex/index.d.ts +4 -4
  98. package/types/pc/flex/interface.d.ts +8 -53
  99. package/types/pc/form/Control.d.ts +1 -1
  100. package/types/pc/form/FormList.d.ts +1 -1
  101. package/types/pc/form/IconSymbol.d.ts +1 -1
  102. package/types/pc/icon/addFromIconFontCn.d.ts +1 -7
  103. package/types/pc/icon/index.d.ts +2 -7
  104. package/types/pc/icon/interface.d.ts +13 -0
  105. package/types/pc/icon-hover/index.d.ts +2 -8
  106. package/types/pc/icon-hover/interface.d.ts +8 -0
  107. package/types/pc/image/ImageFooter.d.ts +1 -1
  108. package/types/pc/image/ImagePreviewArrow.d.ts +1 -1
  109. package/types/pc/image/TriggerForToolbar.d.ts +1 -1
  110. package/types/pc/index.d.ts +60 -51
  111. package/types/pc/loading/index.d.ts +4 -3
  112. package/types/pc/loading/interface.d.ts +6 -0
  113. package/types/pc/menu/Indent.d.ts +1 -1
  114. package/types/pc/menu/OverflowWrap.d.ts +1 -1
  115. package/types/pc/menu/sub-menu/Inline.d.ts +1 -1
  116. package/types/pc/menu/sub-menu/Pop.d.ts +1 -1
  117. package/types/pc/overflow-ellipsis/OverflowItem.d.ts +1 -1
  118. package/types/pc/overflow-ellipsis/index.d.ts +1 -1
  119. package/types/pc/pagination/PageItem.d.ts +3 -3
  120. package/types/pc/pagination/PageJumper.d.ts +1 -1
  121. package/types/pc/pagination/PageOption.d.ts +1 -1
  122. package/types/pc/portal/Portal.d.ts +2 -6
  123. package/types/pc/portal/index.d.ts +2 -9
  124. package/types/pc/portal/interface.d.ts +14 -0
  125. package/types/pc/progress/CircleProgress.d.ts +1 -1
  126. package/types/pc/progress/LineProgess.d.ts +1 -1
  127. package/types/pc/progress/StepProgress.d.ts +1 -1
  128. package/types/pc/radio/Group.d.ts +2 -2
  129. package/types/pc/radio/GroupBlock.d.ts +1 -1
  130. package/types/pc/radio/Radio.d.ts +1 -1
  131. package/types/pc/resize-box/ResizeTrigger.d.ts +1 -1
  132. package/types/pc/result/403.d.ts +1 -1
  133. package/types/pc/result/404.d.ts +1 -1
  134. package/types/pc/result/500.d.ts +1 -1
  135. package/types/pc/segmented/interface.d.ts +6 -6
  136. package/types/pc/skeleton/Image.d.ts +1 -1
  137. package/types/pc/skeleton/Text.d.ts +2 -1
  138. package/types/pc/slider/Button.d.ts +1 -1
  139. package/types/pc/slider/Input.d.ts +1 -1
  140. package/types/pc/slider/Tick.d.ts +1 -1
  141. package/types/pc/space/index.d.ts +6 -5
  142. package/types/pc/speech-synthesis/index.d.ts +3 -1
  143. package/types/pc/speech-synthesis/interface.d.ts +7 -0
  144. package/types/pc/spin/DotLoading.d.ts +1 -1
  145. package/types/pc/splitter/index.d.ts +5 -4
  146. package/types/pc/splitter/interface.d.ts +16 -16
  147. package/types/pc/suspense-fallback-test/index.d.ts +2 -3
  148. package/types/pc/suspense-fallback-test/interface.d.ts +2 -0
  149. package/types/pc/table/ColGroup.d.ts +1 -1
  150. package/types/pc/table/summary/Cell.d.ts +1 -1
  151. package/types/pc/table/summary/Row.d.ts +1 -1
  152. package/types/pc/table/tbody/Td.d.ts +1 -1
  153. package/types/pc/table/tbody/index.d.ts +1 -1
  154. package/types/pc/table/tfoot/index.d.ts +1 -1
  155. package/types/pc/table/th-resizable/index.d.ts +1 -1
  156. package/types/pc/table/thead/Column.d.ts +1 -1
  157. package/types/pc/table/thead/index.d.ts +1 -1
  158. package/types/pc/tabs/TabContent.d.ts +1 -1
  159. package/types/pc/tabs/tab-header/DropdownIcon.d.ts +1 -1
  160. package/types/pc/tabs/tab-header/TabInk.d.ts +1 -1
  161. package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
  162. package/types/pc/time-picker/Picker.d.ts +1 -1
  163. package/types/pc/time-picker/RangePicker.d.ts +1 -1
  164. package/types/pc/time-picker/TimeColumn.d.ts +1 -1
  165. package/types/pc/time-picker/TimePicker.d.ts +1 -1
  166. package/types/pc/time-picker/index.d.ts +1 -1
  167. package/types/pc/transfer/Item.d.ts +1 -1
  168. package/types/pc/transfer/List.d.ts +1 -1
  169. package/types/pc/tree/Animation.d.ts +1 -1
  170. package/types/pc/typography/Operations.d.ts +1 -1
  171. package/types/pc/upload/list/index.d.ts +1 -1
  172. package/types/pc/utils/toArray.d.ts +1 -5
  173. package/types/pc/verification-code/VerificationCode.d.ts +1 -1
  174. package/types/pc/virtual-list/VirtualList.d.ts +2 -38
  175. package/types/pc/virtual-list/index.d.ts +2 -1
  176. package/types/pc/virtual-list/interface.d.ts +56 -0
  177. package/types/pc/watermark/Watermark.d.ts +1 -1
  178. package/utils/index.js +1 -1
  179. package/utils/toArray.js +3 -10
  180. package/version/index.js +1 -1
  181. package/virtual-list/interface.js +1 -0
  182. package/components/common/space/toArray.js +0 -11
  183. package/flex/utils.js +0 -13
  184. package/loading/style/index.module.less.js +0 -4
  185. package/types/common/space/toArray.d.ts +0 -3
  186. package/types/pc/flex/utils.d.ts +0 -9
  187. package/types/pc/suspense-fallback-test/style/index.d.ts +0 -1
  188. /package/{suspense-fallback-test/style/index.less.js → development/interface.js} +0 -0
@@ -7,5 +7,5 @@ interface ImagePreviewArrowProps {
7
7
  onPrev?: () => void;
8
8
  onNext?: () => void;
9
9
  }
10
- declare function ImagePreviewArrow(props: ImagePreviewArrowProps): import("react/jsx-dev-runtime").JSX.Element;
10
+ declare function ImagePreviewArrow(props: ImagePreviewArrowProps): import("react/jsx-runtime").JSX.Element;
11
11
  export default ImagePreviewArrow;
@@ -6,5 +6,5 @@ interface TriggerForToolbarProps {
6
6
  prefixCls: string | undefined;
7
7
  popup: TriggerProps['popup'];
8
8
  }
9
- export declare const TriggerForToolbar: (props: PropsWithChildren<TriggerForToolbarProps>) => import("react/jsx-dev-runtime").JSX.Element;
9
+ export declare const TriggerForToolbar: (props: PropsWithChildren<TriggerForToolbarProps>) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1,104 +1,112 @@
1
1
  export * from './hooks';
2
2
  export * from './utils';
3
3
  export { default as Affix } from './affix';
4
- export { default as Alert } from './alert';
5
- export { default as Anchor, AnchorLink, findAnchorLinkNode } from './anchor';
6
- export { default as AutoComplete, AutoCompleteOptGroup, AutoCompleteOption, } from './auto-complete';
7
- export { default as Avatar, AvatarGroup } from './avatar';
8
- export { default as BackTop } from './back-top';
9
- export { default as Badge, BADGE_COLORS, BADGE_STATUS, BadgeCount, } from './badge';
10
- export { default as Breadcrumb, BreadcrumbItem } from './breadcrumb';
11
- export { default as Button, BUTTON_STATUS, BUTTON_TYPE, ButtonGroup, } from './button';
12
- export { default as Calendar, CalendarMonth, CalendarYear } from './calendar';
13
- export { default as Card, CardGrid, CardMeta } from './card';
14
- export { default as Carousel } from './carousel';
15
- export { default as Cascader } from './cascader';
16
- export { default as Checkbox, CheckboxGroup, CheckboxGroupBlock, useCheckbox, } from './checkbox';
17
- export { default as Collapse, CollapseItem } from './collapse';
18
- export { default as Comment } from './comment';
19
- export { ConfigConsumer, ConfigContext, default as ConfigProvider, ConfigProviderDefaultProps, } from './config-provider';
20
- export { default as Copy } from './copy';
21
- export { default as DatePicker, DatePickerMonth, DatePickerQuarter, DatePickerRange, DatePickerWeek, DatePickerYear, } from './date-picker';
22
- export { default as Descriptions } from './descriptions';
23
- export { default as Details } from './details';
24
- export { default as Development } from './development';
25
- export { default as Divider } from './divider';
26
- export { default as Drawer } from './drawer';
27
- export { default as Dropdown, DropdownButton } from './dropdown';
28
- export { default as Empty } from './empty';
29
- export { default as Form, FormControl, FormItem, FormList, FormProvider, useForm, useFormContext, useFormState, useFormWatch, } from './form';
30
- export { Col, default as Grid, GridCol, GridItem, GridRow, Row } from './grid';
31
- export { addFromIconFontCn, default as Icon, IconContext, useIconProps, } from './icon';
32
- export { default as IconFile } from './icons/file';
33
- export { default as Image, ImagePreview, ImagePreviewGroup } from './image';
34
- export { default as Input, InputButton, InputGroup, InputPassword, InputSearch, InputTextArea, TextArea, } from './input';
35
- export { default as InputNumber } from './input-number';
36
- export { default as InputTag } from './input-tag';
37
- export { default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, } from './layout';
38
- export { default as Link } from './link';
39
- export { default as List, ListItem } from './list';
40
- export { default as Mentions } from './mentions';
41
- export { default as Menu, MenuItem, MenuItemGroup, MenuSubMenu, SubMenu, } from './menu';
42
- export { default as Message, useMessage } from './message';
43
- export { default as Modal } from './modal';
44
- export { default as Notification, useNotification } from './notification';
45
- export { default as PageHeader } from './page-header';
46
- export { default as Pagination } from './pagination';
47
- export { default as Popconfirm } from './popconfirm';
48
- export { default as Popover } from './popover';
49
- export { default as Portal } from './portal';
50
- export { default as Progress } from './progress';
51
4
  export type { AffixProps } from './affix/interface';
5
+ export { default as Alert } from './alert';
52
6
  export type { AlertProps } from './alert/interface';
7
+ export { default as Anchor, AnchorLink, findAnchorLinkNode } from './anchor';
53
8
  export type { AnchorLinkProps, AnchorProps } from './anchor/interface';
9
+ export { default as AutoComplete, AutoCompleteOptGroup, AutoCompleteOption, } from './auto-complete';
54
10
  export type { AutoCompleteProps } from './auto-complete/interface';
11
+ export { default as Avatar, AvatarGroup } from './avatar';
55
12
  export type { AvatarGroupProps, AvatarProps } from './avatar/interface';
13
+ export { default as BackTop } from './back-top';
56
14
  export type { BackTopProps } from './back-top/interface';
15
+ export { default as Badge, BADGE_COLORS, BADGE_STATUS, BadgeCount, } from './badge';
57
16
  export type { BadgeProps } from './badge/interface';
17
+ export { default as Breadcrumb, BreadcrumbItem } from './breadcrumb';
58
18
  export type { BreadCrumbItemProps, BreadcrumbProps, } from './breadcrumb/interface';
19
+ export { default as Button, BUTTON_STATUS, BUTTON_TYPE, ButtonGroup, } from './button';
59
20
  export type { ButtonGroupProps, ButtonProps } from './button/interface';
21
+ export { default as Calendar, CalendarMonth, CalendarYear } from './calendar';
60
22
  export type { CalendarProps } from './calendar/interface';
23
+ export { default as Card, CardGrid, CardMeta } from './card';
61
24
  export type { CardGridProps, CardMetaProps, CardProps } from './card/interface';
25
+ export { default as Carousel } from './carousel';
62
26
  export type { CarouselProps } from './carousel/interface';
27
+ export { default as Cascader } from './cascader';
63
28
  export type { CascaderProps } from './cascader/interface';
29
+ export { default as Checkbox, CheckboxGroup, CheckboxGroupBlock, useCheckbox, } from './checkbox';
64
30
  export type { CheckboxGroupProps, CheckboxProps } from './checkbox/interface';
31
+ export { default as Collapse, CollapseItem } from './collapse';
65
32
  export type { CollapseItemProps, CollapseProps } from './collapse/interface';
66
33
  export { default as ColorPicker, ColorPickerPanel } from './color-picker';
67
34
  export type { ColorPickerProps } from './color-picker/interface';
35
+ export { default as Comment } from './comment';
68
36
  export type { CommentProps } from './comment/interface';
37
+ export { ConfigConsumer, ConfigContext, default as ConfigProvider, ConfigProviderDefaultProps, } from './config-provider';
69
38
  export type { ConfigProviderProps } from './config-provider/interface';
39
+ export { default as Copy } from './copy';
40
+ export type { CopyProps } from './copy/interface';
41
+ export { default as DatePicker, DatePickerMonth, DatePickerQuarter, DatePickerRange, DatePickerWeek, DatePickerYear, } from './date-picker';
70
42
  export type { DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps, } from './date-picker/interface';
43
+ export { default as Descriptions } from './descriptions';
71
44
  export type { DescriptionsProps } from './descriptions/interface';
45
+ export { default as Details } from './details';
46
+ export type { DetailsProps } from './details/interface';
47
+ export { default as Development } from './development';
48
+ export type { DevelopmentProps } from './development/interface';
49
+ export { default as Divider, DividerVertical } from './divider';
72
50
  export type { DividerProps } from './divider/interface';
51
+ export { default as Drawer } from './drawer';
73
52
  export type { DrawerProps } from './drawer/interface';
53
+ export { default as Dropdown, DropdownButton } from './dropdown';
74
54
  export type { DropdownButtonProps, DropdownProps } from './dropdown/interface';
55
+ export { default as Empty } from './empty';
75
56
  export type { EmptyProps } from './empty/interface';
76
57
  export { default as Flex, FlexVertical } from './flex';
77
58
  export type { FlexProps } from './flex/interface';
59
+ export { default as Form, FormControl, FormItem, FormList, FormProvider, useForm, useFormContext, useFormState, useFormWatch, } from './form';
78
60
  export type { FormInstance, FormItemProps, FormListProps, FormProps, RulesProps, } from './form/interface';
61
+ export { Col, default as Grid, GridCol, GridItem, GridRow, Row } from './grid';
79
62
  export type { ColProps, GridItemProps, GridProps, RowProps, } from './grid/interface';
63
+ export { addFromIconFontCn, default as Icon, IconContext, useIconProps, } from './icon';
80
64
  export { default as IconHover } from './icon-hover';
65
+ export type { IconHoverProps } from './icon-hover/interface';
66
+ export type { IconProps } from './icon/interface';
67
+ export { default as IconFile } from './icons/file';
68
+ export type { IconFileProps } from './icons/file/interface';
69
+ export { default as Image, ImagePreview, ImagePreviewGroup } from './image';
81
70
  export type { ImagePreviewActionProps, ImagePreviewGroupProps, ImagePreviewProps, ImageProps, } from './image/interface';
71
+ export { default as Input, InputButton, InputGroup, InputPassword, InputSearch, InputTextArea, TextArea, } from './input';
72
+ export { default as InputNumber } from './input-number';
82
73
  export type { InputNumberProps } from './input-number/interface';
74
+ export { default as InputTag } from './input-tag';
83
75
  export type { InputTagProps } from './input-tag/interface';
84
76
  export type { InputProps, TextAreaProps } from './input/interface';
77
+ export { default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, } from './layout';
85
78
  export type { ContentProps, FooterProps, HeaderProps, LayoutProps, SiderProps, } from './layout/interface';
79
+ export { default as Link } from './link';
86
80
  export type { LinkProps } from './link/interface';
87
81
  export { default as LiquidFill } from './liquid-fill';
88
82
  export type { LiquidFillProps } from './liquid-fill';
83
+ export { default as List, ListItem } from './list';
89
84
  export type { ListItemMetaProps, ListItemProps, ListProps, } from './list/interface';
90
85
  export { default as Loading } from './loading';
86
+ export type { LoadingProps } from './loading/interface';
91
87
  export { default as Marquee } from './marquee';
92
88
  export type { MarqueeProps } from './marquee';
89
+ export { default as Mentions } from './mentions';
93
90
  export type { MentionsProps } from './mentions/interface';
91
+ export { default as Menu, MenuItem, MenuItemGroup, MenuSubMenu, SubMenu, } from './menu';
94
92
  export type { MenuItemGroupProps, MenuItemProps, MenuProps, MenuSubMenuProps, } from './menu/interface';
93
+ export { default as Message, useMessage } from './message';
95
94
  export type { MessageHookReturnType, MessageProps } from './message/interface';
95
+ export { default as Modal } from './modal';
96
96
  export type { ModalHookReturnType, ModalProps } from './modal/interface';
97
+ export { default as Notification, useNotification } from './notification';
97
98
  export type { NotificationHookReturnType, NotificationProps, } from './notification/interface';
99
+ export { default as PageHeader } from './page-header';
98
100
  export type { PageHeaderProps } from './page-header/interface';
101
+ export { default as Pagination } from './pagination';
99
102
  export type { PaginationProps } from './pagination/interface';
103
+ export { default as Popconfirm } from './popconfirm';
100
104
  export type { PopconfirmProps } from './popconfirm/interface';
105
+ export { default as Popover } from './popover';
101
106
  export type { PopoverProps } from './popover/interface';
107
+ export { default as Portal } from './portal';
108
+ export type { PortalProps, PortalWrapperProps } from './portal/interface';
109
+ export { default as Progress } from './progress';
102
110
  export type { ProgressProps } from './progress/interface';
103
111
  export { default as QRCode } from './qr-code';
104
112
  export type { QRCodeProps } from './qr-code';
@@ -118,24 +126,24 @@ export { default as Skeleton } from './skeleton';
118
126
  export type { SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/interface';
119
127
  export { default as Slider } from './slider';
120
128
  export type { SliderProps } from './slider/interface';
121
- export { default as Space, default as Space_, // 历史原因,要兼容一些项目的名字
122
- SpaceVertical, SpaceVertical as SpaceVertical_, } from './space';
129
+ export { default as Space, default as Space_, SpaceVertical, } from './space';
123
130
  export type { SpaceGap, SpaceProps } from './space/interface';
124
131
  export { default as SpeechSynthesis } from './speech-synthesis';
132
+ export type { SpeechSynthesisProps } from './speech-synthesis/interface';
125
133
  export { default as Spin } from './spin';
126
134
  export type { SpinProps } from './spin/interface';
127
- export { default as Splitter } from './splitter';
135
+ export { default as Splitter, SplitterPanel } from './splitter';
128
136
  export type { SplitterProps } from './splitter/interface';
129
137
  export { default as Statistic, StatisticCountdown } from './statistic';
130
138
  export type { CountdownProps, StatisticProps } from './statistic/interface';
131
139
  export { default as Steps, StepsItem, StepsStep } from './steps';
132
140
  export type { StepProps, StepsProps } from './steps/interface';
133
141
  export { default as SuspenseFallbackTest } from './suspense-fallback-test';
142
+ export type { SuspenseFallbackTestProps } from './suspense-fallback-test/interface';
134
143
  export { default as Switch } from './switch';
135
144
  export type { SwitchProps } from './switch/interface';
136
145
  export { default as Table, tableDefaultComponent, TableSummary, TableSummaryCell, TableSummaryRow, useTableColumns, useTableComponent, useTableExpand, useTableRowSelection, useTableSorter, useTableStickyClassNames, useTableStickyOffsets, useTableThResizable, } from './table';
137
146
  export type { ColumnProps as TableColumnProps, TableProps, RowSelectionProps as TableRowSelectionProps, } from './table/interface';
138
- export type { TableInstance } from './table/Table';
139
147
  export { TabPane, default as Tabs, TabsTabPane } from './tabs';
140
148
  export type { TabsProps } from './tabs/interface';
141
149
  export { default as Tag, TAG_COLORS } from './tag';
@@ -164,5 +172,6 @@ export { default as VerificationCode } from './verification-code';
164
172
  export type { VerificationCodeProps } from './verification-code/interface';
165
173
  export { VERSION, VERSION_BUILD_DATE, VERSION_BUILD_TIME } from './version';
166
174
  export { default as VirtualList } from './virtual-list';
175
+ export type { VirtualListProps } from './virtual-list/interface';
167
176
  export { default as Watermark } from './watermark';
168
177
  export type { WatermarkProps } from './watermark/interface';
@@ -1,3 +1,4 @@
1
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<any>>;
2
- export default _default;
3
- import React from 'react';
1
+ import type { LoadingProps } from './interface';
2
+ declare const Loading: import("react").ForwardRefExoticComponent<LoadingProps & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default Loading;
4
+ export type { LoadingProps };
@@ -0,0 +1,6 @@
1
+ import type { CSSProperties } from 'react';
2
+ export interface LoadingProps {
3
+ style?: CSSProperties;
4
+ className?: string | string[];
5
+ colors?: string[];
6
+ }
@@ -2,5 +2,5 @@ declare function MenuIndent(props: {
2
2
  prefixCls: string | undefined;
3
3
  level?: number;
4
4
  levelIndent?: number | string;
5
- }): import("react/jsx-dev-runtime").JSX.Element | null;
5
+ }): import("react/jsx-runtime").JSX.Element | null;
6
6
  export default MenuIndent;
@@ -5,5 +5,5 @@ interface OverflowWrapProps {
5
5
  children: ReactNode;
6
6
  onEllipsisChange?: MenuProps['onEllipsisChange'];
7
7
  }
8
- declare const OverflowWrap: (props: OverflowWrapProps) => import("react/jsx-dev-runtime").JSX.Element;
8
+ declare const OverflowWrap: (props: OverflowWrapProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export default OverflowWrap;
@@ -1,5 +1,5 @@
1
1
  import { MenuSubMenuProps } from '../../menu/interface';
2
2
  declare const SubMenuInline: (props: MenuSubMenuProps & {
3
3
  forwardedRef: any;
4
- }) => import("react/jsx-dev-runtime").JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
5
  export default SubMenuInline;
@@ -1,5 +1,5 @@
1
1
  import { MenuSubMenuProps } from '../../menu/interface';
2
2
  declare const SubMenuPop: (props: MenuSubMenuProps & {
3
3
  forwardedRef: any;
4
- }) => import("react/jsx-dev-runtime").JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
5
  export default SubMenuPop;
@@ -6,5 +6,5 @@ interface OverflowItemProps {
6
6
  hidden?: boolean;
7
7
  children: ReactNode;
8
8
  }
9
- declare function OverflowItem(props: OverflowItemProps): import("react/jsx-dev-runtime").JSX.Element;
9
+ declare function OverflowItem(props: OverflowItemProps): import("react/jsx-runtime").JSX.Element;
10
10
  export default OverflowItem;
@@ -7,5 +7,5 @@ interface OverflowEllipsisProps {
7
7
  ellipsisCount: number;
8
8
  }) => ReactNode;
9
9
  }
10
- declare function OverflowEllipsis(props: OverflowEllipsisProps): import("react/jsx-dev-runtime").JSX.Element;
10
+ declare function OverflowEllipsis(props: OverflowEllipsisProps): import("react/jsx-runtime").JSX.Element;
11
11
  export default OverflowEllipsis;
@@ -3,16 +3,16 @@ import { JumpPagerProps, PagerProps, StepPagerProps } from './interface';
3
3
  /**
4
4
  * default pager item
5
5
  */
6
- declare function Pager(props: PagerProps): import("react/jsx-dev-runtime").JSX.Element;
6
+ declare function Pager(props: PagerProps): import("react/jsx-runtime").JSX.Element;
7
7
  /**
8
8
  * preJump or nextJump button
9
9
  * @param props
10
10
  */
11
- export declare const JumpPager: (props: JumpPagerProps) => import("react/jsx-dev-runtime").JSX.Element;
11
+ export declare const JumpPager: (props: JumpPagerProps) => import("react/jsx-runtime").JSX.Element;
12
12
  /**
13
13
  * previous or next button
14
14
  * @param props
15
15
  */
16
- export declare const StepPager: (props: StepPagerProps) => import("react/jsx-dev-runtime").JSX.Element;
16
+ export declare const StepPager: (props: StepPagerProps) => import("react/jsx-runtime").JSX.Element;
17
17
  declare const _default: React.MemoExoticComponent<typeof Pager>;
18
18
  export default _default;
@@ -9,5 +9,5 @@ export interface PageJumperProps {
9
9
  onPageChange?: (value: any) => void;
10
10
  size?: 'mini' | 'small' | 'default' | 'large';
11
11
  }
12
- declare function PageJumper(props: PageJumperProps): import("react/jsx-dev-runtime").JSX.Element;
12
+ declare function PageJumper(props: PageJumperProps): import("react/jsx-runtime").JSX.Element;
13
13
  export default PageJumper;
@@ -10,6 +10,6 @@ export interface PageOptionProps {
10
10
  size?: 'mini' | 'small' | 'default' | 'large';
11
11
  selectProps?: Partial<SelectProps>;
12
12
  }
13
- declare function PageOption(props: PageOptionProps): import("react/jsx-dev-runtime").JSX.Element;
13
+ declare function PageOption(props: PageOptionProps): import("react/jsx-runtime").JSX.Element;
14
14
  declare const _default: React.MemoExoticComponent<typeof PageOption>;
15
15
  export default _default;
@@ -1,8 +1,4 @@
1
- import React, { ReactNode } from 'react';
2
- export interface PortalProps {
3
- /** Portal 挂载的容器 */
4
- getContainer?: () => Element;
5
- children?: ReactNode;
6
- }
1
+ import React from 'react';
2
+ import type { PortalProps } from './interface';
7
3
  declare const _default: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<unknown>>;
8
4
  export default _default;
@@ -1,11 +1,4 @@
1
- import React, { ReactNode } from 'react';
2
- export interface PortalWrapperProps {
3
- /** Portal 挂载的容器 */
4
- getContainer?: () => Element;
5
- childrenComponent?: Element;
6
- forceRender?: boolean;
7
- visible?: boolean;
8
- children?: ReactNode;
9
- }
1
+ import React from 'react';
2
+ import type { PortalWrapperProps } from './interface';
10
3
  declare const _default: React.ForwardRefExoticComponent<PortalWrapperProps & React.RefAttributes<unknown>>;
11
4
  export default _default;
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ export interface PortalProps {
3
+ /** Portal 挂载的容器 */
4
+ getContainer?: () => Element;
5
+ children?: ReactNode;
6
+ }
7
+ export interface PortalWrapperProps {
8
+ /** Portal 挂载的容器 */
9
+ getContainer?: () => Element;
10
+ childrenComponent?: Element;
11
+ forceRender?: boolean;
12
+ visible?: boolean;
13
+ children?: ReactNode;
14
+ }
@@ -4,5 +4,5 @@ declare const CircleProgress: (props: ProgressProps & {
4
4
  width: number;
5
5
  pathStrokeWidth?: number;
6
6
  pathStrokeColor?: string;
7
- }) => import("react/jsx-dev-runtime").JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
8
  export default CircleProgress;
@@ -1,2 +1,2 @@
1
- declare function LineProgress(props: any): import("react/jsx-dev-runtime").JSX.Element;
1
+ declare function LineProgress(props: any): import("react/jsx-runtime").JSX.Element;
2
2
  export default LineProgress;
@@ -1,2 +1,2 @@
1
- export declare const StepProgress: (props: any) => import("react/jsx-dev-runtime").JSX.Element;
1
+ export declare const StepProgress: (props: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default StepProgress;
@@ -1,8 +1,8 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { RadioGroupContextProps, RadioGroupProps } from './interface';
3
3
  export declare const RadioGroupContext: import("react").Context<RadioGroupContextProps>;
4
- export declare const ClearRadioGroupContext: ({ children }: PropsWithChildren<{}>) => import("react/jsx-dev-runtime").JSX.Element;
5
- declare function Group(baseProps: PropsWithChildren<RadioGroupProps>): import("react/jsx-dev-runtime").JSX.Element;
4
+ export declare const ClearRadioGroupContext: ({ children }: PropsWithChildren<{}>) => import("react/jsx-runtime").JSX.Element;
5
+ declare function Group(baseProps: PropsWithChildren<RadioGroupProps>): import("react/jsx-runtime").JSX.Element;
6
6
  declare namespace Group {
7
7
  var displayName: string;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupContextProps, RadioGroupProps } from './interface';
2
- declare function RadioGroupBlock(baseProps: any): import("react/jsx-dev-runtime").JSX.Element;
2
+ declare function RadioGroupBlock(baseProps: any): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace RadioGroupBlock {
4
4
  var displayName: string;
5
5
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import RadioGroup, { RadioGroupContext } from './Group';
3
3
  import RadioGroupBlock from './GroupBlock';
4
4
  import { RadioProps } from './interface';
5
- declare function Radio(baseProps: RadioProps): import("react/jsx-dev-runtime").JSX.Element;
5
+ declare function Radio(baseProps: RadioProps): import("react/jsx-runtime").JSX.Element;
6
6
  declare namespace Radio {
7
7
  var __PQB_RADIO: boolean;
8
8
  var displayName: string;
@@ -27,5 +27,5 @@ export interface ResizeTriggerProps {
27
27
  };
28
28
  renderChildren?: (prev: ReactNode, trigger: ReactNode, next: ReactNode) => ReactNode;
29
29
  }
30
- declare function ResizeTrigger(props: PropsWithChildren<ResizeTriggerProps>): import("react/jsx-dev-runtime").JSX.Element;
30
+ declare function ResizeTrigger(props: PropsWithChildren<ResizeTriggerProps>): import("react/jsx-runtime").JSX.Element;
31
31
  export default ResizeTrigger;
@@ -1,2 +1,2 @@
1
- declare function Image403(): import("react/jsx-dev-runtime").JSX.Element;
1
+ declare function Image403(): import("react/jsx-runtime").JSX.Element;
2
2
  export default Image403;
@@ -1,2 +1,2 @@
1
- declare function Image404(): import("react/jsx-dev-runtime").JSX.Element;
1
+ declare function Image404(): import("react/jsx-runtime").JSX.Element;
2
2
  export default Image404;
@@ -1,2 +1,2 @@
1
- declare function Image500(): import("react/jsx-dev-runtime").JSX.Element;
1
+ declare function Image500(): import("react/jsx-runtime").JSX.Element;
2
2
  export default Image500;
@@ -37,16 +37,11 @@ export interface SegmentedProps {
37
37
  * @description 受控模式下使用
38
38
  */
39
39
  value?: string;
40
- /**
41
- * 变化时的回调函数
42
- * @param value - 当前选中的值
43
- */
44
- onChange?: (value: string) => void;
45
40
  /**
46
41
  * 尺寸
47
42
  * @defaultValue 'medium'
48
43
  */
49
- size?: 'small' | 'medium' | 'large';
44
+ size?: 'mini' | 'small' | 'medium' | 'large';
50
45
  /**
51
46
  * 样式类型
52
47
  * @defaultValue 'default'
@@ -85,4 +80,9 @@ export interface SegmentedProps {
85
80
  * @description 用于表单提交和键盘导航
86
81
  */
87
82
  name?: string;
83
+ /**
84
+ * 变化时的回调函数
85
+ * @param value - 当前选中的值
86
+ */
87
+ onChange?: (value: string) => void;
88
88
  }
@@ -1,3 +1,3 @@
1
1
  import { SkeletonImageProps } from './interface';
2
- declare function image(props: SkeletonImageProps): import("react/jsx-dev-runtime").JSX.Element;
2
+ declare function image(props: SkeletonImageProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default image;
@@ -1,3 +1,4 @@
1
+ import { JSX } from 'react/jsx-runtime';
1
2
  import { SkeletonTextProps } from './interface';
2
- declare function text(props: SkeletonTextProps): import("react/jsx-dev-runtime").JSX.Element;
3
+ declare function text(props: SkeletonTextProps): JSX.Element;
3
4
  export default text;
@@ -17,5 +17,5 @@ interface SliderButtonProps {
17
17
  onMoveBegin?: () => void;
18
18
  onArrowEvent?: (type: 'addition' | 'subtraction') => void;
19
19
  }
20
- declare const _default: React.MemoExoticComponent<(props: SliderButtonProps) => import("react/jsx-dev-runtime").JSX.Element>;
20
+ declare const _default: React.MemoExoticComponent<(props: SliderButtonProps) => import("react/jsx-runtime").JSX.Element>;
21
21
  export default _default;
@@ -11,5 +11,5 @@ interface InputProps {
11
11
  onChange?: (val: number[]) => void;
12
12
  extra?: InputNumberProps[];
13
13
  }
14
- declare const _default: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-dev-runtime").JSX.Element>;
14
+ declare const _default: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-runtime").JSX.Element>;
15
15
  export default _default;
@@ -9,6 +9,6 @@ interface TicksProps {
9
9
  reverse?: boolean;
10
10
  intervalConfigs?: IntervalConfig[];
11
11
  }
12
- declare function Ticks(props: TicksProps): import("react/jsx-dev-runtime").JSX.Element;
12
+ declare function Ticks(props: TicksProps): import("react/jsx-runtime").JSX.Element;
13
13
  declare const _default: React.MemoExoticComponent<typeof Ticks>;
14
14
  export default _default;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { SpaceVertical as SpaceVerticalCommon } from '../../common/space';
3
2
  import { SpaceProps } from './interface';
4
- declare const Space: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<unknown>> & {
5
- Vertical: typeof SpaceVerticalCommon;
6
- };
7
- export { SpaceVerticalCommon as SpaceVertical };
3
+ declare const SpaceVertical: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<HTMLDivElement>>;
4
+ interface SpaceInterface extends React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<HTMLDivElement>> {
5
+ Vertical: typeof SpaceVertical;
6
+ }
7
+ declare const Space: SpaceInterface;
8
+ export { SpaceVertical };
8
9
  export default Space;
@@ -1,2 +1,4 @@
1
+ import './style';
2
+ import type { SpeechSynthesisProps } from './interface';
3
+ declare const SpeechSynthesis: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("components/common/higher-order/with-speech-synthesis/interface").SpeechSynthesisProps & SpeechSynthesisProps & import("react").RefAttributes<import("components/common/higher-order/with-speech-synthesis/interface").SpeechSynthesisHandles>>>;
1
4
  export default SpeechSynthesis;
2
- declare const SpeechSynthesis: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>>;
@@ -0,0 +1,7 @@
1
+ import type { SpeechSynthesisHandles as SpeechSynthesisHandlesBase, SpeechSynthesisProps as SpeechSynthesisPropsBase } from '../../common/higher-order/with-speech-synthesis/interface';
2
+ export interface SpeechSynthesisProps extends SpeechSynthesisPropsBase {
3
+ buttonProps?: Record<string, any>;
4
+ }
5
+ export interface SpeechSynthesisHandles extends SpeechSynthesisHandlesBase {
6
+ cancel: () => void;
7
+ }
@@ -2,5 +2,5 @@ import { CSSProperties } from 'react';
2
2
  export interface DotProps {
3
3
  size?: CSSProperties['fontSize'];
4
4
  }
5
- declare function DotLoading(props: DotProps): import("react/jsx-dev-runtime").JSX.Element;
5
+ declare function DotLoading(props: DotProps): import("react/jsx-runtime").JSX.Element;
6
6
  export default DotLoading;
@@ -1,8 +1,9 @@
1
1
  import Panel from './Panel';
2
- import Splitter from './Splitter';
2
+ import SplitterComponent from './Splitter';
3
3
  export type { SplitterProps } from './interface';
4
- type CompoundedComponent = typeof Splitter & {
4
+ type CompoundedComponent = typeof SplitterComponent & {
5
5
  Panel: typeof Panel;
6
6
  };
7
- declare const SplitterComponent: CompoundedComponent;
8
- export default SplitterComponent;
7
+ declare const Splitter: CompoundedComponent;
8
+ export { Panel as SplitterPanel };
9
+ export default Splitter;
@@ -4,31 +4,36 @@ import React from 'react';
4
4
  */
5
5
  export interface SplitterProps {
6
6
  /**
7
- * @zh 自定义类名前缀
8
- * @en Custom prefix class name
7
+ * @zh 自定义样式
8
+ * @en Custom style
9
9
  */
10
- prefixCls?: string;
10
+ style?: React.CSSProperties;
11
11
  /**
12
12
  * @zh 自定义类名(字符串或数组)
13
13
  * @en Custom class name (string or array)
14
14
  */
15
15
  className?: string | string[];
16
16
  /**
17
- * @zh 自定义样式
18
- * @en Custom style
19
- */
20
- style?: React.CSSProperties;
21
- /**
22
- * @zh 根节点类名
23
- * @en Root node class name
17
+ * @zh 自定义类名前缀
18
+ * @en Custom prefix class name
24
19
  */
25
- rootClassName?: string;
20
+ prefixCls?: string;
26
21
  /**
27
22
  * @zh 布局方向
28
23
  * @defaultValue 'horizontal'
29
24
  * @en Layout direction
30
25
  */
31
26
  layout?: 'horizontal' | 'vertical';
27
+ /**
28
+ * @zh 是否启用懒加载模式(只在拖动结束时触发回调)
29
+ * @en Whether to enable lazy mode (only trigger callback when drag ends)
30
+ */
31
+ lazy?: boolean;
32
+ /**
33
+ * @zh 子元素
34
+ * @en Children elements
35
+ */
36
+ children?: React.ReactNode;
32
37
  /**
33
38
  * @zh 开始调整大小时的回调
34
39
  * @en Callback when resize starts
@@ -47,11 +52,6 @@ export interface SplitterProps {
47
52
  * @param sizes - 各面板最终尺寸数组
48
53
  */
49
54
  onResizeEnd?: (sizes: number[]) => void;
50
- /**
51
- * @zh 是否启用懒加载模式(只在拖动结束时触发回调)
52
- * @en Whether to enable lazy mode (only trigger callback when drag ends)
53
- */
54
- lazy?: boolean;
55
55
  }
56
56
  /**
57
57
  * Splitter.Panel 组件属性接口