jssm 5.80.0 → 5.80.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.
package/dist/es6/jssm.js CHANGED
@@ -2358,9 +2358,18 @@ class Machine {
2358
2358
  layers.push(this._active_state_style);
2359
2359
  }
2360
2360
  }
2361
+ const individual_style = {}, decl = this._state_declarations.get(state);
2362
+ individual_style.color = decl === null || decl === void 0 ? void 0 : decl.color;
2363
+ individual_style.textColor = decl === null || decl === void 0 ? void 0 : decl.textColor;
2364
+ individual_style.borderColor = decl === null || decl === void 0 ? void 0 : decl.borderColor;
2365
+ individual_style.backgroundColor = decl === null || decl === void 0 ? void 0 : decl.backgroundColor;
2366
+ individual_style.lineStyle = decl === null || decl === void 0 ? void 0 : decl.lineStyle;
2367
+ individual_style.corners = decl === null || decl === void 0 ? void 0 : decl.corners;
2368
+ individual_style.shape = decl === null || decl === void 0 ? void 0 : decl.shape;
2369
+ layers.push(individual_style);
2361
2370
  return layers.reduce((acc, cur) => {
2362
2371
  const composite_state = acc;
2363
- Object.keys(cur).forEach(key => composite_state[key] = cur[key]);
2372
+ Object.keys(cur).forEach(key => { var _a; return composite_state[key] = (_a = cur[key]) !== null && _a !== void 0 ? _a : composite_state[key]; });
2364
2373
  return composite_state;
2365
2374
  }, {});
2366
2375
  }
@@ -1,2 +1,2 @@
1
- const version = "5.80.0";
1
+ const version = "5.80.1";
2
2
  export { version };