Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit d763596

Browse files
authored
merge dev into master 1.15.0 (#918)
1 parent 2309976 commit d763596

File tree

72 files changed

+869
-293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+869
-293
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.15.0] - 2021-01-19
6+
### Fixed
7+
- [#905](https://github.com/plotly/dash-core-components/pull/905) Make sure the `figure` prop of `dcc.Graph` receives updates from user interactions in the graph, by using the same `layout` object as provided in the prop rather than cloning it. Fixes [#879](https://github.com/plotly/dash-core-components/issues/879).
8+
- [#903](https://github.com/plotly/dash-core-components/pull/903) Part of fixing dash import bug https://github.com/plotly/dash/issues/1143
9+
10+
### Updated
11+
- [#911](https://github.com/plotly/dash-core-components/pull/911), [#906](https://github.com/plotly/dash-core-components/pull/906)
12+
- Upgraded Plotly.js to [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
13+
- Patch Release [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
14+
- Patch Release [1.58.3](https://github.com/plotly/plotly.js/releases/tag/v1.58.3)
15+
16+
### Added
17+
- [#888](https://github.com/plotly/dash-core-components/pull/888) Adds a `drag_value` prop to `dcc.Slider`to be able to fire callbacks from dragging and releasing the slider.
18+
519
## [1.14.1] - 2020-12-09
620
### Updated
721
- [#898](https://github.com/plotly/dash-core-components/pull/898)
@@ -1002,7 +1016,7 @@ LIMIT 10;
10021016
## [0.6.0] - 2017-07-18
10031017
### Added
10041018
- The `Slider` and the `RangeSlider` component can update when the user finishes dragging the slider rather than just while they drag. The default behaviour has remained the same (updates while dragging) but you can toggle that the updates only get fired on "mouse up" by setting `updatemode` to `'mouseup'` (`'drag'` is the default).
1005-
- A `Link` and `Location` were added. `Location` represents the address bar of the web browser and `Link` provides a way to modify the address bar without refreshing the page. Combined, these two components can be used to create a "single page app" with multiple URLs. That is, apps that have mulitple URLs but surfing between the different pages doesn't trigger a full page refresh like it would with traditional links.
1019+
- A `Link` and `Location` were added. `Location` represents the address bar of the web browser and `Link` provides a way to modify the address bar without refreshing the page. Combined, these two components can be used to create a "single page app" with multiple URLs. That is, apps that have multiple URLs but surfing between the different pages doesn't trigger a full page refresh like it would with traditional links.
10061020
- Previously, if callback functions weren't supplied to a component, it wouldn't update. This caused a lot of confusion: users would create a simple layout without any callbacks and then wonder why the sliders wouldn't slide or the text inputs wouldn't update. Now, all of the components manage their own state and their appearance will update regardless of whether Dash has assigned a callback to them.
10071021
10081022
## [0.5.3] - 2017-07-03

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dashCoreComponents
22
Title: Core Interactive UI Components for 'Dash'
3-
Version: 1.14.1
3+
Version: 1.15.0
44
Description: 'Dash' ships with supercharged components for interactive user interfaces. A core set of components, written and maintained by the 'Dash' team, is available in the 'dashCoreComponents' package. The source for this package is on GitHub: plotly/dash-core-components.
55
Depends: R (>= 3.0.2)
66
Imports:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "DashCoreComponents"
33
uuid = "1b08a953-4be3-4667-9a23-9da06441d987"
44
authors = ["Chris Parmer <chris@plotly.com>"]
5-
version = "1.14.1"
5+
version = "1.15.0"
66

77
[deps]
88
DashBase = "03207cf0-e2b3-4b91-9ca8-690cf0fb507e"

R/dccRangeSlider.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# AUTO GENERATED FILE - DO NOT EDIT
22

3-
dccRangeSlider <- function(id=NULL, marks=NULL, value=NULL, allowCross=NULL, className=NULL, count=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, pushable=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
3+
dccRangeSlider <- function(id=NULL, marks=NULL, value=NULL, drag_value=NULL, allowCross=NULL, className=NULL, count=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, pushable=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
44

5-
props <- list(id=id, marks=marks, value=value, allowCross=allowCross, className=className, count=count, disabled=disabled, dots=dots, included=included, min=min, max=max, pushable=pushable, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
5+
props <- list(id=id, marks=marks, value=value, drag_value=drag_value, allowCross=allowCross, className=className, count=count, disabled=disabled, dots=dots, included=included, min=min, max=max, pushable=pushable, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
66
if (length(props) > 0) {
77
props <- props[!vapply(props, is.null, logical(1))]
88
}
99
component <- list(
1010
props = props,
1111
type = 'RangeSlider',
1212
namespace = 'dash_core_components',
13-
propNames = c('id', 'marks', 'value', 'allowCross', 'className', 'count', 'disabled', 'dots', 'included', 'min', 'max', 'pushable', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
13+
propNames = c('id', 'marks', 'value', 'drag_value', 'allowCross', 'className', 'count', 'disabled', 'dots', 'included', 'min', 'max', 'pushable', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
1414
package = 'dashCoreComponents'
1515
)
1616

R/dccSlider.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# AUTO GENERATED FILE - DO NOT EDIT
22

3-
dccSlider <- function(id=NULL, marks=NULL, value=NULL, className=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
3+
dccSlider <- function(id=NULL, marks=NULL, value=NULL, drag_value=NULL, className=NULL, disabled=NULL, dots=NULL, included=NULL, min=NULL, max=NULL, tooltip=NULL, step=NULL, vertical=NULL, verticalHeight=NULL, updatemode=NULL, loading_state=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {
44

5-
props <- list(id=id, marks=marks, value=value, className=className, disabled=disabled, dots=dots, included=included, min=min, max=max, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
5+
props <- list(id=id, marks=marks, value=value, drag_value=drag_value, className=className, disabled=disabled, dots=dots, included=included, min=min, max=max, tooltip=tooltip, step=step, vertical=vertical, verticalHeight=verticalHeight, updatemode=updatemode, loading_state=loading_state, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
66
if (length(props) > 0) {
77
props <- props[!vapply(props, is.null, logical(1))]
88
}
99
component <- list(
1010
props = props,
1111
type = 'Slider',
1212
namespace = 'dash_core_components',
13-
propNames = c('id', 'marks', 'value', 'className', 'disabled', 'dots', 'included', 'min', 'max', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
13+
propNames = c('id', 'marks', 'value', 'drag_value', 'className', 'disabled', 'dots', 'included', 'min', 'max', 'tooltip', 'step', 'vertical', 'verticalHeight', 'updatemode', 'loading_state', 'persistence', 'persisted_props', 'persistence_type'),
1414
package = 'dashCoreComponents'
1515
)
1616

R/internal.R

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,126 @@
11
.dashCoreComponents_js_metadata <- function() {
22
deps_metadata <- list(`dash_core_components` = structure(list(name = "dash_core_components",
3-
version = "1.14.1", src = list(href = NULL,
3+
version = "1.15.0", src = list(href = NULL,
44
file = "deps"), meta = NULL,
55
script = 'async-datepicker.js',
66
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
77
all_files = FALSE, async = TRUE), class = "html_dependency"),
88
`dash_core_components` = structure(list(name = "dash_core_components",
9-
version = "1.14.1", src = list(href = NULL,
9+
version = "1.15.0", src = list(href = NULL,
1010
file = "deps"), meta = NULL,
1111
script = 'async-dropdown.js',
1212
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
1313
all_files = FALSE, async = TRUE), class = "html_dependency"),
1414
`dash_core_components` = structure(list(name = "dash_core_components",
15-
version = "1.14.1", src = list(href = NULL,
15+
version = "1.15.0", src = list(href = NULL,
1616
file = "deps"), meta = NULL,
1717
script = 'async-graph.js',
1818
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
1919
all_files = FALSE, async = TRUE), class = "html_dependency"),
2020
`dash_core_components` = structure(list(name = "dash_core_components",
21-
version = "1.14.1", src = list(href = NULL,
21+
version = "1.15.0", src = list(href = NULL,
2222
file = "deps"), meta = NULL,
2323
script = 'async-highlight.js',
2424
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
2525
all_files = FALSE, async = TRUE), class = "html_dependency"),
2626
`dash_core_components` = structure(list(name = "dash_core_components",
27-
version = "1.14.1", src = list(href = NULL,
27+
version = "1.15.0", src = list(href = NULL,
2828
file = "deps"), meta = NULL,
2929
script = 'async-markdown.js',
3030
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
3131
all_files = FALSE, async = TRUE), class = "html_dependency"),
3232
`dash_core_components` = structure(list(name = "dash_core_components",
33-
version = "1.14.1", src = list(href = NULL,
33+
version = "1.15.0", src = list(href = NULL,
3434
file = "deps"), meta = NULL,
3535
script = 'async-slider.js',
3636
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
3737
all_files = FALSE, async = TRUE), class = "html_dependency"),
3838
`dash_core_components` = structure(list(name = "dash_core_components",
39-
version = "1.14.1", src = list(href = NULL,
39+
version = "1.15.0", src = list(href = NULL,
4040
file = "deps"), meta = NULL,
4141
script = 'async-upload.js',
4242
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
4343
all_files = FALSE, async = TRUE), class = "html_dependency"),
4444
`dash_core_components` = structure(list(name = "dash_core_components",
45-
version = "1.14.1", src = list(href = NULL,
45+
version = "1.15.0", src = list(href = NULL,
4646
file = "deps"), meta = NULL,
4747
script = 'async-datepicker.js.map',
4848
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
4949
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
5050
`dash_core_components` = structure(list(name = "dash_core_components",
51-
version = "1.14.1", src = list(href = NULL,
51+
version = "1.15.0", src = list(href = NULL,
5252
file = "deps"), meta = NULL,
5353
script = 'async-dropdown.js.map',
5454
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
5555
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
5656
`dash_core_components` = structure(list(name = "dash_core_components",
57-
version = "1.14.1", src = list(href = NULL,
57+
version = "1.15.0", src = list(href = NULL,
5858
file = "deps"), meta = NULL,
5959
script = 'async-graph.js.map',
6060
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
6161
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
6262
`dash_core_components` = structure(list(name = "dash_core_components",
63-
version = "1.14.1", src = list(href = NULL,
63+
version = "1.15.0", src = list(href = NULL,
6464
file = "deps"), meta = NULL,
6565
script = 'async-highlight.js.map',
6666
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
6767
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
6868
`dash_core_components` = structure(list(name = "dash_core_components",
69-
version = "1.14.1", src = list(href = NULL,
69+
version = "1.15.0", src = list(href = NULL,
7070
file = "deps"), meta = NULL,
7171
script = 'async-markdown.js.map',
7272
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
7373
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
7474
`dash_core_components` = structure(list(name = "dash_core_components",
75-
version = "1.14.1", src = list(href = NULL,
75+
version = "1.15.0", src = list(href = NULL,
7676
file = "deps"), meta = NULL,
7777
script = 'async-slider.js.map',
7878
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
7979
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
8080
`dash_core_components` = structure(list(name = "dash_core_components",
81-
version = "1.14.1", src = list(href = NULL,
81+
version = "1.15.0", src = list(href = NULL,
8282
file = "deps"), meta = NULL,
8383
script = 'async-upload.js.map',
8484
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
8585
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
8686
`dash_core_components` = structure(list(name = "dash_core_components",
87-
version = "1.14.1", src = list(href = NULL,
87+
version = "1.15.0", src = list(href = NULL,
8888
file = "deps"), meta = NULL,
8989
script = 'dash_core_components.min.js',
9090
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
9191
all_files = FALSE), class = "html_dependency"),
9292
`dash_core_components` = structure(list(name = "dash_core_components",
93-
version = "1.14.1", src = list(href = NULL,
93+
version = "1.15.0", src = list(href = NULL,
9494
file = "deps"), meta = NULL,
9595
script = 'dash_core_components.min.js.map',
9696
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
9797
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
9898
`dash_core_components-shared` = structure(list(name = "dash_core_components-shared",
99-
version = "1.14.1", src = list(href = NULL,
99+
version = "1.15.0", src = list(href = NULL,
100100
file = "deps"), meta = NULL,
101101
script = 'dash_core_components-shared.js',
102102
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
103103
all_files = FALSE), class = "html_dependency"),
104104
`dash_core_components-shared` = structure(list(name = "dash_core_components-shared",
105-
version = "1.14.1", src = list(href = NULL,
105+
version = "1.15.0", src = list(href = NULL,
106106
file = "deps"), meta = NULL,
107107
script = 'dash_core_components-shared.js.map',
108108
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
109109
all_files = FALSE, dynamic = TRUE), class = "html_dependency"),
110110
`dash_core_components` = structure(list(name = "dash_core_components",
111-
version = "1.14.1", src = list(href = NULL,
111+
version = "1.15.0", src = list(href = NULL,
112112
file = "deps"), meta = NULL,
113113
script = 'plotly.min.js',
114114
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
115115
all_files = FALSE, async = 'eager'), class = "html_dependency"),
116116
`dash_core_components` = structure(list(name = "dash_core_components",
117-
version = "1.14.1", src = list(href = NULL,
117+
version = "1.15.0", src = list(href = NULL,
118118
file = "deps"), meta = NULL,
119119
script = 'async-plotlyjs.js',
120120
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
121121
all_files = FALSE, async = 'lazy'), class = "html_dependency"),
122122
`dash_core_components` = structure(list(name = "dash_core_components",
123-
version = "1.14.1", src = list(href = NULL,
123+
version = "1.15.0", src = list(href = NULL,
124124
file = "deps"), meta = NULL,
125125
script = 'async-plotlyjs.js.map',
126126
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",

0 commit comments

Comments
 (0)