@designcrowd/library.brand-page 5.14.4 → 5.14.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.
Files changed (50) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-CfdcCETj.js → CreatedOnBrandCrowd-de-de-tTFTa20I.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-B_56DZGh.js → CreatedOnBrandCrowd-en-us-CFjAtUB7.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CGmiq9qm.js → CreatedOnBrandCrowd-es-es-CCbPO5EX.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DazW0rLQ.js → CreatedOnBrandCrowd-fr-fr-vj8agtZJ.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-BgB4Sy8I.js → CreatedOnBrandCrowd-pt-pt-BBbKXb-v.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-CTCY2_wC.js → CreatedOnDcom-de-de-DSIsTnvI.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-CyEVlWGN.js → CreatedOnDcom-en-us-BjGcn0TZ.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-DPwnWgQl.js → CreatedOnDcom-es-es-VY1wFSD_.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-VZtFUE3z.js → CreatedOnDcom-fr-fr-BKc4gdFc.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-B0K2eelS.js → CreatedOnDcom-pt-pt-Cxl_q80E.js} +1 -1
  11. package/lib/src/brand-page/components/mailing-list/MailingList.mixin.js +2 -3
  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 +0 -1
  14. package/lib/src/brand-page/constants/misc.constants.js +0 -1
  15. package/lib/src/brand-page-maker/models/content-settings.js +1 -1
  16. package/lib/src/{bundled-translations-CZWbHUvK.js → bundled-translations-Cywcg_sz.js} +1 -1
  17. package/lib/src/{bundled-translations.de-DE-CJEfFSdX.js → bundled-translations.de-DE-BbDTbyhB.js} +1 -1
  18. package/lib/src/{bundled-translations.es-ES-ZPQF8MP5.js → bundled-translations.es-ES-Byj3a6gQ.js} +1 -1
  19. package/lib/src/{bundled-translations.fr-CA-CxW1dRgb.js → bundled-translations.fr-CA-CpMBjlzD.js} +1 -1
  20. package/lib/src/{bundled-translations.fr-FR-CEsuEZjm.js → bundled-translations.fr-FR-gGp2KrN5.js} +1 -1
  21. package/lib/src/{bundled-translations.pt-BR-CtxSb7a5.js → bundled-translations.pt-BR-CGG0pI4w.js} +9 -9
  22. package/lib/src/{bundled-translations.pt-PT-BBDakRsv.js → bundled-translations.pt-PT-n8EsEX5u.js} +1 -1
  23. package/lib/src/bundles/bundled-translations.de-DE.json +1 -0
  24. package/lib/src/bundles/bundled-translations.es-ES.json +1 -0
  25. package/lib/src/bundles/bundled-translations.fr-CA.json +1 -0
  26. package/lib/src/bundles/bundled-translations.fr-FR.json +1 -0
  27. package/lib/src/bundles/bundled-translations.json +1 -0
  28. package/lib/src/bundles/bundled-translations.pt-BR.json +1 -0
  29. package/lib/src/bundles/bundled-translations.pt-PT.json +1 -0
  30. package/lib/src/index.mjs +1 -1
  31. package/lib/src/{lib-DWjLXguh.js → lib-CZoxhX8G.js} +4615 -4615
  32. package/package.json +1 -1
  33. package/src/brand-page/components/mailing-list/MailingList.mixin.ts +7 -3
  34. package/src/brand-page/components/mailing-list/MailingList.stories.ts +2 -2
  35. package/src/brand-page/constants/misc.constants.ts +0 -2
  36. package/src/brand-page-maker/models/content-settings.ts +1 -1
  37. package/src/bundles/bundled-translations.de-DE.json +1 -0
  38. package/src/bundles/bundled-translations.es-ES.json +1 -0
  39. package/src/bundles/bundled-translations.fr-CA.json +1 -0
  40. package/src/bundles/bundled-translations.fr-FR.json +1 -0
  41. package/src/bundles/bundled-translations.json +1 -0
  42. package/src/bundles/bundled-translations.pt-BR.json +1 -0
  43. package/src/bundles/bundled-translations.pt-PT.json +1 -0
  44. package/src/shared/content-settings/components/content-settings/i18n/content-settings.de-DE.json +1 -0
  45. package/src/shared/content-settings/components/content-settings/i18n/content-settings.es-ES.json +1 -0
  46. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-CA.json +1 -0
  47. package/src/shared/content-settings/components/content-settings/i18n/content-settings.fr-FR.json +1 -0
  48. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +1 -0
  49. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-BR.json +1 -0
  50. package/src/shared/content-settings/components/content-settings/i18n/content-settings.pt-PT.json +1 -0
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.4",
4
+ "version": "5.14.5",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -1,11 +1,13 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import type { PropType } from 'vue';
3
- import { DEFAULT_MAILING_LIST_BUTTON_TEXT } from '../../constants';
4
3
  import type { MailingListViewModel } from '../../view-models';
5
4
  import brandPageClient from '../../clients/brand-page.client';
6
5
  import { getEmailValidationError } from '../../utils';
7
6
  import type { BrandPageContext } from '../../models';
8
- import { mailingListTr } from '../../../composables/useTranslate';
7
+ import {
8
+ contentSettingsTr,
9
+ mailingListTr,
10
+ } from '../../../composables/useTranslate';
9
11
 
10
12
  const MAX_NAME_LENGTH = 200;
11
13
 
@@ -84,7 +86,9 @@ export default defineComponent({
84
86
  },
85
87
 
86
88
  buttonText(): string {
87
- return this.viewModel?.buttonText || DEFAULT_MAILING_LIST_BUTTON_TEXT;
89
+ return (
90
+ this.viewModel?.buttonText || contentSettingsTr('subscribePlaceholder')
91
+ );
88
92
  },
89
93
 
90
94
  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_MAILING_LIST_BUTTON_TEXT, DEFAULT_TEXT_ALIGN } from '../../constants';
