@skel-ui/react 1.0.0-alpha.444268b → 1.0.0-alpha.87a0363

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/cjs/index.js CHANGED
@@ -139,7 +139,7 @@ function createSkelComponent(type, isVoidTag = false) {
139
139
  const loadingStyle = isLoading ? {
140
140
  width: sw,
141
141
  height: sh,
142
- borderRadius: sr || "var(--skel-ui-radius)",
142
+ borderRadius: sr,
143
143
  color: "transparent",
144
144
  cursor: "default",
145
145
  userSelect: "none",
package/dist/esm/index.js CHANGED
@@ -7,7 +7,7 @@ function createSkelComponent(type, isVoidTag = false) {
7
7
  const loadingStyle = isLoading ? {
8
8
  width: sw,
9
9
  height: sh,
10
- borderRadius: sr || "var(--skel-ui-radius)",
10
+ borderRadius: sr,
11
11
  color: "transparent",
12
12
  cursor: "default",
13
13
  userSelect: "none",
package/dist/styles.css CHANGED
@@ -5,6 +5,7 @@
5
5
  --skel-ui-animation-easing: cubic-bezier(0.4, 0, 0.6, 1);
6
6
  }
7
7
  [aria-hidden=true][data-loading=true] {
8
+ border-radius: var(--skel-ui-radius);
8
9
  animation: skel-ui-shimmer var(--skel-ui-animation-duration, 2s) var(--skel-ui-animation-easing) infinite !important;
9
10
  background-image:
10
11
  linear-gradient(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skel-ui/react",
3
3
  "author": "https://github.com/sudoaugustin",
4
- "version": "1.0.0-alpha.444268b",
4
+ "version": "1.0.0-alpha.87a0363",
5
5
  "license": "MIT",
6
6
  "description": "Next era of skeleton loading for React",
7
7
  "files": [
@@ -75,8 +75,8 @@
75
75
  "tailwindcss": "^3.4.13",
76
76
  "typescript": "^5.7.2",
77
77
  "@skel-ui/core": "1.0.0",
78
- "commons-utils": "0.0.1",
79
- "commons-tsconfig": "0.0.1"
78
+ "commons-tsconfig": "0.0.1",
79
+ "commons-utils": "0.0.1"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "react": "^17.0 || ^18.0",