@designcrowd/fe-shared-lib 1.6.5 → 1.6.6

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.
Files changed (27) hide show
  1. package/dist/css/tailwind-brandCrowd.css +8 -141
  2. package/dist/css/tailwind-brandPage.css +9 -130
  3. package/dist/css/tailwind-crazyDomains.css +8 -141
  4. package/dist/css/tailwind-designCom.css +8 -141
  5. package/dist/css/tailwind-designCrowd.css +8 -141
  6. package/package.json +1 -1
  7. package/public/css/tailwind-brandCrowd.css +2521 -0
  8. package/public/css/tailwind-brandPage.css +2201 -0
  9. package/public/css/tailwind-crazyDomains.css +2521 -0
  10. package/public/css/tailwind-designCom.css +2521 -0
  11. package/public/css/tailwind-designCrowd.css +2521 -0
  12. package/src/bundles/bundled-translations.de-DE.json +2 -1
  13. package/src/bundles/bundled-translations.es-ES.json +2 -1
  14. package/src/bundles/bundled-translations.fr-CA.json +2 -1
  15. package/src/bundles/bundled-translations.fr-FR.json +2 -1
  16. package/src/bundles/bundled-translations.json +2 -1
  17. package/src/bundles/bundled-translations.pt-BR.json +2 -1
  18. package/src/bundles/bundled-translations.pt-PT.json +2 -1
  19. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +6 -0
  20. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +2 -1
  21. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +2 -1
  22. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json +2 -1
  23. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +2 -1
  24. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +2 -1
  25. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json +2 -1
  26. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +2 -1
  27. package/src/experiences/components/PublishBrandPageModal/views/PublishedView.vue +34 -13
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Website",
35
35
  "digitalBusinessCardFriendlyName": "Digitale Visitenkarte",
36
36
  "alreadyHaveADomainLabel": "Besitzen Sie bereits eine Domain?",
37
- "useExistingDomainLabel": "Meine vorhandene Domain verwenden"
37
+ "useExistingDomainLabel": "Meine vorhandene Domain verwenden",
38
+ "createTeamCardsLabel": "Teamkarten erstellen"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Kostenlose Domain",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Sitio web",
35
35
  "digitalBusinessCardFriendlyName": "Tarjeta de visita digital",
36
36
  "alreadyHaveADomainLabel": "¿Ya tienes un dominio?",
37
- "useExistingDomainLabel": "Usa mi dominio existente"
37
+ "useExistingDomainLabel": "Usa mi dominio existente",
38
+ "createTeamCardsLabel": "Crea tarjetas de equipo"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Dominio gratis",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Site Web",
35
35
  "digitalBusinessCardFriendlyName": "Carte professionnelle numérique",
36
36
  "alreadyHaveADomainLabel": "Vous avez déjà un domaine?",
37
- "useExistingDomainLabel": "Utiliser mon nom de domaine existant"
37
+ "useExistingDomainLabel": "Utiliser mon nom de domaine existant",
38
+ "createTeamCardsLabel": "Créer des cartes pour votre équipe"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Domaine gratuit",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Site Web",
35
35
  "digitalBusinessCardFriendlyName": "Carte de visite numérique",
36
36
  "alreadyHaveADomainLabel": "Vous avez déjà un domaine ?",
37
- "useExistingDomainLabel": "Utiliser mon nom de domaine existant"
37
+ "useExistingDomainLabel": "Utiliser mon nom de domaine existant",
38
+ "createTeamCardsLabel": "Créer des cartes d'équipe"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Domaine gratuit",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Website",
35
35
  "digitalBusinessCardFriendlyName": "Digital Business Card",
36
36
  "alreadyHaveADomainLabel": "Already have a domain?",
37
- "useExistingDomainLabel": "Use my existing domain"
37
+ "useExistingDomainLabel": "Use my existing domain",
38
+ "createTeamCardsLabel": "Create Team Cards"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Free Domain",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Site",
35
35
  "digitalBusinessCardFriendlyName": "Cartão de visita digital",
36
36
  "alreadyHaveADomainLabel": "Já tem um domínio?",
