@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
|
@@ -12,5 +12,5 @@ interface InnerWeekPickerProps extends WeekPickerProps {
|
|
|
12
12
|
panelMode?: ModeType;
|
|
13
13
|
setPanelMode?: (mode: ModeType) => void;
|
|
14
14
|
}
|
|
15
|
-
declare function WeekPicker(props: InnerWeekPickerProps & PrivateCType): import("react/jsx-
|
|
15
|
+
declare function WeekPicker(props: InnerWeekPickerProps & PrivateCType): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default WeekPicker;
|
|
@@ -12,5 +12,5 @@ interface InnerYearPickerProps extends YearPickerProps {
|
|
|
12
12
|
onSuperPrev?: () => void;
|
|
13
13
|
onSuperNext?: () => void;
|
|
14
14
|
}
|
|
15
|
-
declare function YearPicker(props: InnerYearPickerProps): import("react/jsx-
|
|
15
|
+
declare function YearPicker(props: InnerYearPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default YearPicker;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DescriptionsProps } from './interface';
|
|
2
|
-
declare function Descriptions(baseProps: DescriptionsProps): import("react/jsx-
|
|
2
|
+
declare function Descriptions(baseProps: DescriptionsProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace Descriptions {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { DetailsProps } from './interface';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
3
|
+
declare const Details: React.ForwardRefExoticComponent<DetailsProps & React.RefAttributes<HTMLDetailsElement>>;
|
|
4
|
+
export default Details;
|
|
4
5
|
export type { DetailsProps };
|
|
@@ -30,4 +30,20 @@ export interface DetailsProps {
|
|
|
30
30
|
* @en Whether to show as banner
|
|
31
31
|
*/
|
|
32
32
|
banner?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @zh 受控模式,打开与关闭
|
|
35
|
+
*/
|
|
36
|
+
open?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @zh 非受控模式,默认打开或者默认关闭
|
|
39
|
+
*/
|
|
40
|
+
defaultOpen?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @zh 展示时的回调
|
|
43
|
+
*/
|
|
44
|
+
onOpen?: () => void;
|
|
45
|
+
/**
|
|
46
|
+
* @zh 关闭时的回调
|
|
47
|
+
*/
|
|
48
|
+
onClose?: () => void;
|
|
33
49
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import type { DevelopmentProps } from './interface';
|
|
2
|
+
declare const Development: import("react").ForwardRefExoticComponent<DevelopmentProps & import("react").RefAttributes<unknown>>;
|
|
1
3
|
export default Development;
|
|
2
|
-
declare const Development: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DevelopmentProps as DevelopmentPropsBase } from '../../common/development';
|
|
2
|
+
/**
|
|
3
|
+
* Development 组件的属性类型定义
|
|
4
|
+
* @property {string} [url] - 图片 URL,如果有则显示图片而不是图标
|
|
5
|
+
* @property {React.ReactNode} [icon] - 自定义图标,会覆盖默认的等待图标
|
|
6
|
+
* @property {string} [label] - 提示文字,默认为"等待开发"
|
|
7
|
+
* @property {string} [tip] - 提示文字别名,优先级低于 label
|
|
8
|
+
* @property {string} [className] - 根节点类名
|
|
9
|
+
* @property {string} [imgClassName] - 图片类名
|
|
10
|
+
* @property {string} [iconClassName] - 图标类名
|
|
11
|
+
* @property {string} [labelClassName] - 文字标签类名
|
|
12
|
+
*/
|
|
13
|
+
export interface DevelopmentProps extends DevelopmentPropsBase {
|
|
14
|
+
url?: string;
|
|
15
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DividerProps } from './interface';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
interface DividerComponent extends React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>> {
|
|
4
|
+
Vertical: typeof DividerVertical;
|
|
5
|
+
}
|
|
6
|
+
declare const Divider: DividerComponent;
|
|
7
|
+
declare const DividerVertical: React.ForwardRefExoticComponent<Omit<DividerProps, "orientation"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { DividerVertical };
|
|
9
|
+
export default Divider;
|
|
5
10
|
export type { DividerProps };
|
package/types/pc/flex/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import { FlexProps } from './interface';
|
|
3
|
+
declare const FlexVertical: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
interface FlexInterface extends React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>> {
|
|
4
5
|
Vertical: typeof FlexVertical;
|
|
5
6
|
}
|
|
6
|
-
declare const Flex:
|
|
7
|
-
declare const FlexVertical: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
declare const Flex: FlexInterface;
|
|
8
8
|
export { FlexVertical };
|
|
9
9
|
export default Flex;
|
|
@@ -1,61 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import type { FlexProps as CommonFlexProps, GapType, SizeType } from '../../common/flex/interface';
|
|
3
|
+
export type { GapType, SizeType };
|
|
3
4
|
/**
|
|
4
5
|
* @title Flex
|
|
5
|
-
* @description Flex布局组件属性
|
|
6
6
|
*/
|
|
7
|
-
export interface FlexProps extends
|
|
7
|
+
export interface FlexProps extends CommonFlexProps {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* @en Custom prefix class name
|
|
9
|
+
* 自定义类名
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
className?: string;
|
|
13
12
|
/**
|
|
14
|
-
*
|
|
15
|
-
* @en Root node class name
|
|
13
|
+
* 自定义样式
|
|
16
14
|
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @zh 是否垂直布局
|
|
20
|
-
* @en Whether to use vertical layout
|
|
21
|
-
*/
|
|
22
|
-
vertical?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @zh 换行方式
|
|
25
|
-
* @en Flex wrap style
|
|
26
|
-
*/
|
|
27
|
-
wrap?: boolean | React.CSSProperties['flexWrap'];
|
|
28
|
-
/**
|
|
29
|
-
* @zh 主轴对齐方式
|
|
30
|
-
* @en Justify content alignment
|
|
31
|
-
*/
|
|
32
|
-
justify?: React.CSSProperties['justifyContent'];
|
|
33
|
-
/**
|
|
34
|
-
* @zh 交叉轴对齐方式
|
|
35
|
-
* @en Align items alignment
|
|
36
|
-
*/
|
|
37
|
-
align?: React.CSSProperties['alignItems'];
|
|
38
|
-
/**
|
|
39
|
-
* @zh flex属性
|
|
40
|
-
* @en Flex property
|
|
41
|
-
*/
|
|
42
|
-
flex?: React.CSSProperties['flex'];
|
|
43
|
-
/**
|
|
44
|
-
* @zh 间距大小
|
|
45
|
-
* @en Gap size
|
|
46
|
-
*/
|
|
47
|
-
gap?: React.CSSProperties['gap'] | SizeType;
|
|
48
|
-
/**
|
|
49
|
-
* @zh 子元素
|
|
50
|
-
* @en Children elements
|
|
51
|
-
*/
|
|
52
|
-
children: React.ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* @zh 自定义渲染元素
|
|
55
|
-
* @en Custom component type
|
|
56
|
-
*/
|
|
57
|
-
component?: React.ElementType;
|
|
15
|
+
style?: CSSProperties;
|
|
58
16
|
}
|
|
59
|
-
export declare const flexWrapValues: React.CSSProperties['flexWrap'][];
|
|
60
|
-
export declare const justifyContentValues: React.CSSProperties['justifyContent'][];
|
|
61
|
-
export declare const alignItemsValues: React.CSSProperties['alignItems'][];
|
|
@@ -59,6 +59,6 @@ declare class Control<FormData = any, FieldValue = FormData[keyof FormData], Fie
|
|
|
59
59
|
handleTrigger: (_value: any, ...args: any[]) => void;
|
|
60
60
|
renderControl(children: React.ReactNode, id: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
61
|
getChild: () => React.ReactNode;
|
|
62
|
-
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-
|
|
62
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
63
63
|
}
|
|
64
64
|
export default Control;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Row } from '../grid';
|
|
2
3
|
import { FormItemProps, KeyType } from './interface';
|
|
3
|
-
declare const Row: React.ForwardRefExoticComponent<import("..").RowProps & React.RefAttributes<unknown>>;
|
|
4
4
|
declare const _default: <FormData = any, FieldValue = FormData[keyof FormData], FieldKey extends KeyType = keyof FormData>(props: FormItemProps<FormData, FieldValue, FieldKey> & {
|
|
5
5
|
ref?: React.Ref<(typeof Row)["prototype"]>;
|
|
6
6
|
}) => React.ReactElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormListProps, KeyType } from './interface';
|
|
2
|
-
declare function FormList<SubFieldValue = unknown, SubFieldKey extends KeyType = string, FieldKey extends KeyType = string>(props: FormListProps<SubFieldValue, SubFieldKey, FieldKey>): import("react/jsx-
|
|
2
|
+
declare function FormList<SubFieldValue = unknown, SubFieldKey extends KeyType = string, FieldKey extends KeyType = string>(props: FormListProps<SubFieldValue, SubFieldKey, FieldKey>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace FormList {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
declare function IconUiCheck(props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>):
|
|
3
|
+
declare function IconUiCheck(props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>): JSX.Element;
|
|
4
4
|
export default IconUiCheck;
|
package/types/pc/grid/Col.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ColProps } from './interface';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
3
|
+
declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default Col;
|
|
4
5
|
export type { ColProps };
|
package/types/pc/grid/Grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GridProps } from './interface';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<unknown>>;
|
|
4
|
+
export default Grid;
|
|
5
5
|
export type { GridProps };
|
package/types/pc/grid/Item.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GridItemProps } from './interface';
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
3
|
+
declare const GridItemForwardRef: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<unknown>>;
|
|
4
|
+
declare const GridItem: typeof GridItemForwardRef & {
|
|
5
5
|
__PQB_GRID_ITEM__: boolean;
|
|
6
6
|
};
|
|
7
|
-
export default
|
|
7
|
+
export default GridItem;
|
|
8
8
|
export type { GridItemProps };
|
package/types/pc/grid/Row.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RowProps } from './interface';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const Row: import("react").ForwardRefExoticComponent<RowProps & import("react").RefAttributes<unknown>>;
|
|
3
|
+
export default Row;
|
|
4
4
|
export type { RowProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const useResponsiveState: (val:
|
|
1
|
+
import { type GridUnitProps } from '../interface';
|
|
2
|
+
export declare const useResponsiveState: (val: GridUnitProps, defaultValue: number, fallbackToXs?: boolean) => number;
|
|
@@ -121,6 +121,7 @@ export interface ColProps extends Omit<HTMLAttributes<HTMLDivElement>, 'classNam
|
|
|
121
121
|
*/
|
|
122
122
|
flex?: FlexType;
|
|
123
123
|
}
|
|
124
|
+
export type GridUnitProps = number | ResponsiveValue | undefined;
|
|
124
125
|
/**
|
|
125
126
|
* @title Grid
|
|
126
127
|
*/
|
|
@@ -132,19 +133,24 @@ export interface GridProps extends Omit<HTMLAttributes<HTMLDivElement>, 'classNa
|
|
|
132
133
|
* @en Number of columns displayed in each row
|
|
133
134
|
* @defaultValue 24
|
|
134
135
|
*/
|
|
135
|
-
cols?:
|
|
136
|
+
cols?: GridUnitProps;
|
|
136
137
|
/**
|
|
137
|
-
* @zh
|
|
138
|
+
* @zh 间距
|
|
139
|
+
* @defaultValue 0
|
|
140
|
+
*/
|
|
141
|
+
gap?: GridUnitProps | number[];
|
|
142
|
+
/**
|
|
143
|
+
* @zh 行与行之间的间距(优先级高于 gap)
|
|
138
144
|
* @en The space in row-to-row
|
|
139
145
|
* @defaultValue 0
|
|
140
146
|
*/
|
|
141
|
-
rowGap?:
|
|
147
|
+
rowGap?: GridUnitProps;
|
|
142
148
|
/**
|
|
143
|
-
* @zh
|
|
149
|
+
* @zh 列与列之间的间距(优先级高于 gap)
|
|
144
150
|
* @en The space in column-to-column
|
|
145
151
|
* @defaultValue 0
|
|
146
152
|
*/
|
|
147
|
-
colGap?:
|
|
153
|
+
colGap?: GridUnitProps;
|
|
148
154
|
/**
|
|
149
155
|
* @zh 是否折叠
|
|
150
156
|
* @en Whether to collapsed
|
|
@@ -169,13 +175,13 @@ export interface GridItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'cla
|
|
|
169
175
|
* @en Number of grids spanned
|
|
170
176
|
* @defaultValue 1
|
|
171
177
|
*/
|
|
172
|
-
span?:
|
|
178
|
+
span?: GridUnitProps;
|
|
173
179
|
/**
|
|
174
180
|
* @zh 左侧的间隔格数
|
|
175
181
|
* @en Number of grids on the left
|
|
176
182
|
* @defaultValue 0
|
|
177
183
|
*/
|
|
178
|
-
offset?:
|
|
184
|
+
offset?: GridUnitProps;
|
|
179
185
|
/**
|
|
180
186
|
* @zh 是否是后缀元素
|
|
181
187
|
* @en Is it a suffix element
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IconProps } from '
|
|
3
|
-
export interface IconfontOptions {
|
|
4
|
-
src?: string;
|
|
5
|
-
extraProps?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
2
|
+
import type { IconfontOptions, IconProps } from './interface';
|
|
9
3
|
declare function addFromIconFontCn(options?: IconfontOptions): React.FC<IconProps & React.RefAttributes<unknown>>;
|
|
10
4
|
export default addFromIconFontCn;
|
package/types/pc/icon/index.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import IconContext from '@unicom-cloud/icons/context';
|
|
2
2
|
import useIconProps from '@unicom-cloud/icons/useProps';
|
|
3
|
-
import React, { CSSProperties
|
|
3
|
+
import React, { CSSProperties } from 'react';
|
|
4
4
|
import addFromIconFontCn from './addFromIconFontCn';
|
|
5
|
-
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
type?: string;
|
|
8
|
-
spin?: boolean;
|
|
9
|
-
className?: string | string[];
|
|
10
|
-
}
|
|
5
|
+
import type { IconProps } from './interface';
|
|
11
6
|
export interface CustomIconComponentProps {
|
|
12
7
|
style?: CSSProperties;
|
|
13
8
|
className?: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CSSProperties, SVGAttributes } from 'react';
|
|
2
|
+
export interface IconProps extends Omit<SVGAttributes<SVGElement>, 'className'> {
|
|
3
|
+
style?: CSSProperties;
|
|
4
|
+
type?: string;
|
|
5
|
+
spin?: boolean;
|
|
6
|
+
className?: string | string[];
|
|
7
|
+
}
|
|
8
|
+
export interface IconfontOptions {
|
|
9
|
+
src?: string;
|
|
10
|
+
extraProps?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
5
|
-
prefix?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick?: (e: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const IconHover: React.ForwardRefExoticComponent<HoverProps & {
|
|
2
|
+
import type { IconHoverProps } from './interface';
|
|
3
|
+
declare const IconHover: React.ForwardRefExoticComponent<IconHoverProps & {
|
|
10
4
|
children?: React.ReactNode | undefined;
|
|
11
5
|
} & React.RefAttributes<unknown>>;
|
|
12
6
|
export default IconHover;
|
|
@@ -9,5 +9,5 @@ interface ImageFooterProps {
|
|
|
9
9
|
prefixCls: string | undefined;
|
|
10
10
|
simple?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const ImageFooter: (props: ImageFooterProps) => import("react/jsx-
|
|
12
|
+
export declare const ImageFooter: (props: ImageFooterProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
export {};
|
|
@@ -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-
|
|
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-
|
|
9
|
+
export declare const TriggerForToolbar: (props: PropsWithChildren<TriggerForToolbarProps>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
package/types/pc/index.d.ts
CHANGED
|
@@ -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';
|