diff --git a/gov_uk_dashboards/components/plotly/banners.py b/gov_uk_dashboards/components/plotly/banners.py index 57e3bb5..775b61b 100644 --- a/gov_uk_dashboards/components/plotly/banners.py +++ b/gov_uk_dashboards/components/plotly/banners.py @@ -2,7 +2,7 @@ from dash import html -def message_banner(category, message): +def message_banner(category, message, style=None): """ Return a coronavirus dashboard-style changelog banner to be used to communicate to the user when the dashboard was last updated. @@ -27,4 +27,5 @@ def message_banner(category, message): className="govuk-body-s govuk-!-font-weight-bold govuk-!-margin-bottom-0", ), className="change-log-banner govuk-!-margin-bottom-2", + style=style, ) diff --git a/setup.py b/setup.py index f20e635..faf19b5 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ author="Department for Levelling Up, Housing and Communities", description="Provides access to functionality common to creating a data dashboard.", name="gov_uk_dashboards", - version="9.38.0", + version="9.39.0", long_description=long_description, long_description_content_type="text/markdown", packages=find_packages(),