@unicom-cloud/ui 0.8.94 → 0.8.96
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/Tooltip.js +1 -1
- package/alert/index.js +50 -49
- package/badge/index.js +11 -11
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +1 -1
- package/color-picker/colors.js +1 -1
- package/color-picker/hooks/useColorPicker.js +1 -1
- package/color-picker/utils.js +1 -1
- package/components/common/empty/index.js +33 -13
- package/components/common/hooks/useForceUpdate.js +6 -2
- package/components/common/hooks/useId.js +8 -8
- package/components/common/space/index.js +1 -1
- package/components/common/utils/setPrimaryColor.js +21 -21
- package/components/common/utils/setTheme.js +23 -23
- package/details/index.js +32 -31
- package/dist/tinycolor/chunk/{DGZSWe7E.js → BOzCVdr0.js} +43 -43
- package/dist/tinycolor/customize/index.js +1 -1
- package/hooks/index.js +50 -52
- package/index.js +674 -680
- package/package.json +1 -1
- package/rate/index.js +1 -1
- package/slider/index.js +1 -1
- package/slider/util.js +1 -1
- package/style.css +1 -1
- package/table/Table.js +145 -145
- package/tag/index.js +24 -24
- package/tooltip/index.js +1 -1
- package/types/common/utils/math.d.ts +1 -1
- package/types/pc/alert/interface.d.ts +2 -2
- package/types/pc/badge/interface.d.ts +1 -1
- package/types/pc/details/interface.d.ts +2 -2
- package/types/pc/hooks/index.d.ts +0 -1
- package/types/pc/menu/context.d.ts +1 -1
- package/types/pc/utils/math.d.ts +1 -1
- package/typography/Ellipsis.js +1 -1
- package/utils/color.js +1 -1
- package/utils/index.js +174 -178
- package/utils/math.js +7 -11
- package/utils/tinycolor.js +1 -1
- package/version/index.js +1 -1
- package/components/common/hooks/useComputedState.js +0 -11
- package/hooks/useComputedState.js +0 -4
- package/types/common/hooks/useComputedState.d.ts +0 -4
- package/types/pc/hooks/useComputedState.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.96","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/pc/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/rate/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import Z from "@unicom-cloud/icons/IconUiFaceFrownFill";
|
|
|
3
3
|
import U from "@unicom-cloud/icons/IconUiFaceMehFill";
|
|
4
4
|
import x from "@unicom-cloud/icons/IconUiFaceSmileFill";
|
|
5
5
|
import tt from "@unicom-cloud/icons/IconUiStarFill";
|
|
6
|
-
import { times as rt,
|
|
6
|
+
import { times as rt, div as et } from "@unicom-cloud/utils/math";
|
|
7
7
|
import _, { useContext as ot, useState as y } from "react";
|
|
8
8
|
import "../config-provider/ConfigProvider.js";
|
|
9
9
|
import at from "../components/common/hooks/useMergeProps.js";
|
package/slider/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as v, jsxs as oe } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { div as Fe, plus as Je, times as qe } from "@unicom-cloud/utils/math";
|
|
3
3
|
import re from "lodash/isArray";
|
|
4
4
|
import ae from "lodash/isFunction";
|
|
5
5
|
import ie from "lodash/isPlainObject";
|
package/slider/util.js
CHANGED