Skip to content

Releases: google/playground-elements

v0.18.1

10 Aug 20:33
a71eb30
Compare
Choose a tag to compare

0.18.1 - 2023-08-10

Fixed

  • Fix tab-to-spaces conversion in the code editor which was resulting in one less space being produced on tab than desired.

v0.18.0

25 May 19:14
e8b4897
Compare
Choose a tag to compare

[0.18.0] - 2023-05-25

Changed

v0.17.1

26 Apr 22:35
31c216f
Compare
Choose a tag to compare

[0.17.1] - 2023-04-25

Added

  • Fetch all @types packages listed in the project's package.json file and
    include them for TypeScript compilation. This allows type-checking packages
    that do not ship their own types but do have a DefinitelyTyped package
    available. Note: This does not automatically download the @types package for
    a package. It must be manually listed in package.json.

v0.17.0

11 Nov 22:16
e6694b5
Compare
Choose a tag to compare

[0.17.0] - 2022-11-11

Changed

  • Replaced vscode-languageserver dependency with smaller
    vscode-languageserver-protocol.
  • TypeScript version upgraded from 4.4.4 to 4.8.4.
  • PlaygroundConnectedElement project is now permitted to be undefined according to TypeScript.
  • Upgrade codemirror from 5.63.0 to 5.65.9.
  • BREAKING Switched TypeScript moduleResolution from esnext to nodenext.
  • BREAKING Bumped TypeScript target from es2017 to es2021.
  • BREAKING The local package.json is now passed to TypeScript for
    compilation, and the default value of the type field is modified to
    module.

v0.16.3

02 Aug 19:30
086b4c8
Compare
Choose a tag to compare

Added syntax highlighting for jsx and tsx modules.

v0.16.2

16 Jun 22:34
Compare
Choose a tag to compare

Added

  • Added support for compiling jsx and tsx modules.

v0.15.3

29 Mar 19:45
e3945f0
Compare
Choose a tag to compare

Fixed

  • Fixed the hiding of comments that surround a fold/hide code block from
    creating invisible readonly regions.

  • Refactored fold/hide marker logic so it doesn't add document history when
    clearing the prior fold/hide markers.

  • Fix typo and incorrectly documented event name in README. changed event
    should instead be change.

v0.15.2

24 Mar 23:51
50f5800
Compare
Choose a tag to compare

Added

  • Make hidden code blocks readonly to prevent accidental erasure.

  • Added Ctrl+/ or Cmd+/ hotkey for toggling line comments.

  • Added keyboard shortcut documentation to the playground-code-editor README.

v0.15.1

16 Mar 23:34
a7c9657
Compare
Choose a tag to compare

Changed

  • playground-preview now exposes the internal iframe via the iframe property.

v0.15.0

08 Mar 00:24
63f8549
Compare
Choose a tag to compare

Added

  • Added interactive code completions for TypeScript files
    (#243).

    Completions can be disabled by setting the no-completions attribute on
    <playground-ide>, <playground-file-editor>, or <playground-code-editor>
    components.

  • Added Ctrl-Space hotkey for triggering interactive code completions.

  • Added documentKey property to <playground-code-editor> which is
    used to keep track of individual CodeMirror document instances internally.
    Default behavior without setting a documentKey is unchanged.

    Use documentKey for fine control over the CodeMirror document instance. For
    example, to model changing a file.

Fixed

  • Normalize content-type response header to lowercase when matching filetypes.

  • Fixed undo history applying across files
    (#154).

    Previously all files shared the same document instance resulting in files
    sharing undo/redo history. Now each file has its own isolated internal
    document instance.

  • Fixed only a single closing script tag unescaping in html files using
    playground-ide
    (#251).