@seeqdev/qomponents 0.0.117 → 0.0.119

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/index.js CHANGED
@@ -20700,7 +20700,7 @@ const ProgressIndicator = (props) => {
20700
20700
  }, [value]);
20701
20701
  return (React.createElement(Indicator, { className: `tw-ease-[cubic-bezier(0.65, 0, 0.35, 1)] tw-w-full tw-h-full tw-duration-[660ms] tw-flex tw-bg-sq-color-dark ${extraClasses}`, ...tooltipData, "data-qtip-text": tooltipProps.tooltip ? tooltipProps.tooltip : `${value}%`, "data-testid": `progress-bar-indicator-${testId ? testId : value}`, key: `${index}-${value}`, style: {
20702
20702
  // Background color will default to the theme color if undefined
20703
- backgroundColor: valuesLength === 1 ? undefined : color,
20703
+ backgroundColor: color ? color : undefined,
20704
20704
  animation: 'width 660ms forwards',
20705
20705
  width: `${animatedWidth}%`,
20706
20706
  } }, label ? (React.createElement("span", { className: `tw-left-1 tw-text-xs tw-text-sq-text-color dark:tw-text-sq-dark-text tw-items-center ${labelClasses}` }, label)) : undefined));