@unicom-cloud/ui 0.8.63 → 0.8.65
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 +2 -2
- package/Alert.js +2 -2
- package/Anchor.js +1 -1
- package/AutoComplete.js +4 -4
- package/Avatar.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +37 -31
- package/Breadcrumb.js +3 -3
- package/Button.js +82 -71
- package/Calendar.js +4 -4
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +5 -5
- package/Comment.js +2 -2
- package/ConfigProvider.js +2 -2
- package/Copy.js +3 -3
- package/DatePicker.js +92 -92
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Drawer.js +1 -1
- package/Dropdown.js +27 -26
- package/Empty.js +2 -2
- package/Form.js +4 -4
- package/Grid.js +3 -3
- package/Icon.js +3 -2
- package/IconHover.js +2 -2
- package/Image.js +4 -1
- package/Input.js +11 -2
- package/InputNumber.js +3 -3
- package/InputTag.js +1 -1
- package/Layout.js +25 -21
- package/Link.js +2 -2
- package/List.js +31 -30
- package/Mentions.js +4 -4
- package/Menu.js +7 -2
- package/Message.js +4 -3
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +4 -3
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +4 -2
- package/Rate.js +2 -2
- package/ResizeBox.js +140 -137
- package/Result.js +2 -2
- package/Select.js +4 -1
- package/SelectView.js +7 -7
- package/Skeleton.js +2 -2
- package/Slider.js +5 -5
- package/Space.js +54 -50
- package/Spin.js +2 -2
- package/Statistic.js +29 -28
- package/Steps.js +41 -39
- package/Switch.js +3 -3
- package/Table.js +8 -5
- package/Tabs.js +6 -2
- package/Tag.js +2 -2
- package/TimePicker.js +38 -37
- package/Timeline.js +4 -2
- package/Tooltip.js +2 -2
- package/Transfer.js +4 -4
- package/Tree.js +1 -1
- package/TreeSelect.js +3 -1
- package/Trigger.js +43 -42
- package/Typography.js +6 -2
- package/Upload.js +3 -3
- package/VerificationCode.js +1 -1
- package/Version.js +5 -3
- package/Watermark.js +1 -1
- package/chunk/{DDDuw0Zi.js → 1GQdnTJp.js} +2 -2
- package/chunk/BAWsPQBM.js +11 -0
- package/chunk/{CfZWOhnc.js → BS09tn7B.js} +2 -2
- package/chunk/{CZ1wrD_H.js → BUCEs557.js} +2 -2
- package/chunk/BqGtwxTi.js +777 -0
- package/chunk/{BcwdVUDs.js → Bqk6yh16.js} +2 -2
- package/chunk/{CD7dGcUa.js → BqufsN8i.js} +4 -4
- package/chunk/{Dpzgtdt-.js → BtlvlGQN.js} +2 -2
- package/chunk/{BoDdbbF_.js → CF6p9R93.js} +4 -3
- package/chunk/{BnLshM9R.js → CGZ0In1p.js} +189 -182
- package/chunk/{B5gIo-hD.js → CH1UUxsg.js} +4 -4
- package/chunk/{D3dcFbex.js → CIlGCedk.js} +3 -3
- package/chunk/{CgDayZDE.js → CPcm9Cm5.js} +2 -2
- package/chunk/{Cqyp4qni.js → CSC_V_25.js} +45 -45
- package/chunk/{JpKOcIfl.js → CWgltRVL.js} +44 -41
- package/chunk/{BLLKKgZJ.js → CsbCHnFk.js} +23 -21
- package/chunk/{Cb_oWoGj.js → CwhPMMWy.js} +14 -14
- package/chunk/{B9w_puFP.js → DG-epQqF.js} +2 -2
- package/chunk/{QFkhCtUr.js → DIx0qmCq.js} +3 -3
- package/chunk/{Bn2-vqTg.js → DK4KcodH.js} +201 -195
- package/chunk/{BEB_A9eY.js → DLvMA1OW.js} +2 -2
- package/chunk/{DbPYtS7-.js → DQDkV47j.js} +2 -2
- package/chunk/{rlfmXePI.js → DTjcKyDN.js} +135 -134
- package/chunk/{BmO1y0vr.js → DUeHQKtx.js} +12 -12
- package/chunk/{C6Zb_-OE.js → DXZEpA3t.js} +2 -2
- package/chunk/{aqSmxUbY.js → DjtWv6Wn.js} +1 -1
- package/chunk/{C5S_amaH.js → DlLL5JQo.js} +106 -101
- package/chunk/{CvlD3aiv.js → Dnycc1qJ.js} +133 -130
- package/chunk/{DbLgopUR.js → DqFhzTWC.js} +3 -3
- package/chunk/{DXZ8-ha7.js → Dv_xRzvR.js} +3 -3
- package/chunk/{Dk6hL04k.js → Ek8U5CTN.js} +222 -221
- package/chunk/{CfTcP6nF.js → ewRDIDUz.js} +4 -4
- package/chunk/{CAxIyiy6.js → tYXLFPVI.js} +6 -4
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useMergeValue.js +2 -2
- package/index.js +530 -476
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/package.json +1 -1
- package/style/variable.less +820 -0
- package/style.css +1 -1
- package/types/badge/index.d.ts +2 -2
- package/types/button/index.d.ts +3 -1
- package/types/calendar/hook/useCellClassName.d.ts +2 -1
- package/types/checkbox/IconCheck.d.ts +2 -1
- package/types/config-provider/interface.d.ts +1 -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 +26 -26
- 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/select/interface.d.ts +1 -1
- 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/types/version/index.d.ts +2 -0
- package/utils/className.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/index.js +41 -41
- package/utils/is.js +37 -37
- package/utils/reactDOM.js +3 -3
- package/utils/scrollIntoView.js +1 -1
- package/chunk/BzPkh4Zv.js +0 -11
- package/chunk/Co3idurS.js +0 -774
|
@@ -3,21 +3,21 @@ var fe = (r, p, e) => p in r ? he(r, p, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var y = (r, p, e) => fe(r, typeof p != "symbol" ? p + "" : p, e);
|
|
4
4
|
import { jsx as b, jsxs as j, Fragment as pe } from "react/jsx-runtime";
|
|
5
5
|
import Y, { createContext as ye, useContext as U, useRef as A, useEffect as ee, useMemo as H, forwardRef as ne, useState as ge, useCallback as V, useImperativeHandle as ue, createElement as q, Component as Ke } from "react";
|
|
6
|
-
import { G as ke } from "./
|
|
6
|
+
import { G as ke } from "./CSC_V_25.js";
|
|
7
7
|
import O from "lodash/get";
|
|
8
8
|
import B from "lodash/has";
|
|
9
9
|
import me from "lodash/isArray";
|
|
10
10
|
import I from "lodash/isEqualWith";
|
|
11
11
|
import $ from "lodash/isFunction";
|
|
12
12
|
import te from "lodash/isUndefined";
|
|
13
|
-
import { d as z, I as xe } from "./
|
|
14
|
-
import { y as M } from "./
|
|
13
|
+
import { d as z, I as xe } from "./DlLL5JQo.js";
|
|
14
|
+
import { y as M } from "./BAWsPQBM.js";
|
|
15
15
|
import { pickDataAttributes as Ne } from "../utils/pick.js";
|
|
16
16
|
import be from "@unicom-cloud/icons/IconUiCaretDown";
|
|
17
17
|
import De from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
18
18
|
import Ce from "@unicom-cloud/icons/IconUiFile";
|
|
19
19
|
import Pe from "@unicom-cloud/icons/IconUiLoading";
|
|
20
|
-
import { C as Ee } from "./
|
|
20
|
+
import { C as Ee } from "./DG-epQqF.js";
|
|
21
21
|
import we from "../utils/throttleByRaf.js";
|
|
22
22
|
import Se from "lodash/isNumber";
|
|
23
23
|
import { P as _e } from "./CLBavO5c.js";
|
|
@@ -2,11 +2,11 @@ import { jsx as h, jsxs as et } from "react/jsx-runtime";
|
|
|
2
2
|
import ft from "lodash/isFunction";
|
|
3
3
|
import kt from "lodash/isPlainObject";
|
|
4
4
|
import F, { useContext as nt, useRef as j, useState as wt, useEffect as Y, useMemo as at, useCallback as ce, useImperativeHandle as le } from "react";
|
|
5
|
-
import { d as mt, I as pt } from "./
|
|
5
|
+
import { d as mt, I as pt } from "./DlLL5JQo.js";
|
|
6
6
|
import { useId as se } from "../hooks/useId.js";
|
|
7
7
|
import { useMergeProps as fe } from "../hooks/useMergeProps.js";
|
|
8
8
|
import { useMergeValue as de } from "../hooks/useMergeValue.js";
|
|
9
|
-
import { y as M } from "./
|
|
9
|
+
import { y as M } from "./BAWsPQBM.js";
|
|
10
10
|
import dt from "../utils/omit.js";
|
|
11
11
|
import ue from "@unicom-cloud/icons/IconUiPlus";
|
|
12
12
|
import Tt from "lodash/isNumber";
|
|
@@ -17,7 +17,7 @@ import { setTransformStyle as me } from "../utils/style.js";
|
|
|
17
17
|
import jt from "@unicom-cloud/icons/IconUiDown";
|
|
18
18
|
import Ut from "lodash/isNull";
|
|
19
19
|
import pe from "../Dropdown.js";
|
|
20
|
-
import { M as Mt } from "./
|
|
20
|
+
import { M as Mt } from "./CWgltRVL.js";
|
|
21
21
|
import ge from "lodash/isEqualWith";
|
|
22
22
|
import be from "../utils/throttleByRaf.js";
|
|
23
23
|
import Et from "@unicom-cloud/icons/IconUiLeft";
|
|
@@ -865,5 +865,7 @@ const Be = F.forwardRef(
|
|
|
865
865
|
Vt.displayName = "Tabs";
|
|
866
866
|
Vt.TabPane = Ct;
|
|
867
867
|
export {
|
|
868
|
-
Vt as T
|
|
868
|
+
Vt as T,
|
|
869
|
+
Rt as a,
|
|
870
|
+
Ct as b
|
|
869
871
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRef as c } from "react";
|
|
2
2
|
import { isServerRendering as i } from "../utils/dom.js";
|
|
3
3
|
import "../utils/is.js";
|
|
4
|
-
import u from "lodash/isUndefined";
|
|
4
|
+
import u from "lodash/isUndefined.js";
|
|
5
5
|
const f = !i && !u(window == null ? void 0 : window.IntersectionObserver);
|
|
6
6
|
function O(t, o = {}) {
|
|
7
7
|
const r = c(), e = () => {
|
package/hooks/useMergeValue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useRef as i, useState as l, useEffect as m } from "react";
|
|
2
2
|
import "../utils/is.js";
|
|
3
3
|
import { usePrevious as c } from "./usePrevious.js";
|
|
4
|
-
import "../chunk/
|
|
5
|
-
import t from "lodash/isUndefined";
|
|
4
|
+
import "../chunk/CSC_V_25.js";
|
|
5
|
+
import t from "lodash/isUndefined.js";
|
|
6
6
|
function P(a, f) {
|
|
7
7
|
const { defaultValue: r, value: e } = f || {}, u = i(!0), n = c(e), [o, s] = l(
|
|
8
8
|
t(e) ? t(r) ? a : r : e
|