@mlw-packages/react-components 1.7.27 → 1.8.0
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 +91 -23
- package/dist/index.d.mts +95 -5
- package/dist/index.d.ts +95 -5
- package/dist/index.js +2156 -1790
- package/dist/index.mjs +1885 -1526
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -772,6 +772,9 @@ body {
|
|
|
772
772
|
.mr-5 {
|
|
773
773
|
margin-right: 1.25rem;
|
|
774
774
|
}
|
|
775
|
+
.mr-8 {
|
|
776
|
+
margin-right: 2rem;
|
|
777
|
+
}
|
|
775
778
|
.ms-6 {
|
|
776
779
|
margin-inline-start: 1.5rem;
|
|
777
780
|
}
|
|
@@ -985,6 +988,9 @@ body {
|
|
|
985
988
|
.h-\[34px\] {
|
|
986
989
|
height: 34px;
|
|
987
990
|
}
|
|
991
|
+
.h-\[50vh\] {
|
|
992
|
+
height: 50vh;
|
|
993
|
+
}
|
|
988
994
|
.h-\[calc\(var\(--week-cells-height\)\/4\)\] {
|
|
989
995
|
height: calc(var(--week-cells-height) / 4);
|
|
990
996
|
}
|
|
@@ -1045,6 +1051,9 @@ body {
|
|
|
1045
1051
|
.max-h-\[90dvh\] {
|
|
1046
1052
|
max-height: 90dvh;
|
|
1047
1053
|
}
|
|
1054
|
+
.max-h-\[90vh\] {
|
|
1055
|
+
max-height: 90vh;
|
|
1056
|
+
}
|
|
1048
1057
|
.max-h-\[var\(--radix-context-menu-content-available-height\)\] {
|
|
1049
1058
|
max-height: var(--radix-context-menu-content-available-height);
|
|
1050
1059
|
}
|
|
@@ -1099,6 +1108,9 @@ body {
|
|
|
1099
1108
|
.w-0\.5 {
|
|
1100
1109
|
width: 0.125rem;
|
|
1101
1110
|
}
|
|
1111
|
+
.w-1 {
|
|
1112
|
+
width: 0.25rem;
|
|
1113
|
+
}
|
|
1102
1114
|
.w-1\.5 {
|
|
1103
1115
|
width: 0.375rem;
|
|
1104
1116
|
}
|
|
@@ -1369,6 +1381,9 @@ body {
|
|
|
1369
1381
|
.max-w-\[calc\(100vw-16px\)\] {
|
|
1370
1382
|
max-width: calc(100vw - 16px);
|
|
1371
1383
|
}
|
|
1384
|
+
.max-w-\[min\(95vw\,450px\)\] {
|
|
1385
|
+
max-width: min(95vw, 450px);
|
|
1386
|
+
}
|
|
1372
1387
|
.max-w-full {
|
|
1373
1388
|
max-width: 100%;
|
|
1374
1389
|
}
|
|
@@ -1659,9 +1674,6 @@ body {
|
|
|
1659
1674
|
.gap-12 {
|
|
1660
1675
|
gap: 3rem;
|
|
1661
1676
|
}
|
|
1662
|
-
.gap-16 {
|
|
1663
|
-
gap: 4rem;
|
|
1664
|
-
}
|
|
1665
1677
|
.gap-2 {
|
|
1666
1678
|
gap: 0.5rem;
|
|
1667
1679
|
}
|
|
@@ -1944,10 +1956,6 @@ body {
|
|
|
1944
1956
|
border-top-width: 1px;
|
|
1945
1957
|
border-bottom-width: 1px;
|
|
1946
1958
|
}
|
|
1947
|
-
.border-y-2 {
|
|
1948
|
-
border-top-width: 2px;
|
|
1949
|
-
border-bottom-width: 2px;
|
|
1950
|
-
}
|
|
1951
1959
|
.border-b {
|
|
1952
1960
|
border-bottom-width: 1px;
|
|
1953
1961
|
}
|
|
@@ -2132,6 +2140,9 @@ body {
|
|
|
2132
2140
|
--tw-border-opacity: 1;
|
|
2133
2141
|
border-color: rgb(212 212 216 / var(--tw-border-opacity, 1));
|
|
2134
2142
|
}
|
|
2143
|
+
.border-b-transparent {
|
|
2144
|
+
border-bottom-color: transparent;
|
|
2145
|
+
}
|
|
2135
2146
|
.border-l-transparent {
|
|
2136
2147
|
border-left-color: transparent;
|
|
2137
2148
|
}
|
|
@@ -2389,6 +2400,9 @@ body {
|
|
|
2389
2400
|
.bg-primary\/20 {
|
|
2390
2401
|
background-color: hsl(var(--primary) / 0.2);
|
|
2391
2402
|
}
|
|
2403
|
+
.bg-primary\/5 {
|
|
2404
|
+
background-color: hsl(var(--primary) / 0.05);
|
|
2405
|
+
}
|
|
2392
2406
|
.bg-purple-100 {
|
|
2393
2407
|
--tw-bg-opacity: 1;
|
|
2394
2408
|
background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
|
|
@@ -2547,6 +2561,16 @@ body {
|
|
|
2547
2561
|
--tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);
|
|
2548
2562
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2549
2563
|
}
|
|
2564
|
+
.from-blue-50 {
|
|
2565
|
+
--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
|
|
2566
|
+
--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
|
|
2567
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2568
|
+
}
|
|
2569
|
+
.from-blue-600 {
|
|
2570
|
+
--tw-gradient-from: #2563eb var(--tw-gradient-from-position);
|
|
2571
|
+
--tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
|
|
2572
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2573
|
+
}
|
|
2550
2574
|
.from-muted\/50 {
|
|
2551
2575
|
--tw-gradient-from: hsl(var(--muted) / 0.5) var(--tw-gradient-from-position);
|
|
2552
2576
|
--tw-gradient-to: hsl(var(--muted) / 0) var(--tw-gradient-to-position);
|
|
@@ -2557,6 +2581,11 @@ body {
|
|
|
2557
2581
|
--tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
|
|
2558
2582
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2559
2583
|
}
|
|
2584
|
+
.from-purple-50 {
|
|
2585
|
+
--tw-gradient-from: #faf5ff var(--tw-gradient-from-position);
|
|
2586
|
+
--tw-gradient-to: rgb(250 245 255 / 0) var(--tw-gradient-to-position);
|
|
2587
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2588
|
+
}
|
|
2560
2589
|
.from-ring\/20 {
|
|
2561
2590
|
--tw-gradient-from: hsl(var(--ring) / 0.2) var(--tw-gradient-from-position);
|
|
2562
2591
|
--tw-gradient-to: hsl(var(--ring) / 0) var(--tw-gradient-to-position);
|
|
@@ -2569,15 +2598,28 @@ body {
|
|
|
2569
2598
|
hsl(var(--ring) / 0.1) var(--tw-gradient-via-position),
|
|
2570
2599
|
var(--tw-gradient-to);
|
|
2571
2600
|
}
|
|
2601
|
+
.to-indigo-50 {
|
|
2602
|
+
--tw-gradient-to: #eef2ff var(--tw-gradient-to-position);
|
|
2603
|
+
}
|
|
2572
2604
|
.to-muted {
|
|
2573
2605
|
--tw-gradient-to: hsl(var(--muted)) var(--tw-gradient-to-position);
|
|
2574
2606
|
}
|
|
2607
|
+
.to-pink-50 {
|
|
2608
|
+
--tw-gradient-to: #fdf2f8 var(--tw-gradient-to-position);
|
|
2609
|
+
}
|
|
2575
2610
|
.to-primary\/70 {
|
|
2576
2611
|
--tw-gradient-to: hsl(var(--primary) / 0.7) var(--tw-gradient-to-position);
|
|
2577
2612
|
}
|
|
2613
|
+
.to-purple-600 {
|
|
2614
|
+
--tw-gradient-to: #9333ea var(--tw-gradient-to-position);
|
|
2615
|
+
}
|
|
2578
2616
|
.to-ring\/20 {
|
|
2579
2617
|
--tw-gradient-to: hsl(var(--ring) / 0.2) var(--tw-gradient-to-position);
|
|
2580
2618
|
}
|
|
2619
|
+
.bg-clip-text {
|
|
2620
|
+
-webkit-background-clip: text;
|
|
2621
|
+
background-clip: text;
|
|
2622
|
+
}
|
|
2581
2623
|
.fill-current {
|
|
2582
2624
|
fill: currentColor;
|
|
2583
2625
|
}
|
|
@@ -2668,6 +2710,10 @@ body {
|
|
|
2668
2710
|
padding-left: 1.5rem;
|
|
2669
2711
|
padding-right: 1.5rem;
|
|
2670
2712
|
}
|
|
2713
|
+
.px-8 {
|
|
2714
|
+
padding-left: 2rem;
|
|
2715
|
+
padding-right: 2rem;
|
|
2716
|
+
}
|
|
2671
2717
|
.px-96 {
|
|
2672
2718
|
padding-left: 24rem;
|
|
2673
2719
|
padding-right: 24rem;
|
|
@@ -2772,9 +2818,6 @@ body {
|
|
|
2772
2818
|
.pr-2\.5 {
|
|
2773
2819
|
padding-right: 0.625rem;
|
|
2774
2820
|
}
|
|
2775
|
-
.pr-3 {
|
|
2776
|
-
padding-right: 0.75rem;
|
|
2777
|
-
}
|
|
2778
2821
|
.pr-4 {
|
|
2779
2822
|
padding-right: 1rem;
|
|
2780
2823
|
}
|
|
@@ -3025,6 +3068,9 @@ body {
|
|
|
3025
3068
|
.text-foreground {
|
|
3026
3069
|
color: hsl(var(--foreground));
|
|
3027
3070
|
}
|
|
3071
|
+
.text-foreground\/90 {
|
|
3072
|
+
color: hsl(var(--foreground) / 0.9);
|
|
3073
|
+
}
|
|
3028
3074
|
.text-gray-400 {
|
|
3029
3075
|
--tw-text-opacity: 1;
|
|
3030
3076
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -3214,6 +3260,9 @@ body {
|
|
|
3214
3260
|
--tw-text-opacity: 1;
|
|
3215
3261
|
color: rgb(15 118 110 / var(--tw-text-opacity, 1));
|
|
3216
3262
|
}
|
|
3263
|
+
.text-transparent {
|
|
3264
|
+
color: transparent;
|
|
3265
|
+
}
|
|
3217
3266
|
.text-violet-700 {
|
|
3218
3267
|
--tw-text-opacity: 1;
|
|
3219
3268
|
color: rgb(109 40 217 / var(--tw-text-opacity, 1));
|
|
@@ -4049,8 +4098,8 @@ body {
|
|
|
4049
4098
|
.hover\:bg-background:hover {
|
|
4050
4099
|
background-color: hsl(var(--background));
|
|
4051
4100
|
}
|
|
4052
|
-
.hover\:bg-background\/
|
|
4053
|
-
background-color: hsl(var(--background) / 0.
|
|
4101
|
+
.hover\:bg-background\/20:hover {
|
|
4102
|
+
background-color: hsl(var(--background) / 0.2);
|
|
4054
4103
|
}
|
|
4055
4104
|
.hover\:bg-blue-600:hover {
|
|
4056
4105
|
--tw-bg-opacity: 1;
|
|
@@ -4148,10 +4197,6 @@ body {
|
|
|
4148
4197
|
--tw-bg-opacity: 1;
|
|
4149
4198
|
background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
|
|
4150
4199
|
}
|
|
4151
|
-
.hover\:bg-red-50:hover {
|
|
4152
|
-
--tw-bg-opacity: 1;
|
|
4153
|
-
background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
|
|
4154
|
-
}
|
|
4155
4200
|
.hover\:bg-red-600:hover {
|
|
4156
4201
|
--tw-bg-opacity: 1;
|
|
4157
4202
|
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
|
|
@@ -4207,6 +4252,9 @@ body {
|
|
|
4207
4252
|
.hover\:text-primary:hover {
|
|
4208
4253
|
color: hsl(var(--primary));
|
|
4209
4254
|
}
|
|
4255
|
+
.hover\:text-primary\/90:hover {
|
|
4256
|
+
color: hsl(var(--primary) / 0.9);
|
|
4257
|
+
}
|
|
4210
4258
|
.hover\:text-red-500:hover {
|
|
4211
4259
|
--tw-text-opacity: 1;
|
|
4212
4260
|
color: rgb(239 68 68 / var(--tw-text-opacity, 1));
|
|
@@ -5545,6 +5593,22 @@ body {
|
|
|
5545
5593
|
--tw-bg-opacity: 1;
|
|
5546
5594
|
background-color: rgb(63 63 70 / var(--tw-bg-opacity, 1));
|
|
5547
5595
|
}
|
|
5596
|
+
.dark\:from-blue-400:is(.dark *) {
|
|
5597
|
+
--tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
|
|
5598
|
+
--tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
|
|
5599
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
5600
|
+
}
|
|
5601
|
+
.dark\:from-slate-800:is(.dark *) {
|
|
5602
|
+
--tw-gradient-from: #1e293b var(--tw-gradient-from-position);
|
|
5603
|
+
--tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);
|
|
5604
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
5605
|
+
}
|
|
5606
|
+
.dark\:to-purple-400:is(.dark *) {
|
|
5607
|
+
--tw-gradient-to: #c084fc var(--tw-gradient-to-position);
|
|
5608
|
+
}
|
|
5609
|
+
.dark\:to-slate-900:is(.dark *) {
|
|
5610
|
+
--tw-gradient-to: #0f172a var(--tw-gradient-to-position);
|
|
5611
|
+
}
|
|
5548
5612
|
.dark\:stroke-\[rgba\(255\,255\,255\,0\.06\)\]:is(.dark *) {
|
|
5549
5613
|
stroke: rgba(255, 255, 255, 0.06);
|
|
5550
5614
|
}
|
|
@@ -5556,6 +5620,10 @@ body {
|
|
|
5556
5620
|
--tw-text-opacity: 1;
|
|
5557
5621
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
5558
5622
|
}
|
|
5623
|
+
.dark\:text-blue-400:is(.dark *) {
|
|
5624
|
+
--tw-text-opacity: 1;
|
|
5625
|
+
color: rgb(96 165 250 / var(--tw-text-opacity, 1));
|
|
5626
|
+
}
|
|
5559
5627
|
.dark\:text-emerald-200:is(.dark *) {
|
|
5560
5628
|
--tw-text-opacity: 1;
|
|
5561
5629
|
color: rgb(167 243 208 / var(--tw-text-opacity, 1));
|
|
@@ -5587,6 +5655,10 @@ body {
|
|
|
5587
5655
|
--tw-text-opacity: 1;
|
|
5588
5656
|
color: rgb(254 215 170 / var(--tw-text-opacity, 1));
|
|
5589
5657
|
}
|
|
5658
|
+
.dark\:text-purple-400:is(.dark *) {
|
|
5659
|
+
--tw-text-opacity: 1;
|
|
5660
|
+
color: rgb(192 132 252 / var(--tw-text-opacity, 1));
|
|
5661
|
+
}
|
|
5590
5662
|
.dark\:text-red-400:is(.dark *) {
|
|
5591
5663
|
--tw-text-opacity: 1;
|
|
5592
5664
|
color: rgb(248 113 113 / var(--tw-text-opacity, 1));
|
|
@@ -5966,10 +6038,6 @@ body {
|
|
|
5966
6038
|
.sm\:text-left {
|
|
5967
6039
|
text-align: left;
|
|
5968
6040
|
}
|
|
5969
|
-
.sm\:text-3xl {
|
|
5970
|
-
font-size: 1.875rem;
|
|
5971
|
-
line-height: 2.25rem;
|
|
5972
|
-
}
|
|
5973
6041
|
.sm\:text-\[0\.95rem\] {
|
|
5974
6042
|
font-size: 0.95rem;
|
|
5975
6043
|
}
|
|
@@ -6062,9 +6130,6 @@ body {
|
|
|
6062
6130
|
.md\:grid-cols-4 {
|
|
6063
6131
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
6064
6132
|
}
|
|
6065
|
-
.md\:grid-cols-5 {
|
|
6066
|
-
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
6067
|
-
}
|
|
6068
6133
|
.md\:flex-row {
|
|
6069
6134
|
flex-direction: row;
|
|
6070
6135
|
}
|
|
@@ -6180,6 +6245,9 @@ body {
|
|
|
6180
6245
|
}
|
|
6181
6246
|
}
|
|
6182
6247
|
@media (min-width: 1280px) {
|
|
6248
|
+
.xl\:grid-cols-4 {
|
|
6249
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
6250
|
+
}
|
|
6183
6251
|
.xl\:text-2xl {
|
|
6184
6252
|
font-size: 1.5rem;
|
|
6185
6253
|
line-height: 2rem;
|
package/dist/index.d.mts
CHANGED
|
@@ -1415,9 +1415,11 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1415
1415
|
empty?: ReactNode;
|
|
1416
1416
|
error?: string;
|
|
1417
1417
|
}): react_jsx_runtime.JSX.Element;
|
|
1418
|
-
declare function MultiSelectTriggerBase({ className, children, error: propError, ...props }: {
|
|
1418
|
+
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1419
1419
|
className?: string;
|
|
1420
1420
|
children?: ReactNode;
|
|
1421
|
+
label?: string;
|
|
1422
|
+
labelClassname?: string;
|
|
1421
1423
|
} & ComponentPropsWithoutRef<typeof ButtonBase> & ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
1422
1424
|
declare function MultiSelectValueBase({ placeholder, clickToRemove, className, overflowBehavior, ...props }: {
|
|
1423
1425
|
placeholder?: string;
|
|
@@ -1465,6 +1467,7 @@ interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
|
|
|
1465
1467
|
label?: string;
|
|
1466
1468
|
labelClassname?: string;
|
|
1467
1469
|
pagination?: number;
|
|
1470
|
+
clearable?: boolean;
|
|
1468
1471
|
}
|
|
1469
1472
|
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
|
|
1470
1473
|
items: SelectItem<T>[];
|
|
@@ -1479,7 +1482,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
1479
1482
|
testIds?: SelectTestIds;
|
|
1480
1483
|
}
|
|
1481
1484
|
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
1482
|
-
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1485
|
+
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, clearable, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1483
1486
|
|
|
1484
1487
|
declare const formatFieldName: (fieldName: string) => string;
|
|
1485
1488
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
@@ -1506,6 +1509,30 @@ declare const resolveChartMargins: (margins?: Margins, chartMargins?: Margins, s
|
|
|
1506
1509
|
left: number;
|
|
1507
1510
|
bottom: number;
|
|
1508
1511
|
};
|
|
1512
|
+
declare const generateColorMap: (dataKeys: string[], baseColors: string[], mapperConfig: Record<string, {
|
|
1513
|
+
color?: string;
|
|
1514
|
+
}>) => Record<string, string>;
|
|
1515
|
+
declare const computeNiceMax: (maxValue: number) => number;
|
|
1516
|
+
declare const getMaxDataValue: (data: Record<string, unknown>[], keys: string[]) => number;
|
|
1517
|
+
declare const getMinDataValue: (data: Record<string, unknown>[], keys: string[]) => number;
|
|
1518
|
+
interface SeriesConfig {
|
|
1519
|
+
bar?: string[];
|
|
1520
|
+
line?: string[];
|
|
1521
|
+
area?: string[];
|
|
1522
|
+
}
|
|
1523
|
+
declare const computeChartWidth: (width: number | string | undefined, dataLength: number, series: SeriesConfig | undefined, niceMaxLeft: number, niceMaxRight: number) => number;
|
|
1524
|
+
declare const adaptDataForTooltip: <T extends Record<string, unknown>>(data: T, xAxisKey: string) => {
|
|
1525
|
+
name: string;
|
|
1526
|
+
[key: string]: string | number;
|
|
1527
|
+
};
|
|
1528
|
+
type ValueFormatterType = (props: {
|
|
1529
|
+
value: number | string | undefined;
|
|
1530
|
+
formattedValue: string;
|
|
1531
|
+
[key: string]: unknown;
|
|
1532
|
+
}) => string;
|
|
1533
|
+
declare const createValueFormatter: (customFormatter: ValueFormatterType | undefined, formatBR: boolean) => ValueFormatterType | undefined;
|
|
1534
|
+
declare const createYTickFormatter: (finalValueFormatter: ValueFormatterType | undefined) => ((value: number | string) => string);
|
|
1535
|
+
declare const computeYAxisTickWidth: (chartMarginLeft: number | undefined, yAxisLabel: string | undefined, axisLabelMargin: number, yTickFormatter: (value: number | string) => string, minValue: number, maxValue: number) => number;
|
|
1509
1536
|
|
|
1510
1537
|
type Variant = "filled" | "outline" | "soft";
|
|
1511
1538
|
type LabelRendererProps = {
|
|
@@ -1534,7 +1561,7 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1534
1561
|
|
|
1535
1562
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1536
1563
|
|
|
1537
|
-
interface ChartData$
|
|
1564
|
+
interface ChartData$3 {
|
|
1538
1565
|
[key: string]: string | number | boolean | null | undefined;
|
|
1539
1566
|
}
|
|
1540
1567
|
interface XAxisConfig$2 {
|
|
@@ -1556,7 +1583,7 @@ type SeriesProp$1 = {
|
|
|
1556
1583
|
area?: string[];
|
|
1557
1584
|
};
|
|
1558
1585
|
interface ChartProps {
|
|
1559
|
-
data: ChartData$
|
|
1586
|
+
data: ChartData$3[];
|
|
1560
1587
|
series?: SeriesProp$1;
|
|
1561
1588
|
className?: string;
|
|
1562
1589
|
chartMargin?: Partial<{
|
|
@@ -1590,6 +1617,7 @@ interface ChartProps {
|
|
|
1590
1617
|
showTooltipTotal?: boolean;
|
|
1591
1618
|
maxTooltips?: number;
|
|
1592
1619
|
formatBR?: boolean;
|
|
1620
|
+
legendUppercase?: boolean;
|
|
1593
1621
|
}
|
|
1594
1622
|
declare const Chart: React__default.FC<ChartProps>;
|
|
1595
1623
|
|
|
@@ -1812,11 +1840,73 @@ interface UseChartHighlightsReturn {
|
|
|
1812
1840
|
}
|
|
1813
1841
|
declare const useChartHighlights: () => UseChartHighlightsReturn;
|
|
1814
1842
|
|
|
1843
|
+
declare const useChartDimensions: () => {
|
|
1844
|
+
wrapperRef: React$1.RefObject<HTMLDivElement | null>;
|
|
1845
|
+
measuredWidth: number | null;
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
interface ChartData$2 {
|
|
1849
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1850
|
+
}
|
|
1851
|
+
interface TooltipItem$2 {
|
|
1852
|
+
id: string;
|
|
1853
|
+
data: ChartData$2;
|
|
1854
|
+
position: {
|
|
1855
|
+
top: number;
|
|
1856
|
+
left: number;
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1859
|
+
declare const useChartTooltips: (maxTooltips?: number) => {
|
|
1860
|
+
activeTooltips: TooltipItem$2[];
|
|
1861
|
+
toggleTooltip: (tooltipId: string, data: ChartData$2, basePosition: {
|
|
1862
|
+
top: number;
|
|
1863
|
+
left: number;
|
|
1864
|
+
}) => void;
|
|
1865
|
+
onTooltipPositionChange: (id: string, position: {
|
|
1866
|
+
top: number;
|
|
1867
|
+
left: number;
|
|
1868
|
+
}) => void;
|
|
1869
|
+
closeTooltip: (id: string) => void;
|
|
1870
|
+
closeAllTooltips: () => void;
|
|
1871
|
+
setActiveTooltips: React$1.Dispatch<React$1.SetStateAction<TooltipItem$2[]>>;
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
interface ChartData$1 {
|
|
1875
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1876
|
+
}
|
|
1877
|
+
interface TooltipItem$1 {
|
|
1878
|
+
id: string;
|
|
1879
|
+
data: ChartData$1;
|
|
1880
|
+
position: {
|
|
1881
|
+
top: number;
|
|
1882
|
+
left: number;
|
|
1883
|
+
};
|
|
1884
|
+
}
|
|
1885
|
+
interface UseChartClickProps {
|
|
1886
|
+
enableDraggableTooltips: boolean;
|
|
1887
|
+
xAxisDataKey: string;
|
|
1888
|
+
toggleTooltip: (tooltipId: string, data: ChartData$1, basePosition: {
|
|
1889
|
+
top: number;
|
|
1890
|
+
left: number;
|
|
1891
|
+
}) => void;
|
|
1892
|
+
setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem$1[]>>;
|
|
1893
|
+
}
|
|
1894
|
+
declare const useChartClick: ({ enableDraggableTooltips, xAxisDataKey, toggleTooltip, setActiveTooltips, }: UseChartClickProps) => {
|
|
1895
|
+
handleChartClick: (e?: unknown) => void;
|
|
1896
|
+
handleBarClick: (data: ChartData$1, index: number, event: React.MouseEvent) => void;
|
|
1897
|
+
handleSeriesClick: (...args: unknown[]) => void;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1815
1900
|
interface NoDataProps {
|
|
1816
1901
|
paddingLeft?: number;
|
|
1817
1902
|
height?: number | string;
|
|
1818
1903
|
message?: string;
|
|
1819
1904
|
className?: string;
|
|
1905
|
+
title?: string;
|
|
1906
|
+
subtitle?: string;
|
|
1907
|
+
icon?: "chart" | "database" | "search";
|
|
1908
|
+
showSuggestion?: boolean;
|
|
1909
|
+
suggestionText?: string;
|
|
1820
1910
|
}
|
|
1821
1911
|
declare const NoData: React__default.FC<NoDataProps>;
|
|
1822
1912
|
|
|
@@ -1917,4 +2007,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1917
2007
|
isDragging: boolean;
|
|
1918
2008
|
};
|
|
1919
2009
|
|
|
1920
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
|
|
2010
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
|
package/dist/index.d.ts
CHANGED
|
@@ -1415,9 +1415,11 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1415
1415
|
empty?: ReactNode;
|
|
1416
1416
|
error?: string;
|
|
1417
1417
|
}): react_jsx_runtime.JSX.Element;
|
|
1418
|
-
declare function MultiSelectTriggerBase({ className, children, error: propError, ...props }: {
|
|
1418
|
+
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1419
1419
|
className?: string;
|
|
1420
1420
|
children?: ReactNode;
|
|
1421
|
+
label?: string;
|
|
1422
|
+
labelClassname?: string;
|
|
1421
1423
|
} & ComponentPropsWithoutRef<typeof ButtonBase> & ErrorMessageProps): react_jsx_runtime.JSX.Element;
|
|
1422
1424
|
declare function MultiSelectValueBase({ placeholder, clickToRemove, className, overflowBehavior, ...props }: {
|
|
1423
1425
|
placeholder?: string;
|
|
@@ -1465,6 +1467,7 @@ interface DefaultSelectProps<T extends string> extends ErrorMessageProps {
|
|
|
1465
1467
|
label?: string;
|
|
1466
1468
|
labelClassname?: string;
|
|
1467
1469
|
pagination?: number;
|
|
1470
|
+
clearable?: boolean;
|
|
1468
1471
|
}
|
|
1469
1472
|
interface SelectPropsWithItems<T extends string> extends DefaultSelectProps<T> {
|
|
1470
1473
|
items: SelectItem<T>[];
|
|
@@ -1479,7 +1482,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
1479
1482
|
testIds?: SelectTestIds;
|
|
1480
1483
|
}
|
|
1481
1484
|
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
1482
|
-
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1485
|
+
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, clearable, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1483
1486
|
|
|
1484
1487
|
declare const formatFieldName: (fieldName: string) => string;
|
|
1485
1488
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
@@ -1506,6 +1509,30 @@ declare const resolveChartMargins: (margins?: Margins, chartMargins?: Margins, s
|
|
|
1506
1509
|
left: number;
|
|
1507
1510
|
bottom: number;
|
|
1508
1511
|
};
|
|
1512
|
+
declare const generateColorMap: (dataKeys: string[], baseColors: string[], mapperConfig: Record<string, {
|
|
1513
|
+
color?: string;
|
|
1514
|
+
}>) => Record<string, string>;
|
|
1515
|
+
declare const computeNiceMax: (maxValue: number) => number;
|
|
1516
|
+
declare const getMaxDataValue: (data: Record<string, unknown>[], keys: string[]) => number;
|
|
1517
|
+
declare const getMinDataValue: (data: Record<string, unknown>[], keys: string[]) => number;
|
|
1518
|
+
interface SeriesConfig {
|
|
1519
|
+
bar?: string[];
|
|
1520
|
+
line?: string[];
|
|
1521
|
+
area?: string[];
|
|
1522
|
+
}
|
|
1523
|
+
declare const computeChartWidth: (width: number | string | undefined, dataLength: number, series: SeriesConfig | undefined, niceMaxLeft: number, niceMaxRight: number) => number;
|
|
1524
|
+
declare const adaptDataForTooltip: <T extends Record<string, unknown>>(data: T, xAxisKey: string) => {
|
|
1525
|
+
name: string;
|
|
1526
|
+
[key: string]: string | number;
|
|
1527
|
+
};
|
|
1528
|
+
type ValueFormatterType = (props: {
|
|
1529
|
+
value: number | string | undefined;
|
|
1530
|
+
formattedValue: string;
|
|
1531
|
+
[key: string]: unknown;
|
|
1532
|
+
}) => string;
|
|
1533
|
+
declare const createValueFormatter: (customFormatter: ValueFormatterType | undefined, formatBR: boolean) => ValueFormatterType | undefined;
|
|
1534
|
+
declare const createYTickFormatter: (finalValueFormatter: ValueFormatterType | undefined) => ((value: number | string) => string);
|
|
1535
|
+
declare const computeYAxisTickWidth: (chartMarginLeft: number | undefined, yAxisLabel: string | undefined, axisLabelMargin: number, yTickFormatter: (value: number | string) => string, minValue: number, maxValue: number) => number;
|
|
1509
1536
|
|
|
1510
1537
|
type Variant = "filled" | "outline" | "soft";
|
|
1511
1538
|
type LabelRendererProps = {
|
|
@@ -1534,7 +1561,7 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1534
1561
|
|
|
1535
1562
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1536
1563
|
|
|
1537
|
-
interface ChartData$
|
|
1564
|
+
interface ChartData$3 {
|
|
1538
1565
|
[key: string]: string | number | boolean | null | undefined;
|
|
1539
1566
|
}
|
|
1540
1567
|
interface XAxisConfig$2 {
|
|
@@ -1556,7 +1583,7 @@ type SeriesProp$1 = {
|
|
|
1556
1583
|
area?: string[];
|
|
1557
1584
|
};
|
|
1558
1585
|
interface ChartProps {
|
|
1559
|
-
data: ChartData$
|
|
1586
|
+
data: ChartData$3[];
|
|
1560
1587
|
series?: SeriesProp$1;
|
|
1561
1588
|
className?: string;
|
|
1562
1589
|
chartMargin?: Partial<{
|
|
@@ -1590,6 +1617,7 @@ interface ChartProps {
|
|
|
1590
1617
|
showTooltipTotal?: boolean;
|
|
1591
1618
|
maxTooltips?: number;
|
|
1592
1619
|
formatBR?: boolean;
|
|
1620
|
+
legendUppercase?: boolean;
|
|
1593
1621
|
}
|
|
1594
1622
|
declare const Chart: React__default.FC<ChartProps>;
|
|
1595
1623
|
|
|
@@ -1812,11 +1840,73 @@ interface UseChartHighlightsReturn {
|
|
|
1812
1840
|
}
|
|
1813
1841
|
declare const useChartHighlights: () => UseChartHighlightsReturn;
|
|
1814
1842
|
|
|
1843
|
+
declare const useChartDimensions: () => {
|
|
1844
|
+
wrapperRef: React$1.RefObject<HTMLDivElement | null>;
|
|
1845
|
+
measuredWidth: number | null;
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
interface ChartData$2 {
|
|
1849
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1850
|
+
}
|
|
1851
|
+
interface TooltipItem$2 {
|
|
1852
|
+
id: string;
|
|
1853
|
+
data: ChartData$2;
|
|
1854
|
+
position: {
|
|
1855
|
+
top: number;
|
|
1856
|
+
left: number;
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1859
|
+
declare const useChartTooltips: (maxTooltips?: number) => {
|
|
1860
|
+
activeTooltips: TooltipItem$2[];
|
|
1861
|
+
toggleTooltip: (tooltipId: string, data: ChartData$2, basePosition: {
|
|
1862
|
+
top: number;
|
|
1863
|
+
left: number;
|
|
1864
|
+
}) => void;
|
|
1865
|
+
onTooltipPositionChange: (id: string, position: {
|
|
1866
|
+
top: number;
|
|
1867
|
+
left: number;
|
|
1868
|
+
}) => void;
|
|
1869
|
+
closeTooltip: (id: string) => void;
|
|
1870
|
+
closeAllTooltips: () => void;
|
|
1871
|
+
setActiveTooltips: React$1.Dispatch<React$1.SetStateAction<TooltipItem$2[]>>;
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
interface ChartData$1 {
|
|
1875
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
1876
|
+
}
|
|
1877
|
+
interface TooltipItem$1 {
|
|
1878
|
+
id: string;
|
|
1879
|
+
data: ChartData$1;
|
|
1880
|
+
position: {
|
|
1881
|
+
top: number;
|
|
1882
|
+
left: number;
|
|
1883
|
+
};
|
|
1884
|
+
}
|
|
1885
|
+
interface UseChartClickProps {
|
|
1886
|
+
enableDraggableTooltips: boolean;
|
|
1887
|
+
xAxisDataKey: string;
|
|
1888
|
+
toggleTooltip: (tooltipId: string, data: ChartData$1, basePosition: {
|
|
1889
|
+
top: number;
|
|
1890
|
+
left: number;
|
|
1891
|
+
}) => void;
|
|
1892
|
+
setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem$1[]>>;
|
|
1893
|
+
}
|
|
1894
|
+
declare const useChartClick: ({ enableDraggableTooltips, xAxisDataKey, toggleTooltip, setActiveTooltips, }: UseChartClickProps) => {
|
|
1895
|
+
handleChartClick: (e?: unknown) => void;
|
|
1896
|
+
handleBarClick: (data: ChartData$1, index: number, event: React.MouseEvent) => void;
|
|
1897
|
+
handleSeriesClick: (...args: unknown[]) => void;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1815
1900
|
interface NoDataProps {
|
|
1816
1901
|
paddingLeft?: number;
|
|
1817
1902
|
height?: number | string;
|
|
1818
1903
|
message?: string;
|
|
1819
1904
|
className?: string;
|
|
1905
|
+
title?: string;
|
|
1906
|
+
subtitle?: string;
|
|
1907
|
+
icon?: "chart" | "database" | "search";
|
|
1908
|
+
showSuggestion?: boolean;
|
|
1909
|
+
suggestionText?: string;
|
|
1820
1910
|
}
|
|
1821
1911
|
declare const NoData: React__default.FC<NoDataProps>;
|
|
1822
1912
|
|
|
@@ -1917,4 +2007,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1917
2007
|
isDragging: boolean;
|
|
1918
2008
|
};
|
|
1919
2009
|
|
|
1920
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartHighlights, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
|
|
2010
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, type valueFormatter };
|