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

⬆️ πŸ› οΈ(deps): update dependency sphinx_design to ^0.6.0 #373

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sphinx_design ^0.5.0 -> ^0.6.0 age adoption passing confidence

Release Notes

executablebooks/sphinx-design (sphinx_design)

v0.6.0

Compare Source

Dependencies
  • ⬆️ Python v3.9-3.12 by {user}chrisjsewell in {pr}186
  • ⬆️ Octicon icons to v19.8.0 by {user}ffvpor in {pr}171
New
✨ Create custom directives

You can use the sd_custom_directives configuration option in your conf.py to add custom directives, with default option values:

sd_custom_directives = {
  "dropdown-syntax": {
    "inherit": "dropdown",
    "argument": "Syntax",
    "options": {
      "color": "primary",
      "icon": "code",
    },
  }
}

The key is the new directive name to add, and the value is a dictionary with the following keys:

  • inherit: The directive to inherit from (e.g. dropdown)
  • argument: The default argument (optional, only for directives that take a single argument)
  • options: A dictionary of default options for the directive (optional)

by {user}chrisjsewell in {pr}194

✨ sync tabs by URL query parameters

Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as ?code=python for

.. tab-set-code::

    .. literalinclude:: snippet.py
        :language: python

    .. literalinclude:: snippet.js
        :language: javascript

The last selected tab key, per group, is also persisted to SessionStorage

by {user}mikemckiernan and {user}chrisjsewell in {pr}196

Improve
  • πŸ‘Œ Use reference name by default for internal link cards by {user}gabalafou in {pr}183
  • πŸ‘Œ Improve specificity of JS function name by {user}danirus in {pr}153
  • πŸ‘Œ Remove duplicate CSS hashing for sphinx >= 7.1 by {user}chrisjsewell in {pr}193
πŸ‘Œ Improve dropdown title bar

There are three visible changes:

  1. The "default" behaviour of the right chevron is to go from right-facing (closed) to down-facing (open), instead of down-facing (closed) to up-facing (open). There is also a rotate transition on opening/closing.
    The old default behaviour can be retained by using the new :chevron: down-up directive option.
  2. The prefix icon (optional), title text, and chevron state icon are now all better aligned
  3. The top/bottom padding is now 0.5em instead of 1em

The PR also introduces three new CSS variables to control font sizes of the dropdown:

--sd-fontsize-tabs-label: 1rem;
--sd-fontsize-dropdown-title: 1rem;
--sd-fontweight-dropdown-title: 700;

Internally, the HTML / CSS is changed, such that the title is now an inline-flex box, with three columns arranged with justify-content: space-between:

icon (optional) text (flex-grow: 1) state chevron

Also, the state chevron was previously two distinct SVGs (with one hidden), but now is one that get rotated on open/close.

by {user}chrisjsewell in {pr}192

Fix
  • πŸ› Fix tab-item label with nested syntax by {user}Praecordi in {pr}135
  • πŸ› Fix do not close input tag by {user}chrisjsewell in {pr}195
Internal
  • πŸ“š Update theme versions by {user}chrisjsewell in {pr}189

  • πŸ“š Make octicon list a table by {user}chrisjsewell in {pr}188

  • πŸ“š Add sphinx-immaterial to doc theme builds by {user}chrisjsewell in {pr}190

  • πŸ“š Change syntax dropdown color by {user}chrisjsewell in {pr}191

  • πŸ”§ Add FIPS compliant flag to md5 call by {user}gabor-varga in {pr}162

  • πŸ”§ define build.os for RTD to fix build by {user}sciencewhiz in {pr}176

  • πŸ”§ Move to ruff by {user}chrisjsewell in {pr}185

Full Changelog: executablebooks/sphinx-design@v0.5.0...v0.6.0


Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 23, 2024
@github-actions github-actions bot enabled auto-merge May 23, 2024 00:36
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 100.00%. Comparing base (88092ae) to head (9f571a7).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #373   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           59        59           
=========================================
  Hits            59        59           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/sphinx_design-0.x branch from 5340630 to 9f571a7 Compare June 14, 2024 05:57
@mraniki mraniki disabled auto-merge June 14, 2024 06:07
@mraniki mraniki merged commit 67e72dc into dev Jun 14, 2024
10 checks passed
@renovate renovate bot deleted the renovate/sphinx_design-0.x branch June 14, 2024 06:07
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant