Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ restrictions:

- Please **do not** use the issue tracker for personal support requests. Stack
Overflow ([`plotly-dash`](https://stackoverflow.com/questions/tagged/plotly-dash) tag),
or the [Plotly Community Forum](https://community.plot.ly) are better places to get help.
or the [Plotly Community Forum](https://community.plotly.com) are better places to get help.

- Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.
Expand Down
2 changes: 1 addition & 1 deletion docs/components_page/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This is a carousel with slides only. The default cycle time is 5000ms, but here

## With controls

Here we add the previous and next controls. The default is for the slideshow to autoplay after the user manually cycles the first item. Set `ride="carousel"` to start the slideshow on page load.
Here we add the previous and next controls.

{{example:components/carousel/controls.py:carousel}}

Expand Down
1 change: 0 additions & 1 deletion docs/components_page/components/carousel/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
controls=False,
indicators=False,
interval=2000,
ride="carousel",
)
6 changes: 3 additions & 3 deletions docs/components_page/components/navbar/navbar.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import dash_bootstrap_components as dbc
from dash import Input, Output, State, html

PLOTLY_LOGO = "https://images.plot.ly/logo/new-branding/plotly-logomark.png"
LOGO = "https://placehold.co/100x100"

search_bar = dbc.Row(
[
Expand All @@ -22,13 +22,13 @@
# Use row and col to control vertical alignment of logo / brand
dbc.Row(
[
dbc.Col(html.Img(src=PLOTLY_LOGO, height="30px")),
dbc.Col(html.Img(src=LOGO, height="30px")),
dbc.Col(dbc.NavbarBrand("Navbar", className="ms-2")),
],
align="center",
className="g-0",
),
href="https://plotly.com",
href="https://placehold.co/",
style={"textDecoration": "none"},
),
dbc.NavbarToggler(id="navbar-toggler", n_clicks=0),
Expand Down
2 changes: 1 addition & 1 deletion docs/components_page/components/table/kwargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# using the same table as in the above example
table_header + table_body,
bordered=True,
dark=True,
color="dark",
hover=True,
responsive=True,
striped=True,
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/theme_explorer/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
dbc.Table(
[table_header, table_body],
bordered=True,
dark=True,
hover=True,
responsive=True,
striped=True,
className="mb-2",
color="dark",
),
),
]
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dash==3.0.0rc1
dash_bootstrap_components==1.7.1-dev
dash==3.0.0rc3
dash_bootstrap_components==2.0.0b2
gunicorn
markdown
pandas
Expand Down
15 changes: 0 additions & 15 deletions docs/static/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -294,21 +294,6 @@ span.hljs-meta {
}
}

.dbcd-masthead .btn-outline-secondary {
color: #fa7268;
border-color: #fa7268;
}

.dbcd-masthead .btn-outline-secondary:hover {
color: #fff;
background-color: #fa7268;
}

.dbcd-masthead .btn-secondary {
background-color: #fa7268;
border-color: #fa7268;
}

.dbcd-main.changelog h2 {
font-size: 1.5rem;
}
Expand Down
Binary file removed docs/static/images/dbciconblack128.png
Binary file not shown.
Binary file removed docs/static/images/dbciconwhite16.png
Binary file not shown.
Binary file added docs/static/images/dbclogo128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/images/favicon.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div style="width:250px;height:250px;margin:auto;padding:1rem;background-color:white;border-radius:1rem;box-sizing:content-box;">
<object
type="image/svg+xml"
data="https://cdn.opensource.faculty.ai/dbc/assets/logo.svg"
data="https://cdn.jsdelivr.net/gh/facultyai/dash-bootstrap-components@main/logo/logo.svg"
style="width:100%;height:100%;"
>
dash-bootstrap-components logo
Expand All @@ -28,11 +28,11 @@ <h1 class="font-weight-light">Dash Bootstrap Components</h1>
apps with complex, responsive layouts.
</p>
<a
class="btn btn-outline-secondary"
class="btn btn-outline-primary"
href="https://github.com/facultyai/dash-bootstrap-components"
>Source Code<i class="bi bi-github ms-1"></i></a
>
<a class="btn btn-secondary" href="/docs">Get Started »</a>
<a class="btn btn-primary" href="/docs">Get Started »</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/macros/example-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="container-fluid">
<span class="me-2 bg-white" style="padding:2px;border-radius:4px">
<img
src="/static/images/dbciconblack128.png"
src="/static/images/dbclogo128.png"
width="36"
height="36"
alt="dbc logo thumbnail"
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/macros/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="container">
<span class="me-2 bg-white" style="padding:2px;border-radius:4px">
<img
src="/static/images/dbciconblack128.png"
src="/static/images/dbclogo128.png"
width="36"
height="36"
alt="dbc logo thumbnail"
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/macros/theme-explorer-navbar.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% macro theme_explorer_navbar() -%}
<nav class="navbar navbar-expand navbar-dark sticky-top bg-dark">
<span
class="me-2 bg-white"
class="mx-2 bg-white"
style="padding:2px;border-radius:4px;margin-right: 0.5rem;"
>
<img
src="/static/images/dbciconblack128.png"
src="/static/images/dbclogo128.png"
width="36"
height="36"
alt="dbc logo thumbnail"
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.13.1/build/styles/tomorrow-night-eighties.min.css" />
<link rel="stylesheet" href="/static/docs.css" />
<link rel="shortcut icon" type="image/png" href="/static/images/dbciconwhite16.png" />
<link rel="shortcut icon" type="image/x-icon" href="/static/images/favicon.ico" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css" />
4 changes: 2 additions & 2 deletions examples/advanced-component-usage/navbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import dash_bootstrap_components as dbc
from dash import Input, Output, State, html

PLOTLY_LOGO = "https://images.plot.ly/logo/new-branding/plotly-logomark.png"
LOGO = "https://placehold.co/100x100"

app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP])
# try running the app with one of the Bootswatch themes e.g.
Expand Down Expand Up @@ -68,7 +68,7 @@
# Use row and col to control vertical alignment of logo / brand
dbc.Row(
[
dbc.Col(html.Img(src=PLOTLY_LOGO, height="30px")),
dbc.Col(html.Img(src=LOGO, height="30px")),
dbc.Col(dbc.NavbarBrand("Logo", className="ms-2")),
],
align="center",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
feature you must install dash-bootstrap-components >= 0.11.0.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
import dash_bootstrap_components as dbc
from dash import Input, Output, dcc, html

PLOTLY_LOGO = "https://images.plot.ly/logo/new-branding/plotly-logomark.png"
LOGO = "https://placehold.co/100x100"

app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP, dbc.icons.FONT_AWESOME])

Expand All @@ -27,7 +27,7 @@
[
# width: 3rem ensures the logo is the exact width of the
# collapsed sidebar (accounting for padding)
html.Img(src=PLOTLY_LOGO, style={"width": "3rem"}),
html.Img(src=LOGO, style={"width": "3rem"}),
html.H2("Sidebar"),
],
className="sidebar-header",
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/multi-page-apps/navbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
feature you must install dash-bootstrap-components >= 0.11.0.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
feature you must install dash-bootstrap-components >= 0.11.0.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
feature you must install dash-bootstrap-components >= 0.11.0.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
collapse component and the CSS that rotates the chevron icon respectively.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/multi-page-apps/simple_sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
this feature you must install dash-bootstrap-components >= 0.11.0.

For more details on building multi-page Dash applications, check out the Dash
documentation: https://dash.plot.ly/urls
documentation: https://dash.plotly.com/urls
"""

import dash
Expand Down
Loading