@designcrowd/library.brand-page 5.16.3-background-1 → 5.16.3-background-2

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 (24) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-SsqsrkVk.js → CreatedOnBrandCrowd-de-de-CKV5OfpA.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-DsGqYTNa.js → CreatedOnBrandCrowd-en-us-CVeOIfuY.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-C7s1ZcE5.js → CreatedOnBrandCrowd-es-es-Bky5jrsA.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DsNnq4vF.js → CreatedOnBrandCrowd-fr-ca-vf78sk3H.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-DsNnq4vF.js → CreatedOnBrandCrowd-fr-fr-vf78sk3H.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-BxAl5qbC.js → CreatedOnBrandCrowd-pt-br-DhowdxCT.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-BxAl5qbC.js → CreatedOnBrandCrowd-pt-pt-DhowdxCT.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-rwohNRHC.js → CreatedOnDcom-de-de-VM5ItYJf.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-CvwjVlGZ.js → CreatedOnDcom-en-us-josxNhmK.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-X40dNkrj.js → CreatedOnDcom-es-es-DiKAwjGC.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-DHVcZD4U.js → CreatedOnDcom-fr-ca-BGELaNHY.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-Bx2kBJe8.js → CreatedOnDcom-fr-fr-3ReXfgyD.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-OFY9pGT7.js → CreatedOnDcom-pt-br-QziCI0TB.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-Del779gQ.js → CreatedOnDcom-pt-pt-BJwKSkn3.js} +1 -1
  15. package/lib/src/css/library.brand-page-brandCrowd.min.css +15 -15
  16. package/lib/src/css/library.brand-page-brandPage.min.css +15 -15
  17. package/lib/src/css/library.brand-page-designCom.min.css +15 -15
  18. package/lib/src/css/library.brand-page-preview.min.css +15 -15
  19. package/lib/src/index.mjs +1 -1
  20. package/lib/src/{lib-Dv7p4Gdd.js → lib-DMBCLH_G.js} +137 -138
  21. package/lib/src/shared/background-settings/store/background-settings-store.js +6 -0
  22. package/package.json +1 -1
  23. package/src/brand-page/components/page/Page.vue +1 -2
  24. package/src/shared/background-settings/store/background-settings-store.ts +6 -0
@@ -112,6 +112,12 @@ export const useUiBackgroundSettingsStore = defineStore('uiBackgroundSettings',
112
112
  this.setBackgroundPersonalisationRole({
113
113
  personalisationRole: backgroundStyles.personalisationRole,
114
114
  });
115
+ if (backgroundStyles.media) {
116
+ this.backgroundStyles.media = backgroundStyles.media;
117
+ }
118
+ else {
119
+ this.backgroundStyles.media = undefined;
120
+ }
115
121
  this.onBackgroundChanged();
116
122
  },
117
123
  setBackgroundShapeSettings(payload) {
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.16.3-background-1",
4
+ "version": "5.16.3-background-2",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -3,13 +3,12 @@
3
3
  class="brand-page-root-background"
4
4
  :style="rootbackgroundStylesViewModel"
5
5
  />
6
- {{ console.log('This is the styles: ', viewModel) }}
7
6
  <Media
8
7
  v-if="viewModel.styles?.backgroundStylesViewModel?.mediaViewModel"
9
8
  :media="viewModel.styles.backgroundStylesViewModel.mediaViewModel"
10
9
  :context="context"
11
10
  :img-classes="{
12
- 'tw-w-full tw-h-full tw-object-cover tw-fixed tw-left-0 tw-top-0 tw-z-0': true,
11
+ 'tw-w-full tw-h-full tw-object-cover tw-absolute tw-left-0 tw-top-0 tw-z-0': true,
13
12
  }"
14
13
  :media-type="viewModel.styles.backgroundStylesViewModel.mediaViewModel.type"
15
14
  content-index="0"
@@ -213,6 +213,12 @@ export const useUiBackgroundSettingsStore = defineStore(
213
213
  personalisationRole: backgroundStyles.personalisationRole,
214
214
  });
215
215
 
216
+ if (backgroundStyles.media) {
217
+ this.backgroundStyles.media = backgroundStyles.media;
218
+ } else {
219
+ this.backgroundStyles.media = undefined;
220
+ }
221
+
216
222
  this.onBackgroundChanged();
217
223
  },
218
224
  setBackgroundShapeSettings(payload: SetBackgroundShapeSettingsPayload) {