Releases: justland/just-web-react
[email protected]
[email protected]
Patch Changes
- e43bb05: Scroll to bottom automatically.
[email protected]
Minor Changes
- 1fa1706: Expose
setOutput
Patch Changes
-
f1a2501: Clean up
onKeyDown
,onParse
, andcommands
behavior:- prompt will be echoed before anything when
echoPrompt
is true. onKeyDown
will be triggered after that.- If it call
e.stopPropagation()
,onParse
orcommands
will not be triggered. commands
look up will occur ifcommands
is provided (skip if not provided).onParse
will be trigger if no command matches the input.Unknown command: ...
will be emitted after that. IfonParse
is provided,Unknown command: ...
will not be emitted, even ifonParse
does not return anything.
- prompt will be echoed before anything when
[email protected]
Patch Changes
- 2b9f775: Fix react prompt.
It was not accepting and process input.
[email protected]
Major Changes
-
84df640:
react-freedom
first major release.The package is changed to do dual CJS and ESM packages.
Editor
is removed from public api as it is not ready.Export
useForwardedRef
hook.Renamed
<TerminalOutput />
to<TerminalOutputArea />
Patch Changes
- 3452c37: Expose
onChange
along withonKeyDown
[email protected]
Patch Changes
- 4315fb8:
react-freedom
: Add Terminal disabled support.
[email protected]
Minor Changes
-
7d29817: Move prompt style inside shell.
TerminalPrompt
is replaced withTerminalPromptArea
,
which no longer take inclassName
andchildren
props.Instead, it takes in
input
which will defaults to<TerminalInput>
.It is done so, as it does not contribute to the styling and layout of the prompt.
It contributes to the layout of the Terminal itself as a placeholder.PromptNode
will also not acceptclassName
prop for the same reason,so that the style of the prompt is solely described by the shell.
This allows the prompt to be styled correctly when used to render output (echoPrompt
).
Patch Changes
- 3e618b8: Support completion
[email protected]
[email protected]
Minor Changes
- e659316: Add
Terminal
@just-web/[email protected]
Patch Changes
-
6a0df6d: Change to use
react
instead ofreact-jsx
.Due to this issue: facebook/react#25857