4
+ import { 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: DEFAULT_MAILING_LIST_BUTTON_TEXT,
18
+ buttonText: 'Subscribe',
19
19
  titleStyle: {
20
20
  textAlign: DEFAULT_TEXT_ALIGN,
21
21
  },
@@ -6,8 +6,6 @@ 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
-
11
9
  export const DISPLAY_STYLE_PREVIEW = 'preview';
12
10
  export const DISPLAY_STYLE_COLLAPSED = 'collapsed';
13
11
 
@@ -146,7 +146,7 @@ export const createInitialProfileContent = (
146
146
  id: uuid.v4(),
147
147
  description: contentSettingsTr(`defaultDescription`),
148
148
  avatarImageUrl: '',
149
- name: 'Name',
149
+ name: contentSettingsTr(`nameTitle`),
150
150
  title: contentSettingsTr(`titleTitle`),
151
151
  type: 'profile',
152
152
  backgroundColor: {},
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "E-Mail",
459
459
  "imageTitle": "Bild",
460
460
  "titleTitle": "Titel",
461
+ "nameTitle": "Name",
461
462
  "aspectRatioTitle": "Seitenverhältnis",
462
463
  "pluralImagesTitle": "Bilder",
463
464
  "styleTitle": "Stil",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "Correo electrónico",
459
459
  "imageTitle": "Imagen",
460
460
  "titleTitle": "Título",
461
+ "nameTitle": "Nombre",
461
462
  "aspectRatioTitle": "Relación de aspecto",
462
463
  "pluralImagesTitle": "Imágenes",
463
464
  "styleTitle": "Estilo",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "Adresse courriel",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Titre",
461
+ "nameTitle": "Nom",
461
462
  "aspectRatioTitle": "Rapport d’aspect",
462
463
  "pluralImagesTitle": "Images",
463
464
  "styleTitle": "Style",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Titre",
461
+ "nameTitle": "Nom",
461
462
  "aspectRatioTitle": "Rapport d’aspect",
462
463
  "pluralImagesTitle": "Images",
463
464
  "styleTitle": "Style",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "Email",
459
459
  "imageTitle": "Image",
460
460
  "titleTitle": "Title",
461
+ "nameTitle": "Name",
461
462
  "aspectRatioTitle": "Aspect ratio",
462
463
  "pluralImagesTitle": "Images",
463
464
  "styleTitle": "Style",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Imagem",
460
460
  "titleTitle": "Título",
461
+ "nameTitle": "Nome",
461
462
  "aspectRatioTitle": "Proporção da tela",
462
463
  "pluralImagesTitle": "Imagens",
463
464
  "styleTitle": "Estilo",
@@ -458,6 +458,7 @@
458
458
  "emailTitle": "E-mail",
459
459
  "imageTitle": "Imagem",
460
460
  "titleTitle": "Título",
461
+ "nameTitle": "Nome",
461
462
  "aspectRatioTitle": "Relação de aspeto",
462
463
  "pluralImagesTitle": "Imagens",
463
464
  "styleTitle": "Estilo",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "E-Mail",
75
75
  "imageTitle" : "Bild",
76
76
  "titleTitle" : "Titel",
77
+ "nameTitle" : "Name",
77
78
  "aspectRatioTitle" : "Seitenverhältnis",
78
79
  "pluralImagesTitle" : "Bilder",
79
80
  "styleTitle" : "Stil",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "Correo electrónico",
75
75
  "imageTitle" : "Imagen",
76
76
  "titleTitle" : "Título",
77
+ "nameTitle" : "Nombre",
77
78
  "aspectRatioTitle" : "Relación de aspecto",
78
79
  "pluralImagesTitle" : "Imágenes",
79
80
  "styleTitle" : "Estilo",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "Adresse courriel",
75
75
  "imageTitle" : "Image",
76
76
  "titleTitle" : "Titre",
77
+ "nameTitle" : "Nom",
77
78
  "aspectRatioTitle" : "Rapport d’aspect",
78
79
  "pluralImagesTitle" : "Images",
79
80
  "styleTitle" : "Style",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Image",
76
76
  "titleTitle" : "Titre",
77
+ "nameTitle" : "Nom",
77
78
  "aspectRatioTitle" : "Rapport d’aspect",
78
79
  "pluralImagesTitle" : "Images",
79
80
  "styleTitle" : "Style",
@@ -83,6 +83,7 @@
83
83
  "emailTitle": "Email",
84
84
  "imageTitle": "Image",
85
85
  "titleTitle": "Title",
86
+ "nameTitle": "Name",
86
87
  "aspectRatioTitle": "Aspect ratio",
87
88
  "pluralImagesTitle": "Images",
88
89
  "styleTitle": "Style",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Imagem",
76
76
  "titleTitle" : "Título",
77
+ "nameTitle" : "Nome",
77
78
  "aspectRatioTitle" : "Proporção da tela",
78
79
  "pluralImagesTitle" : "Imagens",
79
80
  "styleTitle" : "Estilo",
@@ -74,6 +74,7 @@
74
74
  "emailTitle" : "E-mail",
75
75
  "imageTitle" : "Imagem",
76
76
  "titleTitle" : "Título",
77
+ "nameTitle" : "Nome",
77
78
  "aspectRatioTitle" : "Relação de aspeto",
78
79
  "pluralImagesTitle" : "Imagens",
79
80
  "styleTitle" : "Estilo",