From 16df8e1d68ad37dc25880529c0807a2cbc88c922 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Aug 2026 19:38:35 +0000 Subject: [PATCH] Publish Next Version --- .changeset/brave-melons-shake.md | 16 -------- .changeset/brave-otters-wander.md | 7 ---- .changeset/fuzzy-moons-arrive.md | 13 ------- .changeset/lucky-otters-listen.md | 5 --- .changeset/lucky-pandas-gather.md | 9 ----- .changeset/olive-melons-repeat.md | 7 ---- .changeset/olive-pandas-tap.md | 7 ---- .changeset/plain-mangos-return.md | 5 --- .changeset/plain-otters-gather.md | 7 ---- .changeset/quiet-pumas-repeat.md | 5 --- .changeset/smart-pandas-listen.md | 5 --- .changeset/tidy-jars-listen.md | 7 ---- .changeset/tidy-lions-wander.md | 5 --- CHANGELOG.md | 65 +++++++++++++++++++++++++++++++ package.json | 2 +- 15 files changed, 66 insertions(+), 99 deletions(-) delete mode 100644 .changeset/brave-melons-shake.md delete mode 100644 .changeset/brave-otters-wander.md delete mode 100644 .changeset/fuzzy-moons-arrive.md delete mode 100644 .changeset/lucky-otters-listen.md delete mode 100644 .changeset/lucky-pandas-gather.md delete mode 100644 .changeset/olive-melons-repeat.md delete mode 100644 .changeset/olive-pandas-tap.md delete mode 100644 .changeset/plain-mangos-return.md delete mode 100644 .changeset/plain-otters-gather.md delete mode 100644 .changeset/quiet-pumas-repeat.md delete mode 100644 .changeset/smart-pandas-listen.md delete mode 100644 .changeset/tidy-jars-listen.md delete mode 100644 .changeset/tidy-lions-wander.md diff --git a/.changeset/brave-melons-shake.md b/.changeset/brave-melons-shake.md deleted file mode 100644 index 55ba125fb..000000000 --- a/.changeset/brave-melons-shake.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@cloudfour/patterns': patch ---- - -Stop WordPress's File block font size from shrinking our file download buttons. - -WordPress shrinks the File block's text to `0.8em`. It used to set that on -`.wp-block-file__button`, where our button styles overrode it outright, but it -now sets it on the `.wp-block-file` container instead. Our button mixins take -`font: inherit` and size their padding and block size in `em`, so the inherited -`0.8em` scaled the entire button down by a fifth rather than just its text. -Resetting `font-size` on the container restores the buttons to the same -dimensions they had before. - -This only became visible with newer WordPress, so on older installs the new -declaration is a no-op. diff --git a/.changeset/brave-otters-wander.md b/.changeset/brave-otters-wander.md deleted file mode 100644 index 497ef27a5..000000000 --- a/.changeset/brave-otters-wander.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@cloudfour/patterns': patch ---- - -Stop publishing three Storybook demo fixtures — `defaultArgs`, `defaultArgTypes` and `generateGroundNavProps`. They come from `ground-nav-args.js`, which only the Ground Nav stories import, and they reached the bundle because the build's entry glob excluded `.stories.` and `.test.` files but not `-args.` ones. They were never documented or intended as API, and nothing a consumer would want can be done with them. - -The four real exports — `createElasticTextArea`, `createSubscribe`, `initCommentReplyForm` and `initSkyNav` — are byte-for-byte unchanged, and `dist/standalone.css` and `dist/standalone.min.css` are untouched. Dropping the fixtures takes `dist/cloudfour-patterns.min.js` from 7.8KB to 4.1KB (2.7KB to 1.5KB gzipped), the ESM bundle from 9.4KB to 5.9KB, the UMD bundle from 21KB to 15KB, and the type declarations from 8.0KB to 1.6KB. diff --git a/.changeset/fuzzy-moons-arrive.md b/.changeset/fuzzy-moons-arrive.md deleted file mode 100644 index e0c9e2c45..000000000 --- a/.changeset/fuzzy-moons-arrive.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@cloudfour/patterns': patch ---- - -Make every published file reachable through Node resolution. `exports` was a bare string pointing at the browser bundle, and defining `exports` at all encapsulates every other subpath — so of the 360 files in the tarball, exactly one could be resolved. Requiring the compiled design tokens failed with `ERR_PACKAGE_PATH_NOT_EXPORTED`, and so did reading our own `package.json`, which is something tooling routinely does to a dependency. - -`files` and `exports` disagreed about what the public API is, and `files` is the field expressing the intent: we deliberately publish `/dist`, the compiled tokens, the Sass partials, the Twig templates and the assets. `exports` now mirrors that shape, so what we ship and what a consumer can reach are the same set. - -The subpath patterns are written per extension rather than as a blanket `./src/*`, which keeps stories and tests encapsulated even for a consumer resolving against a working tree rather than an installed tarball. `files` remains the authority on the exact file list. - -Widening `exports` cannot break an import that already worked, and the published file list is byte-for-byte unchanged — only reachability changes. Sass is unaffected in both directions: it compiles identically before and after via both `loadPaths` and the `pkg:` importer, because neither route enforces the export map for stylesheets. - -Also adds a `types` condition to the main entry. Under `node16`/`nodenext`/`bundler` module resolution, TypeScript reads types through `exports` and ignores the top-level `types` field, so consumers on those settings were getting `any` — TypeScript reported "There are types at dist/cloudfour-patterns.d.ts, but this result could not be resolved when respecting package.json exports". This was already true before this change; it is fixed here because it is the same field and the same root cause. What the main entry resolves to at runtime is unchanged. diff --git a/.changeset/lucky-otters-listen.md b/.changeset/lucky-otters-listen.md deleted file mode 100644 index 77057305c..000000000 --- a/.changeset/lucky-otters-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudfour/patterns': patch ---- - -Fix Sky Nav rendering permanently open with no toggle button when its markup is injected as a string rather than parsed by the browser. The `no-js` class is normally cleared by an inline `