diff --git a/package.json b/package.json index c20e75f84..c733c8b3c 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", "@evilmartians/lefthook": "^1.5.2", "@kong/design-tokens": "^1.11.9", - "@kong/kongponents": "^9.0.0-alpha.54", + "@kong/kongponents": "^8.126.2", "@rushstack/eslint-patch": "^1.5.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", diff --git a/src/assets/styles/_elements.scss b/src/assets/styles/_elements.scss index b1a7a9f3c..39766e738 100644 --- a/src/assets/styles/_elements.scss +++ b/src/assets/styles/_elements.scss @@ -13,7 +13,7 @@ } .kong-auth-register-region { - margin-bottom: var(--kui-space-70, $kui-space-70); + margin-bottom: var(--kui-space-60, $kui-space-60); .k-select { width: 100% !important; @@ -26,11 +26,12 @@ } .register-alert { - margin-top: var(--kui-space-70, $kui-space-70); + margin-top: var(--kui-space-60, $kui-space-60); } .register-submit { - margin-top: var(--kui-space-70, $kui-space-70); + justify-content: center !important; + margin-top: var(--kui-space-90, $kui-space-90); width: 100% !important; } } @@ -50,11 +51,12 @@ .login-seo-button, .login-button { + justify-content: center !important; width: 100% !important; } .login-button { - margin-top: var(--kui-space-40, $kui-space-40); + margin-top: var(--kui-space-90, $kui-space-90); } .forgot-password-link { @@ -100,8 +102,10 @@ justify-content: end; .k-button { + justify-content: center !important; + &:first-of-type { - margin-right: var(--kui-space-70, $kui-space-70); + margin-right: var(--kui-space-20, $kui-space-20); } } } @@ -109,6 +113,7 @@ .kong-auth-reset-password-form { .reset-password-submit { + justify-content: center !important; width: 100% !important; } } @@ -118,8 +123,13 @@ line-height: var(--kui-line-height-40, $kui-line-height-40); } - .forgot-password-return-to-login-btn, + .forgot-password-return-to-login-btn { + justify-content: center !important; + width: 100% !important; + } + .forgot-password-submit { + justify-content: center !important; width: 100% !important; } @@ -137,15 +147,17 @@ font-size: var(--kui-font-size-60, $kui-font-size-60); font-weight: var(--kui-font-weight-semibold, $kui-font-weight-semibold); line-height: var(--kui-line-height-60, $kui-line-height-60); - margin-bottom: var(--kui-space-70, $kui-space-70); + margin-bottom: var(--kui-space-90, $kui-space-90); } .accept-invitation-submit { + justify-content: center !important; + margin-top: var(--kui-space-90, $kui-space-90) !important; width: 100% !important; } .invitation-form-error { - margin-bottom: var(--kui-space-70, $kui-space-70); + margin-bottom: var(--kui-space-60, $kui-space-60); } } @@ -231,11 +243,12 @@ a { } .kong-auth-input { - margin-bottom: var(--kui-space-70, $kui-space-70); + margin-bottom: var(--kui-space-60, $kui-space-60); + width: 100% !important; } .form-error { - margin: var(--kui-space-70, $kui-space-70) var(--kui-space-0, $kui-space-0); + margin: var(--kui-space-60, $kui-space-60) var(--kui-space-0, $kui-space-0); } input.hidden-input { @@ -250,7 +263,7 @@ input.hidden-input { color: var(--kui-color-text-neutral, $kui-color-text-neutral); font-size: var(--kui-font-size-30, $kui-font-size-30); - .k-label.checkbox-label { + .k-checkbox-label { display: inline; } } diff --git a/src/components/AcceptInvitationForm.vue b/src/components/AcceptInvitationForm.vue index 41655ffee..ed9024a85 100644 --- a/src/components/AcceptInvitationForm.vue +++ b/src/components/AcceptInvitationForm.vue @@ -86,7 +86,6 @@ class="accept-invitation-submit" data-testid="kong-auth-accept-invitation-submit" :disabled="btnDisabled" - size="large" type="submit" > diff --git a/src/components/ChangePasswordForm.vue b/src/components/ChangePasswordForm.vue index 438a866e5..98cc5624a 100644 --- a/src/components/ChangePasswordForm.vue +++ b/src/components/ChangePasswordForm.vue @@ -67,10 +67,9 @@ {{ messages.changePassword.cancelText }} @@ -82,7 +81,6 @@ appearance="primary" data-testid="kong-auth-change-password-submit" :disabled="btnDisabled" - size="large" type="submit" > diff --git a/src/components/ForgotPasswordForm.vue b/src/components/ForgotPasswordForm.vue index f329d5972..6c5a25412 100644 --- a/src/components/ForgotPasswordForm.vue +++ b/src/components/ForgotPasswordForm.vue @@ -14,7 +14,6 @@ appearance="primary" class="forgot-password-return-to-login-btn" data-testid="kong-auth-forgot-password-return-to-login-btn" - size="large" @click.prevent="$emit('click-login-link')" >{{ loginLinkText }} @@ -51,7 +50,6 @@ class="forgot-password-submit" data-testid="kong-auth-forgot-password-submit" :disabled="btnDisabled" - size="large" type="submit" > diff --git a/src/components/LoginForm.vue b/src/components/LoginForm.vue index d172838a1..3d0e54fee 100644 --- a/src/components/LoginForm.vue +++ b/src/components/LoginForm.vue @@ -11,12 +11,11 @@