Skip to content

Releases: justland/just-web-react

react-freedom@1.1.2

21 Aug 02:25
Compare
Choose a tag to compare

Patch Changes

  • 3bffce4: Hide prompt when processing keydown asynchronously.

  • dd21afa: Add aria-label to input and output.

  • 86baf57: Fix scroll to bottom.

    The Prompt will receive the className and style props.

react-freedom@1.1.1

16 Aug 14:17
Compare
Choose a tag to compare

Patch Changes

  • e43bb05: Scroll to bottom automatically.

react-freedom@1.1.0

15 Aug 04:03
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • f1a2501: Clean up onKeyDown, onParse, and commands behavior:

    • prompt will be echoed before anything when echoPrompt is true.
    • onKeyDown will be triggered after that.
    • If it call e.stopPropagation(), onParse or commands will not be triggered.
    • commands look up will occur if commands is provided (skip if not provided).
    • onParse will be trigger if no command matches the input.
    • Unknown command: ... will be emitted after that. If onParse is provided, Unknown command: ... will not be emitted, even if onParse does not return anything.

react-freedom@1.0.1

14 Aug 20:57
Compare
Choose a tag to compare

Patch Changes

  • 2b9f775: Fix react prompt.
    It was not accepting and process input.

react-freedom@1.0.0

14 Aug 18:19
Compare
Choose a tag to compare

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 with onKeyDown

react-freedom@0.2.1

09 Aug 20:51
Compare
Choose a tag to compare

Patch Changes

  • 4315fb8: react-freedom: Add Terminal disabled support.

react-freedom@0.2.0

09 Aug 04:43
Compare
Choose a tag to compare

Minor Changes

  • 7d29817: Move prompt style inside shell.

    TerminalPrompt is replaced with TerminalPromptArea,
    which no longer take in className and children 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 accept className 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

react-freedom@0.1.1

08 Aug 06:39
Compare
Choose a tag to compare

Patch Changes

  • 03799b8: Fix TerminalWidgetProps name
  • fcba196: Add TerminalInputProps

react-freedom@0.1.0

08 Aug 05:41
Compare
Choose a tag to compare

Minor Changes

@just-web/react@9.0.4

19 Jul 09:31
Compare
Choose a tag to compare

Patch Changes