@andreagiugni/tailwind-dashboard-ui 1.0.26 → 1.0.27

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
@@ -1873,9 +1873,9 @@ var Progress = ({
1873
1873
  ] });
1874
1874
  };
1875
1875
  var trackSizes = {
1876
- sm: "h-2",
1877
- md: "h-2.5",
1878
- lg: "h-3.5"
1876
+ sm: "h-2.5",
1877
+ md: "h-3",
1878
+ lg: "h-4"
1879
1879
  };
1880
1880
  var colorStyles = {
1881
1881
  primary: "bg-brand-500",
@@ -1969,7 +1969,7 @@ var PollResults = ({
1969
1969
  return /* @__PURE__ */ jsx(
1970
1970
  "div",
1971
1971
  {
1972
- className: cn("w-full space-y-7 text-gray-800 dark:text-white/90", className),
1972
+ className: cn("w-full space-y-5 text-gray-800 dark:text-white/90", className),
1973
1973
  style: { ...styleOverride({ bgColor, textColor, borderColor }), ...style },
1974
1974
  ...rest,
1975
1975
  children: options.map((option, optionIndex) => {
@@ -1985,7 +1985,7 @@ var PollResults = ({
1985
1985
  const isGrouped = series.length > 1;
1986
1986
  const singlePercent = toPercent(series[0]?.value ?? 0, safeMax);
1987
1987
  return /* @__PURE__ */ jsxs("div", { children: [
1988
- /* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center justify-between gap-4", children: [
1988
+ /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between gap-4", children: [
1989
1989
  /* @__PURE__ */ jsx(
1990
1990
  "span",
1991
1991
  {
@@ -2003,7 +2003,7 @@ var PollResults = ({
2003
2003
  }
2004
2004
  )
2005
2005
  ] }),
2006
- /* @__PURE__ */ jsx("div", { className: cn("flex flex-col", isGrouped ? "gap-3" : "gap-0"), children: series.map((entry, seriesIndex) => {
2006
+ /* @__PURE__ */ jsx("div", { className: cn("flex flex-col", isGrouped ? "gap-2.5" : "gap-0"), children: series.map((entry, seriesIndex) => {
2007
2007
  const percent = toPercent(entry.value, safeMax);
2008
2008
  const fillColor = entry.fillColor;
2009
2009
  const entryColor = entry.color ?? (isGrouped ? defaultSeriesColorCycle[seriesIndex % defaultSeriesColorCycle.length] : option.color ?? defaultColorCycle[optionIndex % defaultColorCycle.length]) ?? color;