Skip to content

Commit

Permalink
bump react version 0.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-ruoxi committed Mar 19, 2024
1 parent 6c5d193 commit aa3abb3
Show file tree
Hide file tree
Showing 59 changed files with 10,100 additions and 7,731 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashMpComponents
Title: Dash components for the Materials Project
Version: 0.4.43
Version: 0.4.44
Description: Dash components for the Materials Project
Depends: R (>= 3.0.2)
Imports:
Expand Down
7 changes: 5 additions & 2 deletions dash_mp_components/BibCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, title=
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(BibCard, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/BibFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, format
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(BibFilter, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/BibjsonCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, bibjso
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(BibjsonCard, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/BibtexButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, doi=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(BibtexButton, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/CameraContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, **kwargs):
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(CameraContextProvider, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/CrossrefCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, crossr
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(CrossrefCard, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/CrystalToolkitScene.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(CrystalToolkitScene, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/DataBlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DataBlock, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/DataTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, data=C
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DataTable, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/Download.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def __init__(self, id=Component.UNDEFINED, data=Component.UNDEFINED, isBase64=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Download, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/DownloadButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DownloadButton, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/DownloadDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DownloadDropdown, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/Drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Drawer, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/DrawerContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ def __init__(self, children=None, **kwargs):
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DrawerContextProvider, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/DrawerTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DrawerTrigger, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/Dropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Dropdown, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/DualRangeSlider.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, valueM
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(DualRangeSlider, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/Enlargeable.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Enlargeable, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/FilterField.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(FilterField, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/Formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Formula, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/GlobalSearchBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def __init__(self, redirectRoute=Component.UNDEFINED, autocompleteFormulaUrl=Com
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(GlobalSearchBar, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/GraphComponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def __init__(self, id=Component.UNDEFINED, graph=Component.UNDEFINED, options=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(GraphComponent, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/JsonView.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def __init__(self, id=Component.UNDEFINED, src=Component.UNDEFINED, name=Compone
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(JsonView, self).__init__(**args)
2 changes: 0 additions & 2 deletions dash_mp_components/Link.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ def __init__(self, children=None, href=Component.REQUIRED, target=Component.UNDE
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in ['href']:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Link, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/Markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Markdown, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/MatSidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def __init__(self, id=Component.UNDEFINED, currentApp=Component.UNDEFINED, appId
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(MatSidebar, self).__init__(**args)
7 changes: 5 additions & 2 deletions dash_mp_components/MaterialsInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, inputC
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(MaterialsInput, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/Modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Modal, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/ModalContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, active=Component.UNDEF
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(ModalContextProvider, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/ModalTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(ModalTrigger, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/Navbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(Navbar, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/NavbarDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ def __init__(self, children=None, className=Component.UNDEFINED, isArrowless=Com
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(NavbarDropdown, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/NotificationDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ def __init__(self, children=None, className=Component.UNDEFINED, items=Component
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(NotificationDropdown, self).__init__(children=children, **args)
7 changes: 5 additions & 2 deletions dash_mp_components/OpenAccessButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def __init__(self, id=Component.UNDEFINED, doi=Component.UNDEFINED, className=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args}

args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(OpenAccessButton, self).__init__(**args)
5 changes: 4 additions & 1 deletion dash_mp_components/PeriodicContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, disabledElements=Compo
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(PeriodicContext, self).__init__(children=children, **args)
5 changes: 4 additions & 1 deletion dash_mp_components/PeriodicContextTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, disabledElements=Compo
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
super(PeriodicContextTable, self).__init__(children=children, **args)
Loading

0 comments on commit aa3abb3

Please sign in to comment.