@designcrowd/fe-shared-lib 1.0.8-ml-82-2 → 1.0.8-ml-82-3

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-2",
3
+ "version": "1.0.8-ml-82-3",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -11,16 +11,16 @@
11
11
  </a>
12
12
  </span>
13
13
  <span v-if="isPartnerTheme"> and BrandCrowd's </span>
14
- <span v-else>By proceeding you accept our </span>
14
+ <span v-else>{{ termsAndConditions.byProceeding ?? 'By proceeding you accept our' }}</span>
15
15
  <a :href="termsOfUseUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
16
- >Terms of Use</a
16
+ >{{ termsAndConditions.termsOfUse ?? 'Terms of Use' }}</a
17
17
  >
18
- and
18
+ {{ termsAndConditions.and ?? and }}
19
19
  <a :href="privacyPolicyUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
20
- >Privacy Policy</a
20
+ >{{ termsAndConditions.privacyPolicy ?? 'Privacy Policy' }}</a
21
21
  >
22
22
  <span>
23
- and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
23
+ ({{ termsAndConditions.agreeToFutureUpdates ?? 'and agree to receive future updates from' }}){{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
24
24
  >
25
25
  </p>
26
26
  </template>
@@ -44,6 +44,11 @@ export default {
44
44
  type: Boolean,
45
45
  default: false,
46
46
  },
47
+ termsAndConditions: {
48
+ type: Object,
49
+ required: false,
50
+ default: undefined,
51
+ },
47
52
  },
48
53
  data() {
49
54
  return {
@@ -114,6 +114,7 @@
114
114
  :theme="theme"
115
115
  :available-themes="availableThemes"
116
116
  :is-design-com="isDesignCom"
117
+ :terms-and-conditions="termsAndConditions"
117
118
  />
118
119
  </div>
119
120
 
@@ -319,7 +320,12 @@ export default {
319
320
  type: String,
320
321
  requiured: false,
321
322
  default: 'Sign In'
322
- }
323
+ },
324
+ termsAndConditions: {
325
+ type: Object,
326
+ required: false,
327
+ default: undefined,
328
+ },
323
329
  },
324
330
  data() {
325
331
  return {
@@ -80,6 +80,7 @@
80
80
  :theme="theme"
81
81
  :available-themes="availableThemes"
82
82
  :is-design-com="isDesignCom"
83
+ :terms-and-conditions="termsAndConditions"
83
84
  />
84
85
  <div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
85
86
  <div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
@@ -201,7 +202,12 @@ export default {
201
202
  type: String,
202
203
  requiured: false,
203
204
  default: 'Login'
204
- }
205
+ },
206
+ termsAndConditions: {
207
+ type: Object,
208
+ required: false,
209
+ default: undefined,
210
+ },
205
211
  },
206
212
  data() {
207
213
  return {