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

Commit 596048e

Browse files
authored
Merge pull request #90 from plotly/no-events-v1
No events v1
2 parents cf1256c + be67099 commit 596048e

File tree

279 files changed

+585
-4745
lines changed

Some content is hidden

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

279 files changed

+585
-4745
lines changed

.circleci/config.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ jobs:
5454
command: |
5555
. venv/bin/activate
5656
python --version
57-
python -m unittest tests.test_dash_html_components
58-
python -m unittest tests.test_integration
59-
python -m unittest tests.test_dash_import
57+
npm run test
6058
6159
"python-3.6":
6260
<<: *test-template

.npmignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ venv/
66
*.pyc
77
*.log
88
.DS_Store
9-
9+
.idea
10+
tests
11+
dist
12+
.circleci

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,25 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## Unreleased
6+
### Changed
7+
- Included 0.13.4 and 0.13.5 in v1
8+
59
## [1.0.0a1] - 2018-12-17
610
### Changed
7-
- Initial Dash 1.0 alpha release [#5](https://github.com/plotly/dash-core/issues/5)
11+
- Initial Dash 1.0 alpha release [#5](https://github.com/plotly/dash-core/issues/5)
12+
13+
## [0.13.5] - 2019-01-11
14+
### Changed
15+
- Added `.idea`, `tests`, `dist`, `.circleci` to npmignore.
16+
- Added repository url and long_description to setup.py
17+
18+
### Removed
19+
- Removed click events - these have been obsolete since 0.7.0 [#89](https://github.com/plotly/dash-html-components/pull/89)
20+
21+
## [0.13.4] - 2018-12-17
22+
### Fixed
23+
- Fix build from wrong dash version.
824

925
## [0.13.3] - 2018-12-17
1026
### Fixed

dash_html_components/A.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,13 @@ class A(Component):
4141
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
4242
- style (dict; optional): Defines CSS styles which will override styles previously set.
4343
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
44-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
45-
46-
Available events: 'click'"""
44+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4745
@_explicitize_args
4846
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, download=Component.UNDEFINED, href=Component.UNDEFINED, hrefLang=Component.UNDEFINED, media=Component.UNDEFINED, rel=Component.UNDEFINED, shape=Component.UNDEFINED, target=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4947
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5048
self._type = 'A'
5149
self._namespace = 'dash_html_components'
5250
self._valid_wildcard_attributes = ['data-', 'aria-']
53-
self.available_events = ['click']
5451
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5552
self.available_wildcard_properties = ['data-', 'aria-']
5653

dash_html_components/Abbr.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class Abbr(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'Abbr'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

dash_html_components/Acronym.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class Acronym(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'Acronym'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

dash_html_components/Address.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class Address(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'Address'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

dash_html_components/Area.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,13 @@ class Area(Component):
4343
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
4444
- style (dict; optional): Defines CSS styles which will override styles previously set.
4545
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
46-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
47-
48-
Available events: 'click'"""
46+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4947
@_explicitize_args
5048
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, alt=Component.UNDEFINED, coords=Component.UNDEFINED, download=Component.UNDEFINED, href=Component.UNDEFINED, hrefLang=Component.UNDEFINED, media=Component.UNDEFINED, rel=Component.UNDEFINED, shape=Component.UNDEFINED, target=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
5149
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5250
self._type = 'Area'
5351
self._namespace = 'dash_html_components'
5452
self._valid_wildcard_attributes = ['data-', 'aria-']
55-
self.available_events = ['click']
5653
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5754
self.available_wildcard_properties = ['data-', 'aria-']
5855

dash_html_components/Article.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class Article(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'Article'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

dash_html_components/Aside.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class Aside(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'Aside'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

dash_html_components/Audio.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,13 @@ class Audio(Component):
4141
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
4242
- style (dict; optional): Defines CSS styles which will override styles previously set.
4343
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
44-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
45-
46-
Available events: 'click'"""
44+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4745
@_explicitize_args
4846
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, autoPlay=Component.UNDEFINED, controls=Component.UNDEFINED, crossOrigin=Component.UNDEFINED, loop=Component.UNDEFINED, muted=Component.UNDEFINED, preload=Component.UNDEFINED, src=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4947
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5048
self._type = 'Audio'
5149
self._namespace = 'dash_html_components'
5250
self._valid_wildcard_attributes = ['data-', 'aria-']
53-
self.available_events = ['click']
5451
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5552
self.available_wildcard_properties = ['data-', 'aria-']
5653

dash_html_components/B.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ class B(Component):
3434
- spellCheck (string; optional): Indicates whether spell checking is allowed for the element.
3535
- style (dict; optional): Defines CSS styles which will override styles previously set.
3636
- tabIndex (string; optional): Overrides the browser's default tab order and follows the one specified instead.
37-
- title (string; optional): Text to be displayed in a tooltip when hovering over the element.
38-
39-
Available events: 'click'"""
37+
- title (string; optional): Text to be displayed in a tooltip when hovering over the element."""
4038
@_explicitize_args
4139
def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
4240
self._prop_names = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4341
self._type = 'B'
4442
self._namespace = 'dash_html_components'
4543
self._valid_wildcard_attributes = ['data-', 'aria-']
46-
self.available_events = ['click']
4744
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4845
self.available_wildcard_properties = ['data-', 'aria-']
4946

0 commit comments

Comments
 (0)