@designcrowd/fe-shared-lib 1.5.23-pre-gt9544-brooke → 1.5.23-pre-gt9544-brooke-v3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.5.23-pre-gt9544-brooke",
3
+ "version": "1.5.23-pre-gt9544-brooke-v3",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -52,9 +52,12 @@
52
52
  >
53
53
  {{ title }}
54
54
  </h2>
55
- <p v-if="description" class="tw-text-center tw-mb-6 tw-text-grayscale-600 tw-mt-0">
55
+ <p v-if="description && !shouldResetPassword" class="tw-text-center tw-mb-6 tw-text-grayscale-600 tw-mt-0">
56
56
  {{ description }}
57
57
  </p>
58
+ <p v-if="resetPasswordDescription" class="tw-text-center tw-mb-6 tw-font-semibold tw-text-info-600 tw-mt-0">
59
+ {{ resetPasswordDescription }}
60
+ </p>
58
61
  <div class="tw-flex tw-flex-col">
59
62
  <div>
60
63
  <form id="signin" :action="getSignInAction" method="post" @submit="validate">
@@ -92,7 +95,7 @@
92
95
  <p v-if="capturePassword && !!passwordError" class="tw-text-error-500 tw-text-sm tw-text-left tw-mb-4">
93
96
  {{ passwordError }}
94
97
  </p>
95
- <p v-if="capturePassword || shouldShowForgotPasswordLink" class="tw-w-full tw-text-left tw-mb-4">
98
+ <p v-if="capturePassword || resetPasswordDescription" class="tw-w-full tw-text-left tw-mb-4">
96
99
  <a class="tw-text-info-500 tw-cursor-pointer hover:tw-underline" @click="forgotPasswordClick()">
97
100
  {{ forgotPasswordLabel }}
98
101
  </a>
@@ -256,9 +259,9 @@ export default {
256
259
  type: Boolean,
257
260
  default: true,
258
261
  },
259
- shouldShowForgotPasswordLink: {
260
- type: Boolean,
261
- default: false,
262
+ resetPasswordDescription: {
263
+ type: String,
264
+ default: undefined,
262
265
  },
263
266
  emailLoading: {
264
267
  type: Boolean,