@mlw-packages/react-components 1.9.12 → 1.9.14

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.css CHANGED
@@ -860,10 +860,6 @@ body {
860
860
  width: 0.5rem;
861
861
  height: 0.5rem;
862
862
  }
863
- .size-2\.5 {
864
- width: 0.625rem;
865
- height: 0.625rem;
866
- }
867
863
  .size-3 {
868
864
  width: 0.75rem;
869
865
  height: 0.75rem;
@@ -1022,9 +1018,6 @@ body {
1022
1018
  .h-\[550px\] {
1023
1019
  height: 550px;
1024
1020
  }
1025
- .h-\[667px\] {
1026
- height: 667px;
1027
- }
1028
1021
  .h-\[95vh\] {
1029
1022
  height: 95vh;
1030
1023
  }
@@ -1181,9 +1174,6 @@ body {
1181
1174
  .w-20 {
1182
1175
  width: 5rem;
1183
1176
  }
1184
- .w-24 {
1185
- width: 6rem;
1186
- }
1187
1177
  .w-28 {
1188
1178
  width: 7rem;
1189
1179
  }
@@ -1289,9 +1279,6 @@ body {
1289
1279
  .w-\[350px\] {
1290
1280
  width: 350px;
1291
1281
  }
1292
- .w-\[375px\] {
1293
- width: 375px;
1294
- }
1295
1282
  .w-\[400px\] {
1296
1283
  width: 400px;
1297
1284
  }
@@ -1304,9 +1291,6 @@ body {
1304
1291
  .w-\[500px\] {
1305
1292
  width: 500px;
1306
1293
  }
1307
- .w-\[52rem\] {
1308
- width: 52rem;
1309
- }
1310
1294
  .w-\[600px\] {
1311
1295
  width: 600px;
1312
1296
  }
@@ -1944,12 +1928,6 @@ body {
1944
1928
  .rounded-2xl {
1945
1929
  border-radius: 1rem;
1946
1930
  }
1947
- .rounded-\[2px\] {
1948
- border-radius: 2px;
1949
- }
1950
- .rounded-\[40px\] {
1951
- border-radius: 40px;
1952
- }
1953
1931
  .rounded-\[inherit\] {
1954
1932
  border-radius: inherit;
1955
1933
  }
@@ -2371,15 +2349,9 @@ body {
2371
2349
  .bg-background\/95 {
2372
2350
  background-color: hsl(var(--background) / 0.95);
2373
2351
  }
2374
- .bg-black\/20 {
2375
- background-color: rgb(0 0 0 / 0.2);
2376
- }
2377
2352
  .bg-black\/40 {
2378
2353
  background-color: rgb(0 0 0 / 0.4);
2379
2354
  }
2380
- .bg-black\/5 {
2381
- background-color: rgb(0 0 0 / 0.05);
2382
- }
2383
2355
  .bg-black\/50 {
2384
2356
  background-color: rgb(0 0 0 / 0.5);
2385
2357
  }
@@ -3341,9 +3313,6 @@ body {
3341
3313
  --tw-text-opacity: 1;
3342
3314
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
3343
3315
  }
3344
- .text-black\/40 {
3345
- color: rgb(0 0 0 / 0.4);
3346
- }
3347
3316
  .text-blue-400 {
3348
3317
  --tw-text-opacity: 1;
3349
3318
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
package/dist/index.d.mts CHANGED
@@ -1669,7 +1669,7 @@ interface ChartProps {
1669
1669
  titlePosition?: "left" | "center" | "right";
1670
1670
  showLabels?: boolean;
1671
1671
  labelMap?: Record<string, string>;
1672
- valueFormatter?: valueFormatter;
1672
+ valueFormatter?: valueFormatter | Record<string, string>;
1673
1673
  categoryFormatter?: (value: string | number) => string;
1674
1674
  periodLabel?: string;
1675
1675
  xAxisLabel?: string;
@@ -1931,6 +1931,7 @@ interface DraggableTooltipProps {
1931
1931
  showOnlyHighlighted?: boolean;
1932
1932
  valueFormatter?: valueFormatter;
1933
1933
  categoryFormatter?: (value: string | number) => string;
1934
+ seriesTypeMap?: Record<string, string>;
1934
1935
  }
1935
1936
  declare const DraggableTooltip: React__default.NamedExoticComponent<DraggableTooltipProps>;
1936
1937
 
@@ -1951,6 +1952,7 @@ interface Props$3 {
1951
1952
  categoryFormatter?: (value: string | number) => string;
1952
1953
  yAxisMap?: Record<string, "left" | "right">;
1953
1954
  isBiaxial?: boolean;
1955
+ seriesTypeMap?: Record<string, string>;
1954
1956
  }
1955
1957
  declare const RechartTooltipWithTotal: React__default.FC<Props$3>;
1956
1958
 
@@ -1970,6 +1972,7 @@ interface Props$2 {
1970
1972
  categoryFormatter?: (value: string | number) => string;
1971
1973
  yAxisMap?: Record<string, "left" | "right">;
1972
1974
  isBiaxial?: boolean;
1975
+ seriesTypeMap?: Record<string, string>;
1973
1976
  }
1974
1977
  declare const TooltipSimple: React__default.FC<Props$2>;
1975
1978
 
@@ -2320,7 +2323,6 @@ interface CarouselBaseProps {
2320
2323
  containerClassName?: string;
2321
2324
  imageClassName?: string;
2322
2325
  width?: string;
2323
- height?: string;
2324
2326
  showControls?: boolean;
2325
2327
  showIndicators?: boolean;
2326
2328
  autoPlay?: boolean;
@@ -2333,7 +2335,7 @@ interface CarouselBaseProps {
2333
2335
  download?: boolean;
2334
2336
  isLoading?: boolean;
2335
2337
  }
2336
- declare function CarouselBase({ items, className, containerClassName, imageClassName, width, height, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2338
+ declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2337
2339
 
2338
2340
  type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
2339
2341
  type MenuItem = {
package/dist/index.d.ts CHANGED
@@ -1669,7 +1669,7 @@ interface ChartProps {
1669
1669
  titlePosition?: "left" | "center" | "right";
1670
1670
  showLabels?: boolean;
1671
1671
  labelMap?: Record<string, string>;
1672
- valueFormatter?: valueFormatter;
1672
+ valueFormatter?: valueFormatter | Record<string, string>;
1673
1673
  categoryFormatter?: (value: string | number) => string;
1674
1674
  periodLabel?: string;
1675
1675
  xAxisLabel?: string;
@@ -1931,6 +1931,7 @@ interface DraggableTooltipProps {
1931
1931
  showOnlyHighlighted?: boolean;
1932
1932
  valueFormatter?: valueFormatter;
1933
1933
  categoryFormatter?: (value: string | number) => string;
1934
+ seriesTypeMap?: Record<string, string>;
1934
1935
  }
1935
1936
  declare const DraggableTooltip: React__default.NamedExoticComponent<DraggableTooltipProps>;
1936
1937
 
@@ -1951,6 +1952,7 @@ interface Props$3 {
1951
1952
  categoryFormatter?: (value: string | number) => string;
1952
1953
  yAxisMap?: Record<string, "left" | "right">;
1953
1954
  isBiaxial?: boolean;
1955
+ seriesTypeMap?: Record<string, string>;
1954
1956
  }
1955
1957
  declare const RechartTooltipWithTotal: React__default.FC<Props$3>;
1956
1958
 
@@ -1970,6 +1972,7 @@ interface Props$2 {
1970
1972
  categoryFormatter?: (value: string | number) => string;
1971
1973
  yAxisMap?: Record<string, "left" | "right">;
1972
1974
  isBiaxial?: boolean;
1975
+ seriesTypeMap?: Record<string, string>;
1973
1976
  }
1974
1977
  declare const TooltipSimple: React__default.FC<Props$2>;
1975
1978
 
@@ -2320,7 +2323,6 @@ interface CarouselBaseProps {
2320
2323
  containerClassName?: string;
2321
2324
  imageClassName?: string;
2322
2325
  width?: string;
2323
- height?: string;
2324
2326
  showControls?: boolean;
2325
2327
  showIndicators?: boolean;
2326
2328
  autoPlay?: boolean;
@@ -2333,7 +2335,7 @@ interface CarouselBaseProps {
2333
2335
  download?: boolean;
2334
2336
  isLoading?: boolean;
2335
2337
  }
2336
- declare function CarouselBase({ items, className, containerClassName, imageClassName, width, height, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2338
+ declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2337
2339
 
2338
2340
  type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
2339
2341
  type MenuItem = {