@unicom-cloud/ui 0.8.63 → 0.8.64
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/Affix.js +1 -1
- package/Alert.js +1 -1
- package/Anchor.js +1 -1
- package/AutoComplete.js +3 -3
- package/Avatar.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +3 -3
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +4 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -2
- package/Copy.js +1 -1
- package/DatePicker.js +3 -3
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +26 -25
- package/Empty.js +1 -1
- package/Form.js +1 -1
- package/Grid.js +2 -2
- package/Icon.js +2 -1
- package/IconHover.js +1 -1
- package/Image.js +4 -1
- package/Input.js +11 -2
- package/InputNumber.js +2 -2
- package/InputTag.js +1 -1
- package/Layout.js +24 -20
- package/Link.js +1 -1
- package/List.js +4 -3
- package/Mentions.js +3 -3
- package/Menu.js +7 -2
- package/Message.js +3 -2
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +3 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +4 -2
- package/Rate.js +1 -1
- package/ResizeBox.js +66 -64
- package/Result.js +1 -1
- package/Select.js +4 -1
- package/SelectView.js +3 -3
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +54 -50
- package/Spin.js +1 -1
- package/Statistic.js +28 -27
- package/Steps.js +40 -38
- package/Switch.js +1 -1
- package/Table.js +7 -4
- package/Tabs.js +6 -2
- package/Tag.js +1 -1
- package/TimePicker.js +37 -36
- package/Timeline.js +4 -2
- package/Tooltip.js +1 -1
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/TreeSelect.js +3 -1
- package/Trigger.js +1 -1
- package/Typography.js +6 -2
- package/Upload.js +5 -4
- package/VerificationCode.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{DDDuw0Zi.js → -IELMT_x.js} +1 -1
- package/chunk/{C5S_amaH.js → B5GDq8NJ.js} +7 -5
- package/chunk/{DbLgopUR.js → B68hRpYG.js} +1 -1
- package/chunk/{BLLKKgZJ.js → BCxoi4Kf.js} +22 -20
- package/chunk/{B5gIo-hD.js → BHnRi7Xh.js} +3 -3
- package/chunk/{CfZWOhnc.js → BJSjbYSN.js} +1 -1
- package/chunk/{CfTcP6nF.js → BSBJlVZH.js} +2 -2
- package/chunk/{rlfmXePI.js → BfHNSLva.js} +2 -2
- package/chunk/{JpKOcIfl.js → BtIG250j.js} +6 -3
- package/chunk/{DXZ8-ha7.js → BwSpYGK-.js} +1 -1
- package/chunk/{Dpzgtdt-.js → CA69nxbj.js} +1 -1
- package/chunk/{BoDdbbF_.js → CAhODOfT.js} +3 -2
- package/chunk/{DbPYtS7-.js → CAiaqaWc.js} +1 -1
- package/chunk/{CvlD3aiv.js → CBgwLBAC.js} +40 -38
- package/chunk/{aqSmxUbY.js → CTF5o0OX.js} +1 -1
- package/chunk/{BEB_A9eY.js → CYQ1EE4h.js} +1 -1
- package/chunk/{C6Zb_-OE.js → CZfGDXaB.js} +1 -1
- package/chunk/{BcwdVUDs.js → CtUTlwlQ.js} +1 -1
- package/chunk/{QFkhCtUr.js → CxpFYX4B.js} +2 -2
- package/chunk/{BnLshM9R.js → D-oHJail.js} +58 -54
- package/chunk/{Bn2-vqTg.js → D01b7bWX.js} +50 -45
- package/chunk/{CD7dGcUa.js → DPJEIBKZ.js} +2 -2
- package/chunk/{Dk6hL04k.js → DQ561AmR.js} +2 -2
- package/chunk/{B9w_puFP.js → QlYCEvCX.js} +1 -1
- package/chunk/{D3dcFbex.js → Yvz-hPQB.js} +2 -2
- package/chunk/{Co3idurS.js → _m8hLSsx.js} +4 -2
- package/chunk/{CZ1wrD_H.js → oR9TkA35.js} +1 -1
- package/chunk/{CAxIyiy6.js → pq-36BDW.js} +5 -3
- package/chunk/{CgDayZDE.js → tW_FgNSv.js} +1 -1
- package/index.js +536 -486
- package/package.json +1 -1
- package/types/calendar/hook/useCellClassName.d.ts +2 -1
- package/types/checkbox/IconCheck.d.ts +2 -1
- package/types/date-picker/hook/useCellClassName.d.ts +2 -1
- package/types/date-picker/panel/Footer.d.ts +2 -1
- package/types/dropdown/index.d.ts +1 -0
- package/types/form/IconSymbol.d.ts +2 -1
- package/types/form/useForm.d.ts +2 -1
- package/types/icon/addFromIconFontCn.d.ts +2 -1
- package/types/icon/index.d.ts +2 -0
- package/types/image/Image.d.ts +1 -0
- package/types/image/index.d.ts +2 -1
- package/types/image/util/getFixTranslate.d.ts +2 -1
- package/types/image/util/hook/useImageStatus.d.ts +2 -2
- package/types/image/util/hook/useShowFooter.d.ts +2 -2
- package/types/index.d.ts +23 -23
- package/types/input/Input.d.ts +1 -0
- package/types/input/index.d.ts +1 -0
- package/types/input/useComposition.d.ts +2 -1
- package/types/input-number/useSelectionRange.d.ts +2 -1
- package/types/layout/index.d.ts +1 -0
- package/types/list/index.d.ts +1 -0
- package/types/menu/Indent.d.ts +2 -1
- package/types/menu/Menu.d.ts +1 -0
- package/types/menu/index.d.ts +1 -0
- package/types/message/index.d.ts +2 -0
- package/types/notification/index.d.ts +2 -0
- package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
- package/types/overflow-ellipsis/index.d.ts +2 -2
- package/types/radio/Radio.d.ts +2 -0
- package/types/radio/index.d.ts +2 -1
- package/types/resize-box/ResizeTrigger.d.ts +2 -1
- package/types/resize-box/index.d.ts +1 -0
- package/types/result/403.d.ts +2 -1
- package/types/result/404.d.ts +2 -1
- package/types/result/500.d.ts +2 -1
- package/types/select/Select.d.ts +1 -1
- package/types/select/index.d.ts +1 -0
- package/types/skeleton/Image.d.ts +2 -1
- package/types/skeleton/Text.d.ts +2 -1
- package/types/slider/hook/useLegalValue.d.ts +2 -1
- package/types/space/index.d.ts +2 -0
- package/types/space/toArray.d.ts +2 -1
- package/types/speech-synthesis/index.d.ts +2 -1
- package/types/spin/DotLoading.d.ts +2 -1
- package/types/statistic/index.d.ts +1 -0
- package/types/steps/index.d.ts +1 -0
- package/types/table/hook/useComponent.d.ts +2 -1
- package/types/table/hook/useExpand.d.ts +2 -1
- package/types/table/hook/useRowSelection.d.ts +2 -1
- package/types/table/hook/useSorter.d.ts +2 -1
- package/types/table/index.d.ts +2 -1
- package/types/table/summary/index.d.ts +3 -0
- package/types/tabs/Tab.d.ts +1 -0
- package/types/tabs/TabContent.d.ts +2 -2
- package/types/tabs/hook/useDomSize.d.ts +2 -1
- package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
- package/types/tabs/index.d.ts +1 -0
- package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
- package/types/time-picker/TimeColumn.d.ts +2 -2
- package/types/time-picker/index.d.ts +5 -0
- package/types/timeline/Timeline.d.ts +1 -0
- package/types/timeline/index.d.ts +1 -0
- package/types/tree-select/Select.d.ts +5 -0
- package/types/tree-select/hook/useTreeData.d.ts +2 -1
- package/types/tree-select/index.d.ts +2 -1
- package/types/typography/Operations.d.ts +2 -1
- package/types/typography/index.d.ts +1 -0
- package/types/upload/Upload.d.ts +2 -1
- package/types/upload/index.d.ts +2 -3
- package/types/utils/fillNBSP.d.ts +2 -1
- package/types/utils/getHighlightText.d.ts +2 -1
- package/types/utils/getHotkeyHandler.d.ts +2 -1
- package/types/utils/getStringLength.d.ts +2 -1
- package/types/utils/include.d.ts +2 -1
- package/types/utils/mergeProps.d.ts +2 -1
- package/types/utils/mergedToString.d.ts +2 -1
- package/types/utils/omit.d.ts +2 -1
- package/types/utils/pick.d.ts +2 -1
- package/types/utils/throttleByRaf.d.ts +2 -1
- package/types/utils/throttleByRafV2.d.ts +2 -1
- package/types/utils/warning.d.ts +2 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import Tree from '../tree';
|
|
3
|
+
import { NodeProps } from '../tree/interface';
|
|
3
4
|
import { RefTreeSelectType, TreeSelectProps } from './interface';
|
|
4
5
|
declare const ForwardRefTreeSelect: import("react").ForwardRefExoticComponent<TreeSelectProps & {
|
|
5
6
|
children?: ReactNode | undefined;
|
|
@@ -10,4 +11,8 @@ declare const TreeSelectComponent: typeof ForwardRefTreeSelect & {
|
|
|
10
11
|
SHOW_PARENT: typeof Tree.SHOW_PARENT;
|
|
11
12
|
SHOW_CHILD: typeof Tree.SHOW_CHILD;
|
|
12
13
|
};
|
|
14
|
+
declare const TreeNode: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<NodeProps & {
|
|
15
|
+
children?: ReactNode | undefined;
|
|
16
|
+
} & import("react").RefAttributes<HTMLDivElement>>>;
|
|
17
|
+
export { TreeNode as TreeSelectTreeNode };
|
|
13
18
|
export default TreeSelectComponent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TreeSelectProps } from '../../tree-select/interface';
|
|
2
2
|
import { TreeProps } from '../../tree/interface';
|
|
3
|
-
|
|
3
|
+
declare function useTreeData(props: TreeSelectProps): [TreeProps['treeData']];
|
|
4
|
+
export default useTreeData;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import type { OperationsProps } from './interface';
|
|
3
|
-
|
|
3
|
+
declare function Operations(props: PropsWithChildren<OperationsProps>): import("react/jsx-dev-runtime").JSX.Element;
|
|
4
|
+
export default Operations;
|
|
@@ -9,5 +9,6 @@ declare const Typography: typeof OriginTypography & {
|
|
|
9
9
|
Paragraph: typeof Paragraph;
|
|
10
10
|
Ellipsis: typeof Ellipsis;
|
|
11
11
|
};
|
|
12
|
+
export { Ellipsis as TypographyEllipsis, Paragraph as TypographyParagraph, Text as TypographyText, Title as TypographyTitle, };
|
|
12
13
|
export default Typography;
|
|
13
14
|
export type { EllipsisConfig, TypographyEllipsisProps, TypographyParagraphProps, TypographyProps, TypographyTextProps, TypographyTitleProps, } from './interface';
|
package/types/upload/Upload.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { STATUS, type UploadInstance, type UploadItem, type UploadProps } from './interface';
|
|
3
|
+
import UploadList from './list';
|
|
3
4
|
export type UploadState = {
|
|
4
5
|
uploadState: {
|
|
5
6
|
[key: string]: UploadItem;
|
|
@@ -8,6 +9,6 @@ export type UploadState = {
|
|
|
8
9
|
declare const UploadRef: React.ForwardRefExoticComponent<UploadProps & {
|
|
9
10
|
children?: React.ReactNode | undefined;
|
|
10
11
|
} & React.RefAttributes<UploadInstance>>;
|
|
11
|
-
export { STATUS };
|
|
12
|
+
export { STATUS, UploadList, STATUS as UploadSTATUS };
|
|
12
13
|
export default UploadRef;
|
|
13
14
|
export { UploadItem, UploadProps };
|
package/types/upload/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import Upload
|
|
2
|
-
|
|
3
|
-
export { STATUS, UploadList };
|
|
1
|
+
import Upload from './Upload';
|
|
2
|
+
export * from './Upload';
|
|
4
3
|
export default Upload;
|
|
5
4
|
export type { RequestOptions, UploadInstance, UploadItem, UploadListProps, UploadProps, UploadRequestReturn, UploadStatus, } from './interface';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function fillNBSP(str: any): any;
|
|
2
|
+
export default fillNBSP;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
declare function getHighlightText<T>({ nodeList, pattern, highlightClassName, }: {
|
|
2
2
|
nodeList: T;
|
|
3
3
|
pattern: string;
|
|
4
4
|
highlightClassName: string;
|
|
5
5
|
}): T;
|
|
6
|
+
export default getHighlightText;
|
|
@@ -5,4 +5,5 @@ export interface Key {
|
|
|
5
5
|
alt?: boolean;
|
|
6
6
|
meta?: boolean;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
declare function getHotkeyHandler(hotkeyMap: Map<Key | number | string, Function>): (e: KeyboardEvent) => void;
|
|
9
|
+
export default getHotkeyHandler;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function getStringLength(str: string): number;
|
|
2
|
+
export default getStringLength;
|
package/types/utils/include.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function include<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Partial<T>;
|
|
2
|
+
export default include;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function mergeProps<PropsType>(_componentProps: PropsType, _defaultProps: Partial<PropsType>, _globalComponentConfig: PropsType, propsNameList?: string[]): Partial<PropsType>;
|
|
2
|
+
export default mergeProps;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function mergedToString(children: any): string;
|
|
2
|
+
export default mergedToString;
|
package/types/utils/omit.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function omit<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Omit<T, K>;
|
|
2
|
+
export default omit;
|
package/types/utils/pick.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
declare function pick<T extends object, K extends keyof T>(o: T, keys: Array<K | string>): Pick<T, K>;
|
|
2
2
|
export declare function pickDataAttributes<T extends object, K extends keyof T>(o: T | undefined): {
|
|
3
3
|
[key in K]: any;
|
|
4
4
|
};
|
|
5
|
+
export default pick;
|
package/types/utils/warning.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function warning(condition: any, message: string, ...extra: any[]): void;
|
|
2
|
+
export default warning;
|
package/utils/contextHolder.js
CHANGED
package/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as t, r as a, d as o, l as s, i as f, c as i, u as l, m, o as p } from "../chunk/DApXtulb.js";
|
|
2
2
|
import { d as u } from "../chunk/D_-UD4vO.js";
|
|
3
|
-
import { w as n, k as c, z as g, A as y, G as S, D as b, s as C, b as R, P as h } from "../chunk/
|
|
3
|
+
import { w as n, k as c, z as g, A as y, G as S, D as b, s as C, b as R, P as h } from "../chunk/CTF5o0OX.js";
|
|
4
4
|
import { NOOP as A, newArray as N, pickTriggerPropsFromRest as k } from "./constant.js";
|
|
5
5
|
import { dayjs as P, getDayjsValue as D, getNow as T, getSortedDayjsArray as M, getTimeFormat as j, getValueWithTime as v, isDayjsArrayChange as F, isDayjsChange as W, isValidTimeString as w, methods as B, timezoneToOffset as L, toLocal as V, toTimezone as z } from "./dayjs.js";
|
|
6
6
|
import { contains as q, getScrollElements as I, isScrollElement as U, isServerRendering as G, off as J, on as _ } from "./dom.js";
|
|
@@ -30,7 +30,7 @@ import { responsiveArray as rr, responsiveMap as tr, default as ar } from "./res
|
|
|
30
30
|
import { fixedWidth as sr, getStyle as fr, setTransformStyle as ir } from "./style.js";
|
|
31
31
|
import { d as mr } from "../chunk/BsWphzcT.js";
|
|
32
32
|
import { y as dr } from "../chunk/BzPkh4Zv.js";
|
|
33
|
-
import { C as xr } from "../chunk/
|
|
33
|
+
import { C as xr } from "../chunk/B5GDq8NJ.js";
|
|
34
34
|
import { s as cr, s as gr } from "../chunk/Cb_oWoGj.js";
|
|
35
35
|
import { P as Sr } from "../chunk/CLBavO5c.js";
|
|
36
36
|
import { l as Cr } from "../chunk/CTxjmYmx.js";
|