Skip to content

Commit

Permalink
Migrate sdk archive table to Jaspr (#6312)
Browse files Browse the repository at this point in the history
This migrates the sdk archives table shown in
https://dart.dev/get-dart/archive to
[Jaspr](https://github.com/schultek/jaspr).

There is no visual or functional change to the table from the end-user
perspective. Though I made some very light cosmetic changes:

- The `<form>` and `<table>` elements are now wrapped in an additional
`<div>` to act as the attach target for Jaspr.
- The template row changed from '0.0.0-0.0.dev (rev 00000) | Windows |
64-width | 01/01/1970 | JSON-formatted API documentation' to '0.0.0 (ref
00000) | --- | --- | 01/01/1970 | '.

I also added some new tests for the component using Jasprs testing
library.

---------

Co-authored-by: Parker Lougheed <parlough@gmail.com>
  • Loading branch information
schultek and parlough authored Feb 25, 2025
1 parent 7011009 commit 7e3e939
Show file tree
Hide file tree
Showing 15 changed files with 3,684 additions and 1,559 deletions.
2 changes: 2 additions & 0 deletions src/_sass/components/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@

// Elements on the archive for each channel.
#stable, #beta, #dev {
margin-top: 1rem;

tbody {
tr {
transition: all .25s ease-in-out;
Expand Down
Loading

0 comments on commit 7e3e939

Please sign in to comment.