Comparing version 5.81.0 to 5.81.2
@@ -5,3 +5,3 @@ # Changelog | ||
1031 merges; 148 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
1033 merges; 148 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
@@ -26,2 +26,32 @@ | ||
## [Untagged] - 8/11/2022 9:01:49 PM | ||
Commit [df1dd4c1d190b6571cf43637183b831229793eba](https://github.com/StoneCypher/jssm/commit/df1dd4c1d190b6571cf43637183b831229793eba) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* Small type changes preparing for theme | ||
| ||
| ||
## [Untagged] - 8/10/2022 11:32:42 PM | ||
Commit [5162f2299530514aecba1bf78fbfe77910e3a417](https://github.com/StoneCypher/jssm/commit/5162f2299530514aecba1bf78fbfe77910e3a417) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* Engine and parser support for label substitution (no viz yet,) fixes StoneCypher/fsl#117; fixes StoneCypher/fsl#263 | ||
| ||
| ||
## [Untagged] - 8/10/2022 10:25:03 PM | ||
@@ -150,32 +180,2 @@ | ||
* Semi-working implementation of style condensation, fixes StoneCypher/fsl#1141; added base stylesheet, fixes StoneCypher/fsl#1142 | ||
| ||
| ||
## [Untagged] - 8/2/2022 3:50:45 PM | ||
Commit [9001216af66f3fc719a406402d1d07f66cea465c](https://github.com/StoneCypher/jssm/commit/9001216af66f3fc719a406402d1d07f66cea465c) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* Six style modalities exposed, fixes StoneCypher/fsl#1136, fixes StoneCypher/fsl#1137, fixes StoneCypher/fsl#1138, fixes StoneCypher/fsl#1139, fixes StoneCypher/fsl#1140 | ||
| ||
| ||
## [Untagged] - 8/1/2022 12:08:55 PM | ||
Commit [1c4fcaaf1b15087b8d2aaa4fcf08ee386fb7c90c](https://github.com/StoneCypher/jssm/commit/1c4fcaaf1b15087b8d2aaa4fcf08ee386fb7c90c) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* all six state styles (start end standard hooked terminal current) now make it through to the machine, fixes StoneCypher/fsl#1131, fixes StoneCypher/fsl#1132, fixes StoneCypher/fsl#1133, fixes StoneCypher/fsl#1134, fixes StoneCypher/fsl#1135 | ||
* Semi-working implementation of style condensation, fixes StoneCypher/fsl#1141; added base stylesheet, fixes StoneCypher/fsl#1142 |
@@ -1,2 +0,2 @@ | ||
import { JssmStateConfig } from './jssm_types'; | ||
import { JssmStateConfig, JssmBaseTheme } from './jssm_types'; | ||
declare const base_state_style: JssmStateConfig; | ||
@@ -10,2 +10,3 @@ declare const base_active_state_style: JssmStateConfig; | ||
declare const base_active_end_state_style: JssmStateConfig; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style }; | ||
declare const base_theme: JssmBaseTheme; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style, base_theme }; |
@@ -11,2 +11,5 @@ const base_state_style = { | ||
}; | ||
const base_hooked_state_style = { | ||
shape: 'component' | ||
}; | ||
const base_terminal_state_style = { | ||
@@ -26,2 +29,5 @@ textColor: 'white', | ||
}; | ||
const base_active_hooked_state_style = { | ||
backgroundColor: 'yellowgreen' | ||
}; | ||
const base_end_state_style = { | ||
@@ -35,2 +41,20 @@ textColor: 'white', | ||
}; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style }; | ||
const base_theme = { | ||
state: base_state_style, | ||
start: base_start_state_style, | ||
end: base_end_state_style, | ||
terminal: base_terminal_state_style, | ||
hooked: base_hooked_state_style, | ||
active: base_active_state_style, | ||
active_start: base_active_start_state_style, | ||
active_end: base_active_end_state_style, | ||
active_terminal: base_active_terminal_state_style, | ||
active_hooked: base_active_hooked_state_style, | ||
legal: undefined, | ||
main: undefined, | ||
forced: undefined, | ||
action: undefined, | ||
graph: undefined, | ||
title: undefined // TODO FIXME | ||
}; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style, base_theme }; |
@@ -154,2 +154,21 @@ import { circular_buffer } from 'circular_buffer_js'; | ||
declare type JssmStateStyleKeyList = JssmStateStyleKey[]; | ||
declare type JssmBaseTheme = { | ||
state: JssmStateConfig; | ||
hooked: JssmStateConfig; | ||
start: JssmStateConfig; | ||
end: JssmStateConfig; | ||
terminal: JssmStateConfig; | ||
active: JssmStateConfig; | ||
active_hooked: JssmStateConfig; | ||
active_start: JssmStateConfig; | ||
active_end: JssmStateConfig; | ||
active_terminal: JssmStateConfig; | ||
graph: undefined; | ||
legal: undefined; | ||
main: undefined; | ||
forced: undefined; | ||
action: undefined; | ||
title: undefined; | ||
}; | ||
declare type JssmTheme = Partial<JssmBaseTheme>; | ||
declare type JssmGenericConfig<DataType> = { | ||
@@ -336,2 +355,2 @@ graph_layout?: JssmLayout; | ||
declare type JssmHistory<mDT> = circular_buffer<[StateType, mDT]>; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; |
@@ -1,2 +0,2 @@ | ||
const version = "5.81.0"; | ||
const version = "5.81.2"; | ||
export { version }; |
@@ -1,2 +0,2 @@ | ||
import { JssmStateConfig } from './jssm_types'; | ||
import { JssmStateConfig, JssmBaseTheme } from './jssm_types'; | ||
declare const base_state_style: JssmStateConfig; | ||
@@ -10,2 +10,3 @@ declare const base_active_state_style: JssmStateConfig; | ||
declare const base_active_end_state_style: JssmStateConfig; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style }; | ||
declare const base_theme: JssmBaseTheme; | ||
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style, base_theme }; |
@@ -154,2 +154,21 @@ import { circular_buffer } from 'circular_buffer_js'; | ||
declare type JssmStateStyleKeyList = JssmStateStyleKey[]; | ||
declare type JssmBaseTheme = { | ||
state: JssmStateConfig; | ||
hooked: JssmStateConfig; | ||
start: JssmStateConfig; | ||
end: JssmStateConfig; | ||
terminal: JssmStateConfig; | ||
active: JssmStateConfig; | ||
active_hooked: JssmStateConfig; | ||
active_start: JssmStateConfig; | ||
active_end: JssmStateConfig; | ||
active_terminal: JssmStateConfig; | ||
graph: undefined; | ||
legal: undefined; | ||
main: undefined; | ||
forced: undefined; | ||
action: undefined; | ||
title: undefined; | ||
}; | ||
declare type JssmTheme = Partial<JssmBaseTheme>; | ||
declare type JssmGenericConfig<DataType> = { | ||
@@ -336,2 +355,2 @@ graph_layout?: JssmLayout; | ||
declare type JssmHistory<mDT> = circular_buffer<[StateType, mDT]>; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; |
{ | ||
"name": "jssm", | ||
"version": "5.81.0", | ||
"version": "5.81.2", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -21,3 +21,3 @@ <!-- | ||
* Generated for version 5.81.0 at 8/10/2022, 11:31:22 PM | ||
* Generated for version 5.81.2 at 8/14/2022, 4:21:54 PM | ||
@@ -33,3 +33,3 @@ --> | ||
***4,832 tests*** run 5,723 times. 4,823 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 2,223 lines, that's about 2.2 tests per line, or 2.6 generated tests per line. | ||
***4,832 tests*** run 5,723 times. 4,823 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 2,272 lines, that's about 2.1 tests per line, or 2.5 generated tests per line. | ||
@@ -36,0 +36,0 @@ ***Meet your new state machine library.*** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1240825
10289