@stackshift-ui/skeleton 1.0.0-beta.6 → 1.0.0-beta.7

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.
@@ -0,0 +1 @@
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};
@@ -0,0 +1 @@
1
+ export * from "./skeleton";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
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 ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";import{a as e}from"./chunk-FKCZDUFC.mjs";export{e as Skeleton};
@@ -0,0 +1,5 @@
1
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
2
+ declare namespace Skeleton {
3
+ var displayName: string;
4
+ }
5
+ export { Skeleton };
@@ -0,0 +1 @@
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});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-FKCZDUFC.mjs";export{a as Skeleton};
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.6",
4
+ "version": "1.0.0-beta.7",
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/system": "7.0.0-beta.5",
38
- "@stackshift-ui/scripts": "7.0.0-beta.4"
37
+ "@stackshift-ui/scripts": "7.0.0-beta.5",
38
+ "@stackshift-ui/system": "7.0.0-beta.6"
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": ">=7.0.0-beta.5"
45
+ "@stackshift-ui/system": ">=7.0.0-beta.6"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "next": {