@designcrowd/library.brand-page 5.10.12-debug-1 → 5.10.13
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/composables/useTranslate.js +2 -2
- package/lib/src/css/library.brand-page-brandCrowd.min.css +2 -2
- package/lib/src/css/library.brand-page-brandPage.min.css +2 -2
- package/lib/src/css/library.brand-page-designCom.min.css +2 -2
- package/lib/src/css/library.brand-page-preview.min.css +2 -2
- package/lib/src/index.mjs +16 -27
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.js +0 -1
- package/package.json +2 -2
- package/src/brand-page-maker/components/brand-page-maker/__fixtures__/00fd652f-4ae2-4aa2-b13c-1b34b7f11c8d.svg +5363 -0
- package/src/composables/useTranslate.ts +2 -2
- package/src/shared/common/SideBarSettingsHeader.vue +1 -1
- package/src/shared/content-settings/components/content-settings/ContentSettings.mixin.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
|
-
import {
|
|
2
|
+
import { setLocaleAsync as setSharedLocaleAsync } from '@designcrowd/fe-shared-lib';
|
|
3
3
|
|
|
4
4
|
const fallbackLocale = 'en-US';
|
|
5
5
|
|
|
@@ -48,7 +48,7 @@ const setLocaleAsync = async (locale: LocaleTypes) => {
|
|
|
48
48
|
|
|
49
49
|
await i18next.addResourceBundle(localeToUse, 'bp', { ...languageFile });
|
|
50
50
|
|
|
51
|
-
await
|
|
51
|
+
await setSharedLocaleAsync(localeToUse);
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
const tr = (key: string, valuesToInterpolate = {}, nameSpace = 'bp') => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<header
|
|
3
3
|
id="sidebar-header"
|
|
4
|
-
class="tw-bg-grayscale-300 tw-pb-4 tw-mb-4 tw-sticky tw-top-0 tw-z-
|
|
4
|
+
class="tw-bg-grayscale-300 tw-pb-4 tw-mb-4 tw-sticky tw-top-0 tw-z-20 tw-px-1"
|
|
5
5
|
:class="{
|
|
6
6
|
'tw-border-b tw-border-solid tw-border-grayscale-500': title,
|
|
7
7
|
'tw-pt-4': title && !showBackButton,
|