dash-core-components 2.0.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -28
- package/dash_core_components/async-datepicker.js +1 -1
- package/dash_core_components/async-datepicker.js.map +1 -1
- package/dash_core_components/async-dropdown.js +1 -1
- package/dash_core_components/async-dropdown.js.map +1 -1
- package/dash_core_components/async-graph.js +1 -1
- package/dash_core_components/async-graph.js.map +1 -1
- package/dash_core_components/async-highlight.js +1 -1
- package/dash_core_components/async-highlight.js.map +1 -1
- package/dash_core_components/async-markdown.js +1 -1
- package/dash_core_components/async-markdown.js.map +1 -1
- package/dash_core_components/async-mathjax.js +1 -0
- package/dash_core_components/async-plotlyjs.js +1 -1
- package/dash_core_components/async-slider.js +1 -1
- package/dash_core_components/async-slider.js.map +1 -1
- package/dash_core_components/async-upload.js +1 -1
- package/dash_core_components/async-upload.js.map +1 -1
- package/dash_core_components/dash_core_components-shared.js +1 -1
- package/dash_core_components/dash_core_components-shared.js.map +1 -1
- package/dash_core_components/dash_core_components.js +1 -1
- package/dash_core_components/dash_core_components.js.map +1 -1
- package/dash_core_components/mathjax.js +1 -0
- package/dash_core_components/plotly.min.js +29 -22
- package/lib/components/Checklist.react.js +59 -23
- package/lib/components/Clipboard.react.js +4 -4
- package/lib/components/ConfirmDialog.react.js +4 -4
- package/lib/components/ConfirmDialogProvider.react.js +4 -4
- package/lib/components/DatePickerRange.react.js +85 -85
- package/lib/components/DatePickerSingle.react.js +68 -68
- package/lib/components/Download.react.js +4 -4
- package/lib/components/Dropdown.react.js +51 -35
- package/lib/components/Graph.react.js +23 -10
- package/lib/components/Input.react.js +83 -83
- package/lib/components/Interval.react.js +4 -4
- package/lib/components/Link.react.js +21 -21
- package/lib/components/Loading.react.js +4 -4
- package/lib/components/Location.react.js +4 -4
- package/lib/components/LogoutButton.react.js +4 -4
- package/lib/components/Markdown.react.js +46 -9
- package/lib/components/RadioItems.react.js +59 -23
- package/lib/components/RangeSlider.react.js +44 -44
- package/lib/components/Slider.react.js +35 -35
- package/lib/components/Store.react.js +4 -4
- package/lib/components/Tab.react.js +1 -1
- package/lib/components/Tabs.react.js +10 -10
- package/lib/components/Textarea.react.js +4 -4
- package/lib/components/Tooltip.react.js +2 -2
- package/lib/components/Upload.react.js +5 -5
- package/lib/components/css/Dropdown.css +1 -1
- package/lib/fragments/DatePickerRange.react.js +6 -6
- package/lib/fragments/DatePickerSingle.react.js +6 -6
- package/lib/fragments/Dropdown.react.js +13 -11
- package/lib/fragments/Graph.privateprops.js +1 -1
- package/lib/fragments/Graph.react.js +125 -68
- package/lib/fragments/Markdown.react.js +22 -4
- package/lib/fragments/Math.react.js +101 -0
- package/lib/fragments/RangeSlider.react.js +24 -13
- package/lib/fragments/Slider.react.js +22 -11
- package/lib/fragments/Upload.react.js +4 -4
- package/lib/utils/LazyLoader/datePickerRange.js +1 -1
- package/lib/utils/LazyLoader/datePickerSingle.js +1 -1
- package/lib/utils/LazyLoader/dropdown.js +1 -1
- package/lib/utils/LazyLoader/graph.js +1 -1
- package/lib/utils/LazyLoader/hljs.js +1 -1
- package/lib/utils/LazyLoader/markdown.js +1 -1
- package/lib/utils/LazyLoader/mathjax.js +22 -0
- package/lib/utils/LazyLoader/plotly.js +2 -2
- package/lib/utils/LazyLoader/rangeSlider.js +1 -1
- package/lib/utils/LazyLoader/slider.js +1 -1
- package/lib/utils/LazyLoader/upload.js +1 -1
- package/lib/utils/computeSliderMarkers.js +230 -0
- package/lib/utils/mathjax.js +5 -0
- package/lib/utils/optionTypes.js +52 -0
- package/package.json +36 -34
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dash-core-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Core component suite for Dash",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git://github.com/plotly/dash
|
|
7
|
+
"url": "git://github.com/plotly/dash.git"
|
|
8
8
|
},
|
|
9
9
|
"bugs": {
|
|
10
|
-
"url": "https://github.com/plotly/dash
|
|
10
|
+
"url": "https://github.com/plotly/dash/issues"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.com/plotly/dash
|
|
12
|
+
"homepage": "https://github.com/plotly/dash",
|
|
13
13
|
"main": "dash_core_components/dash_core_components.js",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"private::format.black": "black dash_core_components_base/ tests/ setup.py",
|
|
16
16
|
"private::format.eslint": "eslint src --fix",
|
|
17
17
|
"private::format.prettier": "prettier --config .prettierrc --write src/**/*.js",
|
|
18
|
-
"private::lint.black": "
|
|
18
|
+
"private::lint.black": "black --check dash_core_components_base/ tests/ setup.py",
|
|
19
19
|
"private::lint.eslint": "eslint src",
|
|
20
20
|
"private::lint.flake8": "flake8 --exclude=dash_core_components,node_modules,venv",
|
|
21
21
|
"private::lint.prettier": "prettier --config .prettierrc src/**/*.js --list-different",
|
|
@@ -23,10 +23,9 @@
|
|
|
23
23
|
"test": "run-s -c lint test:intg test:pyimport",
|
|
24
24
|
"test:intg": "pytest --nopercyfinalize --headless tests/integration",
|
|
25
25
|
"test:pyimport": "python -m unittest tests/test_dash_import.py",
|
|
26
|
-
"
|
|
27
|
-
"prebuild:js": "cp node_modules/plotly.js/dist/plotly.min.js dash_core_components_base/plotly.min.js",
|
|
26
|
+
"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",
|
|
28
27
|
"build:js": "webpack --mode production",
|
|
29
|
-
"build:backends": "dash-generate-components ./src/components dash_core_components -p package-info.json
|
|
28
|
+
"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",
|
|
30
29
|
"build": "run-s prepublishOnly build:js build:backends",
|
|
31
30
|
"postbuild": "es-check es5 dash_core_components/*.js",
|
|
32
31
|
"build:watch": "watch 'npm run build' src",
|
|
@@ -34,62 +33,65 @@
|
|
|
34
33
|
"lint": "run-s private::lint.*"
|
|
35
34
|
},
|
|
36
35
|
"author": "Chris Parmer <chris@plotly.com>",
|
|
37
|
-
"maintainer": "
|
|
36
|
+
"maintainer": "Alex Johnson <alex@plotly.com>",
|
|
38
37
|
"license": "MIT",
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@fortawesome/fontawesome-svg-core": "
|
|
41
|
-
"@fortawesome/free-regular-svg-icons": "^5.15.
|
|
42
|
-
"@fortawesome/free-solid-svg-icons": "^5.15.
|
|
43
|
-
"@fortawesome/react-fontawesome": "^0.1.
|
|
39
|
+
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
40
|
+
"@fortawesome/free-regular-svg-icons": "^5.15.4",
|
|
41
|
+
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
42
|
+
"@fortawesome/react-fontawesome": "^0.1.17",
|
|
44
43
|
"base64-js": "^1.5.1",
|
|
45
|
-
"color": "^
|
|
44
|
+
"color": "^4.2.1",
|
|
45
|
+
"d3-format": "^1.4.5",
|
|
46
46
|
"fast-isnumeric": "^1.1.4",
|
|
47
47
|
"file-saver": "^2.0.5",
|
|
48
|
-
"highlight.js": "^11.0
|
|
48
|
+
"highlight.js": "^11.4.0",
|
|
49
|
+
"mathjax": "^3.2.0",
|
|
49
50
|
"moment": "^2.29.1",
|
|
50
51
|
"node-polyfill-webpack-plugin": "^1.1.4",
|
|
51
|
-
"plotly.js": "2.
|
|
52
|
+
"plotly.js-dist-min": "2.11.0",
|
|
52
53
|
"prop-types": "^15.7.2",
|
|
53
54
|
"ramda": "^0.27.1",
|
|
54
|
-
"rc-slider": "^9.7.
|
|
55
|
+
"rc-slider": "^9.7.5",
|
|
55
56
|
"react-addons-shallow-compare": "^15.6.3",
|
|
56
57
|
"react-dates": "^21.8.0",
|
|
57
58
|
"react-docgen": "^5.4.0",
|
|
58
59
|
"react-dropzone": "^4.1.2",
|
|
59
60
|
"react-markdown": "^4.3.1",
|
|
60
|
-
"react-resize-detector": "^6.7.
|
|
61
|
+
"react-resize-detector": "^6.7.6",
|
|
61
62
|
"react-select-fast-filter-options": "^0.2.3",
|
|
62
63
|
"react-virtualized-select": "^3.1.3",
|
|
63
|
-
"
|
|
64
|
+
"remark-math": "^3.0.1",
|
|
65
|
+
"uniqid": "^5.4.0"
|
|
64
66
|
},
|
|
65
67
|
"devDependencies": {
|
|
66
|
-
"@babel/cli": "^7.
|
|
67
|
-
"@babel/core": "^7.
|
|
68
|
+
"@babel/cli": "^7.17.3",
|
|
69
|
+
"@babel/core": "^7.17.4",
|
|
68
70
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
69
|
-
"@babel/preset-env": "^7.
|
|
70
|
-
"@babel/preset-react": "^7.
|
|
71
|
-
"@plotly/dash-component-plugins": "^1.2.
|
|
72
|
-
"@plotly/webpack-dash-dynamic-import": "^1.
|
|
71
|
+
"@babel/preset-env": "^7.16.11",
|
|
72
|
+
"@babel/preset-react": "^7.16.7",
|
|
73
|
+
"@plotly/dash-component-plugins": "^1.2.2",
|
|
74
|
+
"@plotly/webpack-dash-dynamic-import": "^1.3.0",
|
|
73
75
|
"babel-eslint": "^10.1.0",
|
|
74
|
-
"babel-loader": "^8.2.
|
|
76
|
+
"babel-loader": "^8.2.3",
|
|
75
77
|
"component-playground": "^3.2.1",
|
|
76
78
|
"copyfiles": "^2.4.1",
|
|
77
|
-
"css-loader": "^
|
|
78
|
-
"es-check": "^
|
|
79
|
+
"css-loader": "^6.6.0",
|
|
80
|
+
"es-check": "^6.2.1",
|
|
79
81
|
"eslint": "^7.30.0",
|
|
80
82
|
"eslint-config-prettier": "^8.3.0",
|
|
81
|
-
"eslint-plugin-import": "^2.
|
|
82
|
-
"eslint-plugin-react": "^7.
|
|
83
|
+
"eslint-plugin-import": "^2.25.4",
|
|
84
|
+
"eslint-plugin-react": "^7.28.0",
|
|
83
85
|
"identity-obj-proxy": "^3.0.0",
|
|
84
86
|
"npm-run-all": "^4.1.5",
|
|
85
|
-
"prettier": "^2.
|
|
87
|
+
"prettier": "^2.5.1",
|
|
86
88
|
"react": "^16.14.0",
|
|
87
89
|
"react-dom": "^16.14.0",
|
|
88
90
|
"react-jsx-parser": "1.21.0",
|
|
89
|
-
"style-loader": "^3.
|
|
91
|
+
"style-loader": "^3.3.1",
|
|
90
92
|
"styled-jsx": "^3.4.4",
|
|
91
|
-
"webpack": "^5.
|
|
92
|
-
"webpack-cli": "^4.
|
|
93
|
+
"webpack": "^5.69.0",
|
|
94
|
+
"webpack-cli": "^4.9.2"
|
|
93
95
|
},
|
|
94
96
|
"files": [
|
|
95
97
|
"/dash_core_components/*{.js,.map}",
|