@kayleai/ui 0.0.6 → 0.0.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.
package/dist/layout.d.ts CHANGED
@@ -5,8 +5,9 @@
5
5
  * @param notCenter - Pass this to not center the content.
6
6
  * @returns
7
7
  */
8
- export declare function Layout({ children, notCenter, }: {
8
+ export declare function Layout({ children, notCenter, className, }: {
9
9
  children: React.ReactNode;
10
10
  notCenter?: boolean;
11
+ className?: string;
11
12
  }): import("react/jsx-runtime").JSX.Element;
12
13
  //# sourceMappingURL=layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/layout.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,SAAiB,GAClB,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,2CAaA"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/layout.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,SAAiB,EACjB,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAcA"}
package/dist/layout.js CHANGED
@@ -7,6 +7,6 @@ import { cn } from "./utils/cn";
7
7
  * @param notCenter - Pass this to not center the content.
8
8
  * @returns
9
9
  */
10
- export function Layout({ children, notCenter = false, }) {
11
- return (_jsx("div", { className: "flex min-h-dvh flex-col bg-accent p-2", children: _jsx("div", { className: cn("relative flex grow overflow-hidden p-6 lg:rounded-lg lg:bg-background lg:p-10 lg:shadow-xs lg:ring-1 lg:ring-foreground/5", notCenter ? null : "items-center justify-center"), children: children }) }));
10
+ export function Layout({ children, notCenter = false, className, }) {
11
+ return (_jsx("div", { className: "flex min-h-dvh flex-col bg-accent p-2", children: _jsx("div", { className: cn("relative flex grow overflow-hidden p-6 lg:rounded-lg lg:bg-background lg:p-10 lg:shadow-xs lg:ring-1 lg:ring-foreground/5", notCenter ? null : "items-center justify-center", className), children: children }) }));
12
12
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kayleai/ui",
3
3
  "description": "Kayle's UI library",
4
4
  "author": "Arsen Shkrumelyak <arsen@kayle.ai>",
5
- "version": "0.0.6",
5
+ "version": "0.0.7",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",