@mlw-packages/react-components 1.10.4 → 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 +29 -7
- package/dist/index.d.mts +28 -61
- package/dist/index.d.ts +28 -61
- package/dist/index.js +171 -283
- package/dist/index.mjs +173 -277
- package/package.json +1 -1
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
|
}
|
|
@@ -1099,9 +1102,6 @@ body {
|
|
|
1099
1102
|
.h-px {
|
|
1100
1103
|
height: 1px;
|
|
1101
1104
|
}
|
|
1102
|
-
.h-screen {
|
|
1103
|
-
height: 100vh;
|
|
1104
|
-
}
|
|
1105
1105
|
.h-svh {
|
|
1106
1106
|
height: 100svh;
|
|
1107
1107
|
}
|
|
@@ -3328,6 +3328,10 @@ body {
|
|
|
3328
3328
|
.stroke-1 {
|
|
3329
3329
|
stroke-width: 1;
|
|
3330
3330
|
}
|
|
3331
|
+
.object-contain {
|
|
3332
|
+
-o-object-fit: contain;
|
|
3333
|
+
object-fit: contain;
|
|
3334
|
+
}
|
|
3331
3335
|
.object-cover {
|
|
3332
3336
|
-o-object-fit: cover;
|
|
3333
3337
|
object-fit: cover;
|
|
@@ -4611,6 +4615,9 @@ body {
|
|
|
4611
4615
|
.\[filter\:brightness\(0\.92\)\] {
|
|
4612
4616
|
filter: brightness(0.92);
|
|
4613
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
|
+
}
|
|
4614
4621
|
.\[scrollbar-width\:none\] {
|
|
4615
4622
|
scrollbar-width: none;
|
|
4616
4623
|
}
|
|
@@ -6110,8 +6117,8 @@ body {
|
|
|
6110
6117
|
.data-\[active\=true\]\:ring-ring\/50[data-active=true] {
|
|
6111
6118
|
--tw-ring-color: hsl(var(--ring) / 0.5);
|
|
6112
6119
|
}
|
|
6113
|
-
.data-\[state\=closed\]\:duration-
|
|
6114
|
-
transition-duration:
|
|
6120
|
+
.data-\[state\=closed\]\:duration-100[data-state=closed] {
|
|
6121
|
+
transition-duration: 100ms;
|
|
6115
6122
|
}
|
|
6116
6123
|
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
6117
6124
|
transition-duration: 300ms;
|
|
@@ -6212,15 +6219,27 @@ body {
|
|
|
6212
6219
|
.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start] {
|
|
6213
6220
|
--tw-exit-translate-x: -13rem;
|
|
6214
6221
|
}
|
|
6222
|
+
.data-\[side\=bottom\]\:slide-in-from-top-1\.5[data-side=bottom] {
|
|
6223
|
+
--tw-enter-translate-y: -0.375rem;
|
|
6224
|
+
}
|
|
6215
6225
|
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom] {
|
|
6216
6226
|
--tw-enter-translate-y: -0.5rem;
|
|
6217
6227
|
}
|
|
6228
|
+
.data-\[side\=left\]\:slide-in-from-right-1\.5[data-side=left] {
|
|
6229
|
+
--tw-enter-translate-x: 0.375rem;
|
|
6230
|
+
}
|
|
6218
6231
|
.data-\[side\=left\]\:slide-in-from-right-2[data-side=left] {
|
|
6219
6232
|
--tw-enter-translate-x: 0.5rem;
|
|
6220
6233
|
}
|
|
6234
|
+
.data-\[side\=right\]\:slide-in-from-left-1\.5[data-side=right] {
|
|
6235
|
+
--tw-enter-translate-x: -0.375rem;
|
|
6236
|
+
}
|
|
6221
6237
|
.data-\[side\=right\]\:slide-in-from-left-2[data-side=right] {
|
|
6222
6238
|
--tw-enter-translate-x: -0.5rem;
|
|
6223
6239
|
}
|
|
6240
|
+
.data-\[side\=top\]\:slide-in-from-bottom-1\.5[data-side=top] {
|
|
6241
|
+
--tw-enter-translate-y: 0.375rem;
|
|
6242
|
+
}
|
|
6224
6243
|
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top] {
|
|
6225
6244
|
--tw-enter-translate-y: 0.5rem;
|
|
6226
6245
|
}
|
|
@@ -6260,8 +6279,8 @@ body {
|
|
|
6260
6279
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] {
|
|
6261
6280
|
--tw-enter-translate-y: -48%;
|
|
6262
6281
|
}
|
|
6263
|
-
.data-\[state\=closed\]\:duration-
|
|
6264
|
-
animation-duration:
|
|
6282
|
+
.data-\[state\=closed\]\:duration-100[data-state=closed] {
|
|
6283
|
+
animation-duration: 100ms;
|
|
6265
6284
|
}
|
|
6266
6285
|
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
6267
6286
|
animation-duration: 300ms;
|
|
@@ -7662,6 +7681,9 @@ body {
|
|
|
7662
7681
|
.\[\&\:\:-webkit-scrollbar\]\:h-1\.5::-webkit-scrollbar {
|
|
7663
7682
|
height: 0.375rem;
|
|
7664
7683
|
}
|
|
7684
|
+
.\[\&\:\:-webkit-scrollbar\]\:w-1::-webkit-scrollbar {
|
|
7685
|
+
width: 0.25rem;
|
|
7686
|
+
}
|
|
7665
7687
|
.\[\&\:\:-webkit-scrollbar\]\:w-1\.5::-webkit-scrollbar {
|
|
7666
7688
|
width: 0.375rem;
|
|
7667
7689
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -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
|
}
|
|
@@ -2575,4 +2523,23 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2575
2523
|
}
|
|
2576
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;
|
|
2577
2525
|
|
|
2578
|
-
|
|
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
|
+
};
|
|
2544
|
+
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -2575,4 +2523,23 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2575
2523
|
}
|
|
2576
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;
|
|
2577
2525
|
|
|
2578
|
-
|
|
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
|
+
};
|
|
2544
|
+
|
|
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 };
|