Skip to content

Commit b2594be

Browse files
authored
Merge pull request #3547 from plotly/release/4.0.0rc5
Release `v4.0.0rc5`
2 parents a4da2fc + 58d63de commit b2594be

File tree

16 files changed

+386
-25
lines changed

16 files changed

+386
-25
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5+
## [4.0.0rc5] - 2025-12-16
6+
7+
## Added
8+
- New prop in `dcc.Upload` allows users to recursively upload entire folders at once
9+
10+
## Changed
11+
- Bugfixes for feedback received in `rc4`
12+
513
## [4.0.0rc4] - 2025-12-04
614

715
## Added

components/dash-core-components/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/dash-core-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "4.0.0-rc4",
3+
"version": "4.0.0-rc5",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",

components/dash-core-components/src/components/css/button.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
.dash-button {
22
line-height: 32px;
3-
background: color-mix(
4-
in srgb,
5-
var(--Dash-Fill-Interactive-Strong) 5%,
6-
transparent
7-
);
3+
background: var(--Dash-Fill-Interactive-Weak);
84
color: var(--Dash-Fill-Interactive-Strong);
95
padding: 0 calc(var(--Dash-Spacing) * 2);
106
border-radius: 4px;

components/dash-core-components/src/components/css/calendar.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@
4242
}
4343

4444
.dash-datepicker-calendar td.dash-datepicker-calendar-date-highlighted {
45-
background-color: color-mix(
46-
in srgb,
47-
var(--Dash-Fill-Interactive-Strong) 5%,
48-
transparent 95%
49-
);
45+
background-color: var(--Dash-Fill-Interactive-Weak);
5046
color: var(--Dash-Fill-Interactive-Strong);
5147
}
5248

components/dash-core-components/src/fragments/DatePickerRange.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,9 @@ const DatePickerRange = ({
384384
className="dash-datepicker-content"
385385
align="start"
386386
sideOffset={5}
387+
collisionBoundary={containerRef.current?.closest(
388+
'#_dash-app-content'
389+
)}
387390
onOpenAutoFocus={e => e.preventDefault()}
388391
onCloseAutoFocus={e => {
389392
e.preventDefault();

components/dash-core-components/src/fragments/DatePickerSingle.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ const DatePickerSingle = ({
203203
className="dash-datepicker-content"
204204
align="start"
205205
sideOffset={5}
206+
collisionBoundary={containerRef.current?.closest(
207+
'#_dash-app-content'
208+
)}
206209
onOpenAutoFocus={e => e.preventDefault()}
207210
onCloseAutoFocus={e => {
208211
e.preventDefault();

components/dash-core-components/src/fragments/Dropdown.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ const Dropdown = (props: DropdownProps) => {
458458
className="dash-dropdown-content"
459459
align="start"
460460
sideOffset={5}
461+
collisionBoundary={positioningContainerRef.current?.closest(
462+
'#_dash-app-content'
463+
)}
461464
onOpenAutoFocus={e => e.preventDefault()}
462465
onKeyDown={handleKeyDown}
463466
style={{

components/dash-core-components/tests/integration/upload/test_folder_upload.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ def test_upfd001_folder_upload_with_enable_folder_selection(dash_dcc):
1616
html.Div("Folder Upload Test", id="title"),
1717
dcc.Upload(
1818
id="upload-folder",
19-
children=html.Div(
20-
["Drag and Drop or ", html.A("Select Folder")]
21-
),
19+
children=html.Div(["Drag and Drop or ", html.A("Select Folder")]),
2220
style={
2321
"width": "100%",
2422
"height": "60px",
@@ -77,7 +75,9 @@ def test_upfd002_multiple_files_without_folder_selection(dash_dcc):
7775
html.Div("Multiple Files Test", id="title"),
7876
dcc.Upload(
7977
id="upload-multiple",
80-
children=html.Div(["Drag and Drop or ", html.A("Select Multiple Files")]),
78+
children=html.Div(
79+
["Drag and Drop or ", html.A("Select Multiple Files")]
80+
),
8181
style={
8282
"width": "100%",
8383
"height": "60px",

components/dash-html-components/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)