@designcrowd/library.brand-page 5.14.3-profile-2 → 5.14.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.
Files changed (50) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-CtwlaU9T.js → CreatedOnBrandCrowd-de-de-D0D9APwq.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-D-VgA8PP.js → CreatedOnBrandCrowd-en-us-D0TLbaE5.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CdNEbchc.js → CreatedOnBrandCrowd-es-es-CljMPMgZ.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-B7QF8at8.js → CreatedOnBrandCrowd-fr-fr-LJjcPzL-.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt--C5hL2Ik.js → CreatedOnBrandCrowd-pt-pt-BRr9vOwt.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-CVoO4cSX.js → CreatedOnDcom-de-de-DYTf3ViS.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-i9has-UX.js → CreatedOnDcom-en-us-CoVdLYRn.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-CDJQl58L.js → CreatedOnDcom-es-es-Cwv2fL04.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-Bk5IJ191.js → CreatedOnDcom-fr-fr-CB-bp8IS.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-Dk-szZDj.js → CreatedOnDcom-pt-pt-BU6yS2P1.js} +1 -1
  11. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +3 -2
  12. package/lib/src/brand-page/components/mailing-list/MailingList.stories.js +2 -2
  13. package/lib/src/brand-page/constants/misc.constants.d.ts +1 -0
  14. package/lib/src/brand-page/constants/misc.constants.js +1 -0
  15. package/lib/src/brand-page-maker/models/content-settings.js +1 -1
  16. package/lib/src/{bundled-translations-Cywcg_sz.js → bundled-translations-CZWbHUvK.js} +1 -1
  17. package/lib/src/{bundled-translations.de-DE-BbDTbyhB.js → bundled-translations.de-DE-CJEfFSdX.js} +1 -1
  18. package/lib/src/{bundled-translations.es-ES-Byj3a6gQ.js → bundled-translations.es-ES-ZPQF8MP5.js} +1 -1
  19. package/lib/src/{bundled-translations.fr-CA-CpMBjlzD.js → bundled-translations.fr-CA-CxW1dRgb.js} +1 -1
  20. package/lib/src/{bundled-translations.fr-FR-gGp2KrN5.js → bundled-translations.fr-FR-CEsuEZjm.js} +1 -1
  21. package/lib/src/{bundled-translations.pt-BR-CGG0pI4w.js → bundled-translations.pt-BR-CtxSb7a5.js} +9 -9
  22. package/lib/src/{bundled-translations.pt-PT-n8EsEX5u.js → bundled-translations.pt-PT-BBDakRsv.js} +1 -1
  23. package/lib/src/bundles/bundled-translations.de-DE.json +0 -1
  24. package/lib/src/bundles/bundled-translations.es-ES.json +0 -1
  25. package/lib/src/bundles/bundled-translations.fr-CA.json +0 -1
  26. package/lib/src/bundles/bundled-translations.fr-FR.json +0 -1
  27. package/lib/src/bundles/bundled-translations.json +0 -1
  28. package/lib/src/bundles/bundled-translations.pt-BR.json +0 -1
  29. package/lib/src/bundles/bundled-translations.pt-PT.json +0 -1
  30. package/lib/src/index.mjs +1 -1
  31. package/lib/src/{lib-C5nsvVyR.js → lib-tM_6RdaI.js} +4613 -4613
  32. package/package.json +1 -1
  33. package/src/brand-page/components/mailing-list/MailingList.mixin.ts +3 -7
  34. package/src/brand-page/components/mailing-list/MailingList.stories.ts +2 -2
  35. package/src/brand-page/constants/misc.constants.ts +2 -0
  36. package/src/brand-page-maker/models/content-settings.ts +1 -1
  37. package/src/bundles/bundled-translations.de-DE.json +0 -1
  38. package/src/bundles/bundled-translations.es-ES.json +0 -1
  39. package/src/bundles/bundled-translations.fr-CA.json +0 -1
  40. package/src/bundles/bundled-translations.fr-FR.json +0 -1
  41. package/src/bundles/bundled-translations.json +0 -1
  42. package/src/bundles/bundled-translations.pt-BR.json +0 -1
  43. package/src/bundles/bundled-translations.pt-PT.json +0 -1
  44. package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +0 -1
  45. package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +0 -1
  46. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +0 -1
  47. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +0 -1
  48. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +0 -1
  49. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +0 -1
  50. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.14.3-profile-2",
