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

Commit 9d6bba2

Browse files
authored
Merge pull request #84 from plotly/fix-props
Fix props generation.
2 parents fec4272 + 5650010 commit 9d6bba2

File tree

272 files changed

+5174
-1329
lines changed

Some content is hidden

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

272 files changed

+5174
-1329
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
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+
## [0.13.3] - 2018-12-17
6+
### Fixed
7+
- `n_clicks`/`n_clicks_timestamp` PropType changed from invalid `integer` to `number`.
8+
- omit `n_clicks`/`n_clicks_timestamp` from wrapped element props.
9+
510
## [0.13.2] - 2018-09-21
611
### Fixed
712
- Fixes Python3.7 incompatibility with `0.13.0` and `0.13.1`.

dash_html_components/A.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class A(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Abbr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Abbr(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Acronym.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Acronym(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Address.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Address(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Area.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Area(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Article.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Article(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Aside.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Aside(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Audio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Audio(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/B.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class B(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Base(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Basefont.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Basefont(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Bdi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Bdi(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Bdo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Bdo(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Big.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Big(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Blink.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Blink(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Blockquote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Blockquote(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Br.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Br(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Button.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Button(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Canvas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Canvas(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Caption.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Caption(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Center.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Center(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Cite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Cite(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Code(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Col.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Col(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Colgroup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Colgroup(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

dash_html_components/Command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Command(Component):
1212
- id (string; optional): The ID of this component, used to identify dash components
1313
in callbacks. The ID needs to be unique across all of the
1414
components in an app.
15-
- n_clicks (optional): An integer that represents the number of times
15+
- n_clicks (number; optional): An integer that represents the number of times
1616
that this element has been clicked on.
17-
- n_clicks_timestamp (optional): An integer that represents the time (in ms since 1970)
17+
- n_clicks_timestamp (number; optional): An integer that represents the time (in ms since 1970)
1818
at which n_clicks changed. This can be used to tell
1919
which button was changed most recently.
2020
- key (string; optional): A unique identifier for the component, used to improve

0 commit comments

Comments
 (0)