@mlw-packages/react-components 1.10.3 → 1.10.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 +42 -83
- package/dist/index.d.mts +44 -78
- package/dist/index.d.ts +44 -78
- package/dist/index.js +373 -550
- package/dist/index.mjs +374 -543
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -718,6 +718,9 @@ body {
|
|
|
718
718
|
margin-top: 2rem;
|
|
719
719
|
margin-bottom: 2rem;
|
|
720
720
|
}
|
|
721
|
+
.-mb-2 {
|
|
722
|
+
margin-bottom: -0.5rem;
|
|
723
|
+
}
|
|
721
724
|
.-me-1 {
|
|
722
725
|
margin-inline-end: -0.25rem;
|
|
723
726
|
}
|
|
@@ -733,6 +736,9 @@ body {
|
|
|
733
736
|
.mb-1 {
|
|
734
737
|
margin-bottom: 0.25rem;
|
|
735
738
|
}
|
|
739
|
+
.mb-1\.5 {
|
|
740
|
+
margin-bottom: 0.375rem;
|
|
741
|
+
}
|
|
736
742
|
.mb-10 {
|
|
737
743
|
margin-bottom: 2.5rem;
|
|
738
744
|
}
|
|
@@ -1096,9 +1102,6 @@ body {
|
|
|
1096
1102
|
.h-px {
|
|
1097
1103
|
height: 1px;
|
|
1098
1104
|
}
|
|
1099
|
-
.h-screen {
|
|
1100
|
-
height: 100vh;
|
|
1101
|
-
}
|
|
1102
1105
|
.h-svh {
|
|
1103
1106
|
height: 100svh;
|
|
1104
1107
|
}
|
|
@@ -2180,22 +2183,6 @@ body {
|
|
|
2180
2183
|
.border-none {
|
|
2181
2184
|
border-style: none;
|
|
2182
2185
|
}
|
|
2183
|
-
.\!border-\[\#005bbf\] {
|
|
2184
|
-
--tw-border-opacity: 1 !important;
|
|
2185
|
-
border-color: rgb(0 91 191 / var(--tw-border-opacity, 1)) !important;
|
|
2186
|
-
}
|
|
2187
|
-
.\!border-\[\#0b5430\] {
|
|
2188
|
-
--tw-border-opacity: 1 !important;
|
|
2189
|
-
border-color: rgb(11 84 48 / var(--tw-border-opacity, 1)) !important;
|
|
2190
|
-
}
|
|
2191
|
-
.\!border-\[\#d9d0c0\] {
|
|
2192
|
-
--tw-border-opacity: 1 !important;
|
|
2193
|
-
border-color: rgb(217 208 192 / var(--tw-border-opacity, 1)) !important;
|
|
2194
|
-
}
|
|
2195
|
-
.\!border-black {
|
|
2196
|
-
--tw-border-opacity: 1 !important;
|
|
2197
|
-
border-color: rgb(0 0 0 / var(--tw-border-opacity, 1)) !important;
|
|
2198
|
-
}
|
|
2199
2186
|
.border-accent {
|
|
2200
2187
|
border-color: hsl(var(--accent));
|
|
2201
2188
|
}
|
|
@@ -2471,30 +2458,6 @@ body {
|
|
|
2471
2458
|
.\!bg-transparent {
|
|
2472
2459
|
background-color: transparent !important;
|
|
2473
2460
|
}
|
|
2474
|
-
.bg-\[\#005bbf\] {
|
|
2475
|
-
--tw-bg-opacity: 1;
|
|
2476
|
-
background-color: rgb(0 91 191 / var(--tw-bg-opacity, 1));
|
|
2477
|
-
}
|
|
2478
|
-
.bg-\[\#0b5430\] {
|
|
2479
|
-
--tw-bg-opacity: 1;
|
|
2480
|
-
background-color: rgb(11 84 48 / var(--tw-bg-opacity, 1));
|
|
2481
|
-
}
|
|
2482
|
-
.bg-\[\#d9d0c0\] {
|
|
2483
|
-
--tw-bg-opacity: 1;
|
|
2484
|
-
background-color: rgb(217 208 192 / var(--tw-bg-opacity, 1));
|
|
2485
|
-
}
|
|
2486
|
-
.bg-\[\#e2ddd6\] {
|
|
2487
|
-
--tw-bg-opacity: 1;
|
|
2488
|
-
background-color: rgb(226 221 214 / var(--tw-bg-opacity, 1));
|
|
2489
|
-
}
|
|
2490
|
-
.bg-\[\#f0eacc\] {
|
|
2491
|
-
--tw-bg-opacity: 1;
|
|
2492
|
-
background-color: rgb(240 234 204 / var(--tw-bg-opacity, 1));
|
|
2493
|
-
}
|
|
2494
|
-
.bg-\[\#fcf5c2\] {
|
|
2495
|
-
--tw-bg-opacity: 1;
|
|
2496
|
-
background-color: rgb(252 245 194 / var(--tw-bg-opacity, 1));
|
|
2497
|
-
}
|
|
2498
2461
|
.bg-accent {
|
|
2499
2462
|
background-color: hsl(var(--accent));
|
|
2500
2463
|
}
|
|
@@ -2543,10 +2506,6 @@ body {
|
|
|
2543
2506
|
.bg-background\/95 {
|
|
2544
2507
|
background-color: hsl(var(--background) / 0.95);
|
|
2545
2508
|
}
|
|
2546
|
-
.bg-black {
|
|
2547
|
-
--tw-bg-opacity: 1;
|
|
2548
|
-
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
2549
|
-
}
|
|
2550
2509
|
.bg-black\/20 {
|
|
2551
2510
|
background-color: rgb(0 0 0 / 0.2);
|
|
2552
2511
|
}
|
|
@@ -2826,6 +2785,9 @@ body {
|
|
|
2826
2785
|
.bg-primary-foreground {
|
|
2827
2786
|
background-color: hsl(var(--primary-foreground));
|
|
2828
2787
|
}
|
|
2788
|
+
.bg-primary-foreground\/15 {
|
|
2789
|
+
background-color: hsl(var(--primary-foreground) / 0.15);
|
|
2790
|
+
}
|
|
2829
2791
|
.bg-primary\/10 {
|
|
2830
2792
|
background-color: hsl(var(--primary) / 0.1);
|
|
2831
2793
|
}
|
|
@@ -3366,6 +3328,10 @@ body {
|
|
|
3366
3328
|
.stroke-1 {
|
|
3367
3329
|
stroke-width: 1;
|
|
3368
3330
|
}
|
|
3331
|
+
.object-contain {
|
|
3332
|
+
-o-object-fit: contain;
|
|
3333
|
+
object-fit: contain;
|
|
3334
|
+
}
|
|
3369
3335
|
.object-cover {
|
|
3370
3336
|
-o-object-fit: cover;
|
|
3371
3337
|
object-fit: cover;
|
|
@@ -3635,18 +3601,6 @@ body {
|
|
|
3635
3601
|
.align-middle {
|
|
3636
3602
|
vertical-align: middle;
|
|
3637
3603
|
}
|
|
3638
|
-
.font-\[family-name\:var\(--font-josefin\)\] {
|
|
3639
|
-
font-family: var(--font-josefin);
|
|
3640
|
-
}
|
|
3641
|
-
.font-\[family-name\:var\(--font-libre-caslon\)\] {
|
|
3642
|
-
font-family: var(--font-libre-caslon);
|
|
3643
|
-
}
|
|
3644
|
-
.font-\[family-name\:var\(--font-playfair\)\] {
|
|
3645
|
-
font-family: var(--font-playfair);
|
|
3646
|
-
}
|
|
3647
|
-
.font-\[family-name\:var\(--font-poppins\)\] {
|
|
3648
|
-
font-family: var(--font-poppins);
|
|
3649
|
-
}
|
|
3650
3604
|
.font-mono {
|
|
3651
3605
|
font-family:
|
|
3652
3606
|
ui-monospace,
|
|
@@ -3824,26 +3778,6 @@ body {
|
|
|
3824
3778
|
--tw-text-opacity: 1 !important;
|
|
3825
3779
|
color: rgb(163 163 163 / var(--tw-text-opacity, 1)) !important;
|
|
3826
3780
|
}
|
|
3827
|
-
.text-\[\#004a9e\] {
|
|
3828
|
-
--tw-text-opacity: 1;
|
|
3829
|
-
color: rgb(0 74 158 / var(--tw-text-opacity, 1));
|
|
3830
|
-
}
|
|
3831
|
-
.text-\[\#005bbf\] {
|
|
3832
|
-
--tw-text-opacity: 1;
|
|
3833
|
-
color: rgb(0 91 191 / var(--tw-text-opacity, 1));
|
|
3834
|
-
}
|
|
3835
|
-
.text-\[\#222222\] {
|
|
3836
|
-
--tw-text-opacity: 1;
|
|
3837
|
-
color: rgb(34 34 34 / var(--tw-text-opacity, 1));
|
|
3838
|
-
}
|
|
3839
|
-
.text-\[\#5e5b56\] {
|
|
3840
|
-
--tw-text-opacity: 1;
|
|
3841
|
-
color: rgb(94 91 86 / var(--tw-text-opacity, 1));
|
|
3842
|
-
}
|
|
3843
|
-
.text-\[\#6b665c\] {
|
|
3844
|
-
--tw-text-opacity: 1;
|
|
3845
|
-
color: rgb(107 102 92 / var(--tw-text-opacity, 1));
|
|
3846
|
-
}
|
|
3847
3781
|
.text-accent-foreground {
|
|
3848
3782
|
color: hsl(var(--accent-foreground));
|
|
3849
3783
|
}
|
|
@@ -4078,6 +4012,9 @@ body {
|
|
|
4078
4012
|
.text-primary-foreground {
|
|
4079
4013
|
color: hsl(var(--primary-foreground));
|
|
4080
4014
|
}
|
|
4015
|
+
.text-primary-foreground\/60 {
|
|
4016
|
+
color: hsl(var(--primary-foreground) / 0.6);
|
|
4017
|
+
}
|
|
4081
4018
|
.text-purple-500 {
|
|
4082
4019
|
--tw-text-opacity: 1;
|
|
4083
4020
|
color: rgb(168 85 247 / var(--tw-text-opacity, 1));
|
|
@@ -4678,6 +4615,9 @@ body {
|
|
|
4678
4615
|
.\[filter\:brightness\(0\.92\)\] {
|
|
4679
4616
|
filter: brightness(0.92);
|
|
4680
4617
|
}
|
|
4618
|
+
.\[filter\:drop-shadow\(0_0_0\.5px_hsl\(var\(--border\)\)\)_drop-shadow\(0_4px_12px_hsl\(var\(--foreground\)\/0\.08\)\)\] {
|
|
4619
|
+
filter: drop-shadow(0 0 0.5px hsl(var(--border))) drop-shadow(0 4px 12px hsl(var(--foreground)/0.08));
|
|
4620
|
+
}
|
|
4681
4621
|
.\[scrollbar-width\:none\] {
|
|
4682
4622
|
scrollbar-width: none;
|
|
4683
4623
|
}
|
|
@@ -6177,8 +6117,8 @@ body {
|
|
|
6177
6117
|
.data-\[active\=true\]\:ring-ring\/50[data-active=true] {
|
|
6178
6118
|
--tw-ring-color: hsl(var(--ring) / 0.5);
|
|
6179
6119
|
}
|
|
6180
|
-
.data-\[state\=closed\]\:duration-
|
|
6181
|
-
transition-duration:
|
|
6120
|
+
.data-\[state\=closed\]\:duration-100[data-state=closed] {
|
|
6121
|
+
transition-duration: 100ms;
|
|
6182
6122
|
}
|
|
6183
6123
|
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
6184
6124
|
transition-duration: 300ms;
|
|
@@ -6279,15 +6219,27 @@ body {
|
|
|
6279
6219
|
.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start] {
|
|
6280
6220
|
--tw-exit-translate-x: -13rem;
|
|
6281
6221
|
}
|
|
6222
|
+
.data-\[side\=bottom\]\:slide-in-from-top-1\.5[data-side=bottom] {
|
|
6223
|
+
--tw-enter-translate-y: -0.375rem;
|
|
6224
|
+
}
|
|
6282
6225
|
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom] {
|
|
6283
6226
|
--tw-enter-translate-y: -0.5rem;
|
|
6284
6227
|
}
|
|
6228
|
+
.data-\[side\=left\]\:slide-in-from-right-1\.5[data-side=left] {
|
|
6229
|
+
--tw-enter-translate-x: 0.375rem;
|
|
6230
|
+
}
|
|
6285
6231
|
.data-\[side\=left\]\:slide-in-from-right-2[data-side=left] {
|
|
6286
6232
|
--tw-enter-translate-x: 0.5rem;
|
|
6287
6233
|
}
|
|
6234
|
+
.data-\[side\=right\]\:slide-in-from-left-1\.5[data-side=right] {
|
|
6235
|
+
--tw-enter-translate-x: -0.375rem;
|
|
6236
|
+
}
|
|
6288
6237
|
.data-\[side\=right\]\:slide-in-from-left-2[data-side=right] {
|
|
6289
6238
|
--tw-enter-translate-x: -0.5rem;
|
|
6290
6239
|
}
|
|
6240
|
+
.data-\[side\=top\]\:slide-in-from-bottom-1\.5[data-side=top] {
|
|
6241
|
+
--tw-enter-translate-y: 0.375rem;
|
|
6242
|
+
}
|
|
6291
6243
|
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top] {
|
|
6292
6244
|
--tw-enter-translate-y: 0.5rem;
|
|
6293
6245
|
}
|
|
@@ -6327,8 +6279,8 @@ body {
|
|
|
6327
6279
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] {
|
|
6328
6280
|
--tw-enter-translate-y: -48%;
|
|
6329
6281
|
}
|
|
6330
|
-
.data-\[state\=closed\]\:duration-
|
|
6331
|
-
animation-duration:
|
|
6282
|
+
.data-\[state\=closed\]\:duration-100[data-state=closed] {
|
|
6283
|
+
animation-duration: 100ms;
|
|
6332
6284
|
}
|
|
6333
6285
|
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
6334
6286
|
animation-duration: 300ms;
|
|
@@ -6716,6 +6668,10 @@ body {
|
|
|
6716
6668
|
--tw-bg-opacity: 1;
|
|
6717
6669
|
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
6718
6670
|
}
|
|
6671
|
+
.dark\:bg-gray-950:is(.dark *) {
|
|
6672
|
+
--tw-bg-opacity: 1;
|
|
6673
|
+
background-color: rgb(3 7 18 / var(--tw-bg-opacity, 1));
|
|
6674
|
+
}
|
|
6719
6675
|
.dark\:bg-green-500\/25:is(.dark *) {
|
|
6720
6676
|
background-color: rgb(34 197 94 / 0.25);
|
|
6721
6677
|
}
|
|
@@ -7662,6 +7618,9 @@ body {
|
|
|
7662
7618
|
.lg\:grid-cols-3 {
|
|
7663
7619
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
7664
7620
|
}
|
|
7621
|
+
.lg\:grid-cols-4 {
|
|
7622
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
7623
|
+
}
|
|
7665
7624
|
.lg\:grid-cols-\[\.75fr_1fr\] {
|
|
7666
7625
|
grid-template-columns: .75fr 1fr;
|
|
7667
7626
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -110,23 +110,23 @@ declare const CardFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
|
|
|
110
110
|
testid?: string;
|
|
111
111
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
113
|
+
type FilesAccepted = "image/*" | "video/*" | "audio/*" | "pdf" | "doc" | "docx" | "txt" | "rtf" | "xls" | "xlsx" | "csv" | "ppt" | "pptx" | "jpeg" | "jpg" | "png" | "gif" | "webp" | "svg" | "mp4" | "webm" | "mkv" | "avi" | "mp3" | "wav" | "ogg" | "zip" | "rar" | "7z" | "tar" | "gz" | "*" | (string & {});
|
|
114
|
+
declare const FileAccept: {
|
|
115
|
+
readonly Image: "image/*";
|
|
116
|
+
readonly Document: "pdf,doc,docx,txt,rtf";
|
|
117
|
+
readonly Spreadsheet: "xls,xlsx,csv";
|
|
118
|
+
readonly Presentation: "ppt,pptx";
|
|
119
|
+
readonly Video: "video/*";
|
|
120
|
+
readonly Audio: "audio/*";
|
|
121
|
+
readonly All: "*";
|
|
121
122
|
};
|
|
122
|
-
type FileTypeValues = (typeof FileTypes)[keyof typeof FileTypes];
|
|
123
123
|
interface FileWithPreview extends File {
|
|
124
124
|
id?: string;
|
|
125
125
|
error?: string;
|
|
126
126
|
preview?: string;
|
|
127
127
|
}
|
|
128
128
|
interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
|
|
129
|
-
accept?:
|
|
129
|
+
accept?: FilesAccepted;
|
|
130
130
|
maxSize?: number;
|
|
131
131
|
maxFiles?: number;
|
|
132
132
|
onValueChange: (files: FileWithPreview[]) => void;
|
|
@@ -2085,6 +2085,14 @@ interface SystemTooltipProps {
|
|
|
2085
2085
|
onMouseDown?: (id: string, e: React__default.MouseEvent | React__default.TouchEvent) => void;
|
|
2086
2086
|
onClose: (id: string) => void;
|
|
2087
2087
|
onPositionChange?: (id: string, position: Position$2) => void;
|
|
2088
|
+
onConnectionClick?: (conn: Connection, pos: {
|
|
2089
|
+
x: number;
|
|
2090
|
+
y: number;
|
|
2091
|
+
}) => void;
|
|
2092
|
+
onProcessClick?: (conn: Connection, pos: {
|
|
2093
|
+
x: number;
|
|
2094
|
+
y: number;
|
|
2095
|
+
}) => void;
|
|
2088
2096
|
}
|
|
2089
2097
|
declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
|
|
2090
2098
|
|
|
@@ -2156,66 +2164,6 @@ interface IntegrationTooltipProps {
|
|
|
2156
2164
|
}
|
|
2157
2165
|
declare const IntegrationTooltip: React__default.FC<IntegrationTooltipProps>;
|
|
2158
2166
|
|
|
2159
|
-
declare const useIsTruncated: (ref: React.RefObject<HTMLElement | null>) => boolean;
|
|
2160
|
-
|
|
2161
|
-
declare const Beam: React__default.FC<{
|
|
2162
|
-
isInput: boolean;
|
|
2163
|
-
containerRef: React__default.RefObject<HTMLDivElement | null>;
|
|
2164
|
-
leftRef: React__default.RefObject<HTMLDivElement | null>;
|
|
2165
|
-
rightRef: React__default.RefObject<HTMLDivElement | null>;
|
|
2166
|
-
}>;
|
|
2167
|
-
|
|
2168
|
-
declare const SystemsDiagram: React__default.FC<{
|
|
2169
|
-
isInput: boolean;
|
|
2170
|
-
currentSystem: string;
|
|
2171
|
-
externalSystem: string;
|
|
2172
|
-
}>;
|
|
2173
|
-
|
|
2174
|
-
declare const TooltipBody: React__default.NamedExoticComponent<{
|
|
2175
|
-
data: IntegrationData;
|
|
2176
|
-
isLoading: boolean;
|
|
2177
|
-
connections: IntegrationData["connections"];
|
|
2178
|
-
isInput: boolean;
|
|
2179
|
-
externalSystem: string;
|
|
2180
|
-
}>;
|
|
2181
|
-
|
|
2182
|
-
declare function useIsMobile(): boolean;
|
|
2183
|
-
|
|
2184
|
-
interface Position {
|
|
2185
|
-
top: number;
|
|
2186
|
-
left: number;
|
|
2187
|
-
}
|
|
2188
|
-
interface UseDragOptions {
|
|
2189
|
-
onDragStart?: (id: string) => void;
|
|
2190
|
-
onDragEnd?: (id: string) => void;
|
|
2191
|
-
onDrag?: (id: string, position: Position) => void;
|
|
2192
|
-
}
|
|
2193
|
-
declare const useDrag: (options?: UseDragOptions) => {
|
|
2194
|
-
handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
|
|
2195
|
-
getPosition: (id: string) => Position;
|
|
2196
|
-
setPosition: (id: string, position: Position) => void;
|
|
2197
|
-
isElementDragging: (id: string) => boolean;
|
|
2198
|
-
isDragging: boolean;
|
|
2199
|
-
};
|
|
2200
|
-
|
|
2201
|
-
declare const IntegrationCard: React__default.FC<{
|
|
2202
|
-
title: string;
|
|
2203
|
-
details?: IntegrationProperties | null;
|
|
2204
|
-
}>;
|
|
2205
|
-
|
|
2206
|
-
declare const NameTooltip: React__default.FC<{
|
|
2207
|
-
name: string;
|
|
2208
|
-
description?: string;
|
|
2209
|
-
}>;
|
|
2210
|
-
|
|
2211
|
-
declare const CopyData: React__default.FC<{
|
|
2212
|
-
value: string;
|
|
2213
|
-
}>;
|
|
2214
|
-
|
|
2215
|
-
declare const SystemNode: React__default.FC<{
|
|
2216
|
-
label: string;
|
|
2217
|
-
}>;
|
|
2218
|
-
|
|
2219
2167
|
interface ChartData$2 {
|
|
2220
2168
|
[key: string]: string | number | boolean | null | undefined;
|
|
2221
2169
|
}
|
|
@@ -2491,7 +2439,6 @@ interface CarouselItem {
|
|
|
2491
2439
|
id: number | string;
|
|
2492
2440
|
url: string;
|
|
2493
2441
|
title: string;
|
|
2494
|
-
theme?: "malwee" | "malwee-kids" | "enfim" | "carinhoso";
|
|
2495
2442
|
}
|
|
2496
2443
|
interface CarouselBaseProps {
|
|
2497
2444
|
items: CarouselItem[];
|
|
@@ -2510,9 +2457,10 @@ interface CarouselBaseProps {
|
|
|
2510
2457
|
zoomEffect?: "lens" | "scale" | null;
|
|
2511
2458
|
download?: boolean;
|
|
2512
2459
|
isLoading?: boolean;
|
|
2460
|
+
fernando?: string;
|
|
2513
2461
|
onChange?: (index: number) => void;
|
|
2514
2462
|
}
|
|
2515
|
-
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2463
|
+
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, fernando, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2516
2464
|
|
|
2517
2465
|
type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
|
|
2518
2466
|
type MenuItem = {
|
|
@@ -2554,9 +2502,9 @@ interface ControlledComboboxTestIds {
|
|
|
2554
2502
|
}
|
|
2555
2503
|
interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
2556
2504
|
items: ControlledComboboxItem<T>[];
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2505
|
+
value?: T;
|
|
2506
|
+
onChange?: (value: T) => void;
|
|
2507
|
+
placeholder?: ReactNode;
|
|
2560
2508
|
disabled?: boolean;
|
|
2561
2509
|
keepOpen?: boolean;
|
|
2562
2510
|
closeAll?: ReactNode;
|
|
@@ -2566,7 +2514,6 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2566
2514
|
onClear?: () => void;
|
|
2567
2515
|
testIds?: ControlledComboboxTestIds;
|
|
2568
2516
|
isMulti?: boolean;
|
|
2569
|
-
hasSelected?: boolean;
|
|
2570
2517
|
onSearchChange?: (value: string) => void;
|
|
2571
2518
|
search?: string;
|
|
2572
2519
|
onEndReached?: () => void;
|
|
@@ -2574,6 +2521,25 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2574
2521
|
label?: string;
|
|
2575
2522
|
labelClassname?: string;
|
|
2576
2523
|
}
|
|
2577
|
-
declare function ControlledCombobox<T extends string>({ items,
|
|
2524
|
+
declare function ControlledCombobox<T extends string>({ items, value, onChange, placeholder, disabled, keepOpen, searchPlaceholder, empty, error, label, labelClassname, testIds, onClear, hideClear, onSearchChange, search, onEndReached, loading, }: ControlledComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2525
|
+
|
|
2526
|
+
declare function useIsMobile(): boolean;
|
|
2527
|
+
|
|
2528
|
+
interface Position {
|
|
2529
|
+
top: number;
|
|
2530
|
+
left: number;
|
|
2531
|
+
}
|
|
2532
|
+
interface UseDragOptions {
|
|
2533
|
+
onDragStart?: (id: string) => void;
|
|
2534
|
+
onDragEnd?: (id: string) => void;
|
|
2535
|
+
onDrag?: (id: string, position: Position) => void;
|
|
2536
|
+
}
|
|
2537
|
+
declare const useDrag: (options?: UseDragOptions) => {
|
|
2538
|
+
handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
|
|
2539
|
+
getPosition: (id: string) => Position;
|
|
2540
|
+
setPosition: (id: string, position: Position) => void;
|
|
2541
|
+
isElementDragging: (id: string) => boolean;
|
|
2542
|
+
isDragging: boolean;
|
|
2543
|
+
};
|
|
2578
2544
|
|
|
2579
|
-
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,
|
|
2545
|
+
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, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, 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, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, type IntegrationTooltipProps, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, 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 Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, 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, type SystemData, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|