@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.
Files changed (191) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +3 -3
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +1 -1
  7. package/Badge.js +1 -1
  8. package/Breadcrumb.js +2 -2
  9. package/Button.js +1 -1
  10. package/Calendar.js +3 -3
  11. package/Card.js +1 -1
  12. package/Carousel.js +1 -1
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +4 -4
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +1 -1
  20. package/DatePicker.js +3 -3
  21. package/Descriptions.js +1 -1
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +26 -25
  26. package/Empty.js +1 -1
  27. package/Form.js +1 -1
  28. package/Grid.js +2 -2
  29. package/Icon.js +2 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +4 -1
  32. package/Input.js +11 -2
  33. package/InputNumber.js +2 -2
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -20
  36. package/Link.js +1 -1
  37. package/List.js +4 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +7 -2
  40. package/Message.js +3 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +1 -1
  43. package/Notification.js +3 -2
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +1 -1
  49. package/Popover.js +1 -1
  50. package/Progress.js +1 -1
  51. package/Radio.js +4 -2
  52. package/Rate.js +1 -1
  53. package/ResizeBox.js +66 -64
  54. package/Result.js +1 -1
  55. package/Select.js +4 -1
  56. package/SelectView.js +3 -3
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +2 -2
  59. package/Space.js +54 -50
  60. package/Spin.js +1 -1
  61. package/Statistic.js +28 -27
  62. package/Steps.js +40 -38
  63. package/Switch.js +1 -1
  64. package/Table.js +7 -4
  65. package/Tabs.js +6 -2
  66. package/Tag.js +1 -1
  67. package/TimePicker.js +37 -36
  68. package/Timeline.js +4 -2
  69. package/Tooltip.js +1 -1
  70. package/Transfer.js +3 -3
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +3 -1
  73. package/Trigger.js +1 -1
  74. package/Typography.js +6 -2
  75. package/Upload.js +5 -4
  76. package/VerificationCode.js +1 -1
  77. package/Watermark.js +1 -1
  78. package/chunk/{DDDuw0Zi.js → -IELMT_x.js} +1 -1
  79. package/chunk/{C5S_amaH.js → B5GDq8NJ.js} +7 -5
  80. package/chunk/{DbLgopUR.js → B68hRpYG.js} +1 -1
  81. package/chunk/{BLLKKgZJ.js → BCxoi4Kf.js} +22 -20
  82. package/chunk/{B5gIo-hD.js → BHnRi7Xh.js} +3 -3
  83. package/chunk/{CfZWOhnc.js → BJSjbYSN.js} +1 -1
  84. package/chunk/{CfTcP6nF.js → BSBJlVZH.js} +2 -2
  85. package/chunk/{rlfmXePI.js → BfHNSLva.js} +2 -2
  86. package/chunk/{JpKOcIfl.js → BtIG250j.js} +6 -3
  87. package/chunk/{DXZ8-ha7.js → BwSpYGK-.js} +1 -1
  88. package/chunk/{Dpzgtdt-.js → CA69nxbj.js} +1 -1
  89. package/chunk/{BoDdbbF_.js → CAhODOfT.js} +3 -2
  90. package/chunk/{DbPYtS7-.js → CAiaqaWc.js} +1 -1
  91. package/chunk/{CvlD3aiv.js → CBgwLBAC.js} +40 -38
  92. package/chunk/{aqSmxUbY.js → CTF5o0OX.js} +1 -1
  93. package/chunk/{BEB_A9eY.js → CYQ1EE4h.js} +1 -1
  94. package/chunk/{C6Zb_-OE.js → CZfGDXaB.js} +1 -1
  95. package/chunk/{BcwdVUDs.js → CtUTlwlQ.js} +1 -1
  96. package/chunk/{QFkhCtUr.js → CxpFYX4B.js} +2 -2
  97. package/chunk/{BnLshM9R.js → D-oHJail.js} +58 -54
  98. package/chunk/{Bn2-vqTg.js → D01b7bWX.js} +50 -45
  99. package/chunk/{CD7dGcUa.js → DPJEIBKZ.js} +2 -2
  100. package/chunk/{Dk6hL04k.js → DQ561AmR.js} +2 -2
  101. package/chunk/{B9w_puFP.js → QlYCEvCX.js} +1 -1
  102. package/chunk/{D3dcFbex.js → Yvz-hPQB.js} +2 -2
  103. package/chunk/{Co3idurS.js → _m8hLSsx.js} +4 -2
  104. package/chunk/{CZ1wrD_H.js → oR9TkA35.js} +1 -1
  105. package/chunk/{CAxIyiy6.js → pq-36BDW.js} +5 -3
  106. package/chunk/{CgDayZDE.js → tW_FgNSv.js} +1 -1
  107. package/index.js +536 -486
  108. package/package.json +1 -1
  109. package/types/calendar/hook/useCellClassName.d.ts +2 -1
  110. package/types/checkbox/IconCheck.d.ts +2 -1
  111. package/types/date-picker/hook/useCellClassName.d.ts +2 -1
  112. package/types/date-picker/panel/Footer.d.ts +2 -1
  113. package/types/dropdown/index.d.ts +1 -0
  114. package/types/form/IconSymbol.d.ts +2 -1
  115. package/types/form/useForm.d.ts +2 -1
  116. package/types/icon/addFromIconFontCn.d.ts +2 -1
  117. package/types/icon/index.d.ts +2 -0
  118. package/types/image/Image.d.ts +1 -0
  119. package/types/image/index.d.ts +2 -1
  120. package/types/image/util/getFixTranslate.d.ts +2 -1
  121. package/types/image/util/hook/useImageStatus.d.ts +2 -2
  122. package/types/image/util/hook/useShowFooter.d.ts +2 -2
  123. package/types/index.d.ts +23 -23
  124. package/types/input/Input.d.ts +1 -0
  125. package/types/input/index.d.ts +1 -0
  126. package/types/input/useComposition.d.ts +2 -1
  127. package/types/input-number/useSelectionRange.d.ts +2 -1
  128. package/types/layout/index.d.ts +1 -0
  129. package/types/list/index.d.ts +1 -0
  130. package/types/menu/Indent.d.ts +2 -1
  131. package/types/menu/Menu.d.ts +1 -0
  132. package/types/menu/index.d.ts +1 -0
  133. package/types/message/index.d.ts +2 -0
  134. package/types/notification/index.d.ts +2 -0
  135. package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
  136. package/types/overflow-ellipsis/index.d.ts +2 -2
  137. package/types/radio/Radio.d.ts +2 -0
  138. package/types/radio/index.d.ts +2 -1
  139. package/types/resize-box/ResizeTrigger.d.ts +2 -1
  140. package/types/resize-box/index.d.ts +1 -0
  141. package/types/result/403.d.ts +2 -1
  142. package/types/result/404.d.ts +2 -1
  143. package/types/result/500.d.ts +2 -1
  144. package/types/select/Select.d.ts +1 -1
  145. package/types/select/index.d.ts +1 -0
  146. package/types/skeleton/Image.d.ts +2 -1
  147. package/types/skeleton/Text.d.ts +2 -1
  148. package/types/slider/hook/useLegalValue.d.ts +2 -1
  149. package/types/space/index.d.ts +2 -0
  150. package/types/space/toArray.d.ts +2 -1
  151. package/types/speech-synthesis/index.d.ts +2 -1
  152. package/types/spin/DotLoading.d.ts +2 -1
  153. package/types/statistic/index.d.ts +1 -0
  154. package/types/steps/index.d.ts +1 -0
  155. package/types/table/hook/useComponent.d.ts +2 -1
  156. package/types/table/hook/useExpand.d.ts +2 -1
  157. package/types/table/hook/useRowSelection.d.ts +2 -1
  158. package/types/table/hook/useSorter.d.ts +2 -1
  159. package/types/table/index.d.ts +2 -1
  160. package/types/table/summary/index.d.ts +3 -0
  161. package/types/tabs/Tab.d.ts +1 -0
  162. package/types/tabs/TabContent.d.ts +2 -2
  163. package/types/tabs/hook/useDomSize.d.ts +2 -1
  164. package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
  165. package/types/tabs/index.d.ts +1 -0
  166. package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
  167. package/types/time-picker/TimeColumn.d.ts +2 -2
  168. package/types/time-picker/index.d.ts +5 -0
  169. package/types/timeline/Timeline.d.ts +1 -0
  170. package/types/timeline/index.d.ts +1 -0
  171. package/types/tree-select/Select.d.ts +5 -0
  172. package/types/tree-select/hook/useTreeData.d.ts +2 -1
  173. package/types/tree-select/index.d.ts +2 -1
  174. package/types/typography/Operations.d.ts +2 -1
  175. package/types/typography/index.d.ts +1 -0
  176. package/types/upload/Upload.d.ts +2 -1
  177. package/types/upload/index.d.ts +2 -3
  178. package/types/utils/fillNBSP.d.ts +2 -1
  179. package/types/utils/getHighlightText.d.ts +2 -1
  180. package/types/utils/getHotkeyHandler.d.ts +2 -1
  181. package/types/utils/getStringLength.d.ts +2 -1
  182. package/types/utils/include.d.ts +2 -1
  183. package/types/utils/mergeProps.d.ts +2 -1
  184. package/types/utils/mergedToString.d.ts +2 -1
  185. package/types/utils/omit.d.ts +2 -1
  186. package/types/utils/pick.d.ts +2 -1
  187. package/types/utils/throttleByRaf.d.ts +2 -1
  188. package/types/utils/throttleByRafV2.d.ts +2 -1
  189. package/types/utils/warning.d.ts +2 -1
  190. package/utils/contextHolder.js +1 -1
  191. package/utils/index.js +2 -2
