@designcrowd/fe-shared-lib 1.2.18-byo-1 → 1.2.18-kp-1
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 +1 -1
- package/public/css/tailwind-brandCrowd.css +3 -10
- package/public/css/tailwind-brandPage.css +3 -10
- package/public/css/tailwind-crazyDomains.css +3 -10
- package/public/css/tailwind-designCom.css +3 -10
- package/public/css/tailwind-designCrowd.css +3 -10
- package/src/bundles/bundled-translations.json +3 -1
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +16 -1
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +23 -21
- package/dist/css/tailwind-brandCrowd.css +0 -2493
- package/dist/css/tailwind-brandPage.css +0 -2177
- package/dist/css/tailwind-crazyDomains.css +0 -2493
- package/dist/css/tailwind-designCom.css +0 -2493
- package/dist/css/tailwind-designCrowd.css +0 -2493
package/package.json
CHANGED
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-brandCrowd .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-brandCrowd .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-brandCrowd .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-brandCrowd .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-brandCrowd .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-brandCrowd .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-brandCrowd .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-brandCrowd .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-brandCrowd .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-brandCrowd .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-brandPage .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-brandPage .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-brandPage .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-brandPage .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-brandPage .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-brandPage .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-brandPage .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -1915,9 +1911,6 @@ video {
|
|
|
1915
1911
|
.theme-brandPage .md\:tw-ml-4 {
|
|
1916
1912
|
margin-left: 1rem;
|
|
1917
1913
|
}
|
|
1918
|
-
.theme-brandPage .md\:tw-mr-2 {
|
|
1919
|
-
margin-right: 0.5rem;
|
|
1920
|
-
}
|
|
1921
1914
|
.theme-brandPage .md\:tw-mt-0 {
|
|
1922
1915
|
margin-top: 0px;
|
|
1923
1916
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-crazyDomains .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-crazyDomains .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-crazyDomains .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-crazyDomains .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-crazyDomains .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-crazyDomains .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-crazyDomains .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-crazyDomains .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-crazyDomains .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-crazyDomains .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-designCom .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-designCom .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-designCom .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-designCom .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-designCom .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-designCom .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-designCom .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-designCom .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-designCom .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-designCom .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -643,10 +643,6 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
-
.theme-designCrowd .tw-my-1 {
|
|
647
|
-
margin-top: 0.25rem;
|
|
648
|
-
margin-bottom: 0.25rem;
|
|
649
|
-
}
|
|
650
646
|
.theme-designCrowd .tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -853,6 +849,9 @@ video {
|
|
|
853
849
|
.theme-designCrowd .tw-max-h-screen {
|
|
854
850
|
max-height: 100vh;
|
|
855
851
|
}
|
|
852
|
+
.theme-designCrowd .tw-w-1\/3 {
|
|
853
|
+
width: 33.333333%;
|
|
854
|
+
}
|
|
856
855
|
.theme-designCrowd .tw-w-10 {
|
|
857
856
|
width: 2.5rem;
|
|
858
857
|
}
|
|
@@ -1021,9 +1020,6 @@ video {
|
|
|
1021
1020
|
.theme-designCrowd .tw-animate-spin {
|
|
1022
1021
|
animation: tw-spin 1s linear infinite;
|
|
1023
1022
|
}
|
|
1024
|
-
.\!tw-cursor-not-allowed {
|
|
1025
|
-
cursor: not-allowed !important;
|
|
1026
|
-
}
|
|
1027
1023
|
.theme-designCrowd .tw-cursor-not-allowed {
|
|
1028
1024
|
cursor: not-allowed;
|
|
1029
1025
|
}
|
|
@@ -2231,9 +2227,6 @@ video {
|
|
|
2231
2227
|
.theme-designCrowd .md\:tw-ml-4 {
|
|
2232
2228
|
margin-left: 1rem;
|
|
2233
2229
|
}
|
|
2234
|
-
.theme-designCrowd .md\:tw-mr-2 {
|
|
2235
|
-
margin-right: 0.5rem;
|
|
2236
|
-
}
|
|
2237
2230
|
.theme-designCrowd .md\:tw-mt-0 {
|
|
2238
2231
|
margin-top: 0px;
|
|
2239
2232
|
}
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
"copySuccessLabel": "Copied!",
|
|
30
30
|
"publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
|
|
31
31
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
|
|
32
|
-
"selectDomainDropdownPlaceholder": "Select domain name"
|
|
32
|
+
"selectDomainDropdownPlaceholder": "Select domain name",
|
|
33
|
+
"websiteFriendlyName": "Website",
|
|
34
|
+
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
33
35
|
},
|
|
34
36
|
"sellDomainNameList": {
|
|
35
37
|
"freeDomainButtonLabel": "Free Domain",
|
|
@@ -270,6 +270,8 @@ const DOMAIN_TYPES = {
|
|
|
270
270
|
|
|
271
271
|
const DCOM_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/dcom-free-url.svg';
|
|
272
272
|
const BC_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/bc-free-url.svg';
|
|
273
|
+
const WEBSITE_FRIENDLY_NAME = 'Website';
|
|
274
|
+
export const DIGITAL_BUSINESS_CARD = 'Digital Business Card';
|
|
273
275
|
|
|
274
276
|
export default {
|
|
275
277
|
components: {
|
|
@@ -454,8 +456,9 @@ export default {
|
|
|
454
456
|
return this.brandPageBaseUrl.replace('https://', '');
|
|
455
457
|
},
|
|
456
458
|
firstTimePublishHeaderLabel() {
|
|
459
|
+
const translatedBrandPageName = this.getLanguageAwareBrandPageDisplayName(this.brandPageDisplayName);
|
|
457
460
|
return this.publishBrandPageModalTr('firstTimePublishHeaderLabel', {
|
|
458
|
-
brandPageDisplayName:
|
|
461
|
+
brandPageDisplayName: translatedBrandPageName,
|
|
459
462
|
});
|
|
460
463
|
},
|
|
461
464
|
publishSuccessLabel() {
|
|
@@ -520,6 +523,18 @@ export default {
|
|
|
520
523
|
this.isModalVisible = this.isSearchDomainListModalVisible;
|
|
521
524
|
},
|
|
522
525
|
methods: {
|
|
526
|
+
getLanguageAwareBrandPageDisplayName(brandPageName) {
|
|
527
|
+
switch (brandPageName) {
|
|
528
|
+
case WEBSITE_FRIENDLY_NAME:
|
|
529
|
+
return this.te('websiteFriendlyName') ? this.t('websiteFriendlyName') : 'Website';
|
|
530
|
+
case DIGITAL_BUSINESS_CARD:
|
|
531
|
+
return this.te('digitalBusinessCardFriendlyName')
|
|
532
|
+
? this.t('digitalBusinessCardFriendlyName')
|
|
533
|
+
: 'Digital Business Card';
|
|
534
|
+
default:
|
|
535
|
+
return brandPageName;
|
|
536
|
+
}
|
|
537
|
+
},
|
|
523
538
|
onDomainTypeRadioButtonClick(domain) {
|
|
524
539
|
this.domainTypeValue = domain;
|
|
525
540
|
this.closePurchasedDomainDropdown();
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Set the URL for {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "Site published!",
|
|
5
|
+
"publishSuccessLabel": "Your {{brandPageDisplayName}} is live! Start using your link:",
|
|
6
|
+
"freePublishCardTitleLabel": "Free Address",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Choose a free address to publish now. You can always edit the URL later",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "your-name",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "your-business-name",
|
|
10
|
+
"freeDomainLabel": "Free domain",
|
|
11
|
+
"purchasedDomainLabel": "Purchased domain",
|
|
12
|
+
"setUrlLabel": "Set URL",
|
|
13
|
+
"publishLabel": "Publish",
|
|
14
|
+
"viewMoreDomainLabel": "VIEW MORE DOMAINS",
|
|
15
|
+
"viewMyWebsiteLabel": "View {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copy",
|
|
17
|
+
"copySuccessLabel": "Copied!",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Select domain name",
|
|
21
|
+
"websiteFriendlyName": "Website",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
23
|
+
}
|
|
24
|
+
}
|