dash-core-components 2.12.0 → 2.13.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/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-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/lib/components/Checklist.react.js +12 -14
- package/lib/components/Clipboard.react.js +77 -38
- package/lib/components/ConfirmDialog.react.js +8 -10
- package/lib/components/ConfirmDialogProvider.react.js +8 -10
- package/lib/components/DatePickerRange.react.js +12 -16
- package/lib/components/DatePickerSingle.react.js +12 -16
- package/lib/components/Download.react.js +8 -10
- package/lib/components/Dropdown.react.js +12 -16
- package/lib/components/Geolocation.react.js +9 -11
- package/lib/components/Graph.react.js +16 -20
- package/lib/components/Input.react.js +13 -14
- package/lib/components/Interval.react.js +11 -13
- package/lib/components/Link.react.js +56 -84
- package/lib/components/Loading.react.js +10 -12
- package/lib/components/Location.react.js +9 -11
- package/lib/components/LogoutButton.react.js +8 -10
- package/lib/components/Markdown.react.js +13 -17
- package/lib/components/RadioItems.react.js +12 -14
- package/lib/components/RangeSlider.react.js +38 -17
- package/lib/components/Slider.react.js +39 -17
- package/lib/components/Store.react.js +9 -11
- package/lib/components/Tab.react.js +3 -4
- package/lib/components/Tabs.react.js +13 -15
- package/lib/components/Textarea.react.js +13 -13
- package/lib/components/Tooltip.react.js +2 -2
- package/lib/components/Upload.react.js +12 -16
- package/lib/components/css/sliders.css +5 -0
- package/lib/fragments/DatePickerRange.react.js +13 -15
- package/lib/fragments/DatePickerSingle.react.js +13 -15
- package/lib/fragments/Dropdown.react.js +8 -9
- package/lib/fragments/Graph.privateprops.js +3 -5
- package/lib/fragments/Graph.react.js +15 -16
- package/lib/fragments/Loading/spinners/CircleSpinner.js +1 -2
- package/lib/fragments/Loading/spinners/CubeSpinner.js +1 -2
- package/lib/fragments/Loading/spinners/DefaultSpinner.js +1 -2
- package/lib/fragments/Loading/spinners/DotSpinner.js +1 -2
- package/lib/fragments/Loading/spinners/GraphSpinner.js +1 -2
- package/lib/fragments/Markdown.react.js +11 -13
- package/lib/fragments/Math.react.js +12 -16
- package/lib/fragments/RangeSlider.react.js +31 -22
- package/lib/fragments/Slider.react.js +31 -21
- package/lib/fragments/Upload.react.js +11 -13
- package/lib/third-party/highlight.js +1 -2
- package/lib/utils/DatePickerPersistence.js +2 -3
- package/lib/utils/LazyLoader/datePickerRange.js +2 -3
- package/lib/utils/LazyLoader/datePickerSingle.js +2 -3
- package/lib/utils/LazyLoader/dropdown.js +2 -3
- package/lib/utils/LazyLoader/graph.js +2 -3
- package/lib/utils/LazyLoader/hljs.js +2 -3
- package/lib/utils/LazyLoader/markdown.js +2 -3
- package/lib/utils/LazyLoader/mathjax.js +2 -3
- package/lib/utils/LazyLoader/plotly.js +2 -3
- package/lib/utils/LazyLoader/rangeSlider.js +2 -3
- package/lib/utils/LazyLoader/slider.js +2 -3
- package/lib/utils/LazyLoader/upload.js +2 -3
- package/lib/utils/MarkdownHighlighter.js +1 -2
- package/lib/utils/computeSliderMarkers.js +8 -14
- package/lib/utils/computeSliderStyle.js +2 -3
- package/lib/utils/convertToMoment.js +2 -3
- package/lib/utils/formatSliderTooltip.js +21 -0
- package/lib/utils/optionTypes.js +3 -4
- package/package.json +9 -7
package/lib/utils/optionTypes.js
CHANGED
|
@@ -11,9 +11,9 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
11
11
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
-
function _iterableToArrayLimit(
|
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
15
15
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
|
-
var sanitizeOptions = function sanitizeOptions(options) {
|
|
16
|
+
var sanitizeOptions = exports.sanitizeOptions = function sanitizeOptions(options) {
|
|
17
17
|
if ((0, _ramda.type)(options) === 'Object') {
|
|
18
18
|
return Object.entries(options).map(function (_ref) {
|
|
19
19
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
@@ -37,5 +37,4 @@ var sanitizeOptions = function sanitizeOptions(options) {
|
|
|
37
37
|
return options;
|
|
38
38
|
}
|
|
39
39
|
return options;
|
|
40
|
-
};
|
|
41
|
-
exports.sanitizeOptions = sanitizeOptions;
|
|
40
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dash-core-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Core component suite for Dash",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"maintainer": "Alex Johnson <alex@plotly.com>",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
+
"@braintree/sanitize-url": "^7.0.0",
|
|
38
39
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
39
40
|
"@fortawesome/free-regular-svg-icons": "^5.15.4",
|
|
40
41
|
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"moment": "^2.29.4",
|
|
50
51
|
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
51
52
|
"prop-types": "^15.8.1",
|
|
52
|
-
"ramda": "^0.29.
|
|
53
|
+
"ramda": "^0.29.1",
|
|
53
54
|
"rc-slider": "^9.7.5",
|
|
54
55
|
"react-addons-shallow-compare": "^15.6.3",
|
|
55
56
|
"react-dates": "^21.8.0",
|
|
@@ -64,11 +65,11 @@
|
|
|
64
65
|
"uniqid": "^5.4.0"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@babel/cli": "^7.
|
|
68
|
-
"@babel/core": "^7.
|
|
68
|
+
"@babel/cli": "^7.23.4",
|
|
69
|
+
"@babel/core": "^7.23.7",
|
|
69
70
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
70
|
-
"@babel/preset-env": "^7.
|
|
71
|
-
"@babel/preset-react": "^7.
|
|
71
|
+
"@babel/preset-env": "^7.23.8",
|
|
72
|
+
"@babel/preset-react": "^7.23.3",
|
|
72
73
|
"@plotly/dash-component-plugins": "^1.2.3",
|
|
73
74
|
"@plotly/webpack-dash-dynamic-import": "^1.3.0",
|
|
74
75
|
"babel-loader": "^9.1.3",
|
|
@@ -88,9 +89,10 @@
|
|
|
88
89
|
"react-jsx-parser": "1.21.0",
|
|
89
90
|
"style-loader": "^3.3.3",
|
|
90
91
|
"styled-jsx": "^3.4.4",
|
|
91
|
-
"webpack": "^5.
|
|
92
|
+
"webpack": "^5.90.0",
|
|
92
93
|
"webpack-cli": "^5.1.4"
|
|
93
94
|
},
|
|
95
|
+
"optionalDependencies": { "fsevents": "*" },
|
|
94
96
|
"files": [
|
|
95
97
|
"/dash_core_components/*{.js,.map}",
|
|
96
98
|
"/lib/"
|