37
- "useExistingDomainLabel": "Usar meu domínio existente"
37
+ "useExistingDomainLabel": "Usar meu domínio existente",
38
+ "createTeamCardsLabel": "Criar cartões de equipe"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Domínio gratuito",
@@ -34,7 +34,8 @@
34
34
  "websiteFriendlyName": "Website",
35
35
  "digitalBusinessCardFriendlyName": "Cartão de visita digital",
36
36
  "alreadyHaveADomainLabel": "Já tem um domínio?",
37
- "useExistingDomainLabel": "Utilizar o meu domínio existente"
37
+ "useExistingDomainLabel": "Utilizar o meu domínio existente",
38
+ "createTeamCardsLabel": "Criar cartões de equipa"
38
39
  },
39
40
  "sellDomainNameList": {
40
41
  "freeDomainButtonLabel": "Domínio gratuito",
@@ -92,11 +92,13 @@
92
92
  :has-purchased-domain="hasPurchasedDomains"
93
93
  :show-upsell-rotation-container="showUpsellRotationContainer"
94
94
  :user-currency="userCurrency"
95
+ :brand-page-type="brandPageType"
95
96
  @copy-url-clicked="onCopyUrlClick"
96
97
  @on-brand-page-url-click="onBrandPageUrlClick"
97
98
  @on-view-more-domains="onViewMore"
98
99
  @on-buy-now-clicked="onBuyNowClick"
99
100
  @on-search-text-changed="onSearchTextChanged"
101
+ @on-create-team-cards-click="onCreateTeamCardsClick"
100
102
  >
101
103
  <template #upsellContainer>
102
104
  <slot name="upsellContainer" />
@@ -289,6 +291,7 @@ export default {
289
291
  'on-slug-changed',
290
292
  'on-show-domain-modal',
291
293
  'on-use-existing-domain',
294
+ 'on-create-team-cards-click',
292
295
  ],
293
296
  setup() {
294
297
  return {
@@ -407,6 +410,9 @@ export default {
407
410
  onBrandPageUrlClick(newVal) {
408
411
  this.$emit('on-brand-page-url-click', newVal);
409
412
  },
413
+ onCreateTeamCardsClick() {
414
+ this.$emit('on-create-team-cards-click');
415
+ },
410
416
  onBuyNow(newVal) {
411
417
  this.$emit('on-buy-now-clicked', newVal);
412
418
  },
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Website",
22
22
  "digitalBusinessCardFriendlyName": "Digitale Visitenkarte",
23
23
  "alreadyHaveADomainLabel": "Besitzen Sie bereits eine Domain?",
24
- "useExistingDomainLabel": "Meine vorhandene Domain verwenden"
24
+ "useExistingDomainLabel": "Meine vorhandene Domain verwenden",
25
+ "createTeamCardsLabel": "Teamkarten erstellen"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Sitio web",
22
22
  "digitalBusinessCardFriendlyName": "Tarjeta de visita digital",
23
23
  "alreadyHaveADomainLabel": "¿Ya tienes un dominio?",
24
- "useExistingDomainLabel": "Usa mi dominio existente"
24
+ "useExistingDomainLabel": "Usa mi dominio existente",
25
+ "createTeamCardsLabel": "Crea tarjetas de equipo"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Site Web",
22
22
  "digitalBusinessCardFriendlyName": "Carte professionnelle numérique",
23
23
  "alreadyHaveADomainLabel": "Vous avez déjà un domaine?",
24
- "useExistingDomainLabel": "Utiliser mon nom de domaine existant"
24
+ "useExistingDomainLabel": "Utiliser mon nom de domaine existant",
25
+ "createTeamCardsLabel": "Créer des cartes pour votre équipe"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Site Web",
22
22
  "digitalBusinessCardFriendlyName": "Carte de visite numérique",
23
23
  "alreadyHaveADomainLabel": "Vous avez déjà un domaine ?",
24
- "useExistingDomainLabel": "Utiliser mon nom de domaine existant"
24
+ "useExistingDomainLabel": "Utiliser mon nom de domaine existant",
25
+ "createTeamCardsLabel": "Créer des cartes d'équipe"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Website",
22
22
  "digitalBusinessCardFriendlyName": "Digital Business Card",
23
23
  "alreadyHaveADomainLabel": "Already have a domain?",
24
- "useExistingDomainLabel": "Use my existing domain"
24
+ "useExistingDomainLabel": "Use my existing domain",
25
+ "createTeamCardsLabel": "Create Team Cards"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Site",
22
22
  "digitalBusinessCardFriendlyName": "Cartão de visita digital",
23
23
  "alreadyHaveADomainLabel": "Já tem um domínio?",
24
- "useExistingDomainLabel": "Usar meu domínio existente"
24
+ "useExistingDomainLabel": "Usar meu domínio existente",
25
+ "createTeamCardsLabel": "Criar cartões de equipe"
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@
21
21
  "websiteFriendlyName": "Website",
22
22
  "digitalBusinessCardFriendlyName": "Cartão de visita digital",
23
23
  "alreadyHaveADomainLabel": "Já tem um domínio?",
24
- "useExistingDomainLabel": "Utilizar o meu domínio existente"
24
+ "useExistingDomainLabel": "Utilizar o meu domínio existente",
25
+ "createTeamCardsLabel": "Criar cartões de equipa"
25
26
  }
26
27
  }
@@ -24,19 +24,30 @@
24
24
  data-test-brand-page-copy-input
25
25
  @on-click="onCopyUrlClick"
26
26
  />
27
- <Button
28
- :label="viewMyWebsiteLabel"
29
- :variant="isDesignCom ? 'primary' : 'primary-with-icon'"
30
- icon="chevron-right-wide"
31
- size="medium"
32
- icon-view-box="0 0 24 24"
33
- class="tw-my-4"
34
- target="_blank"
35
- rel="noopener noreferrer"
36
- :url="brandPageUrl"
37
- :full-width="isMobile"
38
- @on-click="onBrandPageUrlClick"
39
- />
27
+ <div
28
+ class="tw-flex tw-flex-col tw-flex-col-reverse sm:tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-my-4"
29
+ >
30
+ <Button
31
+ v-if="brandPageType === 'brandContact'"
32
+ :label="createTeamCardsLabel"
33
+ variant="outline"
34
+ :size="isDesignCom ? 'medium' : 'large'"
35
+ :full-width="isMobile"
36
+ @on-click="onCreateTeamCardsClick"
37
+ />
38
+ <Button
39
+ :label="viewMyWebsiteLabel"
40
+ :variant="isDesignCom ? 'primary' : 'primary-with-icon'"
41
+ icon="chevron-right-wide"
42
+ size="medium"
43
+ icon-view-box="0 0 24 24"
44
+ target="_blank"
45
+ rel="noopener noreferrer"
46
+ :url="brandPageUrl"
47
+ :full-width="isMobile"
48
+ @on-click="onBrandPageUrlClick"
49
+ />
50
+ </div>
40
51
  </div>
41
52
  <div v-if="showUpsellRotationContainer" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
42
53
  <slot name="upsellContainer" />
@@ -105,6 +116,11 @@ export default {
105
116
  required: true,
106
117
  default: undefined,
107
118
  },
119
+ brandPageType: {
120
+ type: String,
121
+ required: false,
122
+ default: '',
123
+ },
108
124
  },
109
125
  emits: [
110
126
  'copy-url-clicked',
@@ -112,6 +128,7 @@ export default {
112
128
  'on-view-more-domains',
113
129
  'on-buy-now-clicked',
114
130
  'on-search-text-changed',
131
+ 'on-create-team-cards-click',
115
132
  ],
116
133
  setup() {
117
134
  return {
@@ -119,6 +136,7 @@ export default {
119
136
  publishBrandPageModalTr,
120
137
  copyLabel: publishBrandPageModalTr('copyLabel'),
121
138
  copySuccessLabel: publishBrandPageModalTr('copySuccessLabel'),
139
+ createTeamCardsLabel: publishBrandPageModalTr('createTeamCardsLabel'),
122
140
  };
123
141
  },
124
142
  computed: {
@@ -144,6 +162,9 @@ export default {
144
162
  onBuyNowClick() {
145
163
  this.$emit('on-buy-now-clicked');
146
164
  },
165
+ onCreateTeamCardsClick() {
166
+ this.$emit('on-create-team-cards-click');
167
+ },
147
168
  },
148
169
  };
149
170
  </script>