jssm 5.85.9 → 5.85.11

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
@@ -56,6 +56,7 @@ declare class Machine<mDT> {
56
56
  _has_exit_hooks: boolean;
57
57
  _has_global_action_hooks: boolean;
58
58
  _has_transition_hooks: boolean;
59
+ _has_forced_transitions: boolean;
59
60
  _hooks: Map<string, HookHandler<mDT>>;
60
61
  _named_hooks: Map<string, HookHandler<mDT>>;
61
62
  _entry_hooks: Map<string, HookHandler<mDT>>;
@@ -481,6 +482,7 @@ declare class Machine<mDT> {
481
482
  list_named_transitions(): Map<StateType, number>;
482
483
  list_actions(): Array<StateType>;
483
484
  get uses_actions(): boolean;
485
+ get uses_forced_transitions(): boolean;
484
486
  all_themes(): FslTheme[];
485
487
  get themes(): FslTheme | FslTheme[];
486
488
  set themes(to: FslTheme | FslTheme[]);
@@ -511,7 +513,10 @@ declare class Machine<mDT> {
511
513
  /********
512
514
  *
513
515
  * List all entrances attached to the current state. Please note that the
514
- * order of the list is not defined.
516
+ * order of the list is not defined. This list includes both unforced and
517
+ * forced entrances; if this isn't desired, consider
518
+ * {@link list_unforced_entrances} or {@link list_forced_entrances} as
519
+ * appropriate.
515
520
  *
516
521
  * ```typescript
517
522
  * import { sm } from 'jssm';
@@ -531,7 +536,9 @@ declare class Machine<mDT> {
531
536
  /********
532
537
  *
533
538
  * List all exits attached to the current state. Please note that the order
534
- * of the list is not defined.
539
+ * of the list is not defined. This list includes both unforced and forced
540
+ * exits; if this isn't desired, consider {@link list_unforced_exits} or
541
+ * {@link list_forced_exits} as appropriate.
535
542
  *
536
543
  * ```typescript
537
544
  * import { sm } from 'jssm';
@@ -0,0 +1,4 @@
1
+ import { FslTheme, JssmBaseTheme } from './jssm_types';
2
+ import { base_theme } from './themes/jssm_base_stylesheet';
3
+ declare const theme_mapping: Map<FslTheme, JssmBaseTheme>;
4
+ export { theme_mapping, base_theme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.85.9",
3
+ "version": "5.85.11",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },