@designcrowd/fe-shared-lib 1.0.8-ml-82-7 → 1.0.8-ml-82-8

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.0.8-ml-82-7",
3
+ "version": "1.0.8-ml-82-8",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -92,6 +92,8 @@
92
92
  :login-with-google-url="loginWithGoogleUrl"
93
93
  :login-with-facebook-url="loginWithFacebookUrl"
94
94
  :anti-forgery-token="antiForgeryToken"
95
+ :login-with-google-label="loginWithGoogleLabel"
96
+ :login-with-facebook-label="loginWithFacebookLabel"
95
97
  />
96
98
  </div>
97
99
  </div>
@@ -213,6 +215,16 @@ export default {
213
215
  required: false,
214
216
  default: 'Sign Up',
215
217
  },
218
+ loginWithGoogleLabel: {
219
+ type: String,
220
+ required: false,
221
+ default: undefined,
222
+ },
223
+ loginWithFacebookLabel: {
224
+ type: String,
225
+ required: false,
226
+ default: undefined,
227
+ },
216
228
  },
217
229
  data() {
218
230
  return {
@@ -9,7 +9,7 @@
9
9
  >
10
10
  <input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
11
11
  <SocialSignInButton
12
- label="Continue with Google"
12
+ :label="googleLoginLabel"
13
13
  type="google"
14
14
  :disabled="disabled"
15
15
  :is-loading="googleLoading"
@@ -26,7 +26,7 @@
26
26
  >
27
27
  <input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
28
28
  <SocialSignInButton
29
- label="Continue with Facebook"
29
+ :label="facebookLoginLabel"
30
30
  type="facebook"
31
31
  :disabled="disabled"
32
32
  :is-loading="facebookLoading"
@@ -88,12 +88,24 @@ export default {
88
88
  required: false,
89
89
  default: undefined,
90
90
  },
91
+ loginWithGoogleLabel: {
92
+ type: String,
93
+ required: false,
94
+ default: undefined,
95
+ },
96
+ loginWithFacebookLabel: {
97
+ type: String,
98
+ required: false,
99
+ default: undefined,
100
+ },
91
101
  },
92
102
  data() {
93
103
  return {
94
104
  formFacebookUrl: this.loginWithFacebookUrl,
95
105
  formGoogleUrl: this.loginWithGoogleUrl,
96
106
  formAntiForgeryToken: this.antiForgeryToken,
107
+ googleLoginLabel: this.loginWithGoogleLabel ?? 'Continue with Google',
108
+ facebookLoginLabel: this.loginWithFacebookLabel ?? 'Continue with Facebook',
97
109
  };
98
110
  },
99
111
  methods: {