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.
- package/CHANGELOG.md +49 -49
- package/README.md +1 -1
- package/dist/es6/jssm-dot.js +1 -1
- package/dist/es6/jssm.d.ts +1 -1
- package/dist/es6/jssm.js +3 -0
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jest-unicode.config.js +33 -0
- package/jssm.d.ts +1 -1
- package/package.json +5 -1
package/dist/es6/jssm.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/es6/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.
|
|
1
|
+
const version = "5.83.0";
|
|
2
2
|
export { version };
|