@react-spectrum/progress 3.7.1 → 3.7.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.
package/dist/import.mjs CHANGED
@@ -1,12 +1,16 @@
1
+ "use client";
2
+
1
3
  import "./main.css";
2
4
  import {classNames as $joUWQ$classNames, useDOMRef as $joUWQ$useDOMRef, useStyleProps as $joUWQ$useStyleProps} from "@react-spectrum/utils";
3
5
  import $joUWQ$react from "react";
4
6
  import {useProgressBar as $joUWQ$useProgressBar} from "@react-aria/progress";
5
7
  import {clamp as $joUWQ$clamp} from "@react-aria/utils";
6
8
 
9
+
7
10
  function $parcel$interopDefault(a) {
8
11
  return a && a.__esModule ? a.default : a;
9
12
  }
13
+
10
14
  function $parcel$export(e, n, v, s) {
11
15
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
16
  }
@@ -145,7 +149,7 @@ function $ddf9337e928b5fe6$var$ProgressBarBase(props, ref) {
145
149
  }, label && /*#__PURE__*/ (0, $joUWQ$react).createElement("span", {
146
150
  ...labelProps,
147
151
  className: (0, $joUWQ$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a43f840f49ffbe32$exports))), "spectrum-BarLoader-label")
148
- }, label), showValueLabel && /*#__PURE__*/ (0, $joUWQ$react).createElement("div", {
152
+ }, label), showValueLabel && barProps && /*#__PURE__*/ (0, $joUWQ$react).createElement("div", {
149
153
  className: (0, $joUWQ$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a43f840f49ffbe32$exports))), "spectrum-BarLoader-percentage")
150
154
  }, barProps["aria-valuetext"]), /*#__PURE__*/ (0, $joUWQ$react).createElement("div", {
151
155
  className: (0, $joUWQ$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a43f840f49ffbe32$exports))), "spectrum-BarLoader-track")