jssm 5.81.2 → 5.82.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.
package/jssm.d.ts CHANGED
@@ -218,7 +218,7 @@ declare class Machine<mDT> {
218
218
  _arrange_declaration: Array<Array<StateType>>;
219
219
  _arrange_start_declaration: Array<Array<StateType>>;
220
220
  _arrange_end_declaration: Array<Array<StateType>>;
221
- _theme: FslTheme;
221
+ _themes: FslTheme[];
222
222
  _flow: FslDirection;
223
223
  _has_hooks: boolean;
224
224
  _has_basic_hooks: boolean;
@@ -625,7 +625,7 @@ declare class Machine<mDT> {
625
625
  list_edges(): Array<JssmTransition<mDT>>;
626
626
  list_named_transitions(): Map<StateType, number>;
627
627
  list_actions(): Array<StateType>;
628
- theme(): FslTheme;
628
+ themes(): FslTheme[];
629
629
  flow(): FslDirection;
630
630
  get_transition_by_state_names(from: StateType, to: StateType): number;
631
631
  lookup_transition_for(from: StateType, to: StateType): JssmTransition<mDT>;
@@ -1070,7 +1070,7 @@ declare class Machine<mDT> {
1070
1070
  * ```
1071
1071
  *
1072
1072
  * @typeparam mDT The type of the machine data member; usually omitted
1073
- b *
1073
+ *
1074
1074
  * @param actionName The action to engage
1075
1075
  *
1076
1076
  * @param newData The data change to insert during the action
package/jssm_types.d.ts CHANGED
@@ -174,7 +174,7 @@ declare type JssmGenericConfig<DataType> = {
174
174
  graph_layout?: JssmLayout;
175
175
  complete?: Array<StateType>;
176
176
  transitions: JssmTransitions<DataType>;
177
- theme?: FslTheme;
177
+ theme?: FslTheme[];
178
178
  flow?: FslDirection;
179
179
  name?: string;
180
180
  data?: DataType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.81.2",
3
+ "version": "5.82.0",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },