@oussemasahbeni/keycloakify-login-shadcn 250004.0.10 → 250004.0.12

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.
@@ -83,7 +83,7 @@ export function Template(props: {
83
83
  <div className="flex flex-col gap-4 px-0 py-0 pb-6 lg:p-6 lg:md:p-10 lg:pt-10 min-h-screen lg:min-h-0">
84
84
  {/* navigation */}
85
85
  <div className="absolute top-4 right-4 lg:left-4 z-20 flex gap-2">
86
- <Button variant="outline" size="icon">
86
+ <Button type="button" variant="outline" size="icon" asChild>
87
87
  <a href={kcContext.client.baseUrl ?? redirectUrlOrigin}>
88
88
  <FiHome />
89
89
  </a>
@@ -44,7 +44,7 @@ export function SocialProviders() {
44
44
  >
45
45
  {kcContext.social.providers.map((...[p, , providers]) => (
46
46
  <li key={p.alias}>
47
- <Button variant="outline" className="w-full hover:text-current">
47
+ <Button variant="outline" className="w-full hover:text-current" asChild>
48
48
  <a
49
49
  id={`social-${p.alias}`}
50
50
  className={clsx(
@@ -54,7 +54,6 @@ export function SocialProviders() {
54
54
  ),
55
55
  "flex items-center justify-center gap-3 "
56
56
  )}
57
- type="button"
58
57
  href={p.loginUrl}
59
58
  >
60
59
  <div className={"h-5 w-5"}>
@@ -61,8 +61,8 @@ export function Form() {
61
61
  )}
62
62
  <div className={kcClsx("kcFormGroupClass")}>
63
63
  {kcContext.recaptchaRequired &&
64
- !kcContext.recaptchaVisible &&
65
- kcContext.recaptchaAction !== undefined ? (
64
+ !kcContext.recaptchaVisible &&
65
+ kcContext.recaptchaAction !== undefined ? (
66
66
  <div id="kc-form-buttons" className={kcClsx("kcFormButtonsClass")}>
67
67
  <button
68
68
  className={clsx(
@@ -98,7 +98,7 @@ export function Form() {
98
98
  </div>
99
99
 
100
100
  <div className=" flex justify-end">
101
- <Button variant="ghost">
101
+ <Button type="button" variant="ghost">
102
102
  <a href={kcContext.url.loginUrl}>{msg("backToLogin")}</a>
103
103
  </Button>
104
104
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oussemasahbeni/keycloakify-login-shadcn",
3
- "version": "250004.0.10",
3
+ "version": "250004.0.12",
4
4
  "description": "Keycloakify Shadcn Theme extensions",
5
5
  "license": "MIT",
6
6
  "repository": {
Binary file
@@ -1,11 +0,0 @@
1
- {
2
- "name": "",
3
- "short_name": "",
4
- "icons": [
5
- { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6
- { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
7
- ],
8
- "theme_color": "#ffffff",
9
- "background_color": "#ffffff",
10
- "display": "standalone"
11
- }