@skel-ui/react 0.1.1-alpha.106abe5 → 0.1.1-alpha.32766a5

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
@@ -54,6 +54,7 @@ function Item({ as, color, radius, children, ...rest }) {
54
54
  "--skel-ui-radius": radius
55
55
  },
56
56
  "data-loading": isLoading,
57
+ "data-skel-item": true,
57
58
  children: isLoading ? "\u200C" : typeof children === "function" ? children() : children
58
59
  }
59
60
  );
package/dist/esm/index.js CHANGED
@@ -20,6 +20,7 @@ function Item({ as, color, radius, children, ...rest }) {
20
20
  "--skel-ui-radius": radius
21
21
  },
22
22
  "data-loading": isLoading,
23
+ "data-skel-item": true,
23
24
  children: isLoading ? "\u200C" : typeof children === "function" ? children() : children
24
25
  }
25
26
  );
package/dist/styles.css CHANGED
@@ -2,7 +2,7 @@
2
2
  --skel-ui-color: #cbd5e1;
3
3
  --skel-ui-radius: 0.25rem;
4
4
  }
5
- [data-loading=true] {
5
+ [data-skel-item][data-loading=true] {
6
6
  border-radius: var(--skel-ui-radius);
7
7
  background-color: var(--skel-ui-color) !important;
8
8
  color: transparent !important;
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": "0.1.1-alpha.106abe5",
4
+ "version": "0.1.1-alpha.32766a5",
5
5
  "license": "MIT",
6
6
  "description": "Next era of skeleton loading for React",
7
7
  "files": [