dash-core-components 3.0.5 → 3.0.6

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.
@@ -45,8 +45,9 @@ var coveringSpinner = {
45
45
  };
46
46
  var loadingSelector = (componentPath, targetComponents) => state => {
47
47
  var stringPath = JSON.stringify(componentPath);
48
- // Remove the last ] for easy match
49
- stringPath = stringPath.substring(0, stringPath.length - 1);
48
+ // Remove the last ] for easy match and add `,` to make sure only children
49
+ // trigger the loading. See issue: https://github.com/plotly/dash/issues/3276
50
+ stringPath = stringPath.substring(0, stringPath.length - 1) + ',';
50
51
  var loadingChildren = (0, _ramda.toPairs)(state.loading).reduce((acc, _ref) => {
51
52
  var _ref2 = _slicedToArray(_ref, 2),
52
53
  path = _ref2[0],
@@ -19,7 +19,7 @@ var CircleSpinner = _ref => {
19
19
  className = _ref.className,
20
20
  style = _ref.style;
21
21
  var debugTitle;
22
- if (debug) {
22
+ if (debug && status) {
23
23
  debugTitle = status.map(s => /*#__PURE__*/_react.default.createElement(_DebugTitle.default, s));
24
24
  }
25
25
  var spinnerClass = fullscreen ? 'dash-spinner-container' : '';
@@ -17,7 +17,7 @@ var CubeSpinner = _ref => {
17
17
  className = _ref.className,
18
18
  style = _ref.style;
19
19
  var debugTitle;
20
- if (debug) {
20
+ if (debug && status) {
21
21
  debugTitle = status.map(s => /*#__PURE__*/_react.default.createElement(_DebugTitle.default, s));
22
22
  }
23
23
  var spinnerClass = fullscreen ? 'dash-spinner-container' : '';
@@ -19,7 +19,7 @@ var DefaultSpinner = _ref => {
19
19
  className = _ref.className,
20
20
  style = _ref.style;
21
21
  var debugTitle;
22
- if (debug) {
22
+ if (debug && status) {
23
23
  debugTitle = status.map(s => /*#__PURE__*/_react.default.createElement(_DebugTitle.default, s));
24
24
  }
25
25
  var spinnerClass = fullscreen ? 'dash-spinner-container' : '';
@@ -19,7 +19,7 @@ var DotSpinner = _ref => {
19
19
  className = _ref.className,
20
20
  style = _ref.style;
21
21
  var debugTitle;
22
- if (debug) {
22
+ if (debug && status) {
23
23
  debugTitle = status.map(s => /*#__PURE__*/_react.default.createElement(_DebugTitle.default, s));
24
24
  }
25
25
  var spinnerClass = fullscreen ? 'dash-spinner-container' : '';
@@ -15,7 +15,7 @@ var GraphSpinner = _ref => {
15
15
  className = _ref.className,
16
16
  style = _ref.style;
17
17
  var debugTitle;
18
- if (debug) {
18
+ if (debug && status) {
19
19
  debugTitle = status.map(s => /*#__PURE__*/_react.default.createElement(_DebugTitle.default, s));
20
20
  }
21
21
  var spinnerClass = fullscreen ? 'dash-spinner-container' : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-core-components",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "Core component suite for Dash",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,9 +63,9 @@
63
63
  "uniqid": "^5.4.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@babel/cli": "^7.26.4",
66
+ "@babel/cli": "^7.27.0",
67
67
  "@babel/core": "^7.26.10",
68
- "@babel/eslint-parser": "^7.26.10",
68
+ "@babel/eslint-parser": "^7.27.0",
69
69
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
70
70
  "@babel/preset-env": "^7.26.9",
71
71
  "@babel/preset-react": "^7.26.3",
@@ -86,7 +86,7 @@
86
86
  "rimraf": "^5.0.5",
87
87
  "style-loader": "^3.3.3",
88
88
  "styled-jsx": "^3.4.4",
89
- "webpack": "^5.98.0",
89
+ "webpack": "^5.99.6",
90
90
  "webpack-cli": "^5.1.4"
91
91
  },
92
92
  "optionalDependencies": {