project-booster-vue 10.17.2 → 10.17.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 (18) hide show
  1. package/package.json +1 -1
  2. package/src/components/landing/PbProjectsLanding.vue +6 -1
  3. package/src/components/restitution/PbRestitution.vue +0 -1
  4. package/src/components/restitution/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-restitution-pb-restitution-/360/237/246/240-feature-call-to-action-with-modal-1-snap.png +0 -0
  5. package/src/components/restitution/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-restitution-pb-restitution-/360/237/246/240-feature-conditional-exit-options-1-snap.png +0 -0
  6. package/src/components/restitution/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-restitution-pb-restitution-/360/237/246/240-features-with-a-popin-save-action-1-snap.png +0 -0
  7. package/src/components/restitution/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-restitution-pb-restitution-/360/237/246/240-features-with-exit-options-1-snap.png +0 -0
  8. package/src/components/restitution/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-restitution-pb-restitution-/360/237/246/240-features-without-price-bar-1-snap.png +0 -0
  9. package/src/components/rework/alert/MPbAlert.stories.mdx +1 -0
  10. package/src/components/rework/alert/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-rework-alert-m-pb-alert-/360/237/246/240-101-sandbox-1-snap.png +0 -0
  11. package/src/components/rework/products/default-payload.json +0 -1
  12. package/src/components/rework/question/MPbQuestion.stories.mdx +1 -0
  13. package/src/components/rework/question/incremental-amount-input/MPbIncrementalAmountInput.stories.mdx +1 -0
  14. package/src/components/rework/question/space-input/MPbSpaceInput.stories.mdx +1 -0
  15. package/src/components/scenario/scenarii/appointment-qualification-kitchen.json +5 -13
  16. package/src/components/trezor/PbTrezor.stories.mdx +1 -0
  17. package/src/components/trezor/PbTrezor.vue +8 -4
  18. package/src/components/trezor/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-trezor-pb-trezor-/360/237/246/240-101-sandbox-1-snap.png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "10.17.2",
3
+ "version": "10.17.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -217,7 +217,7 @@
217
217
  <m-flexy-col
218
218
  class="pb-projects-landing__card-container pb-projects-landing__card-container--card-fullwidth-mobile"
219
219
  width="1of2"
220
- width-from-l="1of3"
220
+ width-from-l="1of4"
221
221
  v-for="item in toolsCards6"
222
222
  :key="item.message"
223
223
  >
@@ -435,6 +435,11 @@ export default defineComponent({
435
435
  image: 'https://storage.googleapis.com/project-booster-media/landing-projet/aide-financement.png',
436
436
  href: '/services/service-client/financement.html',
437
437
  },
438
+ {
439
+ title: 'Votre projet de rénovation à Paris',
440
+ image: 'https://storage.googleapis.com/project-booster-media/landing-projet/projet-renovation-paris.jpg',
441
+ href: 'https://travaux.leroymerlin.fr/ ',
442
+ },
438
443
  ],
439
444
  };
440
445
  },
@@ -312,7 +312,6 @@ $space-left-mobile: $mu100;
312
312
 
313
313
  @include set-from-screen($responsive-breakpoint) {
314
314
  padding: $space-top $space-left;
315
- max-width: 650px;
316
315
  }
317
316
 
318
317
  &__header {
@@ -35,6 +35,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
35
35
  return { args };
36
36
  },
37
37
  template: `<m-pb-alert
38
+ style="max-width:720px; margin:7.5rem auto;"
38
39
  :payload="args.payload"
39
40
  />`,
40
41
  });
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "viewModel": {
3
- "backLabel": "Question précédente",
4
3
  "label": "Estimer vos aides pour votre projet",
5
4
  "defaultProduct": {
6
5
  "designation": "Installation d'une chaudière à",
@@ -66,6 +66,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
66
66
  return { args };
67
67
  },
68
68
  template: `<m-pb-question
69
+ style="max-width:720px; margin: auto;"
69
70
  :payload="args.payload"
70
71
  :show-back-button="args.showBackButton"
71
72
  :answers="args.answers"
@@ -36,6 +36,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
36
36
  return { args };
37
37
  },
38
38
  template: `<m-pb-incremental-amount-input
39
+ style="max-width:720px; margin:auto;"
39
40
  :payload="args.payload"
40
41
  :show-back-button="args.showBackButton"
41
42
  :completed-event-name="args.completedEventName"
@@ -62,6 +62,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
62
62
  return { args };
63
63
  },
