Skip to content

chore(deps): bump theme-change from 2.5.0 to 3.0.4 - #223

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/bun/theme-change-3.0.4
Open

chore(deps): bump theme-change from 2.5.0 to 3.0.4#223
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/bun/theme-change-3.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bumps theme-change from 2.5.0 to 3.0.4.

Changelog

Sourced from theme-change's changelog.

[3.0.4] (2026-06-14)

Features

  • added data-act-attribute="name[:value]" to set an arbitrary HTML attribute (e.g. aria-pressed, aria-current) on a button while its theme is active, as a more flexible alternative to data-act-class (#41)
  • data-act-attribute also works with legacy data-toggle-theme buttons

Bug Fixes

  • legacy data-toggle-theme now recomputes each button's active state on click instead of blindly toggling data-act-class, fixing act-class desync with multi-theme toggle lists

[3.0.1] (2026-06-07)

Features

  • unified theme control with data-set-theme for button, select, and checkbox
  • added checkbox support: <input type="checkbox" value="dark" data-set-theme />
  • added comma-separated rotation support on clickable data-set-theme values
  • synced all data-set-theme controls on theme updates
  • kept backward compatibility for legacy v2 attributes (data-toggle-theme, data-choose-theme)

Build and distribution

  • rewrote build pipeline with esbuild
  • added dual artifacts:
    • browser-friendly IIFE .js files for classic <script src> CDN usage
    • ESM .mjs files for npm/module imports

Docs and examples

  • restructured README for shorter, easier scanning (quick start, framework snippets, tables)
  • updated CDN docs for classic script usage
  • expanded index.html examples for new API and legacy attribute coverage
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 24, 2026
Bumps [theme-change](https://github.com/saadeghi/theme-change) from 2.5.0 to 3.0.4.
- [Changelog](https://github.com/saadeghi/theme-change/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/theme-change/commits)

---
updated-dependencies:
- dependency-name: theme-change
  dependency-version: 3.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bun/theme-change-3.0.4 branch from 2515fc7 to 56c575b Compare July 25, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants