@unicom-cloud/ui 0.8.100 → 0.8.102
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/Badge.js +7 -54
- package/Copy.js +5 -4
- package/Details.js +13 -2
- package/Divider.js +3 -2
- package/Flex.js +14 -4
- package/LiquidFill.js +5 -4
- package/List.js +1 -1
- package/Loading.js +16 -3
- package/Marquee.js +5 -4
- package/QrCode.js +5 -4
- package/Space.js +3 -3
- package/Splitter.js +4 -3
- package/SuspenseFallbackTest.js +2 -4
- package/Tooltip.js +3 -4
- package/Tour.js +5 -4
- package/alert/index.js +60 -62
- package/anchor/Anchor.js +12 -12
- package/anchor/util.js +10 -10
- package/back-top/index.js +33 -34
- package/badge/index.js +109 -162
- package/calendar/index.js +85 -84
- package/card/index.js +63 -43
- package/color-picker/InputHex.js +3 -4
- package/color-picker/InputRgb.js +7 -8
- package/color-picker/Palette.js +3 -4
- package/color-picker/Panel.js +3 -4
- package/color-picker/colors.js +5 -5
- package/color-picker/hooks/useColorPicker.js +3 -4
- package/color-picker/utils.js +14 -15
- package/components/common/development/index.js +44 -29
- package/components/common/empty/index.js +35 -23
- package/components/common/flex/index.js +64 -0
- package/components/common/flex/interface.js +9 -0
- package/components/common/higher-order/with-speech-synthesis/index.js +79 -55
- package/components/common/space/index.js +71 -91
- package/components/common/suspense-fallback-test/index.js +16 -0
- package/components/common/utils/PqbCSSTransition.js +1 -1
- package/components/common/utils/constant.js +6 -3
- package/components/common/utils/reactDOM.js +6 -4
- package/components/common/utils/{scrollIntoView.js → scrollIntoViewIfNeeded.js} +1 -1
- package/components/common/utils/setPrimaryColor.js +18 -18
- package/components/common/utils/setTheme.js +8 -9
- package/components/common/utils/toArray.js +12 -0
- package/copy/index.js +3 -2
- package/details/index.js +102 -62
- package/dist/scroll-into-view-if-needed/compute/index.js +126 -0
- package/dist/scroll-into-view-if-needed/smooth/index.js +70 -0
- package/dist/scroll-into-view-if-needed/src/index.js +19 -19
- package/divider/index.js +27 -21
- package/empty/index.js +13 -13
- package/flex/index.js +43 -55
- package/flex/interface.js +1 -34
- package/form/FormItem.js +69 -65
- package/form/context.js +6 -7
- package/grid/Col-.js +86 -0
- package/grid/Col.js +156 -73
- package/grid/Grid.js +71 -67
- package/grid/Row.js +3 -3
- package/grid/index.js +13 -13
- package/icon/interface.js +1 -0
- package/icon-hover/interface.js +1 -0
- package/index.js +641 -663
- package/input/Textarea.js +1 -1
- package/input/autoSizeTextAreaHeight.js +7 -7
- package/liquid-fill/index.js +5 -4
- package/list/index.js +1 -1
- package/loading/index.js +72 -53
- package/loading/interface.js +1 -0
- package/marquee/index.js +5 -4
- package/menu/Item.js +9 -9
- package/modal/Modal.js +73 -74
- package/package.json +1 -1
- package/portal/interface.js +1 -0
- package/qr-code/index.js +5 -4
- package/segmented/index.js +47 -47
- package/space/index.js +41 -35
- package/speech-synthesis/interface.js +1 -0
- package/splitter/SplitBar.js +81 -79
- package/splitter/Splitter.js +92 -104
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/hooks/useResizable.js +9 -18
- package/splitter/hooks/useResize.js +10 -10
- package/splitter/hooks/useSizes.js +28 -28
- package/splitter/index.js +5 -4
- package/statistic/index.js +10 -10
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +2 -11
- package/suspense-fallback-test/interface.js +1 -0
- package/table/Table.js +376 -377
- package/table/hook/useThResizable.js +5 -4
- package/table/th-resizable/index.js +12 -11
- package/time-picker/util.js +8 -8
- package/tooltip/index.js +1 -2
- package/tour/index.js +5 -4
- package/tree/NodeList.js +1 -1
- package/trigger/index.js +67 -70
- package/types/common/development/index.d.ts +7 -1
- package/types/common/development/interface.d.ts +22 -0
- package/types/common/empty/index.d.ts +2 -1
- package/types/common/flex/index.d.ts +14 -0
- package/types/common/flex/interface.d.ts +62 -0
- package/types/common/higher-order/with-speech-synthesis/index.d.ts +6 -1
- package/types/common/higher-order/with-speech-synthesis/interface.d.ts +13 -0
- package/types/common/space/index.d.ts +4 -4
- package/types/common/space/interface.d.ts +10 -18
- package/types/common/suspense-fallback-test/index.d.ts +7 -0
- package/types/common/suspense-fallback-test/interface.d.ts +1 -0
- package/types/common/utils/PqbCSSTransition.d.ts +1 -1
- package/types/common/utils/constant.d.ts +1 -0
- package/types/common/utils/scrollIntoViewIfNeeded.d.ts +4 -0
- package/types/common/utils/toArray.d.ts +13 -0
- package/types/common/utils/tree.d.ts +1 -0
- package/types/common/utils/tween.d.ts +1 -0
- package/types/pc/alert/index.d.ts +2 -1
- package/types/pc/alert/interface.d.ts +7 -1
- package/types/pc/anchor/util.d.ts +1 -1
- package/types/pc/badge/Count.d.ts +1 -1
- package/types/pc/badge/interface.d.ts +2 -0
- package/types/pc/breadcrumb/Item.d.ts +1 -1
- package/types/pc/calendar/Month.d.ts +1 -1
- package/types/pc/calendar/WeekList.d.ts +1 -1
- package/types/pc/calendar/Year.d.ts +1 -1
- package/types/pc/calendar/header/Panel.d.ts +1 -1
- package/types/pc/calendar/header/index.d.ts +1 -1
- package/types/pc/calendar/index.d.ts +1 -1
- package/types/pc/calendar/interface.d.ts +2 -1
- package/types/pc/card/interface.d.ts +8 -0
- package/types/pc/cascader/interface.d.ts +1 -1
- package/types/pc/cascader/panel/List.d.ts +1 -1
- package/types/pc/cascader/panel/Option.d.ts +1 -1
- package/types/pc/cascader/panel/Search.d.ts +1 -1
- package/types/pc/checkbox/Group.d.ts +2 -2
- package/types/pc/checkbox/GroupBlock.d.ts +1 -1
- package/types/pc/checkbox/IconCheck.d.ts +1 -1
- package/types/pc/color-picker/InputRgb.d.ts +1 -1
- package/types/pc/color-picker/Palette.d.ts +1 -1
- package/types/pc/color-picker/hooks/useColorPicker.d.ts +7 -2
- package/types/pc/color-picker/utils.d.ts +6 -1
- package/types/pc/config-provider/ConfigProvider.d.ts +1 -1
- package/types/pc/config-provider/interface.d.ts +4 -0
- package/types/pc/copy/index.d.ts +1 -1
- package/types/pc/date-picker/panel/Body.d.ts +1 -1
- package/types/pc/date-picker/panel/Footer.d.ts +1 -1
- package/types/pc/date-picker/panel/Header.d.ts +1 -1
- package/types/pc/date-picker/panel/WeekList.d.ts +1 -1
- package/types/pc/date-picker/panel/date/index.d.ts +1 -1
- package/types/pc/date-picker/panel/month/index.d.ts +1 -1
- package/types/pc/date-picker/panel/quarter/index.d.ts +1 -1
- package/types/pc/date-picker/panel/range/index.d.ts +1 -1
- package/types/pc/date-picker/panel/week/index.d.ts +1 -1
- package/types/pc/date-picker/panel/year/index.d.ts +1 -1
- package/types/pc/descriptions/index.d.ts +1 -1
- package/types/pc/details/index.d.ts +3 -2
- package/types/pc/details/interface.d.ts +16 -0
- package/types/pc/development/index.d.ts +2 -1
- package/types/pc/development/interface.d.ts +15 -0
- package/types/pc/divider/index.d.ts +7 -2
- package/types/pc/draggable/Item.d.ts +1 -1
- package/types/pc/draggable/index.d.ts +1 -1
- package/types/pc/flex/index.d.ts +4 -4
- package/types/pc/flex/interface.d.ts +8 -53
- package/types/pc/form/Control.d.ts +1 -1
- package/types/pc/form/FormItem.d.ts +1 -1
- package/types/pc/form/FormList.d.ts +1 -1
- package/types/pc/form/IconSymbol.d.ts +1 -1
- package/types/pc/grid/Col-.d.ts +4 -0
- package/types/pc/grid/Col.d.ts +3 -2
- package/types/pc/grid/Grid.d.ts +2 -2
- package/types/pc/grid/Item.d.ts +3 -3
- package/types/pc/grid/Row.d.ts +2 -2
- package/types/pc/grid/hook/useResponsiveState.d.ts +2 -2
- package/types/pc/grid/interface.d.ts +13 -7
- package/types/pc/icon/addFromIconFontCn.d.ts +1 -7
- package/types/pc/icon/index.d.ts +2 -7
- package/types/pc/icon/interface.d.ts +13 -0
- package/types/pc/icon-hover/index.d.ts +2 -8
- package/types/pc/icon-hover/interface.d.ts +8 -0
- package/types/pc/image/ImageFooter.d.ts +1 -1
- package/types/pc/image/ImagePreviewArrow.d.ts +1 -1
- package/types/pc/image/TriggerForToolbar.d.ts +1 -1
- package/types/pc/index.d.ts +60 -51
- package/types/pc/loading/index.d.ts +4 -3
- package/types/pc/loading/interface.d.ts +6 -0
- package/types/pc/menu/Indent.d.ts +1 -1
- package/types/pc/menu/OverflowWrap.d.ts +1 -1
- package/types/pc/menu/sub-menu/Inline.d.ts +1 -1
- package/types/pc/menu/sub-menu/Pop.d.ts +1 -1
- package/types/pc/overflow-ellipsis/OverflowItem.d.ts +1 -1
- package/types/pc/overflow-ellipsis/index.d.ts +1 -1
- package/types/pc/pagination/PageItem.d.ts +3 -3
- package/types/pc/pagination/PageJumper.d.ts +1 -1
- package/types/pc/pagination/PageOption.d.ts +1 -1
- package/types/pc/portal/Portal.d.ts +2 -6
- package/types/pc/portal/index.d.ts +2 -9
- package/types/pc/portal/interface.d.ts +14 -0
- package/types/pc/progress/CircleProgress.d.ts +1 -1
- package/types/pc/progress/LineProgess.d.ts +1 -1
- package/types/pc/progress/StepProgress.d.ts +1 -1
- package/types/pc/radio/Group.d.ts +2 -2
- package/types/pc/radio/GroupBlock.d.ts +1 -1
- package/types/pc/radio/Radio.d.ts +1 -1
- package/types/pc/resize-box/ResizeTrigger.d.ts +1 -1
- package/types/pc/result/403.d.ts +1 -1
- package/types/pc/result/404.d.ts +1 -1
- package/types/pc/result/500.d.ts +1 -1
- package/types/pc/segmented/interface.d.ts +6 -6
- package/types/pc/skeleton/Image.d.ts +1 -1
- package/types/pc/skeleton/Text.d.ts +2 -1
- package/types/pc/slider/Button.d.ts +1 -1
- package/types/pc/slider/Input.d.ts +1 -1
- package/types/pc/slider/Tick.d.ts +1 -1
- package/types/pc/space/index.d.ts +6 -5
- package/types/pc/speech-synthesis/index.d.ts +3 -1
- package/types/pc/speech-synthesis/interface.d.ts +7 -0
- package/types/pc/spin/DotLoading.d.ts +1 -1
- package/types/pc/splitter/SplitBar.d.ts +0 -1
- package/types/pc/splitter/hooks/useResizable.d.ts +0 -1
- package/types/pc/splitter/hooks/useResize.d.ts +1 -2
- package/types/pc/splitter/index.d.ts +5 -4
- package/types/pc/splitter/interface.d.ts +16 -24
- package/types/pc/suspense-fallback-test/index.d.ts +2 -3
- package/types/pc/suspense-fallback-test/interface.d.ts +2 -0
- package/types/pc/table/ColGroup.d.ts +1 -1
- package/types/pc/table/summary/Cell.d.ts +1 -1
- package/types/pc/table/summary/Row.d.ts +1 -1
- package/types/pc/table/tbody/Td.d.ts +1 -1
- package/types/pc/table/tbody/index.d.ts +1 -1
- package/types/pc/table/tfoot/index.d.ts +1 -1
- package/types/pc/table/th-resizable/index.d.ts +1 -1
- package/types/pc/table/thead/Column.d.ts +1 -1
- package/types/pc/table/thead/index.d.ts +1 -1
- package/types/pc/tabs/TabContent.d.ts +1 -1
- package/types/pc/tabs/tab-header/DropdownIcon.d.ts +1 -1
- package/types/pc/tabs/tab-header/TabInk.d.ts +1 -1
- package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
- package/types/pc/time-picker/Picker.d.ts +1 -1
- package/types/pc/time-picker/RangePicker.d.ts +1 -1
- package/types/pc/time-picker/TimeColumn.d.ts +1 -1
- package/types/pc/time-picker/TimePicker.d.ts +1 -1
- package/types/pc/time-picker/index.d.ts +1 -1
- package/types/pc/tour/index.d.ts +1 -1
- package/types/pc/transfer/Item.d.ts +1 -1
- package/types/pc/transfer/List.d.ts +1 -1
- package/types/pc/tree/Animation.d.ts +1 -1
- package/types/pc/typography/Operations.d.ts +1 -1
- package/types/pc/upload/interface.d.ts +1 -0
- package/types/pc/upload/list/index.d.ts +1 -1
- package/types/pc/utils/constant.d.ts +1 -2
- package/types/pc/utils/dayjs.d.ts +2 -1
- package/types/pc/utils/index.d.ts +2 -5
- package/types/pc/utils/scrollIntoViewIfNeeded.d.ts +3 -0
- package/types/pc/utils/toArray.d.ts +1 -5
- package/types/pc/utils/tree.d.ts +2 -1
- package/types/pc/utils/tween.d.ts +1 -1
- package/types/pc/verification-code/VerificationCode.d.ts +1 -1
- package/types/pc/virtual-list/VirtualList.d.ts +2 -38
- package/types/pc/virtual-list/index.d.ts +2 -1
- package/types/pc/virtual-list/interface.d.ts +56 -0
- package/types/pc/watermark/Watermark.d.ts +1 -1
- package/typography/Ellipsis.js +5 -4
- package/typography/Operations.js +5 -4
- package/upload/request.js +12 -13
- package/upload/request_.js +2 -3
- package/utils/constant.js +5 -5
- package/utils/dayjs.js +13 -12
- package/utils/index.js +261 -284
- package/utils/scrollIntoViewIfNeeded.js +12 -0
- package/utils/toArray.js +3 -10
- package/utils/tree.js +11 -9
- package/utils/tween.js +5 -5
- package/version/index.js +1 -1
- package/virtual-list/interface.js +1 -0
- package/components/common/space/toArray.js +0 -11
- package/components/common/utils/convertToDurationBasedOnTimeUnits.js +0 -6
- package/dist/compute-scroll-into-view/src/index.js +0 -126
- package/dist/tinycolor/chunk/BOzCVdr0.js +0 -182
- package/dist/tinycolor/customize/index.js +0 -12
- package/dist/tinycolor/src/conversion.js +0 -143
- package/dist/tinycolor/src/css-color-names.js +0 -153
- package/dist/tinycolor/src/format-input.js +0 -77
- package/dist/tinycolor/src/index.js +0 -388
- package/dist/tinycolor/src/util.js +0 -32
- package/flex/utils.js +0 -13
- package/loading/style/index.module.less.js +0 -4
- package/types/common/space/toArray.d.ts +0 -3
- package/types/common/utils/convertToDurationBasedOnTimeUnits.d.ts +0 -3
- package/types/common/utils/scrollIntoView.d.ts +0 -4
- package/types/common/utils/tinycolor.d.ts +0 -1
- package/types/pc/flex/utils.d.ts +0 -9
- package/types/pc/suspense-fallback-test/style/index.d.ts +0 -1
- package/types/pc/utils/color.d.ts +0 -1
- package/types/pc/utils/computeScrollIntoView.d.ts +0 -1
- package/types/pc/utils/convertToDurationBasedOnTimeUnits.d.ts +0 -3
- package/types/pc/utils/scrollIntoView.d.ts +0 -3
- package/types/pc/utils/tinycolor.d.ts +0 -1
- package/utils/color.js +0 -4
- package/utils/computeScrollIntoView.js +0 -6
- package/utils/convertToDurationBasedOnTimeUnits.js +0 -6
- package/utils/scrollIntoView.js +0 -6
- package/utils/tinycolor.js +0 -29
- /package/{suspense-fallback-test/style/index.less.js → development/interface.js} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 };
|
|
@@ -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-
|
|
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-
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default SubMenuInline;
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
2
|
-
|
|
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
|
|
2
|
-
|
|
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
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function LineProgress(props: any): import("react/jsx-
|
|
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-
|
|
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-
|
|
5
|
-
declare function Group(baseProps: PropsWithChildren<RadioGroupProps>): import("react/jsx-
|
|
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-
|
|
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-
|
|
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-
|
|
30
|
+
declare function ResizeTrigger(props: PropsWithChildren<ResizeTriggerProps>): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export default ResizeTrigger;
|
package/types/pc/result/403.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Image403(): import("react/jsx-
|
|
1
|
+
declare function Image403(): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Image403;
|
package/types/pc/result/404.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Image404(): import("react/jsx-
|
|
1
|
+
declare function Image404(): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Image404;
|
package/types/pc/result/500.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Image500(): import("react/jsx-
|
|
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,4 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { SkeletonTextProps } from './interface';
|
|
2
|
-
declare function text(props: SkeletonTextProps):
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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-
|
|
5
|
+
declare function DotLoading(props: DotProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default DotLoading;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ItemType } from './useItems';
|
|
2
|
-
|
|
3
|
-
declare function useResize(items: ItemType[], resizableInfos: ResizableInfo[], percentSizes: number[], containerSize: number | undefined, updateSizes: (sizes: number[]) => void, isRTL: boolean | undefined): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[], number | undefined];
|
|
2
|
+
declare function useResize(items: ItemType[], percentSizes: number[], containerSize: number | undefined, updateSizes: (sizes: number[]) => void, isRTL: boolean | undefined): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[], number | undefined];
|
|
4
3
|
export default useResize;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import Panel from './Panel';
|
|
2
|
-
import
|
|
2
|
+
import SplitterComponent from './Splitter';
|
|
3
3
|
export type { SplitterProps } from './interface';
|
|
4
|
-
type CompoundedComponent = typeof
|
|
4
|
+
type CompoundedComponent = typeof SplitterComponent & {
|
|
5
5
|
Panel: typeof Panel;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
8
|
-
export
|
|
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
|
|
7
|
+
* @zh 自定义样式
|
|
8
|
+
* @en Custom style
|
|
9
9
|
*/
|
|
10
|
-
|
|
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
|
|
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
|
-
|
|
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 组件属性接口
|
|
@@ -92,12 +92,6 @@ export interface PanelProps {
|
|
|
92
92
|
/** @zh 结束边是否可折叠 */
|
|
93
93
|
end?: boolean;
|
|
94
94
|
};
|
|
95
|
-
/**
|
|
96
|
-
* @zh 是否可调整大小
|
|
97
|
-
* @defaultValue true
|
|
98
|
-
* @en Whether resizable
|
|
99
|
-
*/
|
|
100
|
-
resizable?: boolean;
|
|
101
95
|
/**
|
|
102
96
|
* @zh 默认尺寸(像素或百分比字符串)
|
|
103
97
|
* @en Default size (pixels or percentage string)
|
|
@@ -192,8 +186,6 @@ export interface UseCollapsible {
|
|
|
192
186
|
* 可调整大小信息接口
|
|
193
187
|
*/
|
|
194
188
|
export interface ResizableInfo {
|
|
195
|
-
/** @zh 是否可调整大小 */
|
|
196
|
-
resizable: boolean;
|
|
197
189
|
/** @zh 起始边是否可折叠 */
|
|
198
190
|
startCollapsible: boolean;
|
|
199
191
|
/** @zh 结束边是否可折叠 */
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default
|
|
3
|
-
import React from 'react';
|
|
1
|
+
import SuspenseFallbackTest from '../../common/suspense-fallback-test';
|
|
2
|
+
export default SuspenseFallbackTest;
|
|
@@ -9,5 +9,5 @@ type ColGroupType = {
|
|
|
9
9
|
expandedRowKeys?: React.Key[];
|
|
10
10
|
data?: any[];
|
|
11
11
|
};
|
|
12
|
-
declare function ColGroup(props: ColGroupType): import("react/jsx-
|
|
12
|
+
declare function ColGroup(props: ColGroupType): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default ColGroup;
|
|
@@ -5,7 +5,7 @@ interface SummaryCellProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>
|
|
|
5
5
|
colSpan?: number;
|
|
6
6
|
rowSpan?: number;
|
|
7
7
|
}
|
|
8
|
-
declare function Cell(props: SummaryCellProps): import("react/jsx-
|
|
8
|
+
declare function Cell(props: SummaryCellProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare namespace Cell {
|
|
10
10
|
var __PQB_TABLE_SUMMARY_CELL__: boolean;
|
|
11
11
|
}
|
|
@@ -3,5 +3,5 @@ import { Omit } from '../../utils/type';
|
|
|
3
3
|
interface SummaryRowProps extends Omit<HTMLAttributes<HTMLTableRowElement>, 'children'> {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
declare function Row(props: SummaryRowProps): import("react/jsx-
|
|
6
|
+
declare function Row(props: SummaryRowProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Row;
|
|
@@ -20,6 +20,6 @@ type TdType = {
|
|
|
20
20
|
rowKey?: string;
|
|
21
21
|
renderExpandIcon?: (record: any, rowKey: string) => ReactNode;
|
|
22
22
|
};
|
|
23
|
-
declare function Td(props: TdType): import("react/jsx-
|
|
23
|
+
declare function Td(props: TdType): import("react/jsx-runtime").JSX.Element | null;
|
|
24
24
|
declare const _default: React.MemoExoticComponent<typeof Td>;
|
|
25
25
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default ThResizable;
|
|
2
|
-
declare function ThResizable(props: any): import("react/jsx-
|
|
2
|
+
declare function ThResizable(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Column<T>(props: any): false | import("react/jsx-
|
|
1
|
+
declare function Column<T>(props: any): false | import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Column;
|
|
@@ -5,5 +5,5 @@ interface TabContentProps extends Pick<TabsProps, 'animation' | 'activeTab' | 'd
|
|
|
5
5
|
prefixCls: string | undefined;
|
|
6
6
|
paneChildren: ReactElement<TabPaneProps, TabPaneType>[];
|
|
7
7
|
}
|
|
8
|
-
declare function TabContent(props: TabContentProps): import("react/jsx-
|
|
8
|
+
declare function TabContent(props: TabContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export default TabContent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function DropdownIcon(props: any): import("react/jsx-
|
|
1
|
+
declare function DropdownIcon(props: any): import("react/jsx-runtime").JSX.Element | null;
|
|
2
2
|
export default DropdownIcon;
|
|
@@ -13,5 +13,5 @@ interface TabNavIconProps {
|
|
|
13
13
|
rtl?: boolean;
|
|
14
14
|
onChange?: (offset: number) => void;
|
|
15
15
|
}
|
|
16
|
-
declare const TabNavIcon: (props: TabNavIconProps) => import("react/jsx-
|
|
16
|
+
declare const TabNavIcon: (props: TabNavIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
17
17
|
export default TabNavIcon;
|
|
@@ -11,5 +11,5 @@ interface InnerPickerProps extends PickerProps {
|
|
|
11
11
|
hideFooter?: boolean;
|
|
12
12
|
order?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Picker: (baseProps: InnerPickerProps) => import("react/jsx-
|
|
14
|
+
declare const Picker: (baseProps: InnerPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default Picker;
|
|
@@ -8,5 +8,5 @@ interface InnerRangePickerProps extends RangePickerProps {
|
|
|
8
8
|
valueShow?: Dayjs[];
|
|
9
9
|
setValueShow?: (valueShow: Dayjs[]) => void;
|
|
10
10
|
}
|
|
11
|
-
declare function RangePicker(props: InnerRangePickerProps): import("react/jsx-
|
|
11
|
+
declare function RangePicker(props: InnerRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default RangePicker;
|
|
@@ -13,5 +13,5 @@ export interface TimeColumnProps {
|
|
|
13
13
|
popupVisible?: boolean;
|
|
14
14
|
scrollSticky?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare function TimeColumn(props: TimeColumnProps): import("react/jsx-
|
|
16
|
+
declare function TimeColumn(props: TimeColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default TimeColumn;
|
|
@@ -20,5 +20,5 @@ interface InnerTimePickerProps extends TimePickerProps {
|
|
|
20
20
|
setValueShow?: (valueShow: Dayjs) => void;
|
|
21
21
|
hideFooter?: boolean;
|
|
22
22
|
}
|
|
23
|
-
declare function TimePicker(props: InnerTimePickerProps): import("react/jsx-
|
|
23
|
+
declare function TimePicker(props: InnerTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default TimePicker;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RangePickerProps, TimePickerDecorator, TimePickerProps } from './interface';
|
|
2
2
|
declare const RangePicker: {
|
|
3
|
-
(props: RangePickerProps): import("react/jsx-
|
|
3
|
+
(props: RangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export { RangePicker as TimePickerRange };
|
package/types/pc/tour/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TransferItemProps } from './interface';
|
|
2
|
-
declare function TransferItem(props: TransferItemProps): import("react/jsx-
|
|
2
|
+
declare function TransferItem(props: TransferItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TransferItem;
|