jssm 5.82.3 → 5.83.0

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.
@@ -626,7 +626,7 @@ declare class Machine<mDT> {
626
626
  list_named_transitions(): Map<StateType, number>;
627
627
  list_actions(): Array<StateType>;
628
628
  all_themes(): FslTheme[];
629
- get themes(): FslTheme[];
629
+ get themes(): FslTheme | FslTheme[];
630
630
  set themes(to: FslTheme | FslTheme[]);
631
631
  flow(): FslDirection;
632
632
  get_transition_by_state_names(from: StateType, to: StateType): number;
package/dist/es6/jssm.js CHANGED
@@ -1393,6 +1393,9 @@ class Machine {
1393
1393
  all_themes() {
1394
1394
  return [...theme_mapping.keys()]; // constructor sets this to "default" otherwise
1395
1395
  }
1396
+ // This will always return an array of FSL themes; the reason we spuriously
1397
+ // add the single type is that the setter and getter need matching accept/return
1398
+ // types, and the setter can take both as a convenience
1396
1399
  get themes() {
1397
1400
  return this._themes; // constructor sets this to "default" otherwise
1398
1401
  }
@@ -1,2 +1,2 @@
1
- const version = "5.82.3";
1
+ const version = "5.83.0";
2
2
  export { version };