@desk-framework/frame-test
Advanced tools
Comparing version 4.0.0-dev.27 to 4.0.0-dev.28
@@ -8,3 +8,3 @@ import { RenderContext, UICell, UIColumn, UIRow, UIScrollContainer, app, } from "@desk-framework/frame-core"; | ||
super(observed); | ||
this.observeProperties("layout"); | ||
this.observeProperties("padding", "layout"); | ||
if (observed instanceof UIRow) { | ||
@@ -35,2 +35,3 @@ this.observeProperties("height", "align"); | ||
switch (property) { | ||
case "padding": | ||
case "layout": | ||
@@ -99,2 +100,5 @@ case "align": // for rows and columns | ||
} | ||
if (container.padding !== null) { | ||
layout = { ...layout, padding: container.padding }; | ||
} | ||
// apply styles | ||
@@ -101,0 +105,0 @@ element.styleClass = BaseStyle; |
{ | ||
"name": "@desk-framework/frame-test", | ||
"version": "4.0.0-dev.27", | ||
"version": "4.0.0-dev.28", | ||
"publishConfig": { | ||
@@ -32,3 +32,3 @@ "tag": "next" | ||
"peerDependencies": { | ||
"@desk-framework/frame-core": "4.0.0-dev.27" | ||
"@desk-framework/frame-core": "4.0.0-dev.28" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -21,3 +21,3 @@ import { | ||
super(observed); | ||
this.observeProperties("layout"); | ||
this.observeProperties("padding", "layout"); | ||
if (observed instanceof UIRow) { | ||
@@ -49,2 +49,3 @@ this.observeProperties("height" as any, "align" as any); | ||
switch (property) { | ||
case "padding": | ||
case "layout": | ||
@@ -119,2 +120,5 @@ case "align": // for rows and columns | ||
} | ||
if (container.padding !== null) { | ||
layout = { ...layout, padding: container.padding }; | ||
} | ||
@@ -121,0 +125,0 @@ // apply styles |
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
394339
9863