Repository navigation
chore: release - #6
Closed
github-actions[bot] wants to merge 1 commit into
Closed
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
September 23, 2026 14:27
dbc7a7c to
9b12a1e
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 24, 2026 12:33
9b12a1e to
b202817
Compare
Owner
|
just for tests |
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
non-spooky-react-cookie@1.1.0
Minor Changes
1914a46: Texts can now come from a CMS.
nullanywhere intextskeeps the built-in text, the way a CMS returns a blank field. An empty string still replaces it.dialog.itemsLabelis now a trigger label, "Show services", followed by the count in parentheses: "Show services (2)". It no longer needs plural forms, so every text is a plain string and all texts are plain JSON.DeepPartialNullable.TextOverridesnow acceptsnull.getBuiltInTexts(language)andBUILT_IN_LANGUAGES.dir="rtl".c4e0b86: Theming that holds together when you change more than the primary color.
color-mix()from--nsr-surface,--nsr-text,--nsr-primaryand--nsr-primary-texton the banner, dialog and settings link. A dark surface in light mode (or a light primary) no longer leaves near-white cards, unreadable grey text or an invisible switch thumb behind. Setting the variable yourself (--nsr-muted,--nsr-border,--nsr-surface-muted,--nsr-secondary,--nsr-secondary-text,--nsr-primary-hover,--nsr-ring,--nsr-switch-off,--nsr-switch-thumb) still wins.ThemePalettecovers every color: newprimaryHoverColor,surfaceMutedColor,ringColor,switchOffColor,switchThumbColorandbackdropColor.darkThemeprop on the provider: colors that apply only under a.dark/[data-theme="dark"]ancestor.themealone still applies in both modes.<style>rule scoped by adata-nsr-themeattribute on the banner, dialog andCookieSettingsLink(which previously never received the theme) instead of inline styles.usePreferences()exposesthemeAttributesto spread onto your own elements;themeStyleis kept for the light palette.CookieBanner'scomponentsnow also reach the dialog it renders;dialogProps.componentsoverrides them for the dialog only.PreferenceComponentsgainsCollapsible.#155e75and the accent#0e7490(both were#06b6d4, 2.4:1 with white text); the dark primary is#22d3eewith#083344text. Primary hover uses a color mix instead offilter: brightness(), which did nothing on very light or very dark primaries.theme={{ ... }}literal no longer recomputes the context value on every render.1914a46:
languagenow accepts region codes and ignores case:"pl-PL","de_AT"and"EN-us"resolve to the built-inpl,deandentexts instead of falling back to English.Patch Changes
84b88fa: Better on phones.
env(safe-area-inset-bottom).env(safe-area-inset-*)on notched phones and scrolls inside itself if a long description would otherwise push the buttons off a small screen.CookieSettingsLinkhave a minimum height, and buttons usemin-heightinstead of a fixed height so long labels (German, for example) wrap instead of overflowing.dvhviewport units, withvhfallbacks, so the dialog and banner size against the visible area of mobile browsers, not the area behind the address bar.23697a4:
non-spooky-react-cookie/servernow resolves in tools that ignore theexportsfield (old Jest, webpack 4, TypeScriptmoduleResolution: node). Aserver/package.jsonstub in the tarball points them at the built files.