Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tags: JohnSundell/Plot

Tags

0.14.0

Toggle 0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add <time> element (#86)

* Add Time Element
* Add Time Component

0.13.0

Toggle 0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #89 from nkalvi/extend-dl-with-div-wrapped-groups

Extend dl with div wrapped groups

0.12.0

Toggle 0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #39 from AlexLike/master

Add support for the <object> tag

0.11.0

Toggle 0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix compiler error and warning introduced in Swift 5.6 (#80)

- Replace `HTMLAnchorTarget.self` with `.current` (while still maintaining
   backward compatibility with `.self` using a deprecated computed property).
- Use per-`init` generic type constraints for optional `EnvironmentKey.Value` types
   rather than applying an extension-wide constraint using `ExpressibleByNilLiteral`.

0.10.0

Toggle 0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Boolean attributes (#68)

* Change `required` and `autofocus` to be boolean attributes.
* Added `readonly`, `disabled`, and `multiple` boolean attributes to `input` elements.
* Added `readonly ` and `disabled ` attributes to the `textarea` element.
* Added a `placeholder` attribute to the `textarea` element.
* Changed the `allowfullscreen` attribute on the `iframe` element to be a boolean attribute.
* Added an `open` boolean attribute to the `details` element.
* Added the `hidden` boolean attribute as a global attribute.
* Added `checked` boolean attribute to the `input` element.
* Added a `name` to the `file` input element in the form test.

0.9.3

Toggle 0.9.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix text rendering regression for indented documents (#65)

Plot 0.9.0 introduced a minor regression for documents that are rendered with indentation,
in that plain text nodes would always be rendered on a new line. This patch fixes that by
differentiating between plain text output and element-based output, and only the latter
causes a new line to be inserted, preserving the previous rendering behavior.

Components that are made up of just plain text also get this behavior, and the unit test
that verifies indented documents has been expanded to also cover these cases.

0.9.2

Toggle 0.9.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Enable attributes to be appended to members of nested component groups (

#64)

Make it possible to append attributes to the member elements of a `ComponentGroup`, when such
a group is nested within a custom wrapper component.

0.9.1

Toggle 0.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make it possible to add attributes to wrapper components (#63)

When an attribute is added to a component that acts as a wrapper for an element-based
component, that attribute is now added directly to the wrapped, underlying element. That
makes it possible to append things like class names to existing, custom components.

0.9.0

Toggle 0.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add a new Component-based API and a much more flexible rendering syst…

…em (#61)

- Refactor Plot's rendering system to become much more flexible, by replacing the previous
   `ElementRenderer` class with a new, general-purpose `Renderer` struct, and by refactoring
   the `Node` enum into a struct that carries a free-form `rendering` closure. All of these changes
   are pure refactors - they don't affect the public API at all.
- Add a new `Component` API that enables HTML `<body>` components to be defined in a
   very SwiftUI-like way. The new API ships with lots of built-in implementations that map to
   commonly used elements (such as `div`, `a`, `ul`, and so on), and enables the API user to
   easily define their own components as well. It also features an environment API (similar to
   the one that SwiftUI offers), the ability to apply modifiers to components, and complete
   interoperability with the existing `Node`-based API.
- All of these changes are completely additive and fully backward compatible with the old API.
   The only potential situation that could cause these changes to be breaking for an API user is
   if a `Node` value was being switched on. Since it's now no longer an enum, that will no longer
   work, but it's highly unlikely that Plot's API has been used this way by any API user.
- Update the documentation for the new `Component` API.

0.8.0

Toggle 0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
HTML: Constrain <form>-specific elements to BodyContext (#44)

This change moves the APIs for creating what can be seen as “form-specific”
HTML elements (such as `<input>` and `<fieldset>`) from an extension
constrained to `HTML.FormContext` to the main `HTML.BodyContext` instead.
This enables such elements to be mixed and matched with other body elements,
such as `<div>`.

While such elements might most often appear within forms, there’s nothing
within the HTML spec that enforces that, so neither should Plot.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.