Skip to content

Version Packages - #43

Merged
hunterbecton merged 1 commit into
mainfrom
changeset-release/main
Aug 29, 2026
Merged

Version Packages#43
hunterbecton merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 27, 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.4.0

Minor Changes

  • #42 f4d1362 Thanks @hunterbecton! - Bone colors derive from the inherited text color instead of the OS color scheme. --bone-base defaults to the text color at 12% opacity and --bone-highlight at 6%, and the prefers-color-scheme media query is gone. Bones are now visible on any background the surrounding text is readable on. Before this, a dark-mode OS over a page that kept a light canvas painted white bones on white (BON-13). Overriding the custom properties works unchanged. Internally, bones hide their content by zeroing the alpha of color so the channels survive into the derivation, and the measured overlay's no-stylesheet fallbacks derive the same way. The stylesheets now use relative color syntax, which is Baseline 2024 (Chrome 119, Safari 18, Firefox 128).

  • #51 dc790c3 Thanks @hunterbecton! - Marked bones (data-bone) now shimmer by default, matching auto bones and the measured overlay. Before this, bones.css only animated inside a data-bone-animate scope, so a page that mixed an aria-busy region with explicit data-bone markup showed shimmering auto bones beside frozen marked ones. Set data-bone-animate="none" on a bone, a wrapper, or <body> to keep skeletons still. "pulse" still switches the animation. Under prefers-reduced-motion: reduce, the default and the shimmer and pulse scopes all downgrade to a slow pulse, and none stays still. This replaces the old reduced-motion rule, which pulsed the whole aria-busy element on top of the bar's own animation.

  • #47 3a690bb Thanks @hunterbecton! - <bones-boundary> is now the sole skeleton component. The React entry removes <Bones> and <BonesForce> and keeps createBones, forceBones, readPromise, minMax, isMinMax, and the BonesBoundary wrapper for <bones-boundary>.

    <Bones> is gone. Write the Suspense boundary yourself. Pass forceBones where the fallback needs a pending prop:

    <Suspense fallback={<ProfileCard user={forceBones} />}>
      <ProfileCard user={fetchUser()} />
    </Suspense>

    <BonesForce> is gone. Pass forceBones as the data prop of each component you want forced, or wrap unmarked content in <bones-boundary force>.

    The ambient loading flag went with them. createBones no longer reads any context. It shows bones only for the loading option, the forceBones sentinel, or a pending promise.

Patch Changes

  • #45 14ff496 Thanks @hunterbecton! - data-bone-animate now takes effect from the element that carries it: a marked bone can animate itself, and an aria-busy region can be stilled or switched from its own tag instead of a wrapper. The animation variants live in @scope blocks, and a scoped selector's implicit :scope prefix matches strict descendants only, so the attribute was a silent no-op on the scope root itself. The scoped selectors now include the root via :is(:scope, :scope *).

bones-demo@0.0.4

Patch Changes

bones-docs@0.0.4

Patch Changes

bones-stream@0.0.2

Patch Changes

bones-vanilla@0.0.2

Patch Changes

@github-actions
github-actions Bot requested a review from hunterbecton as a code owner August 27, 2026 00:17
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 7 times, most recently from 0bce97c to c22e006 Compare August 28, 2026 13:02
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 848bdca to 494ae87 Compare August 28, 2026 14:03
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 494ae87 to 1b1f716 Compare August 29, 2026 00:31
@hunterbecton
hunterbecton merged commit d2cebaa into main Aug 29, 2026
15 checks passed
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.

1 participant