Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @expressive-code/plugin-collapsible-sections to ^0.28.2 (docs-v2) #293

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@expressive-code/plugin-collapsible-sections ^0.26.2 -> ^0.28.2 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

expressive-code/expressive-code (@​expressive-code/plugin-collapsible-sections)

v0.28.2

Compare Source

Patch Changes

v0.28.1

Compare Source

Patch Changes

v0.28.0

Compare Source

Patch Changes

v0.27.1

Compare Source

Patch Changes

v0.27.0

Compare Source

Minor Changes
  • f19746b: Rendering multiple themes no longer generates duplicate CSS and HTML output.

    In previous versions, a full set of CSS styles was generated for each individual theme, and each code block was rendered multiple times to include the HTML for each theme.

    In this version, the CSS output has been changed to a single static set of base styles that uses CSS variables to allow efficient switching between themes.

    Also, the HTML output for code blocks is now generated only once, and theme-dependent styles are applied using CSS variables.

    These changes significantly reduce page size when using multiple themes, especially on pages with many code blocks.

    If you have added CSS code to your site that relies on the old output (e.g. by selectively hiding or showing theme-specific code blocks based on their class name), you will need to update it to work with the new output.

    Note: Before writing new custom CSS, please consider if you can achieve your desired result out of the box now. For example, if your themes option contains one dark and one light theme, the useDarkModeMediaQuery option will generate a prefers-color-scheme media query for you by default.

  • f19746b: Move all plugin styles into nested sub-objects of top-level config option styleOverrides.

    In previous versions, there could be multiple styleOverrides scattered through the configuration (one per plugin with configurable style settings). This has been simplified to a single top-level styleOverrides object that contains all style overrides.

    Plugins can contribute their own style settings to this object as well by nesting them inside under their plugin name.

      /** @​type {import('remark-expressive-code').RemarkExpressiveCodeOptions} */
      const remarkExpressiveCodeOptions = {
        frames: {
          showCopyToClipboardButton: false,
    -     styleOverrides: {
    -       shadowColor: '#​124',
    -     },
        },
    +   styleOverrides: {
    +     frames: {
    +       shadowColor: '#​124',
    +     },
    +     // You could override other plugin styles here as well:
    +     // textMarkers: { ... },
    +   },
      },
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

vercel bot commented Nov 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dev-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2023 11:33am

@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from 6ad08fd to eda991c Compare November 8, 2023 09:41
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from eda991c to ac01917 Compare November 9, 2023 22:14
@renovate renovate bot changed the title fix(deps): update dependency @expressive-code/plugin-collapsible-sections to ^0.27.0 (docs-v2) fix(deps): update dependency @expressive-code/plugin-collapsible-sections to ^0.27.1 (docs-v2) Nov 9, 2023
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from ac01917 to bea0e57 Compare November 10, 2023 14:20
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from bea0e57 to 7711a14 Compare November 11, 2023 02:02
@renovate renovate bot changed the title fix(deps): update dependency @expressive-code/plugin-collapsible-sections to ^0.27.1 (docs-v2) fix(deps): update dependency @expressive-code/plugin-collapsible-sections to ^0.28.2 (docs-v2) Nov 11, 2023
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch 2 times, most recently from 91c8c01 to 396dd61 Compare November 11, 2023 10:54
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from 396dd61 to d41efe0 Compare November 11, 2023 11:22
@renovate renovate bot force-pushed the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch from d41efe0 to 891fc24 Compare November 11, 2023 11:23
@Sporiff Sporiff merged commit fbee0e3 into docs-v2 Nov 11, 2023
@Sporiff Sporiff deleted the renovate/docs-v2-expressive-code-plugin-collapsible-sections-0.x branch November 11, 2023 11:42
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