@designcrowd/fe-shared-lib 1.5.0-jj-1 → 1.5.0-jj-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.5.0-jj-1",
3
+ "version": "1.5.0-jj-3",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -1,5 +1,6 @@
1
1
  import Card from './PublishBrandPageCard.vue';
2
2
  import PublishBrandPageModal from './PublishBrandPageModal.vue';
3
+ import PublishBrandPageModalTwo from './PublishBrandPageModalTwo.vue';
3
4
  import { domains } from './__fixtures__/data';
4
5
  import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
5
6
 
@@ -174,6 +175,30 @@ export const PublishedNoDomains = () => {
174
175
 
175
176
  PublishedNoDomains.loaders = [loadTranslationAsync];
176
177
 
178
+ export const PublishedWithContent = () => {
179
+ return {
180
+ components: {
181
+ PublishBrandPageModal,
182
+ PublishBrandPageModalTwo,
183
+ },
184
+ data() {
185
+ return {
186
+ domains,
187
+ };
188
+ },
189
+ methods: {},
190
+ template: `
191
+ <PublishBrandPageModalTwo>
192
+ <template #upsell>
193
+ <div>Upsell container goes here 111111</div>
194
+ </template>
195
+ </PublishBrandPageModalTwo>
196
+ `,
197
+ };
198
+ };
199
+
200
+ PublishedWithContent.loaders = [loadTranslationAsync];
201
+
177
202
  export const Free = () => {
178
203
  return {
179
204
  components: {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="publish-bp--container">
3
3
  <Modal
4
- classes="publish-bp--modal tw-pt-4"
4
+ classes="publish-bp--modal tw-p-4"
5
5
  close-on-esc
6
6
  :visible="visible"
7
7
  :hide-scrollbar="false"
@@ -96,7 +96,12 @@
96
96
  @on-view-more-domains="onViewMore"
97
97
  @on-buy-now-clicked="onBuyNowClick"
98
98
  @on-search-text-changed="onSearchTextChanged"
99
- />
99
+ >
100
+ <template #upsellContainer>
101
+ <div>Publish brand modal</div>
102
+ <slot name="upsellContainer" />
103
+ </template>
104
+ </PublishedView>
100
105
  </template>
101
106
  </Modal>
102
107
  <SellDomainNameListModal
@@ -39,6 +39,7 @@
39
39
  />
40
40
  </div>
41
41
  <div v-if="showUpsellRotationContainer" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
42
+ <div>Publishedview</div>
42
43
  <slot name="upsellContainer" />
43
44
  </div>
44
45
  </div>