@builder.io/react
Advanced tools
Comparing version 0.1.49 to 0.1.50
@@ -115,3 +115,3 @@ "use strict"; | ||
// TODO: childOf [parentBlocks]? | ||
child: true, blocks: col.blocks, style: { | ||
child: true, parentElementId: _this.props.builderBlock && _this.props.builderBlock.id, blocks: col.blocks, dataPath: "component.options.columns." + index + ".blocks", style: { | ||
height: '100%' | ||
@@ -118,0 +118,0 @@ } }))); |
@@ -205,3 +205,3 @@ "use strict"; | ||
}), | ||
InnerComponent && react_1.default.createElement(InnerComponent, __assign({}, innerComponentProperties)), | ||
InnerComponent && react_1.default.createElement(InnerComponent, __assign({ forBuilderBlock: block.id }, innerComponentProperties)), | ||
InnerComponent && | ||
@@ -208,0 +208,0 @@ !isBlock && react_1.default.createElement("style", null, "." + this.id + " > * { height: 100%; width: 100%; }"), |
@@ -32,3 +32,7 @@ "use strict"; | ||
window.parent.postMessage({ | ||
type: 'builder.clickEmptyBlocks' | ||
type: 'builder.clickEmptyBlocks', | ||
data: { | ||
parentElementId: _this.props.parentElementId, | ||
dataPath: _this.props.dataPath | ||
} | ||
}, '*'); | ||
@@ -35,0 +39,0 @@ } |
@@ -9,2 +9,4 @@ import React from 'react'; | ||
style?: React.CSSProperties; | ||
parentElementId?: string; | ||
dataPath?: string; | ||
} | ||
@@ -11,0 +13,0 @@ interface BuilderBlocksState { |
{ | ||
"name": "@builder.io/react", | ||
"version": "0.1.49", | ||
"version": "0.1.50", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5226575
37721