@rehagro/ui 1.0.8 → 1.0.10

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
@@ -940,8 +940,15 @@ var helperStatusClasses = {
940
940
  default: "rh-text-text-muted",
941
941
  error: "rh-text-danger"
942
942
  };
943
+ var labelWeightClasses = {
944
+ normal: "rh-font-normal",
945
+ medium: "rh-font-medium",
946
+ semibold: "rh-font-semibold",
947
+ bold: "rh-font-bold"
948
+ };
943
949
  var TextInput = React8.forwardRef(function TextInput2({
944
950
  label,
951
+ labelWeight = "medium",
945
952
  subtitle,
946
953
  status = "default",
947
954
  size = "md",
@@ -962,7 +969,7 @@ var TextInput = React8.forwardRef(function TextInput2({
962
969
  className: ["rh-flex rh-flex-col rh-gap-[0.5rem] rh-font-sans", wrapperClassName].filter(Boolean).join(" "),
963
970
  children: [
964
971
  label && /* @__PURE__ */ jsxRuntime.jsxs("label", { htmlFor: inputId, className: "rh-flex rh-items-baseline rh-gap-1", children: [
965
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-sm rh-font-medium rh-text-text", children: label }),
972
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `rh-text-sm ${labelWeightClasses[labelWeight]} rh-text-text`, children: label }),
966
973
  subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-sm rh-text-text-muted", children: subtitle })
967
974
  ] }),
968
975
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1962,6 +1969,398 @@ var Tag = React8.forwardRef(function Tag2({
1962
1969
  }
1963
1970
  );
1964
1971
  });
1972
+ var statusClasses3 = {
1973
+ default: "rh-border-border focus-within:rh-ring-2 focus-within:rh-ring-ring focus-within:rh-ring-offset-2",
1974
+ error: "rh-border-danger focus-within:rh-ring-2 focus-within:rh-ring-danger focus-within:rh-ring-offset-2"
1975
+ };
1976
+ var sizeClasses9 = {
1977
+ sm: "rh-min-h-[36px] rh-text-sm rh-px-2 rh-py-1",
1978
+ md: "rh-h-[44px] rh-text-sm rh-px-2 rh-py-[6px]",
1979
+ lg: "rh-min-h-[52px] rh-text-base rh-px-3 rh-py-2"
1980
+ };
1981
+ var radiusClasses5 = {
1982
+ none: "rh-rounded-none",
1983
+ xxs: "rh-rounded-xxs",
1984
+ xs: "rh-rounded-xs",
1985
+ sm: "rh-rounded-sm",
1986
+ md: "rh-rounded-[8px]",
1987
+ lg: "rh-rounded-lg",
1988
+ xl: "rh-rounded-xl",
1989
+ full: "rh-rounded-full"
1990
+ };
1991
+ var helperStatusClasses3 = {
1992
+ default: "rh-text-text-muted",
1993
+ error: "rh-text-danger"
1994
+ };
1995
+ var tagSizeClasses = {
1996
+ sm: "rh-h-6 rh-text-xs rh-py-0.5 rh-px-1.5",
1997
+ md: "rh-h-[28px] rh-text-sm rh-py-[2px] rh-px-[6px]",
1998
+ lg: "rh-h-8 rh-text-sm rh-py-0.5 rh-px-2"
1999
+ };
2000
+ var deleteButtonSizeClasses = {
2001
+ sm: "rh-w-3 rh-h-3",
2002
+ md: "rh-w-[12px] rh-h-[12px]",
2003
+ lg: "rh-w-4 rh-h-4"
2004
+ };
2005
+ var addButtonSizeClasses = {
2006
+ sm: "rh-w-4 rh-h-4",
2007
+ md: "rh-w-5 rh-h-5",
2008
+ lg: "rh-w-5 rh-h-5"
2009
+ };
2010
+ var TagInput = React8.forwardRef(
2011
+ function TagInput2({
2012
+ label,
2013
+ subtitle,
2014
+ options = [],
2015
+ value = [],
2016
+ onChange,
2017
+ placeholder,
2018
+ status = "default",
2019
+ size = "md",
2020
+ radius = "md",
2021
+ helperText,
2022
+ disabled,
2023
+ className = "",
2024
+ wrapperClassName = ""
2025
+ }, ref) {
2026
+ const inputId = React8__default.default.useId();
2027
+ const [isOpen, setIsOpen] = React8.useState(false);
2028
+ const containerRef = React8.useRef(null);
2029
+ React8.useEffect(() => {
2030
+ const handleClickOutside = (event) => {
2031
+ if (containerRef.current && !containerRef.current.contains(event.target)) {
2032
+ setIsOpen(false);
2033
+ }
2034
+ };
2035
+ document.addEventListener("mousedown", handleClickOutside);
2036
+ return () => document.removeEventListener("mousedown", handleClickOutside);
2037
+ }, []);
2038
+ const handleRemoveTag = (tagValue) => {
2039
+ if (disabled) return;
2040
+ onChange(value.filter((tag) => tag.value !== tagValue));
2041
+ };
2042
+ const handleToggleOption = (option) => {
2043
+ if (disabled) return;
2044
+ const isSelected = value.some((v) => v.value === option.value);
2045
+ if (isSelected) {
2046
+ onChange(value.filter((v) => v.value !== option.value));
2047
+ } else {
2048
+ onChange([...value, option]);
2049
+ }
2050
+ };
2051
+ const handleAddClick = () => {
2052
+ if (disabled) return;
2053
+ setIsOpen(!isOpen);
2054
+ };
2055
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2056
+ "div",
2057
+ {
2058
+ ref: (node) => {
2059
+ if (typeof ref === "function") ref(node);
2060
+ else if (ref) ref.current = node;
2061
+ containerRef.current = node;
2062
+ },
2063
+ className: [
2064
+ "rh-flex rh-flex-col rh-gap-2 rh-font-sans rh-relative",
2065
+ wrapperClassName
2066
+ ].filter(Boolean).join(" "),
2067
+ children: [
2068
+ label && /* @__PURE__ */ jsxRuntime.jsxs(
2069
+ "label",
2070
+ {
2071
+ htmlFor: inputId,
2072
+ className: "rh-flex rh-items-baseline rh-gap-1",
2073
+ children: [
2074
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-sm rh-font-semibold rh-text-text", children: label }),
2075
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-sm rh-text-text-muted", children: subtitle })
2076
+ ]
2077
+ }
2078
+ ),
2079
+ /* @__PURE__ */ jsxRuntime.jsxs(
2080
+ "div",
2081
+ {
2082
+ onClick: disabled ? void 0 : handleAddClick,
2083
+ className: [
2084
+ "rh-flex rh-flex-row rh-items-center rh-justify-between rh-gap-2",
2085
+ "rh-border rh-bg-surface rh-font-sans",
2086
+ "rh-transition-colors rh-duration-150",
2087
+ statusClasses3[status],
2088
+ radiusClasses5[radius],
2089
+ sizeClasses9[size],
2090
+ disabled ? "rh-opacity-50 rh-cursor-not-allowed rh-bg-background" : "rh-cursor-pointer",
2091
+ className
2092
+ ].filter(Boolean).join(" "),
2093
+ children: [
2094
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rh-flex rh-flex-row rh-flex-wrap rh-items-center rh-gap-2 rh-flex-1", children: [
2095
+ value.length === 0 && placeholder && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-text-muted", children: placeholder }),
2096
+ value.map((tag) => /* @__PURE__ */ jsxRuntime.jsxs(
2097
+ "div",
2098
+ {
2099
+ className: [
2100
+ "rh-inline-flex rh-items-center rh-justify-center rh-gap-1",
2101
+ "rh-bg-gray-200 rh-border rh-border-gray-200 rh-rounded-[4px]",
2102
+ tagSizeClasses[size]
2103
+ ].join(" "),
2104
+ children: [
2105
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-font-semibold rh-text-gray-700", children: tag.label }),
2106
+ /* @__PURE__ */ jsxRuntime.jsx(
2107
+ "button",
2108
+ {
2109
+ type: "button",
2110
+ onClick: (e) => {
2111
+ e.stopPropagation();
2112
+ handleRemoveTag(tag.value);
2113
+ },
2114
+ disabled,
2115
+ className: [
2116
+ "rh-flex rh-items-center rh-justify-center",
2117
+ "rh-bg-white rh-rounded-full",
2118
+ "rh-cursor-pointer hover:rh-bg-gray-100",
2119
+ "disabled:rh-cursor-not-allowed disabled:rh-opacity-50",
2120
+ deleteButtonSizeClasses[size]
2121
+ ].join(" "),
2122
+ "aria-label": `Remover ${tag.label}`,
2123
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2124
+ "svg",
2125
+ {
2126
+ viewBox: "0 0 8 8",
2127
+ fill: "none",
2128
+ xmlns: "http://www.w3.org/2000/svg",
2129
+ className: "rh-w-[8px] rh-h-[8px]",
2130
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2131
+ "path",
2132
+ {
2133
+ d: "M6 2L2 6M2 2L6 6",
2134
+ stroke: "#374151",
2135
+ strokeWidth: "1.5",
2136
+ strokeLinecap: "round",
2137
+ strokeLinejoin: "round"
2138
+ }
2139
+ )
2140
+ }
2141
+ )
2142
+ }
2143
+ )
2144
+ ]
2145
+ },
2146
+ tag.value
2147
+ ))
2148
+ ] }),
2149
+ /* @__PURE__ */ jsxRuntime.jsx(
2150
+ "button",
2151
+ {
2152
+ type: "button",
2153
+ onClick: handleAddClick,
2154
+ disabled,
2155
+ className: [
2156
+ "rh-flex rh-items-center rh-justify-center rh-shrink-0",
2157
+ "rh-text-text-muted hover:rh-text-text",
2158
+ "rh-cursor-pointer",
2159
+ "disabled:rh-cursor-not-allowed disabled:rh-opacity-50",
2160
+ addButtonSizeClasses[size]
2161
+ ].join(" "),
2162
+ "aria-label": "Adicionar",
2163
+ "aria-expanded": isOpen,
2164
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2165
+ "svg",
2166
+ {
2167
+ viewBox: "0 0 20 20",
2168
+ fill: "none",
2169
+ xmlns: "http://www.w3.org/2000/svg",
2170
+ className: "rh-w-full rh-h-full",
2171
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2172
+ "path",
2173
+ {
2174
+ d: "M10 4V16M4 10H16",
2175
+ stroke: "currentColor",
2176
+ strokeWidth: "2",
2177
+ strokeLinecap: "round",
2178
+ strokeLinejoin: "round"
2179
+ }
2180
+ )
2181
+ }
2182
+ )
2183
+ }
2184
+ )
2185
+ ]
2186
+ }
2187
+ ),
2188
+ isOpen && options.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
2189
+ "div",
2190
+ {
2191
+ className: [
2192
+ "rh-absolute rh-top-full rh-left-0 rh-right-0 rh-z-50",
2193
+ "rh-mt-1 rh-bg-surface rh-border rh-border-border",
2194
+ "rh-rounded-[8px] rh-shadow-lg rh-overflow-hidden"
2195
+ ].join(" "),
2196
+ children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "rh-max-h-[200px] rh-overflow-y-auto", children: options.map((option) => {
2197
+ const isSelected = value.some((v) => v.value === option.value);
2198
+ return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
2199
+ "button",
2200
+ {
2201
+ type: "button",
2202
+ onClick: () => handleToggleOption(option),
2203
+ className: [
2204
+ "rh-w-full rh-flex rh-items-center rh-justify-between",
2205
+ "rh-px-3 rh-py-3 rh-text-left",
2206
+ "rh-border-b rh-border-border/50 last:rh-border-b-0",
2207
+ "hover:rh-bg-gray-50 rh-transition-colors",
2208
+ isSelected ? "rh-text-text" : "rh-text-text-muted"
2209
+ ].join(" "),
2210
+ children: [
2211
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rh-text-sm rh-font-normal", children: option.label }),
2212
+ /* @__PURE__ */ jsxRuntime.jsx(
2213
+ "span",
2214
+ {
2215
+ className: [
2216
+ "rh-w-5 rh-h-5 rh-rounded rh-border-2 rh-flex rh-items-center rh-justify-center",
2217
+ isSelected ? "rh-bg-primary rh-border-primary" : "rh-bg-white rh-border-gray-300"
2218
+ ].join(" "),
2219
+ children: isSelected && /* @__PURE__ */ jsxRuntime.jsx(
2220
+ "svg",
2221
+ {
2222
+ viewBox: "0 0 12 12",
2223
+ fill: "none",
2224
+ xmlns: "http://www.w3.org/2000/svg",
2225
+ className: "rh-w-3 rh-h-3",
2226
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2227
+ "path",
2228
+ {
2229
+ d: "M2 6L5 9L10 3",
2230
+ stroke: "white",
2231
+ strokeWidth: "2",
2232
+ strokeLinecap: "round",
2233
+ strokeLinejoin: "round"
2234
+ }
2235
+ )
2236
+ }
2237
+ )
2238
+ }
2239
+ )
2240
+ ]
2241
+ }
2242
+ ) }, option.value);
2243
+ }) })
2244
+ }
2245
+ ),
2246
+ helperText && /* @__PURE__ */ jsxRuntime.jsx(
2247
+ "span",
2248
+ {
2249
+ id: `${inputId}-helper`,
2250
+ className: [
2251
+ "rh-flex rh-items-center rh-gap-1 rh-text-xs",
2252
+ helperStatusClasses3[status]
2253
+ ].join(" "),
2254
+ children: helperText
2255
+ }
2256
+ )
2257
+ ]
2258
+ }
2259
+ );
2260
+ }
2261
+ );
2262
+ var ProgressBar = React8.forwardRef(
2263
+ function ProgressBar2({
2264
+ value,
2265
+ label,
2266
+ size = "sm",
2267
+ showPercentage = true,
2268
+ barColor,
2269
+ bgColor,
2270
+ className = ""
2271
+ }, ref) {
2272
+ const clampedValue = Math.min(100, Math.max(0, value));
2273
+ if (size === "lg") {
2274
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2275
+ "div",
2276
+ {
2277
+ ref,
2278
+ className: [
2279
+ "rh-flex rh-flex-col rh-items-start rh-gap-2 rh-font-sans",
2280
+ className
2281
+ ].filter(Boolean).join(" "),
2282
+ children: [
2283
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rh-flex rh-flex-row rh-justify-between rh-items-start rh-w-full", children: [
2284
+ label && /* @__PURE__ */ jsxRuntime.jsx(
2285
+ "span",
2286
+ {
2287
+ className: "rh-font-sora rh-font-bold rh-text-base rh-leading-6 rh-text-[#374151] rh-flex-1",
2288
+ children: label
2289
+ }
2290
+ ),
2291
+ showPercentage && /* @__PURE__ */ jsxRuntime.jsxs(
2292
+ "span",
2293
+ {
2294
+ className: "rh-font-inter rh-font-normal rh-text-sm rh-leading-5 rh-text-[#9CA3AF] rh-tracking-[0.025em] rh-text-right",
2295
+ children: [
2296
+ clampedValue,
2297
+ "%"
2298
+ ]
2299
+ }
2300
+ )
2301
+ ] }),
2302
+ /* @__PURE__ */ jsxRuntime.jsx(
2303
+ "div",
2304
+ {
2305
+ className: "rh-w-full rh-h-1 rh-rounded-[40px] rh-overflow-hidden",
2306
+ style: { backgroundColor: bgColor || "#E5E7EB" },
2307
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2308
+ "div",
2309
+ {
2310
+ className: "rh-h-full rh-rounded-[40px] rh-transition-all rh-duration-300",
2311
+ style: {
2312
+ width: `${clampedValue}%`,
2313
+ backgroundColor: barColor || "#538CC6"
2314
+ }
2315
+ }
2316
+ )
2317
+ }
2318
+ )
2319
+ ]
2320
+ }
2321
+ );
2322
+ }
2323
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2324
+ "div",
2325
+ {
2326
+ ref,
2327
+ className: [
2328
+ "rh-flex rh-flex-row rh-items-center rh-gap-2 rh-font-sans",
2329
+ className
2330
+ ].filter(Boolean).join(" "),
2331
+ children: [
2332
+ /* @__PURE__ */ jsxRuntime.jsx(
2333
+ "div",
2334
+ {
2335
+ className: "rh-flex-1 rh-h-1 rh-rounded-[40px] rh-overflow-hidden",
2336
+ style: { backgroundColor: bgColor || "#E5E7EB" },
2337
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2338
+ "div",
2339
+ {
2340
+ className: "rh-h-full rh-rounded-[40px] rh-transition-all rh-duration-300",
2341
+ style: {
2342
+ width: `${clampedValue}%`,
2343
+ backgroundColor: barColor || "#538CC6"
2344
+ }
2345
+ }
2346
+ )
2347
+ }
2348
+ ),
2349
+ showPercentage && /* @__PURE__ */ jsxRuntime.jsxs(
2350
+ "span",
2351
+ {
2352
+ className: "rh-font-inter rh-font-normal rh-text-sm rh-leading-5 rh-text-[#9CA3AF] rh-tracking-[0.025em] rh-text-right rh-min-w-[40px]",
2353
+ children: [
2354
+ clampedValue,
2355
+ "%"
2356
+ ]
2357
+ }
2358
+ )
2359
+ ]
2360
+ }
2361
+ );
2362
+ }
2363
+ );
1965
2364
  var PRESET_COLORS4 = /* @__PURE__ */ new Set([
1966
2365
  "primary",
1967
2366
  "secondary",
@@ -1971,12 +2370,12 @@ var PRESET_COLORS4 = /* @__PURE__ */ new Set([
1971
2370
  "info"
1972
2371
  ]);
1973
2372
  var isPresetColor4 = (color) => PRESET_COLORS4.has(color);
1974
- var sizeClasses9 = {
2373
+ var sizeClasses10 = {
1975
2374
  sm: { container: "rh-h-8", button: "rh-px-2 rh-text-xs" },
1976
2375
  md: { container: "rh-h-9", button: "rh-px-3 rh-text-sm" },
1977
2376
  lg: { container: "rh-h-10", button: "rh-px-4 rh-text-sm" }
1978
2377
  };
1979
- var radiusClasses5 = {
2378
+ var radiusClasses6 = {
1980
2379
  none: "rh-rounded-none",
1981
2380
  xs: "rh-rounded-xs",
1982
2381
  sm: "rh-rounded-sm",
@@ -2009,8 +2408,8 @@ function ToggleGroupInner({
2009
2408
  className: [
2010
2409
  "rh-inline-flex rh-items-center rh-bg-muted rh-overflow-hidden",
2011
2410
  "rh-p-1 rh-gap-0.5",
2012
- radiusClasses5[radius],
2013
- sizeClasses9[size].container,
2411
+ radiusClasses6[radius],
2412
+ sizeClasses10[size].container,
2014
2413
  disabled ? "rh-opacity-50 rh-cursor-not-allowed" : "",
2015
2414
  className
2016
2415
  ].filter(Boolean).join(" "),
@@ -2032,8 +2431,8 @@ function ToggleGroupInner({
2032
2431
  "rh-border-0 rh-font-sans rh-font-medium",
2033
2432
  "rh-transition-all rh-duration-150",
2034
2433
  "focus-visible:rh-outline-none focus-visible:rh-ring-2 focus-visible:rh-ring-ring",
2035
- radiusClasses5[radius],
2036
- sizeClasses9[size].button,
2434
+ radiusClasses6[radius],
2435
+ sizeClasses10[size].button,
2037
2436
  isActive ? "rh-bg-surface rh-text-text rh-shadow-sm" : "rh-bg-transparent rh-text-text-muted",
2038
2437
  !isActive && !isDisabled ? "hover:rh-bg-surface/50" : "",
2039
2438
  isDisabled ? "rh-cursor-not-allowed rh-pointer-events-none" : "rh-cursor-pointer"
@@ -2056,7 +2455,7 @@ var variantClasses3 = {
2056
2455
  outlined: "rh-bg-surface rh-border rh-border-border rh-shadow-none",
2057
2456
  filled: "rh-bg-background rh-border-0 rh-shadow-none"
2058
2457
  };
2059
- var radiusClasses6 = {
2458
+ var radiusClasses7 = {
2060
2459
  none: "rh-rounded-none",
2061
2460
  xs: "rh-rounded-xs",
2062
2461
  sm: "rh-rounded-sm",
@@ -2091,7 +2490,7 @@ var Card = React8.forwardRef(function Card2({
2091
2490
  className: [
2092
2491
  "rh-font-sans rh-transition-all rh-duration-150",
2093
2492
  variantClasses3[variant],
2094
- radiusClasses6[radius],
2493
+ radiusClasses7[radius],
2095
2494
  paddingClasses[padding],
2096
2495
  isInteractive ? "rh-cursor-pointer hover:rh-shadow-lg hover:rh-scale-[1.01] active:rh-scale-[0.99]" : "",
2097
2496
  disabled ? "rh-opacity-50 rh-cursor-not-allowed rh-pointer-events-none" : "",
@@ -2139,7 +2538,7 @@ var PRESET_COLORS5 = /* @__PURE__ */ new Set([
2139
2538
  "info"
2140
2539
  ]);
2141
2540
  var isPresetColor5 = (color) => PRESET_COLORS5.has(color);
2142
- var sizeClasses10 = {
2541
+ var sizeClasses11 = {
2143
2542
  xs: "rh-w-3 rh-h-3",
2144
2543
  sm: "rh-w-4 rh-h-4",
2145
2544
  md: "rh-w-6 rh-h-6",
@@ -2166,7 +2565,7 @@ var Spinner = React8.forwardRef(function Spinner2({ size = "md", color = "primar
2166
2565
  "aria-label": label,
2167
2566
  className: [
2168
2567
  "rh-inline-flex rh-items-center rh-justify-center",
2169
- sizeClasses10[size],
2568
+ sizeClasses11[size],
2170
2569
  colorClass,
2171
2570
  className
2172
2571
  ].filter(Boolean).join(" "),
@@ -2209,7 +2608,7 @@ var Spinner = React8.forwardRef(function Spinner2({ size = "md", color = "primar
2209
2608
  }
2210
2609
  );
2211
2610
  });
2212
- var sizeClasses11 = {
2611
+ var sizeClasses12 = {
2213
2612
  sm: { cell: "rh-px-2 rh-py-2 rh-text-xs", header: "rh-px-2 rh-py-2 rh-text-xs" },
2214
2613
  md: { cell: "rh-px-3 rh-py-3 rh-text-sm", header: "rh-px-3 rh-py-3 rh-text-xs" },
2215
2614
  lg: { cell: "rh-px-4 rh-py-4 rh-text-sm", header: "rh-px-4 rh-py-3 rh-text-sm" }
@@ -2232,6 +2631,7 @@ function TableInner({
2232
2631
  loadingContent,
2233
2632
  stickyHeader = false,
2234
2633
  headerStyle,
2634
+ headerTextClassName,
2235
2635
  className = "",
2236
2636
  ...rest
2237
2637
  }, ref) {
@@ -2289,9 +2689,9 @@ function TableInner({
2289
2689
  scope: "col",
2290
2690
  style: { width: column.width },
2291
2691
  className: [
2292
- sizeClasses11[size].header,
2692
+ sizeClasses12[size].header,
2293
2693
  alignClasses[column.align || "left"],
2294
- "rh-font-semibold rh-text-text-muted rh-whitespace-nowrap",
2694
+ `rh-font-semibold rh-whitespace-nowrap ${headerTextClassName || "rh-text-text-muted"}`,
2295
2695
  stickyHeader ? "rh-sticky rh-top-0 rh-bg-surface rh-z-10" : "",
2296
2696
  column.sortable ? "rh-cursor-pointer rh-select-none hover:rh-text-text" : ""
2297
2697
  ].filter(Boolean).join(" "),
@@ -2350,7 +2750,7 @@ function TableInner({
2350
2750
  "td",
2351
2751
  {
2352
2752
  className: [
2353
- sizeClasses11[size].cell,
2753
+ sizeClasses12[size].cell,
2354
2754
  alignClasses[column.align || "left"],
2355
2755
  "rh-text-text"
2356
2756
  ].filter(Boolean).join(" "),
@@ -2554,6 +2954,7 @@ exports.IconButton = IconButton;
2554
2954
  exports.InfoIcon = InfoIcon;
2555
2955
  exports.NeutralIcon = NeutralIcon;
2556
2956
  exports.PlusIcon = PlusIcon;
2957
+ exports.ProgressBar = ProgressBar;
2557
2958
  exports.RehagroProvider = RehagroProvider;
2558
2959
  exports.SearchIcon = SearchIcon;
2559
2960
  exports.Select = Select;
@@ -2561,6 +2962,7 @@ exports.Spinner = Spinner;
2561
2962
  exports.SuccessIcon = SuccessIcon;
2562
2963
  exports.Table = Table;
2563
2964
  exports.Tag = Tag;
2965
+ exports.TagInput = TagInput;
2564
2966
  exports.TextInput = TextInput;
2565
2967
  exports.Toast = Toast;
2566
2968
  exports.ToastContainer = ToastContainer;