Skip to content

Version Packages - #57

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#57
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@camp.dev/bones@0.5.0

Minor Changes

  • #58 ba5e27d Thanks @hunterbecton! - The stylesheet is now the whole API. Under any aria-busy="true" element, @camp.dev/bones/css draws a bar for every leaf and a box for every image and control. Adjust an element with data-bones-type="text" or "block", give a paragraph data-bones-lines="3", exempt a subtree with data-bones-auto="off", and pick an animation with data-bones-animate. All attributes are inert until the region is busy.

    Removed: createBones, forceBones, readPromise, minMax, isMinMax, resolveLength, boneAttributes, TRANSPARENT_PIXEL, the React BonesBoundary wrapper, the @camp.dev/bones/react and @camp.dev/bones/element entries, and the React peer dependency. data-bone, data-bone-line, data-bone-animate, --bone-length, and --bone-contained are gone.

    Migration. Replace a Suspense fallback of <Card data={forceBones} /> with <Card aria-busy="true" /> and have Card forward rest props to its root; render the shell when data is undefined. Replace repeat(items, n, render) with (items ?? Array.from({ length: n })).map(render). Replace lines(text, 3, ...) with data-bones-lines="3" on the paragraph. Replace data-bone="text" with data-bones-type="text", data-bone="block" and data-bone="container" with data-bones-type="block", and data-bone-animate with data-bones-animate. Give --bone-radius a unit if you override it.

  • #56 a387bef Thanks @hunterbecton! - @camp.dev/bones/css is now the only stylesheet. It styles data-bone markup and, under any aria-busy="true" region, unmarked leaves, so a page that imports it gets skeletons for content with no bone markup at all. @camp.dev/bones/auto.css is removed. Change that import to @camp.dev/bones/css, and change CDN links from src/css/auto.css to src/css/bones.css. To keep a region readable while its container skeletonizes, set data-bones-auto="off" on it. Set it on <body> to turn auto bones off for the whole page.

  • #59 7d6c753 Thanks @hunterbecton! - The package is the stylesheet alone. @camp.dev/bones/css is the only export, nothing ships JavaScript, and there is no build.

    Removed: <bones-boundary> and everything on it (busy, force, delay, min-duration, transition, precision="measured", the bones:show and bones:hide events), the BonesBoundary, DEFAULT_DELAY, and DEFAULT_MIN_DURATION exports, the @camp.dev/bones root entry, and the @camp.dev/bones/server streaming kit (streamBones, renderBoundary, renderChunk, renderErrorChunk, BOOTSTRAP_SCRIPT, BOOTSTRAP_JS) with its wire protocol. bones.css no longer carries the bones-boundary[data-bones-measured] rule.

    Migration. A Suspense or streaming fallback that already renders the component with aria-busy="true" needs no change. Add inert beside it when the fallback renders links or controls. A <bones-boundary busy> you toggled yourself becomes any element you set aria-busy="true" and inert on; the delay, minimum duration, and crossfade are the "Delay and hold" recipe in the docs. A server that used streamBones keeps its shell and chunks and emits the swap script itself; the docs' Streaming page shows it, and a server that owns the script can put a CSP nonce on it, which the kit could not.

bones-demo@0.0.6

Patch Changes

bones-docs@0.0.6

Patch Changes

bones-vanilla@0.0.4

Patch Changes

@github-actions
github-actions Bot requested a review from hunterbecton as a code owner August 29, 2026 13:12
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 555f3b9 to dfcf0e9 Compare August 30, 2026 02:17
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from dfcf0e9 to 4ec8d2c Compare August 30, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants