@sqrzro/admin 2.1.0-bz.13 → 2.1.0-bz.14

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,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export interface AuthProps {
3
- }
4
- declare function Auth(): JSX.Element;
2
+ import type { AuthProps as AuthComponentProps } from '@sqrzro/components';
3
+ export type AuthProps = AuthComponentProps;
4
+ declare function Auth(props: AuthComponentProps): JSX.Element;
5
5
  export default Auth;
@@ -1,5 +1,12 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- function Auth() {
3
- return _jsx("div", { children: "Auth" });
2
+ import { Auth as AuthComponent } from '@sqrzro/components';
3
+ const classNames = {
4
+ root: 'bg-slate-800 gap-8',
5
+ logo: 'mx-auto flex h-12 w-32 items-end',
6
+ panel: 'rounded bg-white p-8 shadow-lg',
7
+ title: 'text-lg font-semibold mb-4 leading-none',
8
+ };
9
+ function Auth(props) {
10
+ return _jsx(AuthComponent, { ...props, classNames: classNames });
4
11
  }
5
12
  export default Auth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqrzro/admin",
3
- "version": "2.1.0-bz.13",
3
+ "version": "2.1.0-bz.14",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "ISC",