@cfx-dev/ui-components 2.1.20 → 2.1.21
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/dist/assets/Skeleton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._skeleton_fx7ao_1{display:inline-block;position:relative;overflow:hidden;background-color:rgba(var(--color-bg-light),1);border-radius:var(--border-radius-xsmall)}._skeleton_fx7ao_1:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,#9ea4bd00 0,#9ea4bd33 20%,#9ea4bd80 60%,#9ea4bd00);animation:_shimmer_fx7ao_1 3.5s infinite;content:""}@keyframes _shimmer_fx7ao_1{to{transform:translate(100%)}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { TextSizeEnum as l } from "../Text/Text.types.js";
|
|
4
|
-
import '../../assets/Skeleton.css';const r = "
|
|
4
|
+
import '../../assets/Skeleton.css';const r = "_skeleton_fx7ao_1", i = "_shimmer_fx7ao_1", f = {
|
|
5
5
|
skeleton: r,
|
|
6
6
|
shimmer: i
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function a({
|
|
9
9
|
width: o = "100%",
|
|
10
10
|
height: e = "20px",
|
|
11
11
|
borderRadius: s = "4px"
|
|
@@ -23,7 +23,7 @@ function _({
|
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const k = n.memo(a);
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
k as default
|
|
29
29
|
};
|