@vectoriox/iox-builder 11.12.0 → 11.12.1
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.
|
@@ -5711,7 +5711,7 @@ class RenderDirective {
|
|
|
5711
5711
|
// without it a hovering node's base rule, re-upserted here on every render, dropped the
|
|
5712
5712
|
// transition page-ui had added on load, and the canvas snapped where the site eased.
|
|
5713
5713
|
// The transition names what the node's states change (G2) — the engine composes the same, from the same call.
|
|
5714
|
-
const timedBase = withStateTransitions(initialStyle, node.stateStyles, node.elementStyle, node.responsive);
|
|
5714
|
+
const timedBase = withStateTransitions(initialStyle, node.stateStyles, node.elementStyle, node.responsive, node.type);
|
|
5715
5715
|
const composedBase = composeVirtualTraits(timedBase);
|
|
5716
5716
|
this.styleRegistry.upsert(cssId, composedBase);
|
|
5717
5717
|
// Restore per-state overrides saved from a previous session.
|
|
@@ -6972,7 +6972,7 @@ function upsertNodeStyles(styleRegistry, node) {
|
|
|
6972
6972
|
return;
|
|
6973
6973
|
const base = nodeStyleMap(node);
|
|
6974
6974
|
styleRegistry.setNodeType(cssId, node.type, colorSchemeOf(node));
|
|
6975
|
-
const timedBase = withStateTransitions(base, node.stateStyles, node.elementStyle, node.responsive);
|
|
6975
|
+
const timedBase = withStateTransitions(base, node.stateStyles, node.elementStyle, node.responsive, node.type);
|
|
6976
6976
|
styleRegistry.upsert(cssId, composeVirtualTraits(timedBase));
|
|
6977
6977
|
for (const [state, map] of Object.entries(node.stateStyles ?? {})) {
|
|
6978
6978
|
if (DOM_SCOPED_STATES.has(state) || !map || !Object.keys(map).length)
|