@appcorp/shadcn 1.1.2 → 1.1.4
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.
|
@@ -26,7 +26,7 @@ var Authentication = function (_a) {
|
|
|
26
26
|
react_1.default.createElement("div", { className: "relative z-20 flex items-center" },
|
|
27
27
|
react_1.default.createElement(image_1.default, { alt: logoAlt, className: "mr-2 h-6 w-auto", height: 24, priority: true, src: logo, width: 40 })),
|
|
28
28
|
react_1.default.createElement("div", { className: "relative z-20 mt-auto" },
|
|
29
|
-
react_1.default.createElement(card_1.Card, { className: "bg-gradient-to-br from-
|
|
29
|
+
react_1.default.createElement(card_1.Card, { className: "bg-gradient-to-br from-accent-brand-dark to-accent-brand-light border-none shadow-lg" },
|
|
30
30
|
react_1.default.createElement(card_1.CardContent, { className: "p-8" },
|
|
31
31
|
react_1.default.createElement("div", { className: "flex justify-center mb-6" }),
|
|
32
32
|
react_1.default.createElement("h2", { className: "text-2xl font-bold text-center text-gray-900 mb-3" }, "Next Generation ERP"),
|
|
@@ -47,7 +47,7 @@ var UserAuthForm = function (_a) {
|
|
|
47
47
|
React.createElement("div", { className: "grid gap-4" },
|
|
48
48
|
React.createElement(enhanced_input_1.EnhancedInput, { autoCapitalize: "none", autoComplete: "email", autoCorrect: "off", disabled: isLoading, id: "email", label: "Email", placeholder: "name@example.com", type: "email", onChange: handleEmailOnChange, required: true, value: email }),
|
|
49
49
|
React.createElement(enhanced_input_1.EnhancedInput, { autoCapitalize: "none", autoCorrect: "off", disabled: isLoading, id: "password", label: "Password", placeholder: "********", type: "password", required: true, onChange: handlePasswordOnChange, value: password })),
|
|
50
|
-
React.createElement(button_1.Button, { disabled: isLoading,
|
|
50
|
+
React.createElement(button_1.Button, { disabled: isLoading, onClick: handleOnSubmit },
|
|
51
51
|
isLoading && React.createElement(lucide_react_1.LoaderIcon, { className: "animate-spin" }),
|
|
52
52
|
"Sign In with Email"))));
|
|
53
53
|
};
|