project-booster-vue 9.11.0 → 9.12.0

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 (11) hide show
  1. package/package.json +6 -6
  2. package/src/components/mozaic/notifications/MNotification.stories.mdx +16 -1
  3. package/src/components/mozaic/notifications/MNotification.vue +8 -2
  4. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-is-big-1-snap.png +0 -0
  5. package/src/components/mozaic/notifications/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-mozaic-components-m-notification-/360/237/247/254-showcase-type-1-snap.png +0 -0
  6. package/src/components/projects/project-hub/PbProjectHub.vue +5 -5
  7. package/src/components/projects/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-projects-pb-project-hub-/360/237/246/240-features-appointment-showcase-with-appointment-in-the-past-1-snap.png +0 -0
  8. package/src/components/projects/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-projects-pb-project-hub-/360/237/246/240-features-appointment-showcase-with-cancelled-appointment-1-snap.png +0 -0
  9. package/src/components/projects/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-projects-pb-project-hub-/360/237/246/240-features-appointment-showcase-with-cancelled-appointment-in-the-past-1-snap.png +0 -0
  10. package/src/components/projects/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-projects-pb-project-hub-/360/237/246/240-features-appointment-showcase-with-store-appointment-1-snap.png +0 -0
  11. package/src/components/projects/project-hub/__snapshots__/storyshots-puppeteer-test-puppeteer-ts-image-storyshots-project-booster-components-projects-pb-project-hub-/360/237/246/240-features-appointment-showcase-with-visio-appointment-1-snap.png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "9.11.0",
3
+ "version": "9.12.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -119,12 +119,12 @@
119
119
  "@typescript-eslint/parser": "4.18.0",
120
120
  "@vue/babel-preset-app": "4.5.13",
121
121
  "@vue/compat": "3.2.6",
122
- "@vue/cli": "5.0.0-beta.7",
123
- "@vue/cli-plugin-babel": "5.0.0-beta.7",
124
- "@vue/cli-plugin-eslint": "5.0.0-beta.7",
125
- "@vue/cli-plugin-typescript": "4.5.13",
122
+ "@vue/cli": "5.0.4",
123
+ "@vue/cli-plugin-babel": "5.0.4",
124
+ "@vue/cli-plugin-eslint": "5.0.4",
125
+ "@vue/cli-plugin-typescript": "5.0.4",
126
126
  "@vue/cli-plugin-unit-jest": "4.5.16",
127
- "@vue/cli-service": "5.0.0-beta.7",
127
+ "@vue/cli-service": "5.0.4",
128
128
  "@vue/compiler-sfc": "3.2.31",
129
129
  "@vue/eslint-config-prettier": "6.0.0",
130
130
  "@vue/eslint-config-standard": "6.0.0",
@@ -184,7 +184,22 @@ export const TemplateSandbox = (args, { argTypes }) => ({
184
184
  <m-notification title="success" type="success" />
185
185
  <m-notification title="warning" type="warning" />
186
186
  <m-notification title="danger" type="danger" />
187
- <m-notification title="appointment" is-big />
187
+ </div>
188
+ `,
189
+ }}
190
+ </Story>
191
+ </Canvas>
192
+
193
+ ## **isBig** prop
194
+
195
+ <Canvas>
196
+ <Story name="Showcase - Is big" parameters={{ controls: { disable: true } }}>
197
+ {{
198
+ components: { MNotification },
199
+ template: `
200
+ <div style="display: flex;flex-direction: column;gap: 1rem;">
201
+ <m-notification title="Normal" text="Some text" type="information" link-label="The lnk label" link-href="#"/>
202
+ <m-notification title="Big" text="Some text" type="information" link-label="The lnk label" link-href="#" is-big />
188
203
  </div>
189
204
  `,
190
205
  }}
@@ -252,10 +252,16 @@ $responsive-breakpoint: 'm';
252
252
 
253
253
  .mc-notification__message {
254
254
  @include set-font-scale('06', 's');
255
+
256
+ margin-top: $mu100;
255
257
  }
256
258
 
257
- .mc-notification__link .mc-link__label {
258
- @include set-font-scale('06', 's');
259
+ .mc-notification__link {
260
+ margin-top: $mu100;
261
+
262
+ .mc-link__label {
263
+ @include set-font-scale('06', 's');
264
+ }
259
265
  }
260
266
  }
261
267
 
@@ -130,7 +130,7 @@
130
130
  </m-flexy>
131
131
  <m-link
132
132
  class="pb-project-hub__section-content-link"
133
- label="Gérer vos documents"
133
+ label="Gérer les documents"
134
134
  @click="$router.push({ name: 'PbDocuments' })"
135
135
  />
136
136
  </m-container>
@@ -442,7 +442,7 @@
442
442
  </m-flexy>
443
443
  <m-link
444
444
  class="pb-project-hub__section-content-link"
445
- label="Gérer vos inspirations"
445
+ label="Gérer les inspirations"
446
446
  @click="$router.push({ name: 'PbInspirations' })"
447
447
  />
448
448
  </m-container>
@@ -1129,7 +1129,7 @@ export default defineComponent({
1129
1129
  })} à ${appointmentDate.toLocaleTimeString('fr-FR', { hour: '2-digit', minute: '2-digit' })}`;
1130
1130
  const appointmentTypeLabel = (<Record<string, string>>{
1131
1131
  KITCHEN_IN_STORE: 'en magasin',
1132
- KITCHEN_REMOTE: 'en visio-conférence',
1132
+ KITCHEN_REMOTE: 'à distance',
1133
1133
  })[this.appointment.appointmentType];
1134
1134
  return `${prefix} le ${appointmenDateLabel} ${appointmentTypeLabel}`;
1135
1135
  },
@@ -1140,8 +1140,8 @@ export default defineComponent({
1140
1140
  : this.appointment.isPast
1141
1141
  ? 'Date du rendez-vous passée.'
1142
1142
  : this.appointment.appointmentType === 'KITCHEN_IN_STORE'
1143
- ? 'N’oubliez pas !'
1144
- : "Retrouvez le lien d'accès à la visio-conférence dans le mail qui vous est envoyé. \n" + 'N’oubliez pas !';
1143
+ ? 'Si vous le souhaitez vous pourrez annuler le rendez-vous dans le mail qui vous a été envoyé.<br/>N’oubliez pas !'
1144
+ : "Retrouvez le lien d'accès à la visio-conférence dans le mail qui vous a été envoyé.<br/>Si vous le souhaitez vous pourrez annuler le rendez-vous dans ce mail.<br/>N’oubliez pas !";
1145
1145
  },
1146
1146
 
1147
1147
  appointmentNotificationLinkLabel() {