@mlw-packages/react-components 1.8.3 → 1.8.5
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 +107 -24
- package/dist/index.d.mts +20 -14
- package/dist/index.d.ts +20 -14
- package/dist/index.js +1246 -1232
- package/dist/index.mjs +735 -721
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -495,6 +495,9 @@ body {
|
|
|
495
495
|
.right-4 {
|
|
496
496
|
right: 1rem;
|
|
497
497
|
}
|
|
498
|
+
.right-5 {
|
|
499
|
+
right: 1.25rem;
|
|
500
|
+
}
|
|
498
501
|
.right-6 {
|
|
499
502
|
right: 1.5rem;
|
|
500
503
|
}
|
|
@@ -669,9 +672,6 @@ body {
|
|
|
669
672
|
.-ml-4 {
|
|
670
673
|
margin-left: -1rem;
|
|
671
674
|
}
|
|
672
|
-
.-mr-3 {
|
|
673
|
-
margin-right: -0.75rem;
|
|
674
|
-
}
|
|
675
675
|
.-mt-1 {
|
|
676
676
|
margin-top: -0.25rem;
|
|
677
677
|
}
|
|
@@ -732,9 +732,15 @@ body {
|
|
|
732
732
|
.ml-64 {
|
|
733
733
|
margin-left: 16rem;
|
|
734
734
|
}
|
|
735
|
+
.ml-\[90px\] {
|
|
736
|
+
margin-left: 90px;
|
|
737
|
+
}
|
|
735
738
|
.ml-auto {
|
|
736
739
|
margin-left: auto;
|
|
737
740
|
}
|
|
741
|
+
.mr-0\.5 {
|
|
742
|
+
margin-right: 0.125rem;
|
|
743
|
+
}
|
|
738
744
|
.mr-1 {
|
|
739
745
|
margin-right: 0.25rem;
|
|
740
746
|
}
|
|
@@ -747,15 +753,12 @@ body {
|
|
|
747
753
|
.mr-4 {
|
|
748
754
|
margin-right: 1rem;
|
|
749
755
|
}
|
|
750
|
-
.mr-5 {
|
|
751
|
-
margin-right: 1.25rem;
|
|
752
|
-
}
|
|
753
|
-
.mr-8 {
|
|
754
|
-
margin-right: 2rem;
|
|
755
|
-
}
|
|
756
756
|
.ms-6 {
|
|
757
757
|
margin-inline-start: 1.5rem;
|
|
758
758
|
}
|
|
759
|
+
.mt-0 {
|
|
760
|
+
margin-top: 0px;
|
|
761
|
+
}
|
|
759
762
|
.mt-0\.5 {
|
|
760
763
|
margin-top: 0.125rem;
|
|
761
764
|
}
|
|
@@ -765,6 +768,9 @@ body {
|
|
|
765
768
|
.mt-1\.5 {
|
|
766
769
|
margin-top: 0.375rem;
|
|
767
770
|
}
|
|
771
|
+
.mt-12 {
|
|
772
|
+
margin-top: 3rem;
|
|
773
|
+
}
|
|
768
774
|
.mt-2 {
|
|
769
775
|
margin-top: 0.5rem;
|
|
770
776
|
}
|
|
@@ -786,6 +792,9 @@ body {
|
|
|
786
792
|
.mt-8 {
|
|
787
793
|
margin-top: 2rem;
|
|
788
794
|
}
|
|
795
|
+
.mt-\[19px\] {
|
|
796
|
+
margin-top: 19px;
|
|
797
|
+
}
|
|
789
798
|
.mt-\[var\(--event-gap\)\] {
|
|
790
799
|
margin-top: var(--event-gap);
|
|
791
800
|
}
|
|
@@ -869,6 +878,10 @@ body {
|
|
|
869
878
|
width: 2.25rem;
|
|
870
879
|
height: 2.25rem;
|
|
871
880
|
}
|
|
881
|
+
.size-\[0\.75em\] {
|
|
882
|
+
width: 0.75em;
|
|
883
|
+
height: 0.75em;
|
|
884
|
+
}
|
|
872
885
|
.size-full {
|
|
873
886
|
width: 100%;
|
|
874
887
|
height: 100%;
|
|
@@ -1032,8 +1045,11 @@ body {
|
|
|
1032
1045
|
.max-h-\[90dvh\] {
|
|
1033
1046
|
max-height: 90dvh;
|
|
1034
1047
|
}
|
|
1035
|
-
.max-h-\[
|
|
1036
|
-
max-height:
|
|
1048
|
+
.max-h-\[95vh\] {
|
|
1049
|
+
max-height: 95vh;
|
|
1050
|
+
}
|
|
1051
|
+
.max-h-\[calc\(400px\)\] {
|
|
1052
|
+
max-height: calc(400px);
|
|
1037
1053
|
}
|
|
1038
1054
|
.max-h-\[var\(--radix-context-menu-content-available-height\)\] {
|
|
1039
1055
|
max-height: var(--radix-context-menu-content-available-height);
|
|
@@ -1059,6 +1075,12 @@ body {
|
|
|
1059
1075
|
.min-h-\[300px\] {
|
|
1060
1076
|
min-height: 300px;
|
|
1061
1077
|
}
|
|
1078
|
+
.min-h-\[330px\] {
|
|
1079
|
+
min-height: 330px;
|
|
1080
|
+
}
|
|
1081
|
+
.min-h-\[380px\] {
|
|
1082
|
+
min-height: 380px;
|
|
1083
|
+
}
|
|
1062
1084
|
.min-h-\[3rem\] {
|
|
1063
1085
|
min-height: 3rem;
|
|
1064
1086
|
}
|
|
@@ -1236,6 +1258,9 @@ body {
|
|
|
1236
1258
|
.w-\[90\%\] {
|
|
1237
1259
|
width: 90%;
|
|
1238
1260
|
}
|
|
1261
|
+
.w-\[98\%\] {
|
|
1262
|
+
width: 98%;
|
|
1263
|
+
}
|
|
1239
1264
|
.w-auto {
|
|
1240
1265
|
width: auto;
|
|
1241
1266
|
}
|
|
@@ -1488,6 +1513,11 @@ body {
|
|
|
1488
1513
|
--tw-scale-y: 1;
|
|
1489
1514
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1490
1515
|
}
|
|
1516
|
+
.scale-110 {
|
|
1517
|
+
--tw-scale-x: 1.1;
|
|
1518
|
+
--tw-scale-y: 1.1;
|
|
1519
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1520
|
+
}
|
|
1491
1521
|
.scale-\[1\.02\] {
|
|
1492
1522
|
--tw-scale-x: 1.02;
|
|
1493
1523
|
--tw-scale-y: 1.02;
|
|
@@ -1551,6 +1581,9 @@ body {
|
|
|
1551
1581
|
-moz-user-select: all;
|
|
1552
1582
|
user-select: all;
|
|
1553
1583
|
}
|
|
1584
|
+
.resize-none {
|
|
1585
|
+
resize: none;
|
|
1586
|
+
}
|
|
1554
1587
|
.resize {
|
|
1555
1588
|
resize: both;
|
|
1556
1589
|
}
|
|
@@ -1778,9 +1811,6 @@ body {
|
|
|
1778
1811
|
.overflow-x-hidden {
|
|
1779
1812
|
overflow-x: hidden;
|
|
1780
1813
|
}
|
|
1781
|
-
.overflow-y-hidden {
|
|
1782
|
-
overflow-y: hidden;
|
|
1783
|
-
}
|
|
1784
1814
|
.overflow-y-scroll {
|
|
1785
1815
|
overflow-y: scroll;
|
|
1786
1816
|
}
|
|
@@ -1846,10 +1876,6 @@ body {
|
|
|
1846
1876
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
1847
1877
|
border-bottom-left-radius: calc(var(--radius) - 2px);
|
|
1848
1878
|
}
|
|
1849
|
-
.rounded-b-none {
|
|
1850
|
-
border-bottom-right-radius: 0px;
|
|
1851
|
-
border-bottom-left-radius: 0px;
|
|
1852
|
-
}
|
|
1853
1879
|
.rounded-b-xl {
|
|
1854
1880
|
border-bottom-right-radius: 0.75rem;
|
|
1855
1881
|
border-bottom-left-radius: 0.75rem;
|
|
@@ -1961,6 +1987,9 @@ body {
|
|
|
1961
1987
|
.border-none {
|
|
1962
1988
|
border-style: none;
|
|
1963
1989
|
}
|
|
1990
|
+
.border-accent {
|
|
1991
|
+
border-color: hsl(var(--accent));
|
|
1992
|
+
}
|
|
1964
1993
|
.border-amber-400 {
|
|
1965
1994
|
--tw-border-opacity: 1;
|
|
1966
1995
|
border-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
|
|
@@ -2115,9 +2144,6 @@ body {
|
|
|
2115
2144
|
--tw-border-opacity: 1;
|
|
2116
2145
|
border-color: rgb(212 212 216 / var(--tw-border-opacity, 1));
|
|
2117
2146
|
}
|
|
2118
|
-
.border-b-transparent {
|
|
2119
|
-
border-bottom-color: transparent;
|
|
2120
|
-
}
|
|
2121
2147
|
.border-l-transparent {
|
|
2122
2148
|
border-left-color: transparent;
|
|
2123
2149
|
}
|
|
@@ -2130,6 +2156,9 @@ body {
|
|
|
2130
2156
|
.bg-accent {
|
|
2131
2157
|
background-color: hsl(var(--accent));
|
|
2132
2158
|
}
|
|
2159
|
+
.bg-accent-foreground {
|
|
2160
|
+
background-color: hsl(var(--accent-foreground));
|
|
2161
|
+
}
|
|
2133
2162
|
.bg-accent\/10 {
|
|
2134
2163
|
background-color: hsl(var(--accent) / 0.1);
|
|
2135
2164
|
}
|
|
@@ -2206,6 +2235,9 @@ body {
|
|
|
2206
2235
|
.bg-card {
|
|
2207
2236
|
background-color: hsl(var(--card));
|
|
2208
2237
|
}
|
|
2238
|
+
.bg-card-foreground {
|
|
2239
|
+
background-color: hsl(var(--card-foreground));
|
|
2240
|
+
}
|
|
2209
2241
|
.bg-card\/0 {
|
|
2210
2242
|
background-color: hsl(var(--card) / 0);
|
|
2211
2243
|
}
|
|
@@ -2218,6 +2250,9 @@ body {
|
|
|
2218
2250
|
.bg-destructive {
|
|
2219
2251
|
background-color: hsl(var(--destructive));
|
|
2220
2252
|
}
|
|
2253
|
+
.bg-destructive-foreground {
|
|
2254
|
+
background-color: hsl(var(--destructive-foreground));
|
|
2255
|
+
}
|
|
2221
2256
|
.bg-destructive\/15 {
|
|
2222
2257
|
background-color: hsl(var(--destructive) / 0.15);
|
|
2223
2258
|
}
|
|
@@ -2307,9 +2342,15 @@ body {
|
|
|
2307
2342
|
--tw-bg-opacity: 1;
|
|
2308
2343
|
background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
|
|
2309
2344
|
}
|
|
2345
|
+
.bg-input {
|
|
2346
|
+
background-color: hsl(var(--input));
|
|
2347
|
+
}
|
|
2310
2348
|
.bg-muted {
|
|
2311
2349
|
background-color: hsl(var(--muted));
|
|
2312
2350
|
}
|
|
2351
|
+
.bg-muted-foreground {
|
|
2352
|
+
background-color: hsl(var(--muted-foreground));
|
|
2353
|
+
}
|
|
2313
2354
|
.bg-muted\/10 {
|
|
2314
2355
|
background-color: hsl(var(--muted) / 0.1);
|
|
2315
2356
|
}
|
|
@@ -2366,9 +2407,15 @@ body {
|
|
|
2366
2407
|
.bg-popover {
|
|
2367
2408
|
background-color: hsl(var(--popover));
|
|
2368
2409
|
}
|
|
2410
|
+
.bg-popover-foreground {
|
|
2411
|
+
background-color: hsl(var(--popover-foreground));
|
|
2412
|
+
}
|
|
2369
2413
|
.bg-primary {
|
|
2370
2414
|
background-color: hsl(var(--primary));
|
|
2371
2415
|
}
|
|
2416
|
+
.bg-primary-foreground {
|
|
2417
|
+
background-color: hsl(var(--primary-foreground));
|
|
2418
|
+
}
|
|
2372
2419
|
.bg-primary\/10 {
|
|
2373
2420
|
background-color: hsl(var(--primary) / 0.1);
|
|
2374
2421
|
}
|
|
@@ -2409,6 +2456,9 @@ body {
|
|
|
2409
2456
|
--tw-bg-opacity: 1;
|
|
2410
2457
|
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
|
|
2411
2458
|
}
|
|
2459
|
+
.bg-ring {
|
|
2460
|
+
background-color: hsl(var(--ring));
|
|
2461
|
+
}
|
|
2412
2462
|
.bg-rose-200\/50 {
|
|
2413
2463
|
background-color: rgb(254 205 211 / 0.5);
|
|
2414
2464
|
}
|
|
@@ -2430,6 +2480,9 @@ body {
|
|
|
2430
2480
|
.bg-secondary {
|
|
2431
2481
|
background-color: hsl(var(--secondary));
|
|
2432
2482
|
}
|
|
2483
|
+
.bg-secondary-foreground {
|
|
2484
|
+
background-color: hsl(var(--secondary-foreground));
|
|
2485
|
+
}
|
|
2433
2486
|
.bg-sky-200\/50 {
|
|
2434
2487
|
background-color: rgb(186 230 253 / 0.5);
|
|
2435
2488
|
}
|
|
@@ -2696,6 +2749,10 @@ body {
|
|
|
2696
2749
|
padding-left: 24rem;
|
|
2697
2750
|
padding-right: 24rem;
|
|
2698
2751
|
}
|
|
2752
|
+
.px-\[0\.5em\] {
|
|
2753
|
+
padding-left: 0.5em;
|
|
2754
|
+
padding-right: 0.5em;
|
|
2755
|
+
}
|
|
2699
2756
|
.py-0 {
|
|
2700
2757
|
padding-top: 0px;
|
|
2701
2758
|
padding-bottom: 0px;
|
|
@@ -2969,6 +3026,9 @@ body {
|
|
|
2969
3026
|
.leading-tight {
|
|
2970
3027
|
line-height: 1.25;
|
|
2971
3028
|
}
|
|
3029
|
+
.tracking-\[0\] {
|
|
3030
|
+
letter-spacing: 0;
|
|
3031
|
+
}
|
|
2972
3032
|
.tracking-tight {
|
|
2973
3033
|
letter-spacing: -0.025em;
|
|
2974
3034
|
}
|
|
@@ -2981,6 +3041,9 @@ body {
|
|
|
2981
3041
|
.tracking-widest {
|
|
2982
3042
|
letter-spacing: 0.1em;
|
|
2983
3043
|
}
|
|
3044
|
+
.text-accent-foreground {
|
|
3045
|
+
color: hsl(var(--accent-foreground));
|
|
3046
|
+
}
|
|
2984
3047
|
.text-amber-500 {
|
|
2985
3048
|
--tw-text-opacity: 1;
|
|
2986
3049
|
color: rgb(245 158 11 / var(--tw-text-opacity, 1));
|
|
@@ -3287,9 +3350,15 @@ body {
|
|
|
3287
3350
|
.underline {
|
|
3288
3351
|
text-decoration-line: underline;
|
|
3289
3352
|
}
|
|
3353
|
+
.line-through {
|
|
3354
|
+
text-decoration-line: line-through;
|
|
3355
|
+
}
|
|
3290
3356
|
.no-underline {
|
|
3291
3357
|
text-decoration-line: none;
|
|
3292
3358
|
}
|
|
3359
|
+
.decoration-2 {
|
|
3360
|
+
text-decoration-thickness: 2px;
|
|
3361
|
+
}
|
|
3293
3362
|
.underline-offset-4 {
|
|
3294
3363
|
text-underline-offset: 4px;
|
|
3295
3364
|
}
|
|
@@ -3855,6 +3924,20 @@ body {
|
|
|
3855
3924
|
opacity: 0.5;
|
|
3856
3925
|
}
|
|
3857
3926
|
}
|
|
3927
|
+
::view-transition-old(root),
|
|
3928
|
+
::view-transition-new(root) {
|
|
3929
|
+
animation: none;
|
|
3930
|
+
mix-blend-mode: normal;
|
|
3931
|
+
}
|
|
3932
|
+
::view-transition-old(root) {
|
|
3933
|
+
z-index: 1;
|
|
3934
|
+
}
|
|
3935
|
+
::view-transition-new(root) {
|
|
3936
|
+
z-index: 2;
|
|
3937
|
+
}
|
|
3938
|
+
[data-theme-transition=true]::view-transition-new(root) {
|
|
3939
|
+
animation: none;
|
|
3940
|
+
}
|
|
3858
3941
|
.selection\:bg-primary *::-moz-selection {
|
|
3859
3942
|
background-color: hsl(var(--primary));
|
|
3860
3943
|
}
|
|
@@ -5889,15 +5972,15 @@ body {
|
|
|
5889
5972
|
.sm\:w-12 {
|
|
5890
5973
|
width: 3rem;
|
|
5891
5974
|
}
|
|
5975
|
+
.sm\:w-16 {
|
|
5976
|
+
width: 4rem;
|
|
5977
|
+
}
|
|
5892
5978
|
.sm\:w-20 {
|
|
5893
5979
|
width: 5rem;
|
|
5894
5980
|
}
|
|
5895
5981
|
.sm\:w-4 {
|
|
5896
5982
|
width: 1rem;
|
|
5897
5983
|
}
|
|
5898
|
-
.sm\:w-6 {
|
|
5899
|
-
width: 1.5rem;
|
|
5900
|
-
}
|
|
5901
5984
|
.sm\:w-7 {
|
|
5902
5985
|
width: 1.75rem;
|
|
5903
5986
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -270,18 +270,18 @@ declare const buttonVariantsBase: (props?: ({
|
|
|
270
270
|
variant?: "select" | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
271
271
|
size?: "select" | "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
272
272
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
273
|
-
interface ButtonProps extends
|
|
273
|
+
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
|
|
274
274
|
asChild?: boolean;
|
|
275
275
|
testid?: string;
|
|
276
276
|
isLoading?: boolean;
|
|
277
|
-
tooltip?:
|
|
277
|
+
tooltip?: React__default.ReactNode;
|
|
278
278
|
}
|
|
279
|
-
declare const ButtonBase:
|
|
280
|
-
interface ButtonGroupProps extends
|
|
281
|
-
children:
|
|
279
|
+
declare const ButtonBase: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
280
|
+
interface ButtonGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
281
|
+
children: React__default.ReactNode;
|
|
282
282
|
orientation?: "horizontal" | "vertical";
|
|
283
283
|
}
|
|
284
|
-
declare const ButtonGroupBase:
|
|
284
|
+
declare const ButtonGroupBase: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
285
285
|
|
|
286
286
|
declare const CheckboxBase: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
287
287
|
testid?: string;
|
|
@@ -1381,8 +1381,9 @@ interface ComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
1381
1381
|
labelClassname?: string;
|
|
1382
1382
|
testIds?: ComboboxTestIds;
|
|
1383
1383
|
disabled?: boolean;
|
|
1384
|
+
hideClear?: boolean;
|
|
1384
1385
|
}
|
|
1385
|
-
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, hideClear, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
1387
|
|
|
1387
1388
|
interface MultiComboboxTestIds {
|
|
1388
1389
|
root?: string;
|
|
@@ -1429,7 +1430,7 @@ type MultiSelectContextType = {
|
|
|
1429
1430
|
emptyMessage?: ReactNode;
|
|
1430
1431
|
error?: string;
|
|
1431
1432
|
};
|
|
1432
|
-
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1433
|
+
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, initialItems, }: {
|
|
1433
1434
|
children: ReactNode;
|
|
1434
1435
|
values?: string[];
|
|
1435
1436
|
defaultValues?: string[];
|
|
@@ -1437,6 +1438,10 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1437
1438
|
disabled?: boolean;
|
|
1438
1439
|
empty?: ReactNode;
|
|
1439
1440
|
error?: string;
|
|
1441
|
+
initialItems?: Map<string, ReactNode> | {
|
|
1442
|
+
value: string;
|
|
1443
|
+
label: ReactNode;
|
|
1444
|
+
}[];
|
|
1440
1445
|
}): react_jsx_runtime.JSX.Element;
|
|
1441
1446
|
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1442
1447
|
className?: string;
|
|
@@ -2060,18 +2065,19 @@ interface ChartHooksArgs {
|
|
|
2060
2065
|
xAxisLabel?: string;
|
|
2061
2066
|
}
|
|
2062
2067
|
|
|
2063
|
-
interface LeaderboardItem {
|
|
2068
|
+
interface LeaderboardItem<T extends string> {
|
|
2064
2069
|
name: string;
|
|
2065
|
-
|
|
2070
|
+
value: number | string | T;
|
|
2066
2071
|
}
|
|
2067
|
-
interface LeaderboardProps {
|
|
2068
|
-
items?: LeaderboardItem[];
|
|
2072
|
+
interface LeaderboardProps<T extends string> {
|
|
2073
|
+
items?: LeaderboardItem<T>[];
|
|
2069
2074
|
order?: "asc" | "desc";
|
|
2070
2075
|
title?: string;
|
|
2071
2076
|
className?: string;
|
|
2072
2077
|
isLoading?: boolean;
|
|
2078
|
+
legend?: [string, string][];
|
|
2073
2079
|
}
|
|
2074
|
-
declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
|
|
2080
|
+
declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
|
|
2075
2081
|
|
|
2076
2082
|
declare function useIsMobile(): boolean;
|
|
2077
2083
|
|
|
@@ -2092,4 +2098,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2092
2098
|
isDragging: boolean;
|
|
2093
2099
|
};
|
|
2094
2100
|
|
|
2095
|
-
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 DefaultMultiSelectProps, 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, Leaderboard, 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, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, 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, visualForItem };
|
|
2101
|
+
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 DefaultMultiSelectProps, 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, Leaderboard, type LeaderboardItem, type LeaderboardProps, 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, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, 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, visualForItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -270,18 +270,18 @@ declare const buttonVariantsBase: (props?: ({
|
|
|
270
270
|
variant?: "select" | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
271
271
|
size?: "select" | "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
272
272
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
273
|
-
interface ButtonProps extends
|
|
273
|
+
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
|
|
274
274
|
asChild?: boolean;
|
|
275
275
|
testid?: string;
|
|
276
276
|
isLoading?: boolean;
|
|
277
|
-
tooltip?:
|
|
277
|
+
tooltip?: React__default.ReactNode;
|
|
278
278
|
}
|
|
279
|
-
declare const ButtonBase:
|
|
280
|
-
interface ButtonGroupProps extends
|
|
281
|
-
children:
|
|
279
|
+
declare const ButtonBase: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
280
|
+
interface ButtonGroupProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
281
|
+
children: React__default.ReactNode;
|
|
282
282
|
orientation?: "horizontal" | "vertical";
|
|
283
283
|
}
|
|
284
|
-
declare const ButtonGroupBase:
|
|
284
|
+
declare const ButtonGroupBase: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
285
285
|
|
|
286
286
|
declare const CheckboxBase: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
287
287
|
testid?: string;
|
|
@@ -1381,8 +1381,9 @@ interface ComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
1381
1381
|
labelClassname?: string;
|
|
1382
1382
|
testIds?: ComboboxTestIds;
|
|
1383
1383
|
disabled?: boolean;
|
|
1384
|
+
hideClear?: boolean;
|
|
1384
1385
|
}
|
|
1385
|
-
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
|
+
declare function Combobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, empty, disabled, label, labelClassname, testIds, error, hideClear, }: ComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
1386
1387
|
|
|
1387
1388
|
interface MultiComboboxTestIds {
|
|
1388
1389
|
root?: string;
|
|
@@ -1429,7 +1430,7 @@ type MultiSelectContextType = {
|
|
|
1429
1430
|
emptyMessage?: ReactNode;
|
|
1430
1431
|
error?: string;
|
|
1431
1432
|
};
|
|
1432
|
-
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, }: {
|
|
1433
|
+
declare function MultiSelectBase({ children, values, defaultValues, onValuesChange, disabled, empty, error, initialItems, }: {
|
|
1433
1434
|
children: ReactNode;
|
|
1434
1435
|
values?: string[];
|
|
1435
1436
|
defaultValues?: string[];
|
|
@@ -1437,6 +1438,10 @@ declare function MultiSelectBase({ children, values, defaultValues, onValuesChan
|
|
|
1437
1438
|
disabled?: boolean;
|
|
1438
1439
|
empty?: ReactNode;
|
|
1439
1440
|
error?: string;
|
|
1441
|
+
initialItems?: Map<string, ReactNode> | {
|
|
1442
|
+
value: string;
|
|
1443
|
+
label: ReactNode;
|
|
1444
|
+
}[];
|
|
1440
1445
|
}): react_jsx_runtime.JSX.Element;
|
|
1441
1446
|
declare function MultiSelectTriggerBase({ className, children, error: propError, label, labelClassname, ...props }: {
|
|
1442
1447
|
className?: string;
|
|
@@ -2060,18 +2065,19 @@ interface ChartHooksArgs {
|
|
|
2060
2065
|
xAxisLabel?: string;
|
|
2061
2066
|
}
|
|
2062
2067
|
|
|
2063
|
-
interface LeaderboardItem {
|
|
2068
|
+
interface LeaderboardItem<T extends string> {
|
|
2064
2069
|
name: string;
|
|
2065
|
-
|
|
2070
|
+
value: number | string | T;
|
|
2066
2071
|
}
|
|
2067
|
-
interface LeaderboardProps {
|
|
2068
|
-
items?: LeaderboardItem[];
|
|
2072
|
+
interface LeaderboardProps<T extends string> {
|
|
2073
|
+
items?: LeaderboardItem<T>[];
|
|
2069
2074
|
order?: "asc" | "desc";
|
|
2070
2075
|
title?: string;
|
|
2071
2076
|
className?: string;
|
|
2072
2077
|
isLoading?: boolean;
|
|
2078
|
+
legend?: [string, string][];
|
|
2073
2079
|
}
|
|
2074
|
-
declare function Leaderboard({ items, order: initialOrder, title, className, isLoading, }: LeaderboardProps): react_jsx_runtime.JSX.Element;
|
|
2080
|
+
declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
|
|
2075
2081
|
|
|
2076
2082
|
declare function useIsMobile(): boolean;
|
|
2077
2083
|
|
|
@@ -2092,4 +2098,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2092
2098
|
isDragging: boolean;
|
|
2093
2099
|
};
|
|
2094
2100
|
|
|
2095
|
-
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 DefaultMultiSelectProps, 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, Leaderboard, 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, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, 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, visualForItem };
|
|
2101
|
+
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 DefaultMultiSelectProps, 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, Leaderboard, type LeaderboardItem, type LeaderboardProps, 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, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, 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, visualForItem };
|