@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.cjs CHANGED
@@ -1879,9 +1879,9 @@ var Progress = ({
1879
1879
  ] });
1880
1880
  };
1881
1881
  var trackSizes = {
1882
- sm: "h-2",
1883
- md: "h-2.5",
1884
- lg: "h-3.5"
1882
+ sm: "h-2.5",
1883
+ md: "h-3",
1884
+ lg: "h-4"
1885
1885
  };
1886
1886
  var colorStyles = {
1887
1887
  primary: "bg-brand-500",
@@ -1975,7 +1975,7 @@ var PollResults = ({
1975
1975
  return /* @__PURE__ */ jsxRuntime.jsx(
1976
1976
  "div",
1977
1977
  {
1978
- className: chunkYERNSNT4_cjs.cn("w-full space-y-7 text-gray-800 dark:text-white/90", className),
1978
+ className: chunkYERNSNT4_cjs.cn("w-full space-y-5 text-gray-800 dark:text-white/90", className),
1979
1979
  style: { ...styleOverride({ bgColor, textColor, borderColor }), ...style },
1980
1980
  ...rest,
1981
1981
  children: options.map((option, optionIndex) => {
@@ -1991,7 +1991,7 @@ var PollResults = ({
1991
1991
  const isGrouped = series.length > 1;
1992
1992
  const singlePercent = toPercent(series[0]?.value ?? 0, safeMax);
1993
1993
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1994
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between gap-4", children: [
1994
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between gap-4", children: [
1995
1995
  /* @__PURE__ */ jsxRuntime.jsx(
1996
1996
  "span",
1997
1997
  {
@@ -2009,7 +2009,7 @@ var PollResults = ({
2009
2009
  }
2010
2010
  )
2011
2011
  ] }),
2012
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYERNSNT4_cjs.cn("flex flex-col", isGrouped ? "gap-3" : "gap-0"), children: series.map((entry, seriesIndex) => {
2012
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkYERNSNT4_cjs.cn("flex flex-col", isGrouped ? "gap-2.5" : "gap-0"), children: series.map((entry, seriesIndex) => {
2013
2013
  const percent = toPercent(entry.value, safeMax);
2014
2014
  const fillColor = entry.fillColor;
2015
2015
  const entryColor = entry.color ?? (isGrouped ? defaultSeriesColorCycle[seriesIndex % defaultSeriesColorCycle.length] : option.color ?? defaultColorCycle[optionIndex % defaultColorCycle.length]) ?? color;