Component settings bar now on by default. Manifest config cleared of showSettingsBar properties
This commit is contained in:
parent
f81c20811a
commit
2a7b90e46f
|
@ -84,7 +84,6 @@
|
||||||
"description": "This component contains things within itself",
|
"description": "This component contains things within itself",
|
||||||
"icon": "Selection",
|
"icon": "Selection",
|
||||||
"hasChildren": true,
|
"hasChildren": true,
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 400,
|
"width": 400,
|
||||||
"height": 200
|
"height": 200
|
||||||
|
@ -283,7 +282,6 @@
|
||||||
"description": "A basic html button that is ready for styling",
|
"description": "A basic html button that is ready for styling",
|
||||||
"icon": "Button",
|
"icon": "Button",
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 105,
|
"width": 105,
|
||||||
"height": 35
|
"height": 35
|
||||||
|
@ -420,7 +418,6 @@
|
||||||
"section"
|
"section"
|
||||||
],
|
],
|
||||||
"hasChildren": true,
|
"hasChildren": true,
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 400,
|
"width": 400,
|
||||||
"height": 100
|
"height": 100
|
||||||
|
@ -683,7 +680,6 @@
|
||||||
"illegalChildren": [
|
"illegalChildren": [
|
||||||
"section"
|
"section"
|
||||||
],
|
],
|
||||||
"showSettingsBar": true,
|
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"size": {
|
"size": {
|
||||||
"width": 400,
|
"width": 400,
|
||||||
|
@ -809,7 +805,6 @@
|
||||||
"illegalChildren": [
|
"illegalChildren": [
|
||||||
"section"
|
"section"
|
||||||
],
|
],
|
||||||
"showSettingsBar": true,
|
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"size": {
|
"size": {
|
||||||
"width": 400,
|
"width": 400,
|
||||||
|
@ -931,7 +926,6 @@
|
||||||
"tag": {
|
"tag": {
|
||||||
"name": "Tag",
|
"name": "Tag",
|
||||||
"icon": "Label",
|
"icon": "Label",
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 100,
|
"width": 100,
|
||||||
"height": 25
|
"height": 25
|
||||||
|
@ -1189,7 +1183,6 @@
|
||||||
"name": "Link",
|
"name": "Link",
|
||||||
"description": "A basic link component for internal and external links",
|
"description": "A basic link component for internal and external links",
|
||||||
"icon": "Link",
|
"icon": "Link",
|
||||||
"showSettingsBar": true,
|
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"size": {
|
"size": {
|
||||||
"width": 200,
|
"width": 200,
|
||||||
|
@ -3927,7 +3920,6 @@
|
||||||
"dynamicfilter": {
|
"dynamicfilter": {
|
||||||
"name": "Dynamic Filter",
|
"name": "Dynamic Filter",
|
||||||
"icon": "Filter",
|
"icon": "Filter",
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 100,
|
"width": 100,
|
||||||
"height": 35
|
"height": 35
|
||||||
|
@ -4797,7 +4789,6 @@
|
||||||
"section"
|
"section"
|
||||||
],
|
],
|
||||||
"hasChildren": true,
|
"hasChildren": true,
|
||||||
"showSettingsBar": true,
|
|
||||||
"size": {
|
"size": {
|
||||||
"width": 400,
|
"width": 400,
|
||||||
"height": 100
|
"height": 100
|
||||||
|
@ -5270,4 +5261,4 @@
|
||||||
"suffix": "repeater"
|
"suffix": "repeater"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
let measured = false
|
let measured = false
|
||||||
|
|
||||||
$: definition = $componentStore.selectedComponentDefinition
|
$: definition = $componentStore.selectedComponentDefinition
|
||||||
$: showBar = definition?.showSettingsBar && !$dndIsDragging
|
$: showBar = definition?.showSettingsBar !== false && !$dndIsDragging
|
||||||
$: {
|
$: {
|
||||||
if (!showBar) {
|
if (!showBar) {
|
||||||
measured = false
|
measured = false
|
||||||
|
|
Loading…
Reference in New Issue