@stackshift-ui/skeleton 1.0.0-beta.4 → 1.0.0-beta.6
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/package.json +4 -4
- package/dist/chunk-FKCZDUFC.mjs +0 -1
- package/dist/chunk-OZ6GORXA.mjs +0 -20
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/dist/skeleton.d.ts +0 -5
- package/dist/skeleton.js +0 -1
- package/dist/skeleton.mjs +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/skeleton",
|
|
3
3
|
"description": "Use to show a placeholder while content is loading.",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/
|
|
38
|
-
"@stackshift-ui/
|
|
37
|
+
"@stackshift-ui/system": "7.0.0-beta.5",
|
|
38
|
+
"@stackshift-ui/scripts": "7.0.0-beta.4"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "16.8 - 19",
|
|
42
42
|
"next": "10 - 14",
|
|
43
43
|
"react": "16.8 - 19",
|
|
44
44
|
"react-dom": "16.8 - 19",
|
|
45
|
-
"@stackshift-ui/system": ">=
|
|
45
|
+
"@stackshift-ui/system": ">=7.0.0-beta.5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"next": {
|
package/dist/chunk-FKCZDUFC.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cn as a,DefaultComponent as s,useStackShiftUIComponents as m}from"@stackshift-ui/system";import{jsx as l}from"react/jsx-runtime";var e="Skeleton";function p({className:o,...n}){let{[e]:t=s}=m();return l(t,{"data-slot":"skeleton",className:a("bg-accent animate-pulse rounded-md",o),...n})}p.displayName=e;export{p as a};
|
package/dist/chunk-OZ6GORXA.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// src/skeleton.tsx
|
|
2
|
-
import { cn, DefaultComponent, useStackShiftUIComponents } from "@stackshift-ui/system";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
var displayName = "Skeleton";
|
|
5
|
-
function Skeleton({ className, ...props }) {
|
|
6
|
-
const { [displayName]: Component = DefaultComponent } = useStackShiftUIComponents();
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
Component,
|
|
9
|
-
{
|
|
10
|
-
"data-slot": "skeleton",
|
|
11
|
-
className: cn("bg-accent animate-pulse rounded-md", className),
|
|
12
|
-
...props
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
Skeleton.displayName = displayName;
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
Skeleton
|
|
20
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./skeleton";
|
package/dist/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var u=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},f=(o,e,t,m)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of i(e))!r.call(o,a)&&a!==t&&s(o,a,{get:()=>e[a],enumerable:!(m=d(e,a))||m.enumerable});return o};var k=o=>f(s({},"__esModule",{value:!0}),o);var C={};u(C,{Skeleton:()=>l});module.exports=k(C);var n=require("@stackshift-ui/system"),c=require("react/jsx-runtime"),p="Skeleton";function l({className:o,...e}){let{[p]:t=n.DefaultComponent}=(0,n.useStackShiftUIComponents)();return(0,c.jsx)(t,{"data-slot":"skeleton",className:(0,n.cn)("bg-accent animate-pulse rounded-md",o),...e})}l.displayName=p;0&&(module.exports={Skeleton});
|
package/dist/index.mjs
DELETED
package/dist/skeleton.d.ts
DELETED
package/dist/skeleton.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var u=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},f=(o,e,n,m)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of i(e))!r.call(o,a)&&a!==n&&s(o,a,{get:()=>e[a],enumerable:!(m=d(e,a))||m.enumerable});return o};var k=o=>f(s({},"__esModule",{value:!0}),o);var C={};u(C,{Skeleton:()=>l});module.exports=k(C);var t=require("@stackshift-ui/system"),c=require("react/jsx-runtime"),p="Skeleton";function l({className:o,...e}){let{[p]:n=t.DefaultComponent}=(0,t.useStackShiftUIComponents)();return(0,c.jsx)(n,{"data-slot":"skeleton",className:(0,t.cn)("bg-accent animate-pulse rounded-md",o),...e})}l.displayName=p;0&&(module.exports={Skeleton});
|
package/dist/skeleton.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-FKCZDUFC.mjs";export{a as Skeleton};
|