Skip to content

Commit e62e776

Browse files
committed
Build 2.9.0
1 parent dfbc3ef commit e62e776

27 files changed

+34199
-159
lines changed

dash/dash-renderer/build/dash_renderer.dev.js

Lines changed: 300 additions & 111 deletions
Large diffs are not rendered by default.

dash/dash-renderer/build/dash_renderer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/demo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/demo.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/package-info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-table",
3-
"version": "5.2.2",
3+
"version": "5.2.3",
44
"description": "Dash table",
55
"repository": {
66
"type": "git",
@@ -104,7 +104,7 @@
104104
"style-loader": "^3.3.1",
105105
"ts-loader": "^9.4.1",
106106
"typescript": "^4.8.4",
107-
"webpack": "^5.74.0",
107+
"webpack": "^5.76.2",
108108
"webpack-cli": "^4.10.0",
109109
"webpack-dev-server": "^4.11.1",
110110
"webpack-preprocessor": "^0.1.12",

dash/dcc/Checklist.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ class Checklist(Component):
3838
The currently selected value.
3939
4040
- inline (boolean; default False):
41-
Indicates whether labelStyle should be inline or not True:
42-
Automatically set { 'display': 'inline-block' } to labelStyle
43-
False: No additional styles are passed into labelStyle.
41+
Indicates whether the options labels should be displayed inline
42+
(True=horizontal) or in a block (False=vertical).
4443
4544
- className (string; optional):
4645
The class of the container (div).

dash/dcc/Geolocation.py

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# AUTO GENERATED FILE - DO NOT EDIT
2+
3+
from dash.development.base_component import Component, _explicitize_args
4+
5+
6+
class Geolocation(Component):
7+
"""A Geolocation component.
8+
The CurrentLocation component gets geolocation of the device from the web browser. See more info here:
9+
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API
10+
11+
Keyword arguments:
12+
13+
- id (string; optional):
14+
The ID used to identify this component in Dash callbacks.
15+
16+
- high_accuracy (boolean; default False):
17+
If True and if the device is able to provide a more accurate
18+
position, it will do so. Note that this can result in slower
19+
response times or increased power consumption (with a GPS chip on
20+
a mobile device for example). If False (the default value), the
21+
device can save resources by responding more quickly and/or using
22+
less power.
23+
24+
- local_date (string; optional):
25+
The local date and time when the device position was updated.
26+
Format: MM/DD/YYYY, hh:mm:ss p where p is AM or PM.
27+
28+
- maximum_age (number; default 0):
29+
The maximum age in milliseconds of a possible cached position that
30+
is acceptable to return. If set to 0, it means that the device
31+
cannot use a cached position and must attempt to retrieve the real
32+
current position. If set to Infinity the device must return a
33+
cached position regardless of its age. Default: 0.
34+
35+
- position (dict; optional):
36+
The position of the device. `lat`, `lon`, and `accuracy` will
37+
always be returned. The other data will be included when
38+
available, otherwise it will be NaN. `lat` is latitude in
39+
degrees. `lon` is longitude in degrees. `accuracy` is
40+
the accuracy of the lat/lon in meters. * `alt` is
41+
altitude above mean sea level in meters. `alt_accuracy` is
42+
the accuracy of the altitude in meters. `heading` is the
43+
compass heading in degrees. `speed` is the speed in meters
44+
per second.
45+
46+
`position` is a dict with keys:
47+
48+
- accuracy (number; optional)
49+
50+
- alt (number; optional)
51+
52+
- alt_accuracy (number; optional)
53+
54+
- heading (number; optional)
55+
56+
- lat (number; optional)
57+
58+
- lon (number; optional)
59+
60+
- speed (number; optional)
61+
62+
- position_error (dict; optional):
63+
Position error.
64+
65+
`position_error` is a dict with keys:
66+
67+
- code (number; optional)
68+
69+
- message (string; optional)
70+
71+
- show_alert (boolean; default False):
72+
If True, error messages will be displayed as an alert.
73+
74+
- timeout (number; default Infinity):
75+
The maximum length of time (in milliseconds) the device is allowed
76+
to take in order to return a position. The default value is
77+
Infinity, meaning that data will not be return until the position
78+
is available.
79+
80+
- timestamp (number; optional):
81+
The Unix timestamp from when the position was updated.
82+
83+
- update_now (boolean; default False):
84+
Forces a one-time update of the position data. If set to True in
85+
a callback, the browser will update the position data and reset
86+
update_now back to False. This can, for example, be used to
87+
update the position with a button or an interval timer."""
88+
89+
_children_props = []
90+
_base_nodes = ["children"]
91+
_namespace = "dash_core_components"
92+
_type = "Geolocation"
93+
94+
@_explicitize_args
95+
def __init__(
96+
self,
97+
id=Component.UNDEFINED,
98+
local_date=Component.UNDEFINED,
99+
timestamp=Component.UNDEFINED,
100+
position=Component.UNDEFINED,
101+
position_error=Component.UNDEFINED,
102+
show_alert=Component.UNDEFINED,
103+
update_now=Component.UNDEFINED,
104+
high_accuracy=Component.UNDEFINED,
105+
maximum_age=Component.UNDEFINED,
106+
timeout=Component.UNDEFINED,
107+
**kwargs
108+
):
109+
self._prop_names = [
110+
"id",
111+
"high_accuracy",
112+
"local_date",
113+
"maximum_age",
114+
"position",
115+
"position_error",
116+
"show_alert",
117+
"timeout",
118+
"timestamp",
119+
"update_now",
120+
]
121+
self._valid_wildcard_attributes = []
122+
self.available_properties = [
123+
"id",
124+
"high_accuracy",
125+
"local_date",
126+
"maximum_age",
127+
"position",
128+
"position_error",
129+
"show_alert",
130+
"timeout",
131+
"timestamp",
132+
"update_now",
133+
]
134+
self.available_wildcard_properties = []
135+
_explicit_args = kwargs.pop("_explicit_args")
136+
_locals = locals()
137+
_locals.update(kwargs) # For wildcard attrs and excess named props
138+
args = {k: _locals[k] for k in _explicit_args}
139+
140+
super(Geolocation, self).__init__(**args)

dash/dcc/Location.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ class Location(Component):
2525
- pathname (string; optional):
2626
pathname in window.location - e.g., \"/my/full/pathname\".
2727
28-
- refresh (boolean; default True):
29-
Refresh the page when the location is updated?.
28+
- refresh (a value equal to: 'callback-nav' | boolean; default True):
29+
Use `True` to navigate outside the Dash app or to manually refresh
30+
a page. Use `False` if the same callback that updates the Location
31+
component is also updating the page content - typically used in
32+
multi-page apps that do not use Pages. Use 'callback-nav' if you
33+
are updating the URL in a callback, or a different callback will
34+
respond to the new Location with updated content. This is typical
35+
with multi-page apps that use Pages. This will allow for
36+
navigating to a new page without refreshing the page.
3037
3138
- search (string; optional):
3239
search in window.location - e.g., \"?myargument=1\"."""

dash/dcc/RadioItems.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ class RadioItems(Component):
3838
The currently selected value.
3939
4040
- inline (boolean; default False):
41-
Indicates whether labelStyle should be inline or not True:
42-
Automatically set { 'display': 'inline-block' } to labelStyle
43-
False: No additional styles are passed into labelStyle.
41+
Indicates whether the options labels should be displayed inline
42+
(True=horizontal) or in a block (False=vertical).
4443
4544
- style (dict; optional):
4645
The style of the container (div).

dash/dcc/_imports_.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from .DatePickerSingle import DatePickerSingle
77
from .Download import Download
88
from .Dropdown import Dropdown
9+
from .Geolocation import Geolocation
910
from .Graph import Graph
1011
from .Input import Input
1112
from .Interval import Interval
@@ -33,6 +34,7 @@
3334
"DatePickerSingle",
3435
"Download",
3536
"Dropdown",
37+
"Geolocation",
3638
"Graph",
3739
"Input",
3840
"Interval",

dash/dcc/async-plotlyjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dcc/async-slider.js.LICENSE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

dash/dcc/dash_core_components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dcc/dash_core_components.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)