Version Packages - #57
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 30, 2026 02:17
555f3b9 to
dfcf0e9
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 30, 2026 10:34
dfcf0e9 to
4ec8d2c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ba5e27dThanks @hunterbecton! - The stylesheet is now the whole API. Under anyaria-busy="true"element,@camp.dev/bones/cssdraws a bar for every leaf and a box for every image and control. Adjust an element withdata-bones-type="text"or"block", give a paragraphdata-bones-lines="3", exempt a subtree withdata-bones-auto="off", and pick an animation withdata-bones-animate. All attributes are inert until the region is busy.Removed:
createBones,forceBones,readPromise,minMax,isMinMax,resolveLength,boneAttributes,TRANSPARENT_PIXEL, the ReactBonesBoundarywrapper, the@camp.dev/bones/reactand@camp.dev/bones/elemententries, and the React peer dependency.data-bone,data-bone-line,data-bone-animate,--bone-length, and--bone-containedare gone.Migration. Replace a Suspense fallback of
<Card data={forceBones} />with<Card aria-busy="true" />and haveCardforward rest props to its root; render the shell whendatais undefined. Replacerepeat(items, n, render)with(items ?? Array.from({ length: n })).map(render). Replacelines(text, 3, ...)withdata-bones-lines="3"on the paragraph. Replacedata-bone="text"withdata-bones-type="text",data-bone="block"anddata-bone="container"withdata-bones-type="block", anddata-bone-animatewithdata-bones-animate. Give--bone-radiusa unit if you override it.#56
a387befThanks @hunterbecton! -@camp.dev/bones/cssis now the only stylesheet. It stylesdata-bonemarkup and, under anyaria-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.cssis removed. Change that import to@camp.dev/bones/css, and change CDN links fromsrc/css/auto.csstosrc/css/bones.css. To keep a region readable while its container skeletonizes, setdata-bones-auto="off"on it. Set it on<body>to turn auto bones off for the whole page.#59
7d6c753Thanks @hunterbecton! - The package is the stylesheet alone.@camp.dev/bones/cssis 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", thebones:showandbones:hideevents), theBonesBoundary,DEFAULT_DELAY, andDEFAULT_MIN_DURATIONexports, the@camp.dev/bonesroot entry, and the@camp.dev/bones/serverstreaming kit (streamBones,renderBoundary,renderChunk,renderErrorChunk,BOOTSTRAP_SCRIPT,BOOTSTRAP_JS) with its wire protocol.bones.cssno longer carries thebones-boundary[data-bones-measured]rule.Migration. A Suspense or streaming fallback that already renders the component with
aria-busy="true"needs no change. Addinertbeside it when the fallback renders links or controls. A<bones-boundary busy>you toggled yourself becomes any element you setaria-busy="true"andinerton; the delay, minimum duration, and crossfade are the "Delay and hold" recipe in the docs. A server that usedstreamBoneskeeps 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
ba5e27d,a387bef,7d6c753]:bones-docs@0.0.6
Patch Changes
ba5e27d,a387bef,7d6c753]:bones-vanilla@0.0.4
Patch Changes
ba5e27d,a387bef,7d6c753]: