@digital-ai/dot-components 4.3.2 → 4.3.3

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.
Files changed (2) hide show
  1. package/index.esm.js +9 -3
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -9647,7 +9647,13 @@ function DotDashboardStatusPill({
9647
9647
  children: lockedPublished
9648
9648
  });
9649
9649
  } else {
9650
- return lockedPublished;
9650
+ // If we don't have the user and the dashboard is being modified, we assume that the user is a Digital.ai
9651
+ // Support or Admin user.
9652
+ return jsx(DotTooltip, {
9653
+ title: `This dashboard is currently being edited by Digital.ai and it is locked for editing by other users.`,
9654
+ placement: "top",
9655
+ children: lockedPublished
9656
+ });
9651
9657
  }
9652
9658
  }
9653
9659
  } else {
@@ -11845,7 +11851,7 @@ const StyledDotMenu = styled(DotMenu)`
11845
11851
  z-index: 9999;
11846
11852
 
11847
11853
  &.dot-menu {
11848
- min-width: 200px;
11854
+ min-width: 260px;
11849
11855
 
11850
11856
  .dot-ul .dot-li {
11851
11857
  padding: 0;
@@ -11953,7 +11959,7 @@ function DotDashboardOptionsMenu({
11953
11959
  key: 'edit'
11954
11960
  });
11955
11961
  }
11956
- if (onUpdatedProperties && !dashboard.is_ootb_dashboard) {
11962
+ if (onUpdatedProperties && !dashboard.is_ootb_dashboard && !dashboardLocked) {
11957
11963
  let menuItem = jsx(DotButton, {
11958
11964
  ariaLabel: "Edit dashboard properties",
11959
11965
  className: isEdit ? 'disabled-menu-item' : '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [