You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
* Loading component with basic spinner
Loading component with basic spinner
* Get loading prop from loading object, bump version
* Prop docs for Loading component
* Use new loading API and show propsName and componentName for now
* Add custom CSS spinner
* Update webpack to parse .jsx, update extract-meta to not parse .jsx
* Refactor into loading/ folder and pull out spinners into separate files
* Update default spinner
* Add props.type and Cube spinner
* Add default padding to cube spinner
* More spinners, fullscreen mode
* Fix Demo app and add Loading Demo
* Add component gallery back to demo using tabs
* Change prop names for Loading component to be more pythonic
* Color prop for Loading component - all spinners except GraphSpinner
* Add codemirror scripts back in index.html
* Fix for Input that causes dash-renderer tests to fail
* Change props.status to props.loading_state to be more specific
* Add docstring to type prop
* Revert Input changes back to master
* Fix formatting
* Refactor spinner type parsing
* Credit tobiasahlin for spinners in comments
* Append dash-circle-spinner to circle spinner html
* Change circlespinner to use prepended dash- classnames
* Prepend default spinner classes with dash-default-spinner
* Bump version for prerelease 0.41.0rc1
* Release candidate 2, fixes indent bug in _imports_
* Fixes bug with react-dom when renderering props.children
* Fix regression of default spinner animations caused by CSS changes
* Release candidate 3
* Add className and style props to loading component
* Update unit tests with Jest snapshots to test correct output
* Check if children have loading_state prop, and children's children if applicable
* Update dev-requirements with loading states prerelease version of dash-renderer
* dash -> 0.31.0 dev-requirements
* Rebuild package-lock.json
* Fix test by accept()ing confirmdialog twice, for now
* Update dash_renderer to 0.18.0rc2 for latest loading states api build
* Use new loading_states dash-renderer build to fix tests
* Remove tarball and get latest dash-renderer rc, fix scroll test
* Recurse children and get loading states
* Use latest dash-renderer RC to fix tests
* Fix formatting
* Fix formatting in test
* Add unit test for checking loading_state in children
* Get loading_state from children
* Small type fix
* Expose data-dash-is-loading attribute to all components with loading_state
* Style wrapper of DatePicker components so they don't change appearance
* Prerelease version 0.44.0rc2
* Changed to unreleased and added link
* fragments/ folder for components used internally such as spinners
* initial_loading_state -> isLoading
* Add style and className props to DatePicker components
* Refactored getLoadingState function
* Restore plotly-1.44.3.min.js
* Removed defaultProps.loading_state because it overrides loading_state prop coming from dash-renderer
* Revert version and dev-requirements
* Revert dev-requirements
* Try with dash 0.37.0rc1
* Use rc of loading states dash-renderer
Copy file name to clipboardExpand all lines: dash_core_components/Checklist.py
+9-27Lines changed: 9 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,19 @@ class Checklist(Component):
21
21
- labelStyle (dict; optional): The style of the <label> that wraps the checkbox input
22
22
and the option's label
23
23
- labelClassName (string; optional): The class of the <label> that wraps the checkbox input
24
-
and the option's label"""
24
+
and the option's label
25
+
- loading_state (optional): Object that holds the loading state object coming from dash-renderer. loading_state has the following type: dict containing keys 'is_loading', 'prop_name', 'component_name'.
26
+
Those keys have the following types:
27
+
- is_loading (boolean; optional): Determines if the component is loading or not
28
+
- prop_name (string; optional): Holds which property is loading
29
+
- component_name (string; optional): Holds the name of the component that is loading"""
Copy file name to clipboardExpand all lines: dash_core_components/ConfirmDialogProvider.py
+9-27Lines changed: 9 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,19 @@ class ConfirmDialogProvider(Component):
24
24
- submit_n_clicks_timestamp (number; optional): Last time the submit button was clicked.
25
25
- cancel_n_clicks (number; optional): Number of times the popup was canceled.
26
26
- cancel_n_clicks_timestamp (number; optional): Last time the cancel button was clicked.
27
-
- displayed (boolean; optional): Is the modal currently displayed."""
27
+
- displayed (boolean; optional): Is the modal currently displayed.
28
+
- loading_state (optional): Object that holds the loading state object coming from dash-renderer. loading_state has the following type: dict containing keys 'is_loading', 'prop_name', 'component_name'.
29
+
Those keys have the following types:
30
+
- is_loading (boolean; optional): Determines if the component is loading or not
31
+
- prop_name (string; optional): Holds which property is loading
32
+
- component_name (string; optional): Holds the name of the component that is loading"""
Copy file name to clipboardExpand all lines: dash_core_components/DatePickerRange.py
+11-27Lines changed: 11 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -72,19 +72,26 @@ class DatePickerRange(Component):
72
72
- clearable (boolean; optional): Whether or not the dropdown is "clearable", that is, whether or
73
73
not a small "x" appears on the right of the dropdown that removes
74
74
the selected value.
75
+
- style (dict; optional): CSS styles appended to wrapper div
76
+
- className (string; optional): Appends a CSS class to the wrapper div component.
75
77
- updatemode (a value equal to: 'singledate', 'bothdates'; optional): Determines when the component should update
76
78
its value. If `bothdates`, then the DatePicker
77
79
will only trigger its value when the user has
78
80
finished picking both dates. If `singledate`, then
79
81
the DatePicker will update its value
80
-
as one date is picked."""
82
+
as one date is picked.
83
+
- loading_state (optional): Object that holds the loading state object coming from dash-renderer. loading_state has the following type: dict containing keys 'is_loading', 'prop_name', 'component_name'.
84
+
Those keys have the following types:
85
+
- is_loading (boolean; optional): Determines if the component is loading or not
86
+
- prop_name (string; optional): Holds which property is loading
87
+
- component_name (string; optional): Holds the name of the component that is loading"""
0 commit comments