Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/leaner-bar.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# solid-route-progress

## 1.1.0

### Minor Changes

- [#11](https://github.com/kecan0406/solid-route-progress/pull/11) [`adcdfdf`](https://github.com/kecan0406/solid-route-progress/commit/adcdfdf3fdcd5a699403aac1128e73ae529e2aef) Thanks [@kecan0406](https://github.com/kecan0406)! - A leaner bar. `<RouteProgress />` now adds 2363 B min+gzip after tree-shaking (was 2410), `<NavigationProgress />` 2099 B (was 2193), and `style.css` 510 B (was 534).

- The bar slides with the `translate` property instead of `transform`, so `transform` on `.sprogress-bar` is free for your own effects, such as a skew. Its transitions still run on the compositor. If you overrode the bar's `transition` naming `transform`, name `translate` instead.
- The stylesheet holds the short `--sp-speed` hop as the bar's default transition and only the `trickle` state switches to the long drift, so it needs fewer rules. The idle fade only overrides the delays.
- `<html data-sp-busy>` and `aria-busy` are written only when the first bar shows and the last one hides; moves within a load, such as `set()`, no longer rewrite them.
- The default template renders a static element instead of mounting `<Bar />`, so a bar without children mounts no component, spread, or effect for it.
- `<NavigationProgress>` listens with one set of Navigation API listeners instead of two. Behavior is unchanged.

## 1.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-route-progress",
"version": "1.0.6",
"version": "1.1.0",
"description": "Route progress bar for SolidJS and SolidStart: the thin loading bar along the top of the page. The loading drift is one CSS transition; about 2.4 kB, no dependencies, Tailwind v4 friendly.",
"license": "MIT",
"author": "kecan0406 (https://github.com/kecan0406)",
Expand Down
Loading