@designcrowd/fe-shared-lib 1.2.14-ast-upsell-2 → 1.2.14-ast-upsell-4

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.14-ast-upsell-2",
3
+ "version": "1.2.14-ast-upsell-4",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tw-m-5">
2
+ <div>
3
3
  <h3 class="tw-text-center tw-text-2xl tw-font-bold tw-mb-2">
4
4
  {{ upsellProps.title }}
5
5
  </h3>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tw-m-5">
2
+ <div>
3
3
  <h3 class="tw-text-center tw-text-2xl tw-font-bold tw-mb-2">
4
4
  {{ upsellProps.title }}
5
5
  </h3>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tw-m-5">
2
+ <div>
3
3
  <h3 class="tw-text-center tw-text-2xl tw-font-bold tw-mb-2">
4
4
  {{ upsellProps.title }}
5
5
  </h3>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tw-m-5">
2
+ <div>
3
3
  <h3 class="tw-text-center tw-text-2xl tw-font-bold tw-mb-2">
4
4
  {{ upsellProps.title }}
5
5
  </h3>
@@ -244,8 +244,16 @@
244
244
  @on-click="onBrandPageUrlClick"
245
245
  />
246
246
  </div>
247
- <div v-if="showUpsellRotation" class="tw-border-t tw-border-solid tw-border-grayscale-500">
247
+ <div v-if="showUpsellRotation" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
248
248
  <slot name="upsellContainer" />
249
+ <Button
250
+ v-if="selectedUpsellProp && selectedUpsellProp.type === 'domainName'"
251
+ :label="viewMoreDomainLabel"
252
+ variant="no-border"
253
+ size="small-medium"
254
+ class="tw-text-center"
255
+ @on-click="onViewMore"
256
+ />
249
257
  </div>
250
258
  </div>
251
259
  </template>
@@ -425,6 +433,11 @@ export default {
425
433
  required: true,
426
434
  default: false,
427
435
  },
436
+ selectedUpsellProp: {
437
+ type: Object,
438
+ required: true,
439
+ default: null,
440
+ },
428
441
  },
429
442
  emits: [
430
443
  'close-modal',