@appcorp/shadcn 2.0.2 → 2.0.5

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.
@@ -1,2 +1,4 @@
1
- export type { AreaChartV1Props } from "./area-chart-v1-impl";
2
- export declare const AreaChartV1: typeof import("./area-chart-v1-impl")["AreaChartV1"];
1
+ import * as React from "react";
2
+ import { type AreaChartV1Props } from "./area-chart-v1-impl";
3
+ export type { AreaChartV1Props };
4
+ export declare const AreaChartV1: (props: AreaChartV1Props) => React.JSX.Element;
@@ -1 +1 @@
1
- "use strict";"use client";import*as e from"react";const o=import("./area-chart-v1-impl"),r=t=>e.lazy(()=>o.then(a=>({default:a[t]})));export const AreaChartV1=r("AreaChartV1");
1
+ "use strict";"use client";import*as e from"react";const a=e.lazy(()=>import("./area-chart-v1-impl").then(t=>({default:t.AreaChartV1})));export const AreaChartV1=t=>e.createElement(e.Suspense,{fallback:e.createElement("div",{className:"h-[250px] w-full animate-pulse rounded-xl bg-muted"})},e.createElement(a,Object.assign({},t)));
@@ -1 +1 @@
1
- "use strict";"use client";var s=function(r,a){var l={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&a.indexOf(e)<0&&(l[e]=r[e]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(r);t<e.length;t++)a.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(r,e[t])&&(l[e[t]]=r[e[t]]);return l};import*as o from"react";import*as n from"@radix-ui/react-scroll-area";import{cn as i}from"../../lib/utils";const m=o.forwardRef((r,a)=>{var{className:l,children:e}=r,t=s(r,["className","children"]);return o.createElement(n.Root,Object.assign({ref:a,className:i("relative overflow-hidden",l)},t),e,o.createElement(c,null),o.createElement(n.Corner,null))});m.displayName=n.Root.displayName;const c=o.forwardRef((r,a)=>{var{className:l,orientation:e="vertical"}=r,t=s(r,["className","orientation"]);return o.createElement(n.ScrollAreaScrollbar,Object.assign({ref:a,orientation:e,className:i("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",l)},t),o.createElement(n.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"}))});c.displayName=n.ScrollAreaScrollbar.displayName;export{m as ScrollArea,c as ScrollBar};
1
+ "use strict";"use client";var s=function(r,a){var l={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&a.indexOf(e)<0&&(l[e]=r[e]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,e=Object.getOwnPropertySymbols(r);t<e.length;t++)a.indexOf(e[t])<0&&Object.prototype.propertyIsEnumerable.call(r,e[t])&&(l[e[t]]=r[e[t]]);return l};import*as o from"react";import*as n from"@radix-ui/react-scroll-area";import{cn as i}from"../../lib/utils";const m=o.forwardRef((r,a)=>{var{className:l,children:e}=r,t=s(r,["className","children"]);return o.createElement(n.Root,Object.assign({ref:a,className:i("relative overflow-hidden",l)},t),e,o.createElement(c,null),o.createElement(n.Corner,null))});m.displayName=n.Root.displayName;const c=o.forwardRef((r,a)=>{var{className:l,orientation:e="vertical"}=r,t=s(r,["className","orientation"]);return o.createElement(n.ScrollAreaScrollbar,Object.assign({ref:a,orientation:e,className:i("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",l)},t),o.createElement(n.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"}))});c.displayName="ScrollAreaScrollbar";export{m as ScrollArea,c as ScrollBar};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/shadcn",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "license": "MIT",
5
5
  "author": "Taimoor Khan <taimoor.m.k@live.com>",
6
6
  "repository": "https://github.com/app-corp/shadcn",