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
5 changes: 0 additions & 5 deletions .changeset/bones-boundary-element.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/measured-bones.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/measured-mutation-observer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/streaming-server.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# bones-demo

## 0.0.3

### Patch Changes

- Updated dependencies [[`7e4e1a0`](https://github.com/campdotdev/bones/commit/7e4e1a098be7acc0472e960bc185ecb09a390d86), [`b7548cc`](https://github.com/campdotdev/bones/commit/b7548cc3a482c6f3ce1859c559d69cddf193a5ba), [`9361a44`](https://github.com/campdotdev/bones/commit/9361a446a58dea687ad83bca2ab2f8d128021db8), [`ae5fbc6`](https://github.com/campdotdev/bones/commit/ae5fbc6afd55c73dc53acf9d424d67f25db4d852)]:
- @camp.dev/bones@0.3.0

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bones-demo",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# bones-docs

## 0.0.3

### Patch Changes

- Updated dependencies [[`7e4e1a0`](https://github.com/campdotdev/bones/commit/7e4e1a098be7acc0472e960bc185ecb09a390d86), [`b7548cc`](https://github.com/campdotdev/bones/commit/b7548cc3a482c6f3ce1859c559d69cddf193a5ba), [`9361a44`](https://github.com/campdotdev/bones/commit/9361a446a58dea687ad83bca2ab2f8d128021db8), [`ae5fbc6`](https://github.com/campdotdev/bones/commit/ae5fbc6afd55c73dc53acf9d424d67f25db4d852)]:
- @camp.dev/bones@0.3.0

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bones-docs",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 8 additions & 0 deletions apps/stream/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# bones-stream

## 0.0.1

### Patch Changes

- Updated dependencies [[`7e4e1a0`](https://github.com/campdotdev/bones/commit/7e4e1a098be7acc0472e960bc185ecb09a390d86), [`b7548cc`](https://github.com/campdotdev/bones/commit/b7548cc3a482c6f3ce1859c559d69cddf193a5ba), [`9361a44`](https://github.com/campdotdev/bones/commit/9361a446a58dea687ad83bca2ab2f8d128021db8), [`ae5fbc6`](https://github.com/campdotdev/bones/commit/ae5fbc6afd55c73dc53acf9d424d67f25db4d852)]:
- @camp.dev/bones@0.3.0
2 changes: 1 addition & 1 deletion apps/stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bones-stream",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
14 changes: 14 additions & 0 deletions packages/bones/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# bones

## 0.3.0

### Minor Changes

- [#34](https://github.com/campdotdev/bones/pull/34) [`7e4e1a0`](https://github.com/campdotdev/bones/commit/7e4e1a098be7acc0472e960bc185ecb09a390d86) Thanks [@hunterbecton](https://github.com/hunterbecton)! - Add `@camp.dev/bones/element`, a `<bones-boundary>` custom element that owns the loading state of its subtree. Set `busy` and the element sets `aria-busy="true"` and `inert` after a `delay` (200 ms), keeps them for at least `min-duration` (400 ms), and removes them inside a view transition where the browser supports one. It fires `bones:show` and `bones:hide`, honors `force` for demos, and adopts server-rendered `aria-busy` on upgrade. `@camp.dev/bones/react` gains a hook-free `<BonesBoundary>` wrapper.

- [#37](https://github.com/campdotdev/bones/pull/37) [`b7548cc`](https://github.com/campdotdev/bones/commit/b7548cc3a482c6f3ce1859c559d69cddf193a5ba) Thanks [@hunterbecton](https://github.com/hunterbecton)! - Add `precision="measured"` to `<bones-boundary>`: the element measures its rendered content with `Range.getClientRects()` and draws pixel-accurate per-line overlay bones in a shadow root, re-measuring on resize and falling back to the `auto.css` path when there is nothing to measure. The React wrapper gains a matching `precision` prop, and `auto.css` keeps `[data-bones-auto="off"]` subtrees visible under the overlay.

- [#39](https://github.com/campdotdev/bones/pull/39) [`ae5fbc6`](https://github.com/campdotdev/bones/commit/ae5fbc6afd55c73dc53acf9d424d67f25db4d852) Thanks [@hunterbecton](https://github.com/hunterbecton)! - Add `@camp.dev/bones/server`: `streamBones` streams an HTML shell with busy `<bones-boundary>` regions and flushes out-of-order `<template>` + swap-script chunks as promises settle, plus the primitives (`BOOTSTRAP_SCRIPT`, `renderBoundary`, `renderChunk`, `renderErrorChunk`) that emit each wire-protocol piece for servers in any stack.

### Patch Changes

- [#38](https://github.com/campdotdev/bones/pull/38) [`9361a44`](https://github.com/campdotdev/bones/commit/9361a446a58dea687ad83bca2ab2f8d128021db8) Thanks [@hunterbecton](https://github.com/hunterbecton)! - Measured bones re-measure when the boundary's children or text change while busy, not only when the boundary resizes. Streamed and htmx-style swaps mid-skeleton now update the bars instead of leaving stale ones.

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bones/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@camp.dev/bones",
"version": "0.2.0",
"version": "0.3.0",
"description": "Skeleton loaders designed for React Server Components and streaming.",
"homepage": "https://github.com/campdotdev/bones#readme",
"bugs": {
Expand Down
Loading