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

⬆️ Update shinyswatch to v0.8.0 #1100

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
shinyswatch ==0.3.1 -> ==0.8.0 age adoption passing confidence

Release Notes

rstudio/py-shinyswatch (shinyswatch)

v0.8.0

Compare Source

  • The theme picker's message warning users to include shinyswatch.theme_picker_server() is now correctly hidden if the app takes longer than expected to start up. (#​47)

  • shinyswatch now requires Shiny v1.2.0. (#​48)

v0.7.0

Compare Source

Breaking changes
  • shinyswatch now requires shiny v1.0.0 or newer to use the newly-introduced shiny.ui.Theme() class to define themes. As a result, shinyswatch.theme.{name} objects can no longer be added anywhere in the app's UI. Instead, pass a shinyswatch theme to the theme argument of any shiny.ui.page_*() functions (Shiny Core) or to shiny.express.ui.page_opts() (Shiny Express). (#​39)

  • The default argument of theme_picker_ui() is now deprecated. Instead, pass the initial theme to the theme argument of any shiny.ui.page_*() functions (Shiny Core) or to shiny.express.ui.page_opts() (Shiny Express). This change separates the initial theme selection from the placement of the theme picker input. (#​39)

  • shinyswatch.get_theme_deps() was removed from the package. If needed, use the ._html_dependency() method of the theme object. (#​39)

New features
  • As mentioned above, shinyswatch now uses the shiny.ui.Theme() class to define themes, making shinyswatch themes customizable using the .add_defaults(), .add_rules() and other methods of the shiny.ui.Theme() class. Customized themes are recompiled from Sass to CSS, which requires the libsass package. (#​39)

  • The theme picker now includes Shiny's default theme (as "shiny") and bare Bootstrap (as "bootstrap") as theme options, in addition to the Bootswatch themes. If the initial app theme is a custom shiny.ui.Theme(), the custom theme is also included in the theme picker options. (#​39)

  • The theme picker will now remember the previous theme selection between app uses when the app is re-loaded in the same browser. (#​43)

v0.6.1

Compare Source

  • Include missing theme picker assets in the package. (#​36)

v0.6.0

Compare Source

New features
  • shinyswatch.theme_picker_ui() gains a default argument to set the initial theme. (#​22)
Internal changes
  • We've restructured the dependencies used to provide a shinyswatch theme. This change should not affect users of shinyswatch, but it will prevent accidentally including more than one shinyswatch themes on the same page. (#​32)

  • The theme picker now transitions between themes more smoothly. That said, we do still recommend using the theme picker only while developing your app. (#​32)

v0.5.1

Compare Source

  • Add typed attributes in the theme's color class for stronger type checking.

v0.5.0

Compare Source

Breaking changes
  • shinyswatch.get_theme(name) now returns a tagifiable class instance of the theme. This callable class instance may be executed to retrive the html dependencies. To resolve some rare typing issues, either execute the returned theme object to directly use the html dependencies or use shinyswatch.get_theme_deps(name). (#​29)

v0.4.2

Compare Source

  • Update bootswatch themes. (#​24)

v0.4.1

Compare Source

New features
  • Drop XStatic-bootswatch dependency

v0.4.0

Compare Source

New features
  • Update themes to support Bootstrap 5.3 (#​20)

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Dec 5, 2024
@renovate renovate bot requested a review from basnijholt as a code owner December 5, 2024 19:28
@renovate renovate bot added the no-stale label Dec 5, 2024
@renovate renovate bot force-pushed the renovate/shinyswatch-0.x branch 5 times, most recently from 98e6512 to 9640e67 Compare December 5, 2024 19:45
@renovate renovate bot force-pushed the renovate/shinyswatch-0.x branch from 9640e67 to cc3a73a Compare December 5, 2024 19:47
@basnijholt basnijholt merged commit 5649717 into main Dec 5, 2024
1 check was pending
@basnijholt basnijholt deleted the renovate/shinyswatch-0.x branch December 5, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant