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

Commit 89a6d67

Browse files
authored
Merge pull request #89 from plotly/no-events
Remove events
2 parents f469338 + f28aede commit 89a6d67

File tree

275 files changed

+545
-4727
lines changed

Some content is hidden

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

275 files changed

+545
-4727
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
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

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
- Added `.idea`, `tests`, `dist`, `.circleci` to npmignore.
88
- Added repository url and long_description to setup.py
99

10+
### Removed
11+
- Removed click events - these have been obsolete since 0.7.0 [#89](https://github.com/plotly/dash-html-components/pull/89)
12+
1013
## [0.13.4] - 2018-12-17
1114
### Fixed
1215
- Fix build from wrong dash version.

dash_html_components/A.py

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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)