@designcrowd/library.brand-page 5.17.27-shape-memory-1 → 5.17.27-shape-memory-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 (23) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-DnVOYWwi.js → CreatedOnBrandCrowd-de-de-CmwyVngB.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-Ck5vyx2I.js → CreatedOnBrandCrowd-en-us-BsYNmX7g.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-DGfSNbUC.js → CreatedOnBrandCrowd-es-es-Di-Cb90E.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-CtzJv06c.js → CreatedOnBrandCrowd-fr-ca-DkPUGPrO.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-CtzJv06c.js → CreatedOnBrandCrowd-fr-fr-DkPUGPrO.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-CLcAbgZO.js → CreatedOnBrandCrowd-pt-br-BB1hWv0w.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-CLcAbgZO.js → CreatedOnBrandCrowd-pt-pt-BB1hWv0w.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-D_LWZwdx.js → CreatedOnDcom-de-de-CLPQHUdt.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-hwDEPUya.js → CreatedOnDcom-en-us-4xPohzcl.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-apvIFgRh.js → CreatedOnDcom-es-es-COjxz_Aa.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-BnAc9Io4.js → CreatedOnDcom-fr-ca-sxQVouYP.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-DjETDNRk.js → CreatedOnDcom-fr-fr-B2XC86kO.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-D_uY0HWm.js → CreatedOnDcom-pt-br-CYK9le9x.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-CcukOv15.js → CreatedOnDcom-pt-pt-CF-QACKl.js} +1 -1
  15. package/lib/src/css/library.brand-page-brandCrowd.min.css +33 -24
  16. package/lib/src/css/library.brand-page-brandPage.min.css +33 -24
  17. package/lib/src/css/library.brand-page-designCom.min.css +33 -24
  18. package/lib/src/css/library.brand-page-preview.min.css +33 -24
  19. package/lib/src/index.mjs +1 -1
  20. package/lib/src/{lib-DmvnqALM.js → lib-vkr7dfRD.js} +3115 -3109
  21. package/package.json +1 -1
  22. package/src/brand-page/components/background-shape/BackgroundShape.vue +1 -7
  23. package/src/brand-page/components/page/Page.vue +27 -5
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.17.27-shape-memory-1",
4
+ "version": "5.17.27-shape-memory-2",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -19,16 +19,10 @@ export default {
19
19
  </script>
20
20
  <style scoped>
21
21
  .c-shape-background {
22
- transform: translate3d(0, 0, 0);
23
- position: fixed;
22
+ position: absolute;
24
23
  top: 0;
25
24
  left: 0;
26
25
  width: 100%;
27
- height: 100vh;
28
- }
29
-
30
- .template-preview .c-shape-background,
31
- .device-wrapper .c-shape-background {
32
26
  height: 100%;
33
27
  }
34
28
 
@@ -33,11 +33,17 @@
33
33
  "
34
34
  >
35
35
  <div class="brand-page">
36
- <BackgroundShape
37
- v-for="(shape, i) in backgroundShapes"
38
- :key="`${shape.name}-${i}`"
39
- :view-model="shape"
40
- />
36
+ <div
37
+ v-if="backgroundShapes.length"
38
+ class="brand-page__background-shapes-layer"
39
+ aria-hidden="true"
40
+ >
41
+ <BackgroundShape
42
+ v-for="(shape, i) in backgroundShapes"
43
+ :key="`${shape.name}-${i}`"
44
+ :view-model="shape"
45
+ />
46
+ </div>
41
47
  <div
42
48
  id="preview-page-scroll"
43
49
  class="brand-page__inner tw-overflow-x-hidden tw-overflow-y-auto"
@@ -348,6 +354,22 @@ body {
348
354
  @apply tw-h-full tw-box-border tw-flex tw-flex-col;
349
355
  }
350
356
 
357
+ .brand-page__background-shapes-layer {
358
+ position: fixed;
359
+ top: 0;
360
+ left: 0;
361
+ width: 100%;
362
+ height: 100vh;
363
+ pointer-events: none;
364
+ transform: translate3d(0, 0, 0);
365
+ contain: layout paint;
366
+ }
367
+
368
+ .template-preview .brand-page__background-shapes-layer,
369
+ .device-wrapper .brand-page__background-shapes-layer {
370
+ height: 100%;
371
+ }
372
+
351
373
  .brand-page__inner--default {
352
374
  @apply tw-h-full tw-flex tw-flex-col tw-relative tw-z-10;
353
375
  }