@designcrowd/fe-shared-lib 1.0.8-ml-i18n-4 → 1.0.8-ml-i18n-5

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-i18n-4",
3
+ "version": "1.0.8-ml-i18n-5",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -1,13 +1,26 @@
1
1
  <template>
2
- <div v-if="!isPartnerTheme && !!termsAndConditionsContentKeyPath" class="tw-text-center tw-text-sm tw-mt-4 tw-mb-2 tw-text-grayscale-600">
2
+ <div
3
+ v-if="!isPartnerTheme && !!termsAndConditionsContentKeyPath"
4
+ class="tw-text-center tw-text-sm tw-mt-4 tw-mb-2 tw-text-grayscale-600"
5
+ >
3
6
  <i18n-t :keypath="termsAndConditionsContentKeyPath">
4
7
  <template #termsOfUseLabel>
5
- <a :href="termsAndConditionsLink" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">
8
+ <a
9
+ :href="termsAndConditionsLink"
10
+ target="_blank"
11
+ class="tw-text-info-500"
12
+ :class="{ 'hover:tw-underline': isDesignCom }"
13
+ >
6
14
  {{ termsOfUseLabel }}
7
15
  </a>
8
16
  </template>
9
17
  <template #privacyPolicyLabel>
10
- <a :href="privacyPolicyLink" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">
18
+ <a
19
+ :href="privacyPolicyLink"
20
+ target="_blank"
21
+ class="tw-text-info-500"
22
+ :class="{ 'hover:tw-underline': isDesignCom }"
23
+ >
11
24
  {{ privacyPolicyLabel }}
12
25
  </a>
13
26
  </template>
@@ -33,16 +46,13 @@
33
46
  <a :href="privacyPolicyUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
34
47
  >Privacy Policy</a
35
48
  >
36
- <span>
37
- and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
38
- >
49
+ <span> and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span>
39
50
  </p>
40
51
  </template>
41
52
 
42
53
  <script>
43
54
  import themeMixin from '../../mixins/themeMixin';
44
55
  import { LEGAL } from '../../constants/partner-dictionary-constants';
45
- import { string } from 'yargs';
46
56
 
47
57
  export default {
48
58
  mixins: [themeMixin],
@@ -68,7 +78,7 @@ export default {
68
78
  type: String,
69
79
  required: false,
70
80
  default: undefined,
71
- }
81
+ },
72
82
  },
73
83
  data() {
74
84
  return {
@@ -116,11 +116,7 @@
116
116
  :is-design-com="isDesignCom"
117
117
  :terms-and-conditions="termsAndConditions"
118
118
  :terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
119
- >
120
- <template name="authLegal">
121
- <slot name="termsAndConditions" />
122
- </template>
123
- </AuthLegal>
119
+ />
124
120
  </div>
125
121
 
126
122
  <div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
@@ -166,8 +162,8 @@
166
162
  </div>
167
163
  </template>
168
164
  <script>
169
- import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
170
- import Button from '../../../../src/atoms/components/Button/Button.vue';
165
+ import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
166
+ import Button from '../../../atoms/components/Button/Button.vue';
171
167
  import SubmissionButton from './SubmissionButton.vue';
172
168
  import AuthLegal from './AuthLegal.vue';
173
169
  import themeMixin from '../../mixins/themeMixin';
@@ -82,11 +82,7 @@
82
82
  :is-design-com="isDesignCom"
83
83
  :terms-and-conditions="termsAndConditions"
84
84
  :terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
85
- >
86
- <template name="authLegal">
87
- <slot name="termsAndConditions" />
88
- </template>
89
- </AuthLegal>
85
+ />
90
86
  <div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
91
87
  <div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
92
88
  <div class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"></div>
@@ -113,8 +109,8 @@
113
109
  </div>
114
110
  </template>
115
111
  <script>
116
- import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
117
- import Button from '../../../../src/atoms/components/Button/Button.vue';
112
+ import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
113
+ import Button from '../../../atoms/components/Button/Button.vue';
118
114
 
119
115
  import SocialSignIn from './SocialSignIn.vue';
120
116
  import SubmissionButton from './SubmissionButton.vue';