@pepperi-addons/ngx-composite-lib 0.4.2-beta.83 → 0.4.2-beta.85
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/esm2020/layout-builder/layout-builder-internal.service.mjs +2 -1
- package/esm2020/layout-builder/section/section.component.mjs +3 -3
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +3 -2
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +3 -2
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -459,6 +459,7 @@ class LayoutBuilderInternalService {
|
|
|
459
459
|
return this.getScreenType(this._screenSizeSubject?.getValue() || PepScreenSizeType.LG);
|
|
460
460
|
}
|
|
461
461
|
getScreenType(size) {
|
|
462
|
+
//TODO:
|
|
462
463
|
const screenType = size < PepScreenSizeType.MD ? 'Landscape' :
|
|
463
464
|
(size === PepScreenSizeType.MD || size === PepScreenSizeType.SM ? 'Tablet' : 'Phablet');
|
|
464
465
|
return screenType;
|
|
@@ -932,7 +933,7 @@ class SectionComponent extends BaseDestroyerDirective {
|
|
|
932
933
|
}
|
|
933
934
|
set collapseOnTablet(value) {
|
|
934
935
|
this._collapseOnTablet = value;
|
|
935
|
-
this.pepScreenSizeToFlipToVertical = value ? PepScreenSizeType.MD : PepScreenSizeType.
|
|
936
|
+
this.pepScreenSizeToFlipToVertical = value ? PepScreenSizeType.MD : PepScreenSizeType.XS;
|
|
936
937
|
this.refreshSplit();
|
|
937
938
|
}
|
|
938
939
|
get collapseOnTablet() {
|
|
@@ -1023,7 +1024,7 @@ class SectionComponent extends BaseDestroyerDirective {
|
|
|
1023
1024
|
else {
|
|
1024
1025
|
this.renderer.setStyle(section.nativeElement, 'grid-auto-flow', 'row');
|
|
1025
1026
|
this.renderer.setStyle(section.nativeElement, 'grid-template-columns', 'unset');
|
|
1026
|
-
this.renderer.setStyle(section.nativeElement, 'grid-template-rows',
|
|
1027
|
+
this.renderer.setStyle(section.nativeElement, 'grid-template-rows', 'unset');
|
|
1027
1028
|
// In runtime (or preview mode).
|
|
1028
1029
|
if (!this.editable) {
|
|
1029
1030
|
const cssSplitArray = cssSplitString.split(' ');
|