@spscommerce/ds-react 5.23.2 → 5.24.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/lib/index.es.js CHANGED
@@ -34521,7 +34521,7 @@ function SpsTaskQueue(_E) {
34521
34521
  kind: tooltipKind,
34522
34522
  showOn: hasTasks ? TooltipShowTrigger.MANUAL : TooltipShowTrigger.MOUSEOVER,
34523
34523
  isShown: showNotification && !isOpen ? TooltipVisibility.VISIBLE : TooltipVisibility.HIDDEN,
34524
- hideDelay: TASK_QUEUE_NOTIFICATION_DURATION_MS
34524
+ hideDelay: Number(hasTasks) && TASK_QUEUE_NOTIFICATION_DURATION_MS
34525
34525
  }, !suppressTooltips && showNotification && (notificationText || t2("design-system:taskQueue.newTask")), !suppressTooltips && !showNotification && !hasTasks && t2("design-system:taskQueue.noTasks")), portal(/* @__PURE__ */ React.createElement("div", {
34526
34526
  ref: taskQueueDropdownRef,
34527
34527
  className: clsx("sps-task-queue__task-list", isOpen && "sps-task-queue__task-list--open", "z-stratum-dropdown"),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-react",
3
3
  "description": "SPS Design System React components",
4
- "version": "5.23.2",
4
+ "version": "5.24.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/ds-react",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@react-stately/collections": "^3.3.3",
31
- "@spscommerce/ds-colors": "5.23.2",
32
- "@spscommerce/ds-illustrations": "5.23.2",
33
- "@spscommerce/ds-shared": "5.23.2",
34
- "@spscommerce/positioning": "5.23.2",
35
- "@spscommerce/utils": "5.23.2",
31
+ "@spscommerce/ds-colors": "5.24.0",
32
+ "@spscommerce/ds-illustrations": "5.24.0",
33
+ "@spscommerce/ds-shared": "5.24.0",
34
+ "@spscommerce/positioning": "5.24.0",
35
+ "@spscommerce/utils": "5.24.0",
36
36
  "moment": "^2.25.3",
37
37
  "moment-timezone": "^0.5.28",
38
38
  "react": "^16.9.0",
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@react-stately/collections": "^3.3.3",
43
- "@spscommerce/ds-colors": "5.23.2",
44
- "@spscommerce/ds-illustrations": "5.23.2",
45
- "@spscommerce/ds-shared": "5.23.2",
46
- "@spscommerce/positioning": "5.23.2",
47
- "@spscommerce/utils": "5.23.2",
43
+ "@spscommerce/ds-colors": "5.24.0",
44
+ "@spscommerce/ds-illustrations": "5.24.0",
45
+ "@spscommerce/ds-shared": "5.24.0",
46
+ "@spscommerce/positioning": "5.24.0",
47
+ "@spscommerce/utils": "5.24.0",
48
48
  "@testing-library/react": "^9.3.2",
49
49
  "@types/prop-types": "^15.7.1",
50
50
  "@types/react": "^16.9.0",