@sikka/hawa 0.0.288 → 0.1.0
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/styles.css +176 -80
- package/es/blocks/AuthForms/SignInBlock.d.ts +2 -0
- package/es/blocks/AuthForms/index.d.ts +1 -0
- package/es/elements/Button.d.ts +11 -0
- package/es/elements/Card.d.ts +8 -0
- package/es/elements/Icons.d.ts +19 -0
- package/es/elements/Input.d.ts +5 -0
- package/es/elements/Label.d.ts +5 -0
- package/es/index.es.js +3 -3
- package/es/util.d.ts +2 -0
- package/lib/blocks/AuthForms/SignInBlock.d.ts +2 -0
- package/lib/blocks/AuthForms/index.d.ts +1 -0
- package/lib/elements/Button.d.ts +11 -0
- package/lib/elements/Card.d.ts +8 -0
- package/lib/elements/Icons.d.ts +19 -0
- package/lib/elements/Input.d.ts +5 -0
- package/lib/elements/Label.d.ts +5 -0
- package/lib/index.js +3 -3
- package/lib/util.d.ts +2 -0
- package/package.json +5 -2
- package/src/blocks/AuthForms/SignInBlock.tsx +60 -0
- package/src/blocks/AuthForms/SignInForm.tsx +23 -2
- package/src/blocks/AuthForms/index.ts +8 -7
- package/src/elements/Button.tsx +57 -0
- package/src/elements/Card.tsx +78 -0
- package/src/elements/Icons.tsx +142 -0
- package/src/elements/Input.tsx +25 -0
- package/src/elements/Label.tsx +26 -0
- package/src/styles.css +176 -80
- package/src/tailwind.css +23 -19
- package/src/util.ts +10 -4
- package/tailwind.config.js +39 -3
package/es/util.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const buttonVariants: (props?: {
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) => string;
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
5
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type IconProps = React.HTMLAttributes<SVGElement>;
|
|
3
|
+
export declare const Icons: {
|
|
4
|
+
logo: (props: IconProps) => import("react").JSX.Element;
|
|
5
|
+
twitter: (props: IconProps) => import("react").JSX.Element;
|
|
6
|
+
gitHub: (props: IconProps) => import("react").JSX.Element;
|
|
7
|
+
radix: (props: IconProps) => import("react").JSX.Element;
|
|
8
|
+
aria: (props: IconProps) => import("react").JSX.Element;
|
|
9
|
+
npm: (props: IconProps) => import("react").JSX.Element;
|
|
10
|
+
yarn: (props: IconProps) => import("react").JSX.Element;
|
|
11
|
+
pnpm: (props: IconProps) => import("react").JSX.Element;
|
|
12
|
+
react: (props: IconProps) => import("react").JSX.Element;
|
|
13
|
+
tailwind: (props: IconProps) => import("react").JSX.Element;
|
|
14
|
+
google: (props: IconProps) => import("react").JSX.Element;
|
|
15
|
+
apple: (props: IconProps) => import("react").JSX.Element;
|
|
16
|
+
paypal: (props: IconProps) => import("react").JSX.Element;
|
|
17
|
+
spinner: (props: IconProps) => import("react").JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
+
import { type VariantProps } from "class-variance-authority";
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
+
export { Label };
|