Skip to content

Commit

Permalink
new build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Mar 14, 2022
1 parent 7aa5f17 commit 8ec69cc
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 22 deletions.
6 changes: 3 additions & 3 deletions dash/dash-renderer/build/dash_renderer.dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dash-renderer/build/dash_renderer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dash_table/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dash_table/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dash_table/demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dash_table/demo.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dash/dcc/Graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ class Graph(Component):
- prop_name (string; optional):
Holds which property is loading.
- mathjax (boolean; default False):
If True, loads mathjax v3 (tex-svg) into the page and use it in
the graph.
- prependData (list | dict; optional):
Data that should be prepended to existing traces. Has the form
`[updateData, traceIndices, maxPoints]`, where `updateData` is an
Expand Down Expand Up @@ -326,6 +330,7 @@ def __init__(
figure=Component.UNDEFINED,
style=Component.UNDEFINED,
className=Component.UNDEFINED,
mathjax=Component.UNDEFINED,
animate=Component.UNDEFINED,
animation_options=Component.UNDEFINED,
config=Component.UNDEFINED,
Expand All @@ -345,6 +350,7 @@ def __init__(
"figure",
"hoverData",
"loading_state",
"mathjax",
"prependData",
"relayoutData",
"responsive",
Expand All @@ -368,6 +374,7 @@ def __init__(
"figure",
"hoverData",
"loading_state",
"mathjax",
"prependData",
"relayoutData",
"responsive",
Expand Down
7 changes: 7 additions & 0 deletions dash/dcc/Markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ class Markdown(Component):
- prop_name (string; optional):
Holds which property is loading.
- mathjax (boolean; default False):
If True, loads mathjax v3 (tex-svg) into the page and use it in
the markdown.
- style (dict; optional):
User-defined inline styles for the rendered Markdown."""

Expand All @@ -67,6 +71,7 @@ def __init__(
children=None,
id=Component.UNDEFINED,
className=Component.UNDEFINED,
mathjax=Component.UNDEFINED,
dangerously_allow_html=Component.UNDEFINED,
dedent=Component.UNDEFINED,
highlight_config=Component.UNDEFINED,
Expand All @@ -82,6 +87,7 @@ def __init__(
"dedent",
"highlight_config",
"loading_state",
"mathjax",
"style",
]
self._type = "Markdown"
Expand All @@ -95,6 +101,7 @@ def __init__(
"dedent",
"highlight_config",
"loading_state",
"mathjax",
"style",
]
self.available_wildcard_properties = []
Expand Down
1 change: 1 addition & 0 deletions dash/dcc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"graph",
"highlight",
"markdown",
"mathjax",
"slider",
"upload",
]
Expand Down
2 changes: 1 addition & 1 deletion dash/dcc/async-graph.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/async-graph.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/async-markdown.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/async-markdown.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash/dcc/async-mathjax.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/async-plotlyjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/dash_core_components.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash/dcc/dash_core_components.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dash/dcc/mathjax.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions dash/dcc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,17 @@
"required": false,
"description": "className of the parent div"
},
"mathjax": {
"type": {
"name": "bool"
},
"required": false,
"description": "If true, loads mathjax v3 (tex-svg) into the page and use it in the graph",
"defaultValue": {
"value": "false",
"computed": false
}
},
"animate": {
"type": {
"name": "bool"
Expand Down Expand Up @@ -3542,6 +3553,17 @@
"required": false,
"description": "Class name of the container element"
},
"mathjax": {
"type": {
"name": "bool"
},
"required": false,
"description": "If true, loads mathjax v3 (tex-svg) into the page and use it in the markdown",
"defaultValue": {
"value": "false",
"computed": false
}
},
"dangerously_allow_html": {
"type": {
"name": "bool"
Expand Down
8 changes: 5 additions & 3 deletions dash/dcc/package-info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash-core-components",
"version": "2.2.0",
"version": "2.3.0",
"description": "Core component suite for Dash",
"repository": {
"type": "git",
Expand All @@ -23,7 +23,7 @@
"test": "run-s -c lint test:intg test:pyimport",
"test:intg": "pytest --nopercyfinalize --headless tests/integration",
"test:pyimport": "python -m unittest tests/test_dash_import.py",
"prebuild:js": "cp node_modules/plotly.js-dist-min/plotly.min.js dash_core_components_base/plotly.min.js",
"prebuild:js": "cp node_modules/plotly.js-dist-min/plotly.min.js dash_core_components_base/plotly.min.js && cp node_modules/mathjax/es5/tex-svg.js dash_core_components_base/mathjax.js",
"build:js": "webpack --mode production",
"build:backends": "dash-generate-components ./src/components dash_core_components -p package-info.json && cp dash_core_components_base/** dash_core_components/ && dash-generate-components ./src/components dash_core_components -p package-info.json -k RangeSlider,Slider,Dropdown,RadioItems,Checklist,DatePickerSingle,DatePickerRange,Input,Link --r-prefix 'dcc' --r-suggests 'dash,dashHtmlComponents,jsonlite,plotly' --jl-prefix 'dcc' && black dash_core_components",
"build": "run-s prepublishOnly build:js build:backends",
Expand All @@ -46,9 +46,10 @@
"fast-isnumeric": "^1.1.4",
"file-saver": "^2.0.5",
"highlight.js": "^11.4.0",
"mathjax": "^3.2.0",
"moment": "^2.29.1",
"node-polyfill-webpack-plugin": "^1.1.4",
"plotly.js-dist-min": "2.9.0",
"plotly.js-dist-min": "2.11.0",
"prop-types": "^15.7.2",
"ramda": "^0.27.1",
"rc-slider": "^9.7.5",
Expand All @@ -60,6 +61,7 @@
"react-resize-detector": "^6.7.6",
"react-select-fast-filter-options": "^0.2.3",
"react-virtualized-select": "^3.1.3",
"remark-math": "^3.0.1",
"uniqid": "^5.4.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions dash/dcc/plotly.min.js

Large diffs are not rendered by default.

0 comments on commit 8ec69cc

Please sign in to comment.