64
64
  template: `<m-pb-space-input
65
+ style="max-width:720px; margin: auto"
65
66
  :payload="args.payload"
66
67
  :show-back-button="args.showBackButton"
67
68
  :answers="args.answers"
@@ -233,7 +233,8 @@
233
233
  "label": "Avez-vous une idée du budget de votre cuisine (mobilier et équipements) ?",
234
234
  "subtitle": "Votre conseiller veillera à respecter votre budget",
235
235
  "forceOneCardPerLineOnMobile": true,
236
- "answersComponent": "MPbCard"
236
+ "answersComponent": "MPbCard",
237
+ "widthFromL": "auto"
237
238
  },
238
239
  "answers": {
239
240
  "BETWEEN_1500_AND_2000_EUROS": {
@@ -457,22 +458,13 @@
457
458
  "code": "LMFR_QUESTION_SCENARIO_NO_SIMULATION",
458
459
  "type": "STEP",
459
460
  "component": "MPbQuestion",
460
- "slots": {
461
- "beforeContent": {
462
- "display": true,
463
- "component": "MPbProgress",
464
- "totalStep": 7,
465
- "currentStep": 6,
466
- "sizeXlWidth": true,
467
- "label": "Votre projet cuisine"
468
- }
469
- },
470
461
  "payload": {
471
462
  "viewModel": {
472
463
  "label": "Veuillez-nous excuser, nous n’avons trouvé aucun plan",
473
464
  "widthFromL": "1of3",
474
465
  "forceOneCardPerLineOnMobile": true,
475
- "answersComponent": "MPbCard"
466
+ "answersComponent": "MPbCard",
467
+ "hideNextStep": true
476
468
  },
477
469
  "answers": {
478
470
  "NO_PLAN": {
@@ -608,7 +600,7 @@
608
600
  "skippable": [
609
601
  {
610
602
  "isAnswer": false,
611
- "label": "Ajouter un plan plus tard",
603
+ "label": "Passer l'étape",
612
604
  "theme": "text-primary",
613
605
  "width": "full",
614
606
  "widthFromM": "fit",
@@ -45,6 +45,7 @@ export const TemplateSandbox = (args, { argTypes }) => ({
45
45
  return { args };
46
46
  },
47
47
  template: `<pb-trezor
48
+ style="max-width:720px; margin:auto;"
48
49
  :payload="args.payload"
49
50
  :show-back-button="args.showBackButton"
50
51
  :completed-event-name="args.completedEventName"
@@ -540,7 +540,8 @@ $responsive-breakpoint: 'm';
540
540
 
541
541
  .pb-trezor {
542
542
  margin: 0 auto;
543
- // max-width: 1024px;
543
+ max-width: 100%;
544
+ width: 720px;
544
545
 
545
546
  &__back-button {
546
547
  align-self: flex-start;
@@ -549,6 +550,10 @@ $responsive-breakpoint: 'm';
549
550
  transition: opacity 0.15s 0.5s;
550
551
  z-index: 2;
551
552
 
553
+ @include set-from-screen($responsive-breakpoint) {
554
+ padding: $mu100 0;
555
+ }
556
+
552
557
  &--hidden {
553
558
  opacity: 0;
554
559
  pointer-events: none;
@@ -564,9 +569,8 @@ $responsive-breakpoint: 'm';
564
569
  position: relative;
565
570
 
566
571
  @include set-from-screen($responsive-breakpoint) {
567
- margin: auto;
568
572
  padding: 0 0 $mu250 0;
569
- text-align: center;
573
+ width: 100%;
570
574
  }
571
575
  }
572
576
 
@@ -585,7 +589,7 @@ $responsive-breakpoint: 'm';
585
589
  @include set-from-screen($responsive-breakpoint) {
586
590
  margin: auto;
587
591
  padding: 0;
588
- width: 900px;
592
+ width: 100%;
589
593
  }
590
594
 
591
595
  &__checkbox {