@@ -1,3 +1,4 @@
1
1
  import Timeline from './Timeline';
2
+ export * from './Timeline';
2
3
  export default Timeline;
3
4
  export type { TimelineItemProps, TimelineProps } from './interface';
@@ -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
- export default function useTreeData(props: TreeSelectProps): [TreeProps['treeData']];
3
+ declare function useTreeData(props: TreeSelectProps): [TreeProps['treeData']];
4
+ export default useTreeData;
@@ -1,3 +1,4 @@
1
1
  import TreeSelect from './Select';
2
- export default TreeSelect;
3
2
  export type { RefTreeSelectType, TreeSelectProps } from './interface';
3
+ export * from './Select';
4
+ export default TreeSelect;
@@ -1,3 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import type { OperationsProps } from './interface';
3
- export default function Operations(props: PropsWithChildren<OperationsProps>): import("react/jsx-dev-runtime").JSX.Element;
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';
@@ -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 };
@@ -1,5 +1,4 @@
1
- import Upload, { STATUS } from './Upload';
2
- import UploadList from './list';
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
- export default function fillNBSP(str: any): any;
1
+ declare function fillNBSP(str: any): any;
2
+ export default fillNBSP;
@@ -1,5 +1,6 @@
1
- export default function getHighlightText<T>({ nodeList, pattern, highlightClassName, }: {
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
- export default function getHotkeyHandler(hotkeyMap: Map<Key | number | string, Function>): (e: KeyboardEvent) => void;
8
+ declare function getHotkeyHandler(hotkeyMap: Map<Key | number | string, Function>): (e: KeyboardEvent) => void;
9
+ export default getHotkeyHandler;
@@ -1 +1,2 @@
1
- export default function getStringLength(str: string): number;
1
+ declare function getStringLength(str: string): number;
2
+ export default getStringLength;
@@ -1 +1,2 @@
1
- export default function include<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Partial<T>;
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
- export default function mergeProps<PropsType>(_componentProps: PropsType, _defaultProps: Partial<PropsType>, _globalComponentConfig: PropsType, propsNameList?: string[]): Partial<PropsType>;
1
+ declare function mergeProps<PropsType>(_componentProps: PropsType, _defaultProps: Partial<PropsType>, _globalComponentConfig: PropsType, propsNameList?: string[]): Partial<PropsType>;
2
+ export default mergeProps;
@@ -1 +1,2 @@
1
- export default function mergedToString(children: any): string;
1
+ declare function mergedToString(children: any): string;
2
+ export default mergedToString;
@@ -1 +1,2 @@
1
- export default function omit<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Omit<T, K>;
1
+ declare function omit<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Omit<T, K>;
2
+ export default omit;
@@ -1,4 +1,5 @@
1
- export default function pick<T extends object, K extends keyof T>(o: T, keys: Array<K | string>): Pick<T, K>;
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;
@@ -1,4 +1,5 @@
1
- export default function throttleByRaf(cb: (...args: any[]) => void): {
1
+ declare function throttleByRaf(cb: (...args: any[]) => void): {
2
2
  (...args: any[]): void;
3
3
  cancel(): void;
4
4
  };
5
+ export default throttleByRaf;
@@ -1,4 +1,5 @@
1
- export default function (cb: (...args: any[]) => void): {
1
+ declare function throttleByRafV2(cb: (...args: any[]) => void): {
2
2
  (...args: any[]): void;
3
3
  cancel(): void;
4
4
  };
5
+ export default throttleByRafV2;
@@ -1 +1,2 @@
1
- export default function warning(condition: any, message: string, ...extra: any[]): void;
1
+ declare function warning(condition: any, message: string, ...extra: any[]): void;
2
+ export default warning;
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { C as a } from "../chunk/C5S_amaH.js";
2
+ import { C as a } from "../chunk/B5GDq8NJ.js";
3
3
  export {
4
4
  a as default
5
5
  };
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/aqSmxUbY.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/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/C5S_amaH.js";
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";