app/assets/lookbook/js/stores/inspector.js in lookbook-0.5.0.beta.2 vs app/assets/lookbook/js/stores/inspector.js in lookbook-0.5.0
- old
+ new
@@ -4,19 +4,20 @@
const { drawer, preview } = config.inspector;
return {
drawer: {
hidden: Alpine.$persist(false).as("drawer-hidden"),
orientation: Alpine.$persist(drawer.orientation).as("drawer-orientation"),
- active: Alpine.$persist(drawer.defaultPanel).as("drawer-active"),
+ panel: Alpine.$persist(drawer.defaultPanel).as("drawer-panel"),
height: Alpine.$persist(drawer.defaultHeight).as("drawer-height"),
width: Alpine.$persist(drawer.defaultWidth).as("drawer-width"),
minWidth: drawer.minWidth,
+ minHeight: drawer.minHeight,
visibleTabCount: Infinity,
},
preview: {
width: Alpine.$persist("100%").as("preview-width"),
height: Alpine.$persist("100%").as("preview-height"),
- view: Alpine.$persist(preview.view).as("preview-view"),
+ panel: Alpine.$persist(preview.defaultPanel).as("preview-panel"),
lastWidth: null,
lastHeight: null,
resizing: false,
},
};