Skip to content

Releases: storybook-community/storybook-dark-mode

@storybook-community/storybook-dark-mode@7.1.4

Choose a tag to compare

@github-actions github-actions released this 04 Sep 23:49
a873472

Patch Changes

  • #71 c3e3aaa Thanks @unional! - Declare engines.node: ">=20.19.0" on the published package.

    This records a floor the package already had in practice rather than
    introducing a new one: the addon peer-depends on Storybook 10, whose own
    minimum Node version is 20.19, and it is published ESM-only with no CJS
    output. Installing on an older Node was never supported; now the manifest
    says so.

    No change to the emitted code, the exports map, or the public API.

@storybook-community/storybook-dark-mode@7.1.3

Choose a tag to compare

Patch Changes

  • #67 d1fa7a4 Thanks @unional! - Fix brand image not switching between light and dark themes (issue #66)

    mergeThemeWithBrandConfig now gives store theme properties priority over config theme properties, so per-mode brandImage and brandTitle set on the dark/light theme are preserved instead of being overwritten by the global config theme.

@storybook-community/storybook-dark-mode@7.1.2

Choose a tag to compare

Patch Changes

  • 70f0372 Thanks @unional! - Fixed the dark mode toolbar toggle importing manager utilities via an invalid src/ path; it now resolves getManagerTarget using a package-relative import so bundlers consistently include the helper.

@storybook-community/storybook-dark-mode@7.1.0

Choose a tag to compare

Minor Changes

  • 47e9d3e Thanks @unional! - Remove DarkModeStore type from main export.
    It should be internal to begin with.

Patch Changes

  • a577633 Thanks @unional! - Update readme about @storybook/addon-docs requirement.

v7.0.3

Choose a tag to compare

@github-actions github-actions released this 21 Nov 07:42

Patch Changes

  • #54 116af86 Thanks @unional! - Replace fast-deep-equal with dequal to support ESM (Storybook 10).

v7.0.2

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:49

Patch Changes

v7.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 01:56

Patch Changes

v7.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 02:38

Major Changes

  • #45 1ea561e Thanks @Sidnioulz! - Port to Storybook 10

    BREAKING CHANGE: This package now requires Storybook 10 and is ESM-only.

Patch Changes

  • #48 8a6091b Thanks @unional! - Update useState initialization in DarkModeDocsContainer and useDarkMode hook

v6.0.8

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:18

Patch Changes

v6.0.7

Choose a tag to compare

@github-actions github-actions released this 01 Oct 23:57

Patch Changes

  • f18bdd6 Thanks @unional! - Replace import.meta.resolve with require.resolve for manager entries again.

    Tested in some repos that require.resolve works while import.meta.resolve doesn't.