Skip to content

Releases

create-astralis 0.1.4

Choose a tag to compare

@paulandy789 paulandy789 released this 27 Nov 12:41

The repository moved to github.com/paulandy789/astralis-ui (the GitHub account was renamed). The package's links point there. Uses astralis-cli 0.8.1.

astralis-ui 0.11.1

Choose a tag to compare

@paulandy789 paulandy789 released this 27 Nov 12:41

The repository moved to github.com/paulandy789/astralis-ui (the GitHub account was renamed). The package's repository, issue and README links point there. No change to the components or the stylesheet; the system spec changes only in its version.

astralis-mcp 0.5.1

Choose a tag to compare

@paulandy789 paulandy789 released this 27 Nov 12:41

The repository moved to github.com/paulandy789/astralis-ui (the GitHub account was renamed). The package's links point there. Uses astralis-cli 0.8.1.

astralis-devtools 0.3.1

Choose a tag to compare

The repository moved to github.com/paulandy789/astralis-ui (the GitHub account was renamed). Reports go to that repository by name, no longer through a redirect, and the package's links point there. Uses astralis-cli 0.8.1.

astralis-cli 0.8.1

Choose a tag to compare

@paulandy789 paulandy789 released this 27 Nov 12:41

The repository moved to github.com/paulandy789/astralis-ui (the GitHub account was renamed). The ./github entry point, which the DevTools use to list and create issues, now names that repository, and the package's links point there.

create-astralis 0.1.3

Choose a tag to compare

@paulandy789 paulandy789 released this 23 Nov 04:25

Uses astralis-cli 0.8.0, so new projects start on astralis-ui 0.11.0, astralis-devtools 0.3.0 and the new starter page.

astralis-ui 0.11.0

Choose a tag to compare

@paulandy789 paulandy789 released this 23 Nov 04:00

Published with astralis-cli 0.7.0: the system spec gains ownProps, domProps and domAttributes, which the new unknown-prop rule reads.

Added

  • <Image> takes the attributes every element takes: id, title, role, tabIndex, aria-* and event handlers, on the outermost element. Image-only attributes and paint props are still refused.
  • System spec: each component's whole prop set (ownProps, for every component whose props do not depend on what it renders as), whether it passes element attributes through (domProps), and the attribute names (domAttributes).

Fixed

  • Class merging knows the library's own scales. A later named duration, z-index, opacity, aspect ratio, keyframe animation or motion class in className now replaces the earlier one instead of both staying. The merge gate also fails when a utility in the stylesheet belongs to no merge group.
  • Spec prop descriptions are whole. They were cut to two sentences; 17 lost text (lineHeight, Image width and placeholder, scale, rotate, transition). Image's as is now described.
  • The development warning for a paint prop names the right props. It said "reach for variant, size or colorScheme" on every component; it now names the ones the component has, and for a part (Card.Footer) points to its compound: "Card.Footer is part of Card and has no look of its own: set variant or size on the Card, or put p on a Box inside it".
  • The library's tests type-check and lint clean, and pnpm test now runs the test type check.
  • Image's loading surface no longer pulses. The pulse animated a background colour, which repaints on the main thread every frame; on a page of lazy images it more than doubled main-thread time on a throttled phone (shop bench: 3.8 s to 1.9 s). The muted surface and its glyph are unchanged.
  • Smaller class merging in the browser. The class merger (tailwind-merge) carried its default config for every Tailwind utility; it now carries a config generated from the library's own stylesheet, the only classes that can do anything. A build gate checks it merges every one of those classes exactly as the full config does (about 1.2 million merges). Every client component pays about 4 kB gzip less. A class that is not in the library's stylesheet now passes through without removing an earlier class of the same group; it had no CSS either way.
  • The theme maths left the browser. AstralisProvider is now server-safe: given tokens in a Server Component layout, it computes the theme's CSS variables on the server and sends them as inline styles, as before. The maths (about 4 kB gzip) loads in the browser only when setTokens or a stored seed needs it, so the first setTokens call applies a tick later. A provider rendered from a client file (a Vite app) still computes its tokens in the browser. The public API is unchanged.
  • The development warnings for ignored style props no longer reach production bundles. dev-identity imported the interaction-state engine and with it every style map, which Next's bundler kept even though the code using them is development-only. A page with one interactive component carried 3.3 kB gzip more than on 0.9.0; it is back to 0.9.0's size (simple bench: 21.3 to 17.8 kB).

astralis-mcp 0.5.0

Choose a tag to compare

@paulandy789 paulandy789 released this 23 Nov 04:25

Uses astralis-cli 0.8.0, so validate_code also reports unknown-prop and unknown-state-prop (astralis-ui 0.11.0).

astralis-devtools 0.3.0

Choose a tag to compare

Uses astralis-cli 0.8.0, so findings include unknown-prop and unknown-state-prop (astralis-ui 0.11.0).

Changed

  • A new page starts with the panel folded. Reloading, or navigating to another page, minimises it to the launcher and ends picking. Reopening it returns to the same screen. A new query or hash, and a hot reload, leave it open.
  • Creating an issue clears the form and opens Your issues, with a confirmation that links to it. The list is refreshed, and shows the new issue even while GitHub's own list catches up.
  • The Report buttons say what they do: Create issue from here, and Open GitHub's form instead.
  • An unsent report's words are kept when the page changes or reloads, for the browser tab.

Fixed

  • A report cannot be sent twice, and the last words typed before sending are included.

astralis-cli 0.8.0

Choose a tag to compare

@paulandy789 paulandy789 released this 23 Nov 04:25

Removed

  • astralis report. Reporting a problem stays in the DevTools, on the Report screen. The ./snapshot and ./github entry points the DevTools use are unchanged.

Changed

  • When a command can't finish, it says how to. create, init, init --devtools, init --ci and theme finish what they can when a file can't be found, read, edited or written, or an install fails. They then print why, numbered steps with the exact file and code, how to check, and the docs section that explains it. A failed install, read or write exits 1; a file shape the CLI leaves alone exits 0.
  • The starter page has a plain welcome, and the docs site's logo.
  • init and theme recognise app/layout.js, and init --ci no longer needs a Next.js or Vite project.

Fixed

  • theme before init put the theme ahead of the library's stylesheet, so it did not apply. It now adds both imports, in order.
  • init no longer says the provider wraps an entry file it could not parse.