dash-core-components 1.16.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +8 -44
  2. package/dash_core_components/async-datepicker.js +1 -1
  3. package/dash_core_components/async-datepicker.js.map +1 -1
  4. package/dash_core_components/async-dropdown.js +2 -2
  5. package/dash_core_components/async-dropdown.js.map +1 -1
  6. package/dash_core_components/async-graph.js +1 -1
  7. package/dash_core_components/async-graph.js.map +1 -1
  8. package/dash_core_components/async-highlight.js +1 -1
  9. package/dash_core_components/async-highlight.js.map +1 -1
  10. package/dash_core_components/async-markdown.js +2 -2
  11. package/dash_core_components/async-markdown.js.map +1 -1
  12. package/dash_core_components/async-plotlyjs.js +2 -2
  13. package/dash_core_components/async-slider.js +1 -2
  14. package/dash_core_components/async-slider.js.map +1 -1
  15. package/dash_core_components/async-upload.js +1 -1
  16. package/dash_core_components/async-upload.js.map +1 -1
  17. package/dash_core_components/dash_core_components-shared.js +2 -2
  18. package/dash_core_components/dash_core_components-shared.js.map +1 -1
  19. package/dash_core_components/dash_core_components.js +3 -0
  20. package/dash_core_components/dash_core_components.js.map +1 -0
  21. package/dash_core_components/plotly.min.js +30 -26
  22. package/lib/components/Checklist.react.js +77 -35
  23. package/lib/components/Clipboard.react.js +354 -0
  24. package/lib/components/ConfirmDialog.react.js +16 -12
  25. package/lib/components/ConfirmDialogProvider.react.js +19 -15
  26. package/lib/components/DatePickerRange.react.js +111 -97
  27. package/lib/components/DatePickerSingle.react.js +95 -81
  28. package/lib/components/Download.react.js +16 -12
  29. package/lib/components/Dropdown.react.js +69 -47
  30. package/lib/components/Graph.react.js +36 -24
  31. package/lib/components/Input.react.js +98 -92
  32. package/lib/components/Interval.react.js +18 -12
  33. package/lib/components/Link.react.js +36 -30
  34. package/lib/components/Loading.react.js +21 -15
  35. package/lib/components/Location.react.js +15 -13
  36. package/lib/components/LogoutButton.react.js +18 -14
  37. package/lib/components/Markdown.react.js +23 -17
  38. package/lib/components/RadioItems.react.js +77 -35
  39. package/lib/components/RangeSlider.react.js +61 -55
  40. package/lib/components/Slider.react.js +52 -46
  41. package/lib/components/Store.react.js +16 -16
  42. package/lib/components/Tab.react.js +6 -2
  43. package/lib/components/Tabs.react.js +31 -22
  44. package/lib/components/Textarea.react.js +19 -13
  45. package/lib/components/Tooltip.react.js +152 -0
  46. package/lib/components/Upload.react.js +23 -17
  47. package/lib/components/css/Dropdown.css +1 -1
  48. package/lib/fragments/DatePickerRange.react.js +28 -17
  49. package/lib/fragments/DatePickerSingle.react.js +28 -17
  50. package/lib/fragments/Dropdown.react.js +29 -21
  51. package/lib/fragments/Graph.privateprops.js +1 -1
  52. package/lib/fragments/Graph.react.js +45 -29
  53. package/lib/fragments/Loading/spinners/CircleSpinner.js +16 -16
  54. package/lib/fragments/Loading/spinners/CubeSpinner.js +11 -11
  55. package/lib/fragments/Loading/spinners/DefaultSpinner.js +9 -9
  56. package/lib/fragments/Loading/spinners/DotSpinner.js +7 -7
  57. package/lib/fragments/Loading/spinners/GraphSpinner.js +18 -18
  58. package/lib/fragments/Markdown.react.js +35 -32
  59. package/lib/fragments/RangeSlider.react.js +57 -22
  60. package/lib/fragments/Slider.react.js +40 -21
  61. package/lib/fragments/Upload.react.js +19 -13
  62. package/lib/index.js +72 -56
  63. package/lib/third-party/highlight.js +12 -0
  64. package/lib/utils/LazyLoader/datePickerRange.js +9 -3
  65. package/lib/utils/LazyLoader/datePickerSingle.js +9 -3
  66. package/lib/utils/LazyLoader/dropdown.js +9 -3
  67. package/lib/utils/LazyLoader/graph.js +9 -3
  68. package/lib/utils/LazyLoader/hljs.js +9 -3
  69. package/lib/utils/LazyLoader/markdown.js +9 -3
  70. package/lib/utils/LazyLoader/plotly.js +9 -3
  71. package/lib/utils/LazyLoader/rangeSlider.js +9 -3
  72. package/lib/utils/LazyLoader/slider.js +9 -3
  73. package/lib/utils/LazyLoader/upload.js +9 -3
  74. package/lib/utils/computeSliderMarkers.js +230 -0
  75. package/lib/utils/convertToMoment.js +4 -0
  76. package/lib/utils/optionTypes.js +52 -0
  77. package/package.json +70 -78
  78. package/CHANGELOG.md +0 -1050
  79. package/dash_core_components/dash_core_components.min.js +0 -2
  80. package/dash_core_components/dash_core_components.min.js.map +0 -1
