@designcrowd/library.brand-page 5.6.4-fluid-1 → 5.6.4-fluid-2
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/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.js +37 -2
- package/lib/src/index.mjs +262 -272
- package/package.json +1 -1
- package/src/brand-page/components/text-wrapper/TextWrapper.vue +38 -19
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.stories.ts +43 -3
|
@@ -100,7 +100,7 @@ export default defineComponent({
|
|
|
100
100
|
? JSON.parse(this.viewModel.shopConfigData)
|
|
101
101
|
: null;
|
|
102
102
|
if (!this.containerStore.baseFabricRenderUrl) {
|
|
103
|
-
throw new Error('base fabric render url is undefined');
|
|
103
|
+
// throw new Error('base fabric render url is undefined');
|
|
104
104
|
}
|
|
105
105
|
FabricRenderClient.setInstance({
|
|
106
106
|
baseUrl: this.containerStore.baseFabricRenderUrl,
|
|
@@ -138,7 +138,42 @@ export const SampleBanner = () => {
|
|
|
138
138
|
const pinia = setupStoryPinia();
|
|
139
139
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
140
140
|
const bannerContent = createInitialBannerSectionContent();
|
|
141
|
-
bannerContent.
|
|
141
|
+
bannerContent.title = 'LAUNCHING SOON';
|
|
142
|
+
bannerContent.description = 'This Is Going To Be Epic';
|
|
143
|
+
bannerContent.buttonText = 'CONTACT US';
|
|
144
|
+
bannerContent.titleStyle.textStyleType = undefined;
|
|
145
|
+
bannerContent.titleStyle.fontSize = '6.25em';
|
|
146
|
+
bannerContent.titleStyle.fontFamily = 'Ubuntu';
|
|
147
|
+
bannerContent.titleStyle.lineHeight = '1';
|
|
148
|
+
bannerContent.titleStyle.textAlign = 'left';
|
|
149
|
+
bannerContent.displayStyle = 'left-aligned';
|
|
150
|
+
bannerContent.descriptionStyle.textStyleType = undefined;
|
|
151
|
+
bannerContent.descriptionStyle.fontFamily = 'Work Sans';
|
|
152
|
+
bannerContent.descriptionStyle.fontSize = '2.6875em';
|
|
153
|
+
bannerContent.descriptionStyle.textAlign = 'left';
|
|
154
|
+
bannerContent.buttonTextStyle.textStyleType = undefined;
|
|
155
|
+
bannerContent.buttonTextStyle.fontFamily = 'Ubuntu';
|
|
156
|
+
bannerContent.buttonTextStyle.fontSize = '1.5em';
|
|
157
|
+
bannerContent.buttonTextStyle.textAlign = 'left';
|
|
158
|
+
console.log('bannerContent', bannerContent);
|
|
159
|
+
const bannerContent2 = createInitialBannerSectionContent();
|
|
160
|
+
bannerContent2.title = 'LAUNCHING SOON';
|
|
161
|
+
bannerContent2.description = 'This Is Going To Be Epic2';
|
|
162
|
+
bannerContent2.buttonText = 'CONTACT US';
|
|
163
|
+
bannerContent2.titleStyle.textStyleType = undefined;
|
|
164
|
+
bannerContent2.titleStyle.fontSize = '6.25em';
|
|
165
|
+
bannerContent2.titleStyle.fontFamily = 'Ubuntu';
|
|
166
|
+
bannerContent2.titleStyle.lineHeight = '1';
|
|
167
|
+
bannerContent2.titleStyle.textAlign = 'left';
|
|
168
|
+
bannerContent2.displayStyle = 'left-aligned';
|
|
169
|
+
bannerContent2.descriptionStyle.textStyleType = undefined;
|
|
170
|
+
bannerContent2.descriptionStyle.fontFamily = 'Work Sans';
|
|
171
|
+
bannerContent2.descriptionStyle.fontSize = '2.6875em';
|
|
172
|
+
bannerContent2.descriptionStyle.textAlign = 'left';
|
|
173
|
+
bannerContent2.buttonTextStyle.textStyleType = undefined;
|
|
174
|
+
bannerContent2.buttonTextStyle.fontFamily = 'Ubuntu';
|
|
175
|
+
bannerContent2.buttonTextStyle.fontSize = '1.5em';
|
|
176
|
+
bannerContent2.buttonTextStyle.textAlign = 'left';
|
|
142
177
|
brandPageMakerStore.setViewport({
|
|
143
178
|
viewport: VIEWPORTS.desktop,
|
|
144
179
|
});
|
|
@@ -155,7 +190,7 @@ export const SampleBanner = () => {
|
|
|
155
190
|
{
|
|
156
191
|
title: 'Home',
|
|
157
192
|
slug: 'home',
|
|
158
|
-
contents: [bannerContent],
|
|
193
|
+
contents: [bannerContent, bannerContent2],
|
|
159
194
|
},
|
|
160
195
|
],
|
|
161
196
|
brandPageType: BRAND_PAGE_TYPES.brandSite,
|