@designcrowd/fe-shared-lib 1.2.26-ast-upsell-3 → 1.2.26-ast-upsell-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.2.26-ast-upsell-3",
3
+ "version": "1.2.26-ast-upsell-5",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -17,13 +17,7 @@
17
17
  <div v-if="isNotPublished || isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8 tw-text-4xl">
18
18
  <span>{{ firstTimePublishHeaderLabel }}</span>
19
19
  </div>
20
- <div
21
- v-if="isPublished && !isSlugEditMode"
22
- class="tw-text-center tw-font-bold tw-mt-8"
23
- :class="{
24
- 'tw-mb-8 ': !showUpsellRotationContainer,
25
- }"
26
- >
20
+ <div v-if="isPublished && !isSlugEditMode" class="tw-text-center tw-font-bold tw-mt-8 tw-mb-8">
27
21
  <p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">{{ sitePublishedLabel }}</p>
28
22
  <div v-if="!showUpsellRotationContainer">
29
23
  <p v-if="hasPurchasedDomains || isCustomDomainActive" class="tw-text-grayscale-600 tw-mb-8">
@@ -420,6 +414,11 @@ export default {
420
414
  required: true,
421
415
  default: false,
422
416
  },
417
+ isSubsequentPublish: {
418
+ type: Boolean,
419
+ required: true,
420
+ default: false,
421
+ },
423
422
  },
424
423
  emits: [
425
424
  'close-modal',
@@ -519,7 +518,7 @@ export default {
519
518
  : this.slugInputPlaceholderYourBusinessNameLabel;
520
519
  },
521
520
  showUpsellRotationContainer() {
522
- if (this.isSlugEditMode) {
521
+ if (!this.isSubsequentPublish) {
523
522
  return false;
524
523
  }
525
524
  return this.showUpsellRotation && !this.isCustomDomainActive && !this.hasPurchasedDomains;