package/CHANGELOG.md DELETED
@@ -1,1050 +0,0 @@
1
- # Change Log for dash-core-components
2
- All notable changes to this project will be documented in this file.
3
- This project adheres to [Semantic Versioning](http://semver.org/).
4
-
5
- ## [1.16.0] - 2021-04-08
6
- ### Added
7
- - [#863](https://github.com/plotly/dash-core-components/pull/863) Adds a new `Download` component. Along with this several utility functions are added to help construct the appropriate data format:
8
- - `dcc.send_file` - send a file from disk
9
- - `dcc.send_data_frame` - send a `DataFrame`, using one of its writer methods
10
- - `dcc.send_bytes` - send a bytestring or the result of a bytestring writer
11
- - `dcc.send_string` - send a string or the result of a string writer
12
-
13
- ### Changed
14
- - [#923](https://github.com/plotly/dash-core-components/pull/923)
15
- Set `autoComplete` to off in `dcc.Dropdown`. This fixes [#808](https://github.com/plotly/dash-core-components/issues/808)
16
-
17
- ### Fixed
18
- - [#930](https://github.com/plotly/dash-core-components/pull/930) Fixed a bug [#867](https://github.com/plotly/dash-core-components/issues/867) with `DatePickerRange` that would sometimes shift the allowed dates by one day.
19
- - [#934](https://github.com/plotly/dash-core-components/pull/934) Fixed a bug in `EnhancedTab` component that ignored `disabled_className` property
20
-
21
- ## [1.15.0] - 2021-01-19
22
- ### Fixed
23
- - [#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).
24
- - [#903](https://github.com/plotly/dash-core-components/pull/903) Part of fixing dash import bug https://github.com/plotly/dash/issues/1143
25
-
26
- ### Updated
27
- - [#911](https://github.com/plotly/dash-core-components/pull/911), [#906](https://github.com/plotly/dash-core-components/pull/906)
28
- - Upgraded Plotly.js to [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
29
- - Patch Release [1.58.4](https://github.com/plotly/plotly.js/releases/tag/v1.58.4)
30
- - Patch Release [1.58.3](https://github.com/plotly/plotly.js/releases/tag/v1.58.3)
31
-
32
- ### Added
33
- - [#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.
34
-
35
- ## [1.14.1] - 2020-12-09
36
- ### Updated
37
- - [#898](https://github.com/plotly/dash-core-components/pull/898)
38
- - Patch Release [1.58.2](https://github.com/plotly/plotly.js/releases/tag/v1.58.2)
39
-
40
- ## [1.14.0] - 2020-12-07
41
- ### Updated
42
- - [#889](https://github.com/plotly/dash-core-components/pull/889), [#893](https://github.com/plotly/dash-core-components/pull/893)
43
- - Upgraded Plotly.js to [1.58.1](https://github.com/plotly/plotly.js/releases/tag/v1.58.1)
44
- - Patch Release [1.58.1](https://github.com/plotly/plotly.js/releases/tag/v1.58.1)
45
- - [Feature release of Plotly.js 1.58.0](https://github.com/plotly/plotly.js/releases/tag/v1.58.0) which:
46
- - Add `ticklabelposition` attribute to cartesian axes and colorbars [#5275](https://github.com/plotly/plotly.js/pull/5275)
47
- - Add "strict" `autotypenumbers` to axes and `layout` [#5240](https://github.com/plotly/plotly.js/pull/5240)
48
- - Add `itemwidth` to legends [#5212](https://github.com/plotly/plotly.js/pull/5212)
49
- - Add `root.color` attribute to `sunburst` and `treemap` traces [#5232](https://github.com/plotly/plotly.js/pull/5232), [#5245](https://github.com/plotly/plotly.js/pull/5245)
50
- - Enable fast image rendering for all linear axes [#5307](https://github.com/plotly/plotly.js/pull/5307)
51
- - Rework matches and scaleanchor so they work together [#5287](https://github.com/plotly/plotly.js/pull/5287)
52
-
53
- ## [1.13.0] - 2020-10-29
54
- ### Added
55
- - [#871](https://github.com/plotly/dash-core-components/pull/871) Add Julia syntax highlighting support for dcc.Markdown
56
-
57
- ### Fixed
58
- - [#878](https://github.com/plotly/dash-core-components/pull/878)
59
- - Fixed [#751](https://github.com/plotly/dash-core-components/issues/751), a bug that causes `dcc.Slider` and `dcc.RangerSlider` tooltips to be visible even if the slider component isn't visible (e.g. overflow),
60
-
61
- ### Updated
62
- - [#875](https://github.com/plotly/dash-core-components/pull/875)
63
- - Upgraded Plotly.js to [1.57.1](https://github.com/plotly/plotly.js/releases/tag/v1.57.1)
64
- - Patch release [1.57.1](https://github.com/plotly/plotly.js/releases/tag/v1.57.1)
65
- - [Feature release of Plotly.js 1.57.0](https://github.com/plotly/plotly.js/releases/tag/v1.57.0) which:
66
- - Add "domain" axis references in layout `images`, `shapes` and `annotations` [#5014](https://github.com/plotly/plotly.js/pull/5014)
67
- - Add `rotation` attribute to `sunburst` traces [#5171](https://github.com/plotly/plotly.js/pull/5171), [#5201](https://github.com/plotly/plotly.js/pull/5201)
68
- - Add computed margins in "full-json" export [#5203](https://github.com/plotly/plotly.js/pull/5203)
69
- - [Feature release of Plotly.js 1.56.0](https://github.com/plotly/plotly.js/releases/tag/v1.56.0) which:
70
- - Introduce period positioning attributes on date axes in various cartesian traces [#5074](https://github.com/plotly/plotly.js/pull/5074), [#5175](https://github.com/plotly/plotly.js/pull/5175)
71
- - Add minexponent attribute to improve control over SI prefixes in axis tick labels [#5121](https://github.com/plotly/plotly.js/pull/5121),
72
- - Add sort attribute to sunburst and treemap traces to disable automatic sort [#5164](https://github.com/plotly/plotly.js/pull/5164)
73
- - Handle rgba colors in colorscale of surface traces [#5166](https://github.com/plotly/plotly.js/pull/5166)
74
- - Patch release [1.55.2](https://github.com/plotly/plotly.js/releases/tag/v1.55.2)
75
-
76
- ## [1.12.1] - 2020-09-16
77
- ### Fixed
78
- - [#854](https://github.com/plotly/dash-core-components/pull/854) Used `persistenceTransforms` to strip the time part of the datetime in the persited props of DatePickerSingle (date) and DatePickerRange (end_date, start_date), fixing [dcc#700](https://github.com/plotly/dash-core-components/issues/700).
79
-
80
- ### Added
81
- - [#850](https://github.com/plotly/dash-core-components/pull/850) Add property `prependData` to `Graph` to support `Plotly.prependTraces`
82
- + refactored the existing `extendTraces` API to be a single `mergeTraces` API that can handle both `prepend` as well as `extend`.
83
-
84
- ### Updated
85
- - [#864](https://github.com/plotly/dash-core-components/pull/864) Upgraded Plotly.js to [1.55.2](https://github.com/plotly/plotly.js/releases/tag/v1.55.2)
86
-
87
- ## [1.12.0] - 2020-09-03
88
- ### Updated
89
- - [#858](https://github.com/plotly/dash-core-components/pull/858)
90
- - Upgraded Plotly.js to [1.55.1](https://github.com/plotly/plotly.js/releases/tag/v1.55.1)
91
- - Patch release [1.55.1](https://github.com/plotly/plotly.js/releases/tag/v1.55.1)
92
- - [Feature release of Plotly.js 1.55.0](https://github.com/plotly/plotly.js/releases/tag/v1.55.0) which:
93
- - Introduce "period" `ticklabelmode` on cartesian date axes [#4993](https://github.com/plotly/plotly.js/pull/4993), [#5055](https://github.com/plotly/plotly.js/pull/5055), [#5060](https://github.com/plotly/plotly.js/pull/5060), [#5065](https://github.com/plotly/plotly.js/pull/5065), [#5088](https://github.com/plotly/plotly.js/pull/5088), [#5089](https://github.com/plotly/plotly.js/pull/5089)
94
- - Add new formatting options for weeks and quarters [#5026](https://github.com/plotly/plotly.js/pull/5026)
95
- - Add `source` attribute to `image` traces for fast rendering [#5075](https://github.com/plotly/plotly.js/pull/5075)
96
- - Add `zsmooth` attribute for discrete `heatmapgl` traces [#4953](https://github.com/plotly/plotly.js/pull/4953)
97
- - Add horizontal and vertical markers for arrow charts [#5010](https://github.com/plotly/plotly.js/pull/5010)
98
- - Add touch support to `rangeslider` [#5025](https://github.com/plotly/plotly.js/pull/5025)
99
-
100
- ## [1.11.0] - 2020-08-25
101
- ### Added
102
- - [#851](https://github.com/plotly/dash-core-components/pull/851) Add support for Dash.jl Julia built components
103
- - [#840](https://github.com/plotly/dash-core-components/pull/840) Add styling properties to `dcc.Loading` component
104
- + `parent_className`: Add CSS class for the outermost `dcc.Loading` parent div DOM node
105
- + `parent_style`: Add CSS style property for the outermost `dcc.Loading` parent div DOM node
106
- + provides a workaround for the previous behaviour the of `className` property, which changed in [#740](https://github.com/plotly/dash-core-components/pull/740). `parent_className` (or inline styles in `parent_style`) now allow CSS rules to be applied to the outermost `dcc.Loading` div, which is no longer covered by `className` on loading completion as of Dash Core Components `>= 1.9.1` (Dash `>= 1.11.0`).
107
-
108
- ## [1.10.2] - 2020-07-27
109
- - [#835](https://github.com/plotly/dash-core-components/pull/835)
110
- - Upgraded Plotly.js to [1.54.7](https://github.com/plotly/plotly.js/releases/tag/v1.54.7)
111
- - Patch release [1.54.7](https://github.com/plotly/plotly.js/releases/tag/v1.54.7)
112
- - Patch release [1.54.6](https://github.com/plotly/plotly.js/releases/tag/v1.54.6)
113
- - Patch release [1.54.5](https://github.com/plotly/plotly.js/releases/tag/v1.54.5)
114
- - Patch release [1.54.4](https://github.com/plotly/plotly.js/releases/tag/v1.54.4)
115
-
116
- ## [1.10.1] - 2020-06-17
117
- ### Updated
118
- - [#824](https://github.com/plotly/dash-core-components/pull/824)
119
- - Upgraded plotly.js to [1.54.3](https://github.com/plotly/plotly.js/releases/tag/v1.54.3)
120
- - Patch release [1.54.3](https://github.com/plotly/plotly.js/releases/tag/v1.54.3)
121
- - Patch release [1.54.2](https://github.com/plotly/plotly.js/releases/tag/v1.54.2)
122
-
123
- ## [1.10.0] - 2020-05-05
124
- ### Changed
125
- - [#793](https://github.com/plotly/dash-core-components/pull/793) Added title key (i.e. HTML `title` attribute) to option dicts in `dcc.Dropdown` `options[]` list property.
126
-
127
- ### Fixed
128
- - [#792](https://github.com/plotly/dash-core-components/pull/792) Improved the robustness of `dcc.Store` components, fixing [#456](https://github.com/plotly/dash-core-components/issues/456) whereby persistent storage could become corrupted, and fixing lifecycle issues that prevented adding `Store` components to the page after initial loading.
129
- - [#790](https://github.com/plotly/dash-core-components/pull/790) Fixed bug where the dcc.Dropdown dropdown was hidden by the dash_table.DataTable fixed rows and columns.
130
-
131
- ### Updated
132
- - [#800](https://github.com/plotly/dash-core-components/pull/800)
133
- - Upgraded plotly.js to [1.54.1](https://github.com/plotly/plotly.js/releases/tag/v1.54.1)
134
- - [Feature release of Plotly.js 1.54.0](https://github.com/plotly/plotly.js/releases/tag/v1.54.0) which:
135
- - Introduces new drag modes "drawline", "drawrect", "drawcircle", "drawopenpath", "drawclosedpath", adds optional modebar buttons for drawing & removing new shapes inside cartesian subplots, adds newshape and activeshape attributes to layout, and adds editable and fillrule attributes to layout.shapes[#4775](https://github.com/plotly/plotly.js/pull/4775)
136
- - Add angle and allowoverlap attributes to marker of scattermapbox traces[#4575](https://github.com/plotly/plotly.js/pull/4575), [#4794](https://github.com/plotly/plotly.js/pull/4794)
137
- - Also contains various other fixes
138
-
139
- ## [1.9.1] - 2020-04-10
140
- ### Changed
141
- - [#740](https://github.com/plotly/dash-core-components/pull/740) Keep components that are loading in the DOM, but not visible, as opposed to removing them entirely. This will ensure that the size of the component's container does not shrink or expand when the component goes into the loading state.
142
-
143
- ### Fixed
144
- - [#740](https://github.com/plotly/dash-core-components/pull/740) Fixed bug in which mapbox `uirevision` was not behaving when inside a `dcc.Loading` component
145
-
146
- ## [1.9.0] - 2020-04-01
147
- ### Changed
148
- - [#766](https://github.com/plotly/dash-core-components/pull/766) Update from React 16.8.6 to 16.13.0
149
- - [#768](https://github.com/plotly/dash-core-components/pull/768) Added title property to dcc.Link
150
- - [#776](https://github.com/plotly/dash-core-components/pull/776) Update dcc.Link to set href as children if children not defined. Makes href a required prop as well.
151
- - [#767](https://github.com/plotly/dash-core-components/pull/767) Updated dcc.Link to respond to click modifiers, and added a target prop.
152
- - [#774](https://github.com/plotly/dash-core-components/pull/774) Fixed dcc.Location firing callbacks for wrong property.
153
- - [772](https://github.com/plotly/dash-core-components/pull/772) Modified dcc.Link to work with absolute paths if refresh=True.
154
-
155
- ### Updated
156
- - [#784](https://github.com/plotly/dash-core-components/pull/784)
157
- - [Feature release of Plotly.js 1.53.0](https://github.com/plotly/plotly.js/releases/tag/v1.53.0) which contains:
158
- - `rangebreaks` on date axes [#4614](https://github.com/plotly/plotly.js/pull/4614)
159
- - (x|y) unified `hovermode` [#4620](https://github.com/plotly/plotly.js/pull/4620)
160
- - "hovered data" mode to `spikesnap` [#4665](https://github.com/plotly/plotly.js/pull/4665)
161
- - "full-json" export format to `Plotly.toImage` and `Plotly.dowloadImage` [#4593](https://github.com/plotly/plotly.js/pull/4593)
162
- - node.customdata and link.customdata in `sankey` traces [#4621](https://github.com/plotly/plotly.js/pull/4621)
163
- - `opacityscale` for `surface` traces [#4480](https://github.com/plotly/plotly.js/pull/4480)
164
-
165
- ## [1.8.1] -2020-02-27
166
- ### Added
167
- - [#760](https://github.com/plotly/dash-core-components/pull/760) Added R examples to package help
168
-
169
- ### Changed
170
- - [#762](https://github.com/plotly/dash-core-components/pull/762) Renamed async modules with hyphen `-` instead of tilde `~`
171
-
172
- ## [1.8.0] - 2020-02-04
173
- ### Changed
174
- - [#743](https://github.com/plotly/dash-core-components/pull/743) Location component now emits an event on URL path update from Link component
175
- - [#739](https://github.com/plotly/dash-core-components/pull/739) Async Slider and RangeSlider
176
- - [#729](https://github.com/plotly/dash-core-components/pull/729) Handle case where dcc fails to load when used inside an iframe with a sandbox attribute that only has allow-scripts
177
-
178
- ### Fixed
179
- - [#730](https://github.com/plotly/dash-core-components/pull/730) Fixed bug in which input components with type `number` did not correctly update their values.
180
- - [#731](https://github.com/plotly/dash-core-components/pull/731) Fixed bug where non-clearable dropdowns could still be cleared by typing backspace
181
-
182
- ### Updated
183
- - [#747](https://github.com/plotly/dash-core-components/pull/747)
184
- - Upgrade plotly.js to [1.52.2](https://github.com/plotly/plotly.js/releases/tag/v1.52.2)
185
-
186
- ## [1.7.1] - 2020-01-15 (JS-only)
187
- ### Fixed
188
- - [#734](https://github.com/plotly/dash-core-components/pull/734) Fix JS-facing release bug where `Plotly.js` was listed in `devDependencies` instead of `dependencies`
189
-
190
- ## [1.7.0] - 2020-01-14
191
- ### Added
192
- - [#711](https://github.com/plotly/dash-core-components/pull/711) Added support for `dcc.Link` (dccLink) and nested `dcc.Markdown` (dccMarkdown) react components inside of `dcc.Markdown`
193
- - [#706](https://github.com/plotly/dash-core-components/pull/706)
194
- - Added new `responsive` property that overrides the underlying Plotly.js graph responsiveness from Dash-land
195
- - Added responsiveness on graph parent element resize (previously only worked on window.resize)
196
- - Added new `dash-graph--pending` class to dcc.Graph, present while resizing, (re-)rendering, loading
197
-
198
- ### Changed
199
- - [#723](https://github.com/plotly/dash-core-components/pull/723) Changed npm package content to allow source code inclusion from other projects
200
- - [#725](https://github.com/plotly/dash-core-components/pull/725) Improve async graph performance by parallelizing resource fetching instead of fetching sequentially
201
- - [#720](https://github.com/plotly/dash-core-components/pull/720) `highlight.js` is now bundled into the package, and no longer sets the `window.hljs` variable. Similarly to how `plotly.js` is handled, it is overridden by a user-provided version if one exists.
202
-
203
- ### Updated
204
- - [#732](https://github.com/plotly/dash-core-components/pull/732)
205
- - Upgraded plotly.js to [1.52.1](https://github.com/plotly/plotly.js/releases/tag/v1.52.1)
206
- - [Feature release 1.52.0](https://github.com/plotly/plotly.js/releases/tag/v1.52.0) which contains:
207
- - Enable loading locale bundles before plotly.js bundles [#4453](https://github.com/plotly/plotly.js/pull/4453)
208
- - `ko` localization [#4315](https://github.com/plotly/plotly.js/pull/4315)
209
- - Patch release [1.52.1](https://github.com/plotly/plotly.js/releases/tag/v1.52.1) containing several bug fixes.
210
- - [#706](https://github.com/plotly/dash-core-components/pull/706)
211
- - Upgraded plotly.js to [1.51.3](https://github.com/plotly/plotly.js/releases/tag/v1.51.3)
212
-
213
- ## [1.6.0] - 2019-11-27
214
- ### Updated
215
- - Upgraded plotly.js to 1.51.2 [#708](https://github.com/plotly/dash-core-components/pull/708)
216
- - Patch release [1.51.2](https://github.com/plotly/plotly.js/releases/tag/v1.51.2) containing several bug fixes.
217
-
218
- ### Changed
219
- - [#695](https://github.com/plotly/dash-core-components/pull/695) Improvements to Slider and RangeSlider
220
- - Marks outside of the range specified by `min` and `max` are now omitted when the slider renders.
221
- - Padding is now dependent on the orientation (vertical or horizontal), and whether or not tooltips are always displayed.
222
- - The whitespace is now preserved for `marks` labels.
223
-
224
- ### Added
225
- - [#695](https://github.com/plotly/dash-core-components/pull/695) Added new property `verticalHeight` to Slider and RangeSlider, to allow the user to specify the height (in px) of vertical sliders. This defaults to `400`.
226
-
227
- ## [1.5.1] - 2019-11-14
228
- ### Fixed
229
- - [#696](https://github.com/plotly/dash-core-components/pull/696) Fix IE11 compatibility issues and ES5 compatibility and validation
230
-
231
- ### Changed
232
- - [#687](https://github.com/plotly/dash-core-components/pull/687/) Use `start_date`, `min_date_allowed`, `end_date`, or `max_date_allowed` for the initial visible month if the value of the parameter `initial_visible_month` is not supplied.
233
-
234
- ## [1.5.0] - 2019-11-04
235
- ### Added
236
- - [#692](https://github.com/plotly/dash-core-components/pull/692) Async DatePickerSingle, DatePickerRange, Dropdown, Markdown, Upload components
237
-
238
- ### Updated
239
- - [#693](https://github.com/plotly/dash-core-components/pull/693) Upgraded plotly.js to 1.51.1
240
- - [Feature release 1.51.0](https://github.com/plotly/plotly.js/releases/tag/v1.51.0) which contains:
241
- - A new `image` trace type to display 3- or 4-channel color images as data
242
- - `automargin` for `pie` charts for better readability when labeling lots of small slices
243
- - Toggle-type `updatemenus`
244
- - `zh-CN` localization
245
- - And various other small features and bug fixes
246
- - Patch release [1.51.1](https://github.com/plotly/plotly.js/releases/tag/v1.51.1) containing several bug fixes.
247
-
248
- ## [1.4.0] - 2019-10-29
249
- ### Added
250
- - [#616](https://github.com/plotly/dash-core-components/pull/616) Async Graph and Plotly.js
251
-
252
- ## [1.3.1] - 2019-10-17
253
- ### Updated
254
- - Upgraded plotly.js to 1.50.1 [#681](https://github.com/plotly/dash-core-components/issues/681)
255
- - Patch release [1.50.1](https://github.com/plotly/plotly.js/releases/tag/v1.50.1) containing several bug fixes.
256
-
257
- ### Fixed
258
- - [#681](https://github.com/plotly/dash-core-components/issues/681) Fix a bug with the dcc.Graph component logging errors in certain circumstances when nested inside a dcc.Loading component
259
-
260
- ## [1.3.0] - 2019-10-08
261
- ### Added
262
- - Added `search_value` prop to `Dropdown`, for server-side options loading/filtering. [#660](https://github.com/plotly/dash-core-components/pull/660)
263
-
264
- ### Updated
265
- - Upgraded plotly.js to 1.50.0 [#675](https://github.com/plotly/dash-core-components/pull/675)
266
- - [Feature release 1.50.0](https://github.com/plotly/plotly.js/releases/tag/v1.50.0) which contains:
267
- - A new `treemap` trace type for display of hierarchical data.
268
- - `texttemplate` support for all traces with on-graph text, and custom date formatting for templated on-graph and hover text.
269
- - Transitions (animation) for `bar` charts.
270
- - Numerous other performance improvements, features, and bug fixes.
271
- - Patch release [1.49.5](https://github.com/plotly/plotly.js/releases/tag/v1.49.5) containing several bug fixes.
272
-
273
- ## [1.2.1] - 2019-09-19
274
- ### Fixed
275
- - Fix regression in DatePickerRange, DatePickerSingle, Input
276
- [#652](https://github.com/plotly/dash-core-components/issues/652)
277
-
278
-
279
- ## [1.2.0] - 2019-09-17
280
- ### Added
281
- - Added support for persistence of user-edited props to value-input components: `Checklist`, `DatePickerRange`, `DatePickerSingle`, `Dropdown`, `Input`, `RadioItems`, `RangeSlider`, `Slider`, `Tabs`, and `Textarea`. New props are `persistence`, `persistence_type`, and `persisted_props`. Set `persistence` to a truthy value to enable, the other two modify persistence behavior. See [plotly/dash#903](https://github.com/plotly/dash/pull/903) for more details. [#646](https://github.com/plotly/dash-core-components/pull/646)
282
-
283
- ### Fixed
284
- - Fixed `Slider` and `RangeSlider` components with `tooltip.always_visible` [#640](https://github.com/plotly/dash-core-components/issues/640)
285
-
286
- - Fixed an infinite loop problem when `Graph` is wrapped by `Loading` component [#608](https://github.com/plotly/dash-core-components/issues/608)
287
-
288
- ## [1.1.2] - 2019-08-27
289
- ### Fixed
290
- - Fixed problems with `Graph` components leaking events and being recreated multiple times if declared with no ID [#604](https://github.com/plotly/dash-core-components/pull/604)
291
-
292
- - Fixed problem with `DatePickerRange` component about `clearable` not working [#614](https://github.com/plotly/dash-core-components/issues/614) and [#594](https://github.com/plotly/dash-core-components/issues/594)
293
-
294
- ### Updated
295
- - Upgraded plotly.js to 1.49.4 [#612](https://github.com/plotly/dash-core-components/issues/612)
296
- - Patch releases [1.49.4](https://github.com/plotly/plotly.js/releases/tag/v1.49.4), [1.49.3](https://github.com/plotly/plotly.js/releases/tag/v1.49.3), [1.49.2](https://github.com/plotly/plotly.js/releases/tag/v1.49.2)
297
-
298
-
299
- ## [1.1.1] - 2019-08-06
300
- ### Updated
301
- - Upgraded plotly.js to 1.49.1 [#595](https://github.com/plotly/dash-core-components/issues/595)
302
- - Patch release [1.49.1](https://github.com/plotly/plotly.js/releases/tag/v1.49.1)
303
-
304
- ## [1.1.0] - 2019-08-05
305
- ### Changed
306
- - Fixed inconsistent behavior of `input` with `type=number` [#580](https://github.com/plotly/dash-core-components/pull/580)
307
-
308
- ### Updated
309
- - Upgraded plotly.js to 1.49.0 [#589](https://github.com/plotly/dash-core-components/pull/589)
310
- - [Feature release 1.49.0](https://github.com/plotly/plotly.js/releases/tag/v1.49.0) which contains:
311
- - New `indicator` trace type for gauge and KPI displays.
312
- - Lots of tile map improvements: `choroplethmapbox` and `densitymapbox` trace types, numerous `style` options for `mapbox` subplots that do not require a Mapbox access token, and more.
313
- - Various bug fixes and smaller improvements.
314
-
315
- ## [1.0.0] - 2019-06-20
316
- ### Added
317
- - `Markdown` components support code highlighting - no need to switch to `SyntaxHighlighter`, which has been removed. Use triple backticks, with the opening backticks followed by the language name or abbreviation. [#562](https://github.com/plotly/dash-core-components/pull/562) Supported languages:
318
- - Bash
319
- - CSS
320
- - HTTP
321
- - JavaScript
322
- - Python
323
- - JSON
324
- - Markdown
325
- - HTML, XML
326
- - R
327
- - Ruby
328
- - SQL
329
- - Shell Session
330
- - YAML
331
- - Added a `dedent` prop to `Markdown` components, and enabled it by default - removing all matching leading whitespace from every line that has any non-whitespace content. You can disable this with `dedent=False`. [#569](https://github.com/plotly/dash-core-components/pull/569)
332
- - Ability to add tooltips to `Slider` and `RangeSlider`, which can be visible always or on hover. Tooltips also take a position argument. [#564](https://github.com/plotly/dash-core-components/pull/564)
333
-
334
- ### Fixed
335
- - Fixed `min_date_allowed` and `max_date_allowed` bug in `DatePickerRange` [#551](https://github.com/plotly/dash-core-components/issues/551)
336
- - Fixed unwanted `resize()` calls on unmounted `Graph`s [#534](https://github.com/plotly/dash-core-components/issues/534)
337
- - Fixed `tab--disabled` CSS class issue in `Tab` component with custom styling [#568](https://github.com/plotly/dash-core-components/pull/568)
338
-
339
- ### Changed
340
- - Changed `dcc.Checklist` prop `values` to `value`, to match all the other input components [#558](https://github.com/plotly/dash-core-components/pull/558). Also improved prop types for `Dropdown` and `RadioItems` `value` props to consistently accept both strings and numbers.
341
-
342
- ### Removed
343
- - 💥 Removed the `SyntaxHighlighter` component. This is now built into `Markdown` [#562](https://github.com/plotly/dash-core-components/pull/562).
344
- - Removed the `containerProps` prop in `Markdown` - after the refactor of [#562](https://github.com/plotly/dash-core-components/pull/562), its function is served by the `id`, `className`, and `style` props. [#569](https://github.com/plotly/dash-core-components/pull/569)
345
- - Removed `version.py` - use `__version__` in the main namespace instead. [#555](https://github.com/plotly/dash-core-components/pull/555)
346
-
347
- ### Updated
348
- - Upgraded plotly.js to 1.48.3 [#571](https://github.com/plotly/dash-core-components/pull/571)
349
- - [Feature release 1.48.0](https://github.com/plotly/plotly.js/releases/tag/v1.48.0) which contains:
350
- - New `funnel` and `funnelarea` trace types
351
- - Shared color axes and colorbars
352
- - Sorting cartesian axes by the value on the opposite axis
353
- - Improvements to `bar` & `waterfall` text, legend clicking, histogram binning, hover text, and more
354
- - Patch releases [1.48.3](https://github.com/plotly/plotly.js/releases/tag/v1.48.3), [1.48.2](https://github.com/plotly/plotly.js/releases/tag/v1.48.2), [1.48.1](https://github.com/plotly/plotly.js/releases/tag/v1.48.1), [1.47.4](https://github.com/plotly/plotly.js/releases/tag/v1.47.4), [1.47.3](https://github.com/plotly/plotly.js/releases/tag/v1.47.3), [1.47.2](https://github.com/plotly/plotly.js/releases/tag/v1.47.2), [1.47.1](https://github.com/plotly/plotly.js/releases/tag/v1.47.1) containing numerous bug fixes
355
-
356
- ## [0.48.0] - 2019-05-15
357
- ### Added
358
- - `figure` prop in `dcc.Graph` now accepts a `frames` key
359
- - Improved the `Dropdown` options description for dash-docs [#547](https://github.com/plotly/dash-core-components/pull/547)
360
- - Added `optionHeight` prop to `Dropdown` [#552](https://github.com/plotly/dash-core-components/pull/552)
361
- - Merged in R `dashCoreComponents` package and updated to 0.48.0
362
-
363
- ### Removed
364
- - Removed unused `key` prop from `dcc.ConfirmDialog`
365
-
366
- ## [0.47.0] - 2019-04-25
367
- ### Fixed
368
- - Fixed style regression in DatePickerSingle and DatePickerRange [#518](https://github.com/plotly/dash-core-components/issues/518)
369
- - **Breaking** - In `dcc.Input`, fixed several HTML properties that weren't properly camel cased and therefore were not actually applied in the DOM [#523](https://github.com/plotly/dash-core-components/pull/523/):
370
- - `autocomplete` is now `autoComplete`
371
- - `autofocus` is now `autoFocus`
372
- - `inputmode` is now `inputMode`
373
- - `maxlength` is now `maxLength`
374
- - `minlength` is now `minLength`
375
- - Improved property definitions of various components in anticipation of upcoming component validation (https://github.com/plotly/dash-renderer/pull/100/). [#523](https://github.com/plotly/dash-core-components/pull/523/)
376
- - **Breaking** - `n_blur_timestamp` & `n_submit_timestamp` in `Input` & `Textarea` is now a number instead of a date object/string. This matches the form of `n_clicks_timestamp` as used in `dash_html_components`. [#523](https://github.com/plotly/dash-core-components/pull/523/)
377
- - Fixed an issue with `ConfirmDialog` that could display multiple confirm popups instead of a single popup in certain contexts. [#523](https://github.com/plotly/dash-core-components/pull/523/)
378
- - `dcc.Markdown` `containerProps` is now applied to the component's container again. This was broken in 0.45.0's `react-markdown` upgrade.
379
-
380
- ### Changed
381
- - `dcc.Interval` will reset its timer when re-enabled. Previously, if the `dcc.Interval` was disabled, it's "clock would keep running": when it was reenabled, it would fire at the next `interval` on the previous clock's schedule, rather than `interval` milliseconds later. For example, previously the schedule might look like this:
382
- ```
383
- 0 seconds: interval started with `interval=5000`
384
- 5 seconds: `n_intervals=1`
385
- 7 seconds: callback sets `disabled=True`
386
- 10 seconds: interval continues to run, but doesn't fire an update
387
- 13 seconds: callback sets `disabled=False`
388
- 15 seconds: interval fires an update: `n_intervals=2`
389
- ```
390
-
391
- Now, it will look like this:
392
- ```
393
- 0 seconds: interval started with `interval=5000`
394
- 5 seconds: `n_intervals=1`
395
- 7 seconds: callback sets `disabled=True` - interval stops
396
- 13 seconds: callback sets `disabled=False` - clock resets
397
- 18 seconds: interval fires an update: `n_intervals=2`
398
- ```
399
-
400
- ## [0.46.0] - 2019-04-10
401
- ### Added
402
- - `extendData` prop for `Graph` component. This feeds `Plotly.extendTraces` for incremental data updates. [#461](https://github.com/plotly/dash-core-components/pull/461)
403
-
404
- ### Changed
405
- [#508](https://github.com/plotly/dash-core-components/pull/508)
406
- - Upgrade from React 15.4.2 to 16.8.6
407
- - Upgrade from react-date 12.3.0 to 20.1.0
408
-
409
- ### Fixed
410
- - Fix unnecessary `loading_state` prop for `Input` component. [#498](https://github.com/plotly/dash-core-components/issues/498)
411
- - Ensure `DatePickerSingle` callbacks fire with cleared dates. [#511](https://github.com/plotly/dash-core-components/pull/511)
412
- - Fixes incorrect default values for `config` prop of `Graph`. [#515](https://github.com/plotly/dash-core-components/pull/515)
413
-
414
- ### Updated
415
- - Upgraded plotly.js to 1.47.0 [#516](https://github.com/plotly/dash-core-components/pull/516)
416
- - [Feature release 1.47.0](https://github.com/plotly/plotly.js/releases/tag/v1.47.0) which contains:
417
- - New `volume` gl3d trace type
418
- - Interactive node grouping for Sankey diagrams, using box or lasso selection
419
- - Add way for Plotly.toImage and Plotly.downloadImage to export images with current graph width/height by passing width/height option as null
420
- - Improvements to hover labels, legends, and more
421
- - [Feature release 1.46.0](https://github.com/plotly/plotly.js/releases/tag/v1.46.0) which contains:
422
- - New `waterfall` trace type
423
- - New `sunburst` trace type
424
- - Implement connectgaps on surface traces
425
- - Implement hovertemplate for box and violin points
426
- - Display hover labels above modebar, ensuring that the hover labels are always visible within the graph div
427
- - Patch releases [1.46.1](https://github.com/plotly/plotly.js/releases/tag/v1.46.1), [1.45.3](https://github.com/plotly/plotly.js/releases/tag/v1.45.3), [1.45.2](https://github.com/plotly/plotly.js/releases/tag/v1.45.2), and [1.45.1](https://github.com/plotly/plotly.js/releases/tag/v1.45.1) containing numerous bug fixes
428
-
429
- ## [0.45.0] - 2019-03-25
430
- ### Added
431
- - `restyleData` prop for `Graph` component [#483](https://github.com/plotly/dash-core-components/pull/483)
432
-
433
- ### Changed
434
- - `dcc.Markdown` now uses GitHub-flavored markdown instead of CommonMark markdown. This was done as part of upgrading `react-markdown` third party library from 2.4.5 to [4.0.6](https://github.com/rexxars/react-markdown/blob/master/CHANGELOG.md#406---2019-01-04). Compare the differences in these online editors: [CommonMark editor](https://spec.commonmark.org/dingus/), [GitHub Markdown Editor](https://rexxars.github.io/react-markdown/). Notable changes:
435
- - A line break is now needed between paragraphs and lists.
436
- - Links are automatically rendered.
437
- - Many more features are supported like tables and strikethrough.
438
-
439
- ### Fixed
440
- - Fix Vertical Slider regression [#479](https://github.com/plotly/dash/issues/479)
441
- - Fix Slider regression [#485](https://github.com/plotly/dash/issues/485)
442
-
443
- ## [0.44.0] - 2019-03-04
444
- ### Added
445
- - Loading component [#267](https://github.com/plotly/dash/issues/267)
446
-
447
- ### Updated
448
- - Upgraded plotly.js to 1.45.0 [#470](https://github.com/plotly/dash-core-components/pull/470)
449
- - [Feature release 1.45.0](https://github.com/plotly/plotly.js/releases/tag/v1.45.0) which contains:
450
- - Sankey diagram improvements including circular networks, node grouping, and concentration colorscales
451
- - Matching cartesian axes
452
- - Better bar, box, and violin alignment control
453
- - Orthographic 3D projections
454
- - Hovertemplate support for more trace types, including all 3D traces
455
- - And many other features and bug fixes
456
- - Patch release [1.44.4](https://github.com/plotly/plotly.js/releases/tag/v1.44.4) containing numerous bug fixes
457
-
458
- ## [0.43.1] - 2019-02-11
459
- ### Updated
460
- - Upgraded plotly.js to 1.44.3 [#458](https://github.com/plotly/dash-core-components/pull/458)
461
- - Patch releases [1.44.2](https://github.com/plotly/plotly.js/releases/tag/v1.44.2) and [1.44.3](https://github.com/plotly/plotly.js/releases/tag/v1.44.3) containing numerous bug fixes
462
-
463
- ## [0.43.0] - 2019-01-25
464
- ### Added
465
- - Added event props `n_blur` and `n_clicks` - along with `n_blur_timestamp` and `n_clicks_timestamp` - in `Textarea` components, to maintain the functionality lost by removing the `click` and `blur` events. All other events were already covered by existing props. [#444](https://github.com/plotly/dash-core-components/pull/444)
466
- - Merged in R `dashCoreComponents` package and updated to 0.43.0
467
-
468
- ### Fixed
469
- - Fix dynamically disabling and enabling `Interval` components [#436](https://github.com/plotly/dash-core-components/pull/436)
470
- - Clear date in DatePickerSingle and DatePickerRange [#434](https://github.com/plotly/dash-core-components/issues/434)
471
-
472
- ### Removed
473
- - Removed `Event` system - see https://github.com/plotly/dash/issues/531 for details. [#444](https://github.com/plotly/dash-core-components/pull/444)
474
-
475
- ### Updated
476
- - Upgraded plotly.js to 1.44.1 [#445](https://github.com/plotly/dash-core-components/pull/445)
477
- - [Feature release 1.44.0](https://github.com/plotly/plotly.js/releases/tag/v1.44.0) which contains:
478
- - A new `isosurface` gl3d trace type
479
- - Animated transitions via `Plotly.react` using `layout.transitions`
480
- - `hovertemplate` support in many more trace types
481
- - And many other features and bug fixes
482
- - Patch releases [1.44.1](https://github.com/plotly/plotly.js/releases/tag/v1.44.1) and [1.43.2](https://github.com/plotly/plotly.js/releases/tag/v1.43.2) containing numerous bug fixes
483
-
484
- ## [0.42.1] - 2019-01-07
485
- ### Fixed
486
- - Fix `dcc.Store` type changes [#427](https://github.com/plotly/dash-core-components/pull/427)
487
-
488
- ## [0.42.0] - 2018-12-27
489
- ### Fixed
490
- - Fix `dcc.Store` null values in list causing an infinite loop [#424](https://github.com/plotly/dash-core-components/pull/424)
491
-
492
- ### Updated
493
- - Upgraded plotly.js to 1.43.1 [#423](https://github.com/plotly/dash-core-components/pull/423). This includes:
494
- - [Feature release 1.43.0](https://github.com/plotly/plotly.js/releases/tag/v1.43.0), which contains:
495
- - `multicategory` axis type for hierarchical categories
496
- - `uirevision` attributes to control persistence of user-driven changes to the graph
497
- - `hovertemplate` for more control of hover labels for certain trace types
498
- - Alignment options for titles and legend items
499
- - And many other features and bug fixes
500
- - Patch releases [1.43.1](https://github.com/plotly/plotly.js/releases/tag/v1.43.1), [1.42.5](https://github.com/plotly/plotly.js/releases/tag/v1.42.5), [1.42.4](https://github.com/plotly/plotly.js/releases/tag/v1.42.4), and [1.42.3](https://github.com/plotly/plotly.js/releases/tag/v1.42.3) containing numerous bug fixes
501
-
502
- ## [0.41.0] - 2018-12-11
503
- ### Added
504
- - `dangerously_allow_html` prop for Markdown component for allowing HTML.
505
-
506
- ## [0.40.5] - 2018-12-11
507
- ### Fixed
508
- - Fix typos in DatePickerSingle props [#361](https://github.com/plotly/dash-core-components/pull/361)
509
-
510
- ## [0.40.4] - 2018-12-10
511
- ### Fixed
512
- - Add map files to manifest [#413](https://github.com/plotly/dash-core-components/pull/413)
513
-
514
- ## [0.40.3] - 2018-12-07
515
- ### Added
516
- - Source map [#404](https://github.com/plotly/dash-core-components/issues/404)
517
- Related Dash issue [#480](https://github.com/plotly/dash/issues/480)
518
-
519
- ## [0.40.2] - 2018-12-04
520
- ### Fixed
521
- - Put Input value set in onBlur/onSubmit under a debounce check [#384](https://github.com/plotly/dash-core-components/pull/384)
522
-
523
- ## [0.40.1] - 2018-12-04
524
- ### Fixed
525
- - Fixed issue [#390](https://github.com/plotly/dash-core-components/issues/390) by providing better styles for vertical Tabs.
526
-
527
- ## [0.40.0] - 2018-11-28
528
- ### Added
529
- - Add Logout button (dash-deployment-server authentication integration) [#388](https://github.com/plotly/dash-core-components/pull/388)
530
-
531
- ## [0.39.0] - 2018-11-12
532
- ### Changed
533
- - Updated `react` and `react-dom` to version `^16.6.1`
534
- - Updated `react-docgen` to `^2.21.0`
535
- - Updated `react-select-fast-filter-options` to `^0.2.3`
536
- - Updated `react-virtualized-select` to `^3.1.3`
537
- - Upgraded `babel` and dependencies to `7.1.5`
538
- - Upgraded `enzyme` and dependencies to `3.7.0`
539
- - Removed `react-select` because it's unused - we're using `react-virtualized-select` instead.
540
-
541
- ## [0.38.1] - 2018-11-14
542
- ### Fixed
543
- - The issue [#115](https://github.com/plotly/dash-core-components/issues/115)
544
- with datepicker, which didn't appear when the date value is `None` was fixed.
545
- By default, current month would appear in such cases for
546
- `DatePickerRange` and `DatePickerSingle` components.
547
- See pull request https://github.com/plotly/dash-core-components/pull/201.
548
- - Refactored the way the Graph component would generate an unique id if none provided.
549
- - Default CSS imported via `style-loader` is now placed at top, so that user supplied CSS can overwrite it, fixes [#380](https://github.com/plotly/dash-core-components/issues/380)
550
-
551
- ## [0.38.0] - 2018-11-07
552
- ### Fixed
553
- - Changed the way the default CSS files for some components are loaded to being loaded with webpack instead of as dependencies.
554
-
555
- ## [0.37.2] - 2018-11-07
556
- ### Changed
557
- - Updated `react-select` to version `2.1.0`
558
-
559
- ## [0.37.1] - 2018-11-07
560
- ### Added
561
- - Added `clickannotation` event to `dcc.Graph`.
562
- See https://github.com/plotly/dash-core-components/pull/182.
563
-
564
- ## [0.37.0] - 2018-11-04
565
- ### Fixed
566
- - Some Input props weren't being picked up by React. Changed:
567
- - `autocomplete` to `autoComplete`
568
- - `autofocus` to `autoFocus`
569
- - `inputmode` to `inputMode`
570
- - `maxlength` to `maxLength`
571
- - `minlength` to `minLength`
572
- ### Added
573
- - Unit tests for `Input` component.
574
- - New `debounce` prop for `Input` component that determines if the input should update to a Dash server immediately, or on 'Enter' key. Fixes [#169](https://github.com/plotly/dash-core-components/issues/169)
575
- ### Changed
576
- - `min` and `max` prop now won't update the input when values are lower than or greater than `min` and `max` respectively. Fixes[#173](https://github.com/plotly/dash-core-components/issues/173)
577
- - `step` prop can now be a `number` and is therefor set correctly on the corresponding `<input/>` tag. Fixes [#292](https://github.com/plotly/dash-core-components/issues/292)
578
-
579
- ## [0.36.0] - 2018-11-01
580
- ### Fixed
581
- - The `npm start` command now runs the Demo app again [#346](https://github.com/plotly/dash-core-components/issues/346)
582
-
583
- ## [0.36.0] - 2018-10-31
584
- ### Updated
585
- - Upgraded plotly.js to 1.42.2 [#354](https://github.com/plotly/dash-core-components/pull/354). This includes:
586
- - [Feature release 1.42.0](https://github.com/plotly/plotly.js/releases/tag/v1.42.0) which contains:
587
- - A new trace type `parcats` (parallel categories)
588
- - `modebar` styling
589
- - `pie` trace titles
590
- - And many other features and bug fixes
591
- - Patch releases [1.42.2](https://github.com/plotly/plotly.js/releases/tag/v1.42.2) and [1.42.1](https://github.com/plotly/plotly.js/releases/tag/v1.42.1) containing numerous bug fixes
592
-
593
- ## [0.35.2] - 2018-10-30
594
- ### Fixed
595
- - Fix Input not used in callbacks resetting the value on updates. [#350](https://github.com/plotly/dash-core-components/pull/350)
596
-
597
- ## [0.35.1] - 2018-10-29
598
- ### Fixed
599
- - Fix Dropdown options prop docstring typo [#328](https://github.com/plotly/dash-core-components/pull/328/files)
600
- - Fix Input readonly prop -> readOnly [#348](https://github.com/plotly/dash-core-components/pull/348)
601
-
602
- ## [0.35.0] - 2018-10-22
603
- ### Added
604
- - n_blur/n_submit and timestamps props added to the Input component. [#326](https://github.com/plotly/dash-core-components/pull/326)
605
-
606
- ## [0.34.0] - 2018-10-17
607
- ### Added
608
- - `npm run test-unit` will run new Jest+Enzyme unit tests
609
- - Unit tests for Tabs component
610
- ### Fixed
611
- - Fixed bug in Tabs component where value was resetting if using callback-less mode [#331](https://github.com/plotly/dash-core-components/issues/331)
612
- - Fixed bug with default Tabs value not being set to children's Tab value (if it's set)
613
- - Fixed bug where Tabs.children.props wheren't being selected properly, related to [#84](https://github.com/plotly/dash-renderer/issues/84)
614
-
615
- ## [0.33.1] -- 2018-10-17
616
- ### Fixed
617
- - Fix Store component nested data [#333](https://github.com/plotly/dash-core-components/pull/333)
618
-
619
- ## [0.33.0] -- 2018-10-04
620
- ### Fixed
621
- - Patched plotly.js version 1.41.3 [#320](https://github.com/plotly/dash-core-components/pull/320). This includes patch releases [1.41.3](https://github.com/plotly/plotly.js/releases/tag/v1.41.3), [1.41.2](https://github.com/plotly/plotly.js/releases/tag/v1.41.2), and [1.41.1](https://github.com/plotly/plotly.js/releases/tag/v1.41.1) containing numerous bug fixes.
622
-
623
- ## [0.32.0] - 2018-10-2
624
- ### Added
625
- - Added Store component [#248](https://github.com/plotly/dash-core-components/pull/248)
626
-
627
-
628
- ## [0.31.0] - 2018-09-21
629
- ### Changed
630
- - Updated NPM scripts:
631
- - `test` now runs Selenium integration tests
632
- - `format` runs Prettier formatter
633
- - There are new `build` scripts, most notably `build:watch` runs a watcher and rebuilds upon changes
634
- - There's a new `publish-all` script that publishes to NPM and PyPi
635
- ### Fixed
636
- - The `start` script will now run the `Demo` application
637
-
638
- ## [0.30.2] - 2018-09-21
639
- ### Fixed
640
- - Fixed regression in Graph component where it wouldn't resize correctly [#256](https://github.com/plotly/dash-core-components/issues/256)
641
-
642
- ## [0.30.1] - 2018-09-20
643
- ### Fixed
644
- - Renamed `__init__.py` external_path to dash_core_components.min.js
645
-
646
- ## [0.30.0] - 2018-09-20
647
- ### Added
648
- - Unminified dev bundle support. [#293](https://github.com/plotly/dash-core-components/pull/293)
649
-
650
- ## [0.29.0] -- 2018-09-13
651
- ### Updated
652
- - Upgraded Plotly.js, the underlying library behind the `dash_core_components.Graph` component, to version 1.41.0 [#302](https://github.com/plotly/dash-core-components/pull/302). Feature release [1.41.0](https://github.com/plotly/plotly.js/releases/tag/v1.41.0) adds:
653
- - Stacked area charts, as part of `scatter` traces
654
- - A new `barpolar` trace type for polar "bar" traces. This replaces and improves the deprecated `area` trace type.
655
- - A `responsive` plot config option
656
- - And various other features and bug fixes.
657
-
658
- Many of these features were funded directly by companies that rely on this library. If your organization or company would like to sponsor particular features or bug fixes in these open source libraries, please reach out: http://plotly.com/products/consulting-and-oem
659
-
660
- ## [0.28.3] - 2018-09-07
661
- ### Changed
662
- - The `Interval` component's `max_interval` prop can now be used to stop/restart the interval. Fixes [#266](https://github.com/plotly/dash-core-components/issues/266)
663
- - The `Graph` component's `id` is now not required to be set.
664
- ### Fixed
665
- - Fixed bug where Graph would resize randomly when rerendered, for example in a dcc.Tabs component.
666
-
667
- ## [0.28.2] - 2018-09-06
668
- ### Fixed
669
- - Fixed bug in Tabs component where initial tab content wasn't rendering, [#282](https://github.com/plotly/dash-core-components/issues/282)
670
- - Fixed bug in Tabs component where no default Tab is selected if Tabs.value is empty
671
-
672
- ## [0.28.1] - 2018-08-29
673
- ### Changed
674
- - `candlestick` and `OHLC` charts are now plotted using the `Plotly.react` method instead of the `Plotly.newPlot` method.
675
- ### Fixed
676
- - Fix bug where front-end error was thrown when setting `Graph.figure = {}` (fixes [#260]).
677
-
678
- ## [0.28.0]
679
- ### Updated
680
- - Upgraded plotly.js to version 1.40.1 [#280](https://github.com/plotly/dash-core-components/pull/280). This includes [Feature release 1.40.0](https://github.com/plotly/plotly.js/releases/tag/v1.40.0) and patch releases [1.40.1](https://github.com/plotly/plotly.js/releases/tag/v1.40.1), [1.39.4](https://github.com/plotly/plotly.js/releases/tag/v1.39.4), [1.39.3](https://github.com/plotly/plotly.js/releases/tag/v1.39.3), and [1.39.2](https://github.com/plotly/plotly.js/releases/tag/v1.39.2), containing:
681
- - `contour` trace legend items
682
- - `piecolorway` and `extendpiecolors` attributes for more control over `pie` colors
683
- - And many other features and bug fixes
684
-
685
- ## [0.27.2]
686
- ### Fixed
687
- - `Tabs.children` can now be undefined, so you can update them dynamically. [#265](https://github.com/plotly/dash-core-components/issues/265)
688
- - `Tabs` Callback-less version no longer has the 2nd tab selected by default [#262](https://github.com/plotly/dash-core-components/issues/262)
689
- - Fixes bug with nested `Tabs` [#273](https://github.com/plotly/dash-core-components/issues/273) and [#272](https://github.com/plotly/dash-core-components/issues/272)
690
-
691
- ## [0.27.1]
692
- ### Fixed
693
- - `ConfirmDialogProvider` can now be used without a callback. [#241](https://github.com/plotly/dash-core-components/pull/241)
694
- - `ConfirmDialog`, only fire `submit` when `submit` is clicked. [#242](https://github.com/plotly/dash-core-components/issues/242) fixed in [#241](https://github.com/plotly/dash-core-components/pull/241)
695
-
696
- ## [0.27.0]
697
- ### Changed
698
- - `dash_core_components/__init__.py` now imports from python class files rather than generating classes at runtime,
699
- adding support for IDE autocomplete etc.
700
-
701
- ## [0.26.0]
702
- ### Added
703
- - New Tabs and Tab components! [#213](https://github.com/plotly/dash-core-components/pull/213#pullrequestreview-135893345)
704
-
705
- ## [0.25.1]
706
- ### Fixed
707
- - `__init__` version formatting for unpkg.
708
-
709
- ## [0.25.0]
710
- ### Added
711
- - `ConfirmDialog` and `ConfirmDialogProvider` components [#211](https://github.com/plotly/dash-core-components/pull/211)
712
-
713
- ## [0.24.1]
714
- ### Fixed
715
- - Improved DatePickerRange, fixing issues [#209](https://github.com/plotly/dash-core-components/issues/209) and [#152](https://github.com/plotly/dash-core-components/issues/152)
716
- - Link component now is a proper <a> tag so you can right click on it, and will scroll back to top. Fixes [#99](https://github.com/plotly/dash-core-components/issues/99), implemented in [#215](https://github.com/plotly/dash-core-components/pull/215)
717
- - Added `max_interval` prop to `Interval` component, fixing issue [#222](https://github.com/plotly/dash-core-components/issues/222)
718
-
719
-
720
- ## [0.24.0]
721
- ### Updated
722
- - Upgraded plotly.js, the underlying library behind the
723
- `dash_core_components.Graph` component, to version 1.39.1 [#228](https://github.com/plotly/dash-core-components/pull/228). This includes:
724
- - [Feature release 1.39.0](https://github.com/plotly/plotly.js/releases/tag/v1.39.0), which contains:
725
- - `layout.template` capability, along with `Plotly.makeTemplate` and `Plotly.validateTemplate`.
726
- - A new 3D `streamtube` trace type
727
- - `scattergl` on-graph text
728
- - `polar` polygon grids
729
- - And many other features and bug fixes
730
- - Patch releases [1.39.1](https://github.com/plotly/plotly.js/releases/tag/v1.39.1), [1.38.3](https://github.com/plotly/plotly.js/releases/tag/v1.38.3), [1.38.2](https://github.com/plotly/plotly.js/releases/tag/v1.38.2), and [1.38.1](https://github.com/plotly/plotly.js/releases/tag/v1.38.1) containing numerous bug fixes.
731
- - Many of these features were funded directly by companies that rely on this library. If your organization or company would like to sponsor particular features or bug fixes in these open source libraries, please reach out: http://plotly.com/products/consulting-and-oem
732
-
733
- ## [0.23.0]
734
- ### Updated
735
- - Upgraded plotly.js to version 1.38.0 [#207](https://github.com/plotly/dash-core-components/pull/207). This includes:
736
- - Feature releases [1.38.0](https://github.com/plotly/plotly.js/releases/tag/v1.38.0), [1.37.0](https://github.com/plotly/plotly.js/releases/tag/v1.37.0), and [1.36.0](https://github.com/plotly/plotly.js/releases/tag/v1.36.0), which contain:
737
- - A new 3D `cone` trace type to visualize vector fields
738
- - A new `splom` (aka Scatter PLOt Matrix) trace type
739
- - Performance improvements for `splom` and other multi-subplot graphs
740
- - `plotly_legendclick` and `plotly_legenddoubleclick` events
741
- - Multi-selection and click-to-select for `parcoords` axes
742
- - Fixed-size shapes
743
- - And many other features and bug fixes
744
- - Patch releases [1.37.1](https://github.com/plotly/plotly.js/releases/tag/v1.37.1) and [1.36.1](https://github.com/plotly/plotly.js/releases/tag/v1.36.1) containing numerous bug fixes
745
-
746
- ## [0.22.2] - 2018-05-22
747
- ### Fixed
748
- - `dcc.Input` component now handles `disabled=False` property.
749
- - Broken sourcemaps for debugging.
750
- ### Added
751
- - Testing configuration for CHROMEPATH and SERVER_PROCESSES
752
-
753
- ## [0.22.1] - 2018-04-09
754
- ### Fixed
755
- - Various bugs with the `ohlc` and `candlestick` chart type in the `dcc.Graph`
756
- component were fixed. See https://github.com/plotly/dash-core-components/pull/184.
757
-
758
- ## [0.22.0] - 2018-04-03
759
- ### Added
760
- - Previously, if a user named their app file `dash.py`, an unhelpful error
761
- message would be raised. Now, `import dash_core_components` will check if
762
- the user has a file named `dash.py` and warn the users appropriately.
763
- https://github.com/plotly/dash-core-components/pull/177
764
-
765
- ## [0.21.1] - 2018-03-28
766
- ### Fixed
767
- - In some cases, frequently multi-page apps, the `dcc.Graph` interactive properties
768
- will stop working (`selectedData`, `hoverData`, `relayoutData`). This should be fixed now. https://github.com/plotly/dash-core-components/pull/178
769
- - `dcc.Graph` will now resize after it it plotted for the first time. This should fix issues
770
- where the `dcc.Graph` component was not fitting to the size of its container. https://github.com/plotly/dash-core-components/pull/178
771
-
772
- ## [0.21.0] - 2018-03-12
773
- ### Updated
774
- - Upgraded Plotly.js, the underlying library behind the
775
- `dash_core_components.Graph` component, to version 1.35.2 [#174](https://github.com/plotly/dash-core-components/pull/174). This includes [Feature release 1.35.0](https://github.com/plotly/plotly.js/releases/tag/v1.35.0) and patch releases [1.35.2](https://github.com/plotly/plotly.js/releases/tag/v1.35.2), [1.35.1](https://github.com/plotly/plotly.js/releases/tag/v1.35.1), which contain:
776
- - An `automargin` attribute for cartesian axes with long tick labels
777
- - Support for typed arrays as data inputs
778
- - layout `grid` attribute for easy subplot generation
779
- - And numerous other features and bug fixes
780
-
781
- ## [0.20.2] - 2018-03-05
782
- ### Fixed
783
- - The `selectedData`, `clickData`, and `hoverData` callbacks were being attached without being
784
- removed every time the graph was updated. They are now removed and reattached. #172
785
-
786
- ## [0.20.1] - 2018-03-01
787
- ### Fixed
788
- - The `serve_locally` was broken - the Plotly.js bundle wasn't being served correctly.
789
-
790
- ## [0.20.0] - 2018-03-01
791
- ### Updated
792
- - Upgraded plotly.js, the underlying library behind the
793
- `dash_core_components.Graph` component, to version 1.34.0 [#170](https://github.com/plotly/dash-core-components/pull/170). [Feature release 1.34.0](https://github.com/plotly/plotly.js/releases/tag/v1.34.0) contains:
794
- - `Plotly.react`, a new do-it-all API method that creates and updates graphs using the same API signature
795
- - Constraint-type contours in `contour` traces
796
- - `notched` `box` traces
797
- - Localization machinery for auto-formatted date axis ticks
798
- - And many other features and bug fixes
799
-
800
- ## [0.19.0] - 2018-02-11
801
- ### Changed
802
- - `PropTypes` now uses `prop-types` package instead of `React` to support move to React 16+
803
-
804
- ## [0.18.1] - 2017-01-25
805
- ### Fixed
806
- - Patched plotly.js to version 1.33.1 [#151](https://github.com/plotly/dash-core-components/pull/151). [Patch release 1.33.1](https://github.com/plotly/plotly.js/releases/tag/v1.33.1) includes numerous bug fixes.
807
-
808
- ## [0.18.0] - 2017-01-19
809
- ### Updated
810
- - Upgraded Plotly.js, the underlying library behind the `dash_core_components.Graph` component, to [version 1.33.0](https://github.com/plotly/plotly.js/releases/tag/v1.33.0). This was a huge release! Here are some of the new features that are available:
811
- - Completely rewritten `scattergl` trace type using `regl` [plotly.js#2258](https://github.com/plotly/plotly.js/pull/2258)
812
- - Completely rewritten polar chart renderer accompanied by new `scatterpolar` and `scatterpolargl` trace types [plotly.js#2200](https://github.com/plotly/plotly.js/pull/2200). The old polar trace types - `scatter` with `(r, t)` coordinates, bar with `(r, t)` coordinates, and `area` - are now deprecated.
813
- - Add the ability to draw layout images and layout shapes on subplot with `scattergl` traces [plotly.js#2258](https://github.com/plotly/plotly.js/pull/2258)
814
- - Add `fill` capabilities to `scattergl` traces [plotly.js#2258](https://github.com/plotly/plotly.js/pull/2258)
815
- - Add `spikedistance`, `hoverdistance` and `spikesnap` for more customizable spikes and hover behavior on cartesian subplots [plotly.js#2247](https://github.com/plotly/plotly.js/pull/2247)
816
- - Add official Spanish translation (locale `es`) [plotly.js#2249](https://github.com/plotly/plotly.js/pull/2249)
817
- - Add official French translation (locale `fr`) [plotly.js#2252](https://github.com/plotly/plotly.js/pull/2252)
818
- - And numerous other features and bug fixes
819
- - Many of these features were funded directly by companies that rely on this library. If your organization or company would like to sponsor particular features or bug fixes in these open source libraries, please reach out: http://plotly.com/products/consulting-and-oem
820
-
821
- ## [0.17.1] - 2017-01-18
822
- ### Fixed
823
- - Previously, if `None` is supplied to `SyntaxHighlighter` or `Markdown`, the
824
- component would not render and the app would break. This is problematic because
825
- if `children` isn't supplied (as done in the case for when you are updating that
826
- property from a callback), `None` is the default property. Fixes https://github.com/plotly/dash-core-components/issues/147. This bug was introduced in
827
- v0.15.4.
828
-
829
- ## [0.17.0] - 2017-01-11
830
- ### Added
831
- - The `dcc.Graph` component now includes `pointNumbers` inside `selectedData`
832
- and `hoverData` if the chart type is a `histogram`, `histogram2d`, or `histogram2dcontour`.
833
-
834
- ## [0.16.0] - 2017-01-11
835
- ### Updated
836
- - Upgraded Plotly.js, the underlying library behind the `dash_core_components.Graph` component, to version 1.32.0 [#143](https://github.com/plotly/dash-core-components/pull/143). [Feature release 1.32.0](https://github.com/plotly/plotly.js/releases/tag/v1.32.0) includes:
837
- - Localization machinery, including an official German translation (locale `de`)
838
- - A new `violin` trace type
839
- - Selection improvements: `selected` and `unselected` attribute containers to customize selection states, Support for multi-selections, persistent selections.
840
- - `colorway` attribute to customize the trace-to-trace color sequence
841
- - Add `tickformatstops` to set tick format per cartesian axis range
842
- - And many more features and bug fixes
843
-
844
- ## [0.15.5] - 2017-01-08
845
- ### Fixed
846
- - The `dash_core_components.Location` and `dash_core_components.Link` properties
847
- should now work on Internet Explorer.
848
- Thanks to @nedned for suggesting a solution.
849
- Fixes https://github.com/plotly/dash-core-components/pull/113
850
-
851
- ## [0.15.4] - 2017-12-21
852
- ### Changed
853
- - The `dash_core_components.Location` component now supports `hash`,
854
- `href`, and `search` in addition to the already supported `pathname`
855
- (mimicking the `window.location` API). `href` can be used to handle
856
- `pathname`, `hash`, and `search` in aggregate, or each can be manipulated
857
- independently.
858
- - The `children` property of `dash_core_components.Markdown` and
859
- `dash_core_components.SyntaxHighlighter` now accepts an
860
- array of strings (previously it *had* to be a string). Now,
861
- if an array is provided, it is collapsed into a string with line
862
- breaks (see #134).
863
-
864
- ## [0.15.3] - 2017-12-11
865
- ### Fixed
866
- - Patched plotly.js to version 1.31.2 [#125](https://github.com/plotly/dash-core-components/pull/125), including patch releases [1.31.2](https://github.com/plotly/plotly.js/releases/tag/v1.31.2) and [1.31.1](https://github.com/plotly/plotly.js/releases/tag/v1.31.1) with numerous bug fixes.
867
-
868
-
869
- ## [0.15.2] - 2017-11-24
870
- ### :sweat_smile: Added
871
- - The `Interval` component has a new property: `n_intervals`. This is an
872
- integer that increases every time that the interval passes. This allows you
873
- to use the `Interval` component without using the `events=[Event(...)]` pattern
874
- inside the callback.
875
-
876
- This is similar to the `n_clicks` property of the `dash_html_components`
877
- components.
878
- This was the last use case for `events=[Event(...)]` inside the
879
- `dash_core_components` library. Ultimately, we may be able to deprecate this
880
- pattern.
881
-
882
- ### Changed
883
- - The `dash_core_components.Input(type='number')` component actually converts
884
- the values to floats or integers, instead of passing the numbers back as strings.
885
- https://github.com/plotly/dash-core-components/pull/100
886
- Big thanks to community contributor @Madhu94!
887
-
888
- ### Fixed
889
- - The `disable_click` property in the `dcc.Upload` component now works.
890
- https://github.com/plotly/dash-core-components/pull/106.
891
- Big thanks to community contributor @Akronix!
892
- - Several properties in several components had the wrong `propTypes`.
893
- This has been fixed, improving the documentation for the Dash python classes
894
- (and removing warnings in JS development).
895
- Big thanks to community contributor @Akronix!
896
-
897
- ## [0.15.1] - 2017-11-23
898
- ### Fixed
899
- - Attempt to fix the JS builds from 0.15.0 but actually nothing changed.
900
-
901
- ## [0.15.0] - 2017-11-19
902
- - Bad build. See 0.15.2 for the correct build
903
-
904
- ## [0.14.0] - 2017-10-17
905
- ### :sparkles: Added
906
- - An `Upload` component! :tada: See [https://plotly.com/dash/dash-core-components/upload](https://plotly.com/dash/dash-core-components/upload) for docs.
907
-
908
- ## [0.13.0] - 2017-10-05
909
- ### Updated
910
- - Upgraded plotly.js to version 1.31.0. This includes:
911
- - Two huge feature releases by the plotly.js team! :clap: - [1.31.0](https://github.com/plotly/plotly.js/releases/tag/v1.31.0) and [1.30.0](https://github.com/plotly/plotly.js/releases/tag/v1.30.0), which contain:
912
- - A new `table` trace type
913
- - `geo.center` making geo views fully reproducible
914
- - Extend lasso and select-box drag modes to `bar`, `histogram`, `scattergeo`, and `choropleth` trace types
915
- - `aggregate` transforms
916
- - And many other features and bug fixes
917
- - Patch release [1.30.1](https://github.com/plotly/plotly.js/releases/tag/v1.30.1) with bug fixes
918
-
919
- ## [0.12.7] - 2017-09-26
920
- ### :bug: Fixed
921
- - Fixed issues related to updating the `max_date_allowed` property of `DatePickerSingle` and `DatePickerRange` programmatically through callbacks
922
- - Clicking on the end date in the `DatePickerRange` will now open up the calendar to the end date (https://github.com/plotly/dash-core-components/issues/80)
923
-
924
- ### Maintenance
925
- - Cleaned up `DatePickerSingle` and `DatePickerRange`
926
-
927
- ## [0.12.6] - 2017-09-11
928
- ### :bug: Fixed
929
- - Non-ascii characters, like chinese characters, are now supported as
930
- search strings in the `dcc.Dropdown` component (https://github.com/plotly/dash-core-components/pull/75)
931
-
932
- ## [0.12.5] - 2017-09-11
933
- ### :bug: Fixed
934
- - The `Interval` component was constantly resetting its interval on every update. Initially reported in https://community.plotly.com/t/multiple-interval-object-in-a-single-page/5699/3
935
- - Removed the used `label` property from the `Slider` component
936
- - Provide a more descriptive documentation for the `marks` property of the `Slider` component
937
-
938
- ### :stars: Added
939
- - A `disabled` property on the `Interval` component will disable the interval component from firing its updates.
940
-
941
- ## [0.12.4] - 2017-08-18
942
- ### Added
943
- - Added `className` and `style` properties to the parent `div`s of the `Checklist`, `Dropdown`, `Graph` and `RadioItems` component. As requested in https://github.com/plotly/dash-core-components/issues/57, solved in https://github.com/plotly/dash-core-components/pull/60
944
-
945
- ## [0.12.3] - 2017-08-17
946
- ### Fixed
947
- - Previously, the `max_date_allowed` could not be selected. This issue has been fixed, issue first reported in https://community.plotly.com/t/solved-datepicker-in-dash/4816/10
948
-
949
- ## [0.12.2] - 2017-08-10
950
- ### Fixed
951
- - Previously, when the `options` of a `dcc.Dropdown` would change, the options would no longer be searchable. That has been fixed. Issue was originally reported in https://community.plotly.com/t/dropdown-not-searching-values-when-typing/5323/3
952
-
953
- ## [0.12.1] - 2017-08-09
954
- ### Fixed
955
- - Disabled portal settings on `dcc.DatePickerSingle` and `dcc.DatePickerRange` when `vertical=True`. `with_portal` and `with_full_screen_portal` will only apply if `vertical=False`.
956
-
957
- ## [0.12.0] - 2017-08-09
958
- ### Added
959
- - Added two new date picker components: `dcc.DatePickerSingle` and `dcc.DatePickerRange`
960
-
961
- ## [0.11.1] - 2017-08-07
962
- ### Fixed
963
- - Added support for all of the valid HTML attributes of the `Input` component.
964
- - Added support for a few more `type` values of the `Input` component. The
965
- full list of valid types are 'text', 'number', 'password', 'email', 'range', 'search', 'tel', 'url', 'hidden'.
966
- Note that type values that don't have cross-browser support are not included (such as `datetime`)
967
-
968
- ## [0.11.0] - 2017-08-04
969
- ### Added
970
- - The `Dropdown` component renders `options` much, much faster. It can render 50,000 options (client-side) without crashing! This fixes https://github.com/plotly/dash/issues/103
971
-
972
- ## [0.10.0] - 2017-08-03
973
- ### Updated
974
- - Upgraded plotly.js to version 1.29.3, including feature releases [1.29.0](https://github.com/plotly/plotly.js/releases/tag/v1.29.0) and [1.28.0](https://github.com/plotly/plotly.js/releases/tag/v1.28.0), and patch releases [1.29.3](https://github.com/plotly/plotly.js/releases/tag/v1.29.3), [1.29.2](https://github.com/plotly/plotly.js/releases/tag/v1.29.2), [1.29.1](https://github.com/plotly/plotly.js/releases/tag/v1.29.1), [1.28.2](https://github.com/plotly/plotly.js/releases/tag/v1.28.2), [1.28.1](https://github.com/plotly/plotly.js/releases/tag/v1.28.1), and [1.27.1](https://github.com/plotly/plotly.js/releases/tag/v1.27.1) This includes TONS of fixes and improvements, notably:
975
- - Add touch interactions to cartesian, gl2d and ternary subplots including for
976
- select and lasso drag modes
977
- - Add support for contour line labels in contour and contourcarpet traces
978
- - Add support for select and lasso drag modes on scattermapbox traces
979
- - Add reset view and toggle hover mode bar buttons to mapbox subplots
980
- - Add support for array marker.opacity settings in scattermapbox traces
981
- - Add namelength layout and trace attribute to control the trace name's
982
- visible length in hover labels
983
- - Add cliponaxis attribute to scatter and scatterternary traces to allow
984
- markers and text nodes to be displayed above their subplot's axes
985
- - Add axis layer attribute with 'above traces' and 'below traces' values
986
-
987
- ## [0.9.0] - 2017-07-28
988
- ### Added
989
- - A `config` property of the `Graph` component that exposes the [plotly.js config properties](https://plotly.com/javascript/configuration-options/). Here's an example that hides 2 buttons and makes the elements in the graph "editable":
990
- ```
991
- import dash
992
- import dash_core_components as dcc
993
- import dash_html_components as html
994
-
995
- app = dash.Dash()
996
-
997
- app.layout = html.Div([
998
- dcc.Graph(
999
- id='my-graph',
1000
- figure={'data': [{'x': [1, 2, 3]}]},
1001
- config={'editable': True, 'modeBarButtonsToRemove': ['pan2d', 'lasso2d']}
1002
- )
1003
- ])
1004
-
1005
- if __name__ == '__main__':
1006
- app.run_server(debug=True)
1007
- ```
1008
-
1009
- ## [0.8.0] - 2017-07-27
1010
- ### Added
1011
- - A new `Textarea` component for displaying the simple Textarea HTML element. The content of the `Textarea` is controlled through the `value` property:
1012
- ```
1013
- dcc.Textarea(id='my-text-area' value='''
1014
- SELECT * FROM MY_TABLES
1015
- LIMIT 10;
1016
- ''')
1017
- ```
1018
-
1019
- ## [0.7.1] - 2017-07-24
1020
- ### Fixed
1021
- - Clearing a Graph selection box sets the `selectedData` value to `None` (`null` in JavaScript). Before, it didn't change the `selectedData` property, preventing the user and the Dash developer from clearing selections. Fixes https://github.com/plotly/dash/issues/97, thanks to @pmbaumgartner for reporting.
1022
-
1023
-
1024
- ## [0.7.0] - 2017-07-20
1025
- ### Added
1026
- - The `clearable` property to the `Dropdown`, which toggles on and off the "x" on the side of the dropdown that clears the current selection.
1027
- - The `searchable` property to the `Dropdown`, which toggles on and off whether the `Dropdown` is searchable.
1028
-
1029
- ### Fixed
1030
- - Clicking on the little `x` on the side of the Dropdown to clear the currently selected value didn't work. Now it does. If `multi=false`, then `null` (or Python's `None`) is set. If `multi=True`, then `[]` is set.
1031
-
1032
- ## [0.6.0] - 2017-07-18
1033
- ### Added
1034
- - 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).
1035
- - 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.
1036
- - 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.
1037
-
1038
- ## [0.5.3] - 2017-07-03
1039
- ### Added
1040
- - A `range` object is now included in the `selectedData` object that specifies
1041
- that dimensions of the selected region.
1042
- - A `lassoPoints` object is now included in the `selectedData` object that
1043
- provides coordinates of the lassoed region.
1044
-
1045
- ## [0.5.2] - 2017-07-03
1046
- ### Added
1047
- - A new property `clear_on_unhover` on the `Graph` component will clear the
1048
- `hoverData` property when the user "unhovers" from a point if True. If False,
1049
- then the `hoverData` property will be equal to the data from the last point
1050
- that was hovered over. The default is False.