4
+ "version": "5.14.3",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -1,13 +1,11 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import type { PropType } from 'vue';
3
+ import { DEFAULT_MAILING_LIST_BUTTON_TEXT } from '../../constants';
3
4
  import type { MailingListViewModel } from '../../view-models';
4
5
  import brandPageClient from '../../clients/brand-page.client';
5
6
  import { getEmailValidationError } from '../../utils';
6
7
  import type { BrandPageContext } from '../../models';
7
- import {
8
- contentSettingsTr,
9
- mailingListTr,
10
- } from '../../../composables/useTranslate';
8
+ import { mailingListTr } from '../../../composables/useTranslate';
11
9
 
12
10
  const MAX_NAME_LENGTH = 200;
13
11
 
@@ -86,9 +84,7 @@ export default defineComponent({
86
84
  },
87
85
 
88
86
  buttonText(): string {
89
- return (
90
- this.viewModel?.buttonText || contentSettingsTr('subscribePlaceholder')
91
- );
87
+ return this.viewModel?.buttonText || DEFAULT_MAILING_LIST_BUTTON_TEXT;
92
88
  },
93
89
 
94
90
  containerStyle(): BrandPageCssStyle {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import { faker } from '@faker-js/faker';
3
3
  import { mockApiCalls } from '../../../brand-page-maker/components/brand-page-maker/mock-api-calls';
4
- import { DEFAULT_TEXT_ALIGN } from '../../constants';
4
+ import { DEFAULT_MAILING_LIST_BUTTON_TEXT, DEFAULT_TEXT_ALIGN } from '../../constants';
5
5
  import type { MailingListContent } from '../../models';
6
6
  import MailingList from './MailingList.vue';
7
7
  import { context } from '../../__fixtures__/brand-page-sample-data';
@@ -15,7 +15,7 @@ const bpData: MailingListContent = {
15
15
  type: 'mailing-list',
16
16
  acceptedFields: undefined,
17
17
  promptText: 'You want some mails?',
18
- buttonText: 'Subscribe',
18
+ buttonText: DEFAULT_MAILING_LIST_BUTTON_TEXT,
19
19
  titleStyle: {
20
20
  textAlign: DEFAULT_TEXT_ALIGN,
21
21
  },
@@ -6,6 +6,8 @@ export const DEFAULT_CURRENCY_CODE = 'USD';
6
6
  export const DEFAULT_LOGO_TEXT_COLOR_RGB = 'rgb(0,0,0)';
7
7
  export const DEFAULT_LOGO_BACKGROUND_COLOR_RGB = 'rgb(255,255,255)';
8
8
 
9
+ export const DEFAULT_MAILING_LIST_BUTTON_TEXT = 'Subscribe';
10
+
9
11
  export const DISPLAY_STYLE_PREVIEW = 'preview';
10
12
  export const DISPLAY_STYLE_COLLAPSED = 'collapsed';
11
13
 
@@ -146,7 +146,7 @@ export const createInitialProfileContent = (
146
146
  id: uuid.v4(),
147
147
  description: contentSettingsTr(`defaultDescription`),
148
148
  avatarImageUrl: '',
149
- name: contentSettingsTr(`nameTitle`),
149
+ name: 'Name',
150
150
  title: contentSettingsTr(`titleTitle`),
151
151
  type: 'profile',
152
152
  backgroundColor: {},
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "E-Mail",
459
459
  "imageTitle": "Bild",
460
460
  "titleTitle": "Titel",
461
- "nameTitle": "Name",
462
461
  "aspectRatioTitle": "Seitenverhältnis",
463
462
  "pluralImagesTitle": "Bilder",
464
463
  "styleTitle": "Stil",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "Correo electrónico",
459
459
  "imageTitle": "Imagen",
460
460
  "titleTitle": "Título",
461
- "nameTitle": "Nombre",
462
461
  "aspectRatioTitle": "Relación de aspecto",
463
462
  "pluralImagesTitle": "Imágenes",
464
463
  "styleTitle": "Estilo",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "Adresse courriel",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Titre",
461
- "nameTitle": "Nom",
462
461
  "aspectRatioTitle": "Rapport d’aspect",
463
462
  "pluralImagesTitle": "Images",
464
463
  "styleTitle": "Style",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Titre",
461
- "nameTitle": "Nom",
462
461
  "aspectRatioTitle": "Rapport d’aspect",
463
462
  "pluralImagesTitle": "Images",
464
463
  "styleTitle": "Style",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "Email",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Title",
461
- "nameTitle": "Name",
462
461
  "aspectRatioTitle": "Aspect ratio",
463
462
  "pluralImagesTitle": "Images",
464
463
  "styleTitle": "Style",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Imagem",
460
460
  "titleTitle": "Título",
461
- "nameTitle": "Nome",
462
461
  "aspectRatioTitle": "Proporção da tela",
463
462
  "pluralImagesTitle": "Imagens",
464
463
  "styleTitle": "Estilo",
@@ -458,7 +458,6 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Imagem",
460
460
  "titleTitle": "Título",
461
- "nameTitle": "Nome",
462
461
  "aspectRatioTitle": "Relação de aspeto",
463
462
  "pluralImagesTitle": "Imagens",
464
463
  "styleTitle": "Estilo",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "E-Mail",
75
75
  "imageTitle" : "Bild",
76
76
  "titleTitle" : "Titel",
77
- "nameTitle" : "Name",
78
77
  "aspectRatioTitle" : "Seitenverhältnis",
79
78
  "pluralImagesTitle" : "Bilder",
80
79
  "styleTitle" : "Stil",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "Correo electrónico",
75
75
  "imageTitle" : "Imagen",
76
76
  "titleTitle" : "Título",
77
- "nameTitle" : "Nombre",
78
77
  "aspectRatioTitle" : "Relación de aspecto",
79
78
  "pluralImagesTitle" : "Imágenes",
80
79
  "styleTitle" : "Estilo",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "Adresse courriel",
75
75
  "imageTitle" : "Image",
76
76
  "titleTitle" : "Titre",
77
- "nameTitle" : "Nom",
78
77
  "aspectRatioTitle" : "Rapport d’aspect",
79
78
  "pluralImagesTitle" : "Images",
80
79
  "styleTitle" : "Style",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Image",
76
76
  "titleTitle" : "Titre",
77
- "nameTitle" : "Nom",
78
77
  "aspectRatioTitle" : "Rapport d’aspect",
79
78
  "pluralImagesTitle" : "Images",
80
79
  "styleTitle" : "Style",
@@ -83,7 +83,6 @@
83
83
  "emailTitle": "Email",
84
84
  "imageTitle": "Image",
85
85
  "titleTitle": "Title",
86
- "nameTitle": "Name",
87
86
  "aspectRatioTitle": "Aspect ratio",
88
87
  "pluralImagesTitle": "Images",
89
88
  "styleTitle": "Style",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Imagem",
76
76
  "titleTitle" : "Título",
77
- "nameTitle" : "Nome",
78
77
  "aspectRatioTitle" : "Proporção da tela",
79
78
  "pluralImagesTitle" : "Imagens",
80
79
  "styleTitle" : "Estilo",
@@ -74,7 +74,6 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Imagem",
76
76
  "titleTitle" : "Título",
77
- "nameTitle" : "Nome",
78
77
  "aspectRatioTitle" : "Relação de aspeto",
79
78
  "pluralImagesTitle" : "Imagens",
80
79
  "styleTitle" : "Estilo",