@juv/codego-react-ui 1.1.3 → 1.1.7
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/README.md +116 -5
- package/dist/index.cjs +2716 -1244
- package/dist/index.css +692 -0
- package/dist/index.d.cts +120 -10
- package/dist/index.d.ts +120 -10
- package/dist/index.global.js +39036 -3641
- package/dist/index.js +2754 -1286
- package/package.json +7 -1
package/dist/index.d.cts
CHANGED
|
@@ -143,20 +143,26 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
143
143
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
144
144
|
|
|
145
145
|
interface CalendarEvent {
|
|
146
|
+
id?: string;
|
|
146
147
|
date: Date;
|
|
147
|
-
|
|
148
|
+
endDate?: Date;
|
|
149
|
+
label: string;
|
|
148
150
|
color?: string;
|
|
151
|
+
allDay?: boolean;
|
|
152
|
+
description?: string;
|
|
149
153
|
}
|
|
154
|
+
type CalendarView = "month" | "week" | "day";
|
|
150
155
|
interface CalendarProps {
|
|
151
|
-
value?: Date | null;
|
|
152
|
-
defaultValue?: Date | null;
|
|
153
|
-
onChange?: (date: Date) => void;
|
|
154
156
|
events?: CalendarEvent[];
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
defaultView?: CalendarView;
|
|
158
|
+
defaultDate?: Date;
|
|
159
|
+
onEventClick?: (event: CalendarEvent) => void;
|
|
160
|
+
onDateClick?: (date: Date) => void;
|
|
161
|
+
onAddEvent?: (date: Date) => void;
|
|
157
162
|
className?: string;
|
|
158
163
|
}
|
|
159
|
-
declare
|
|
164
|
+
declare const EVENT_COLORS: string[];
|
|
165
|
+
declare function Calendar({ events, defaultView, defaultDate, onEventClick, onDateClick, onAddEvent, className, }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
160
166
|
|
|
161
167
|
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
162
168
|
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -364,8 +370,10 @@ interface DatePickerProps {
|
|
|
364
370
|
disabledDateTimes?: string[];
|
|
365
371
|
onChange: (value: string) => void;
|
|
366
372
|
onClose: () => void;
|
|
373
|
+
anchorEl?: HTMLElement | null;
|
|
374
|
+
popupRef?: React.RefObject<HTMLDivElement>;
|
|
367
375
|
}
|
|
368
|
-
declare function DatePickerPopup({ mode, value, disabledDates, disabledDateTimes, onChange, onClose, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function DatePickerPopup({ mode, value, disabledDates, disabledDateTimes, onChange, onClose, anchorEl, popupRef, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
369
377
|
|
|
370
378
|
interface DateRange {
|
|
371
379
|
from: Date | null;
|
|
@@ -382,6 +390,18 @@ interface DateRangePickerProps {
|
|
|
382
390
|
className?: string;
|
|
383
391
|
}
|
|
384
392
|
declare function DateRangePicker({ value: controlled, defaultValue, onChange, placeholder, disabled, minDate, maxDate, className, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
393
|
+
type CalendarDateRangeVariant = "default" | "split" | "minimal" | "card" | "sidebar" | "timeline" | "compact";
|
|
394
|
+
interface CalendarDateRangePickerProps {
|
|
395
|
+
variant?: CalendarDateRangeVariant;
|
|
396
|
+
value?: DateRange;
|
|
397
|
+
defaultValue?: DateRange;
|
|
398
|
+
onChange?: (range: DateRange) => void;
|
|
399
|
+
showPresets?: boolean;
|
|
400
|
+
minDate?: Date;
|
|
401
|
+
maxDate?: Date;
|
|
402
|
+
className?: string;
|
|
403
|
+
}
|
|
404
|
+
declare function CalendarDateRangePicker({ variant, value: controlled, defaultValue, onChange, showPresets, minDate, maxDate, className, }: CalendarDateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
385
405
|
|
|
386
406
|
type DrawerSide = "left" | "right" | "top" | "bottom";
|
|
387
407
|
interface DrawerProps {
|
|
@@ -422,7 +442,7 @@ declare function DropdownItem({ children, onClick, icon, disabled, variant, clas
|
|
|
422
442
|
declare function DropdownSeparator({ className }: {
|
|
423
443
|
className?: string;
|
|
424
444
|
}): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare function DropdownLabel({ children, className
|
|
445
|
+
declare function DropdownLabel({ children, className }: {
|
|
426
446
|
children: React.ReactNode;
|
|
427
447
|
className?: string;
|
|
428
448
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -576,6 +596,96 @@ declare function KanbanBoard({ columns: controlled, onChange, onAddCard, classNa
|
|
|
576
596
|
|
|
577
597
|
declare const Label: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>>;
|
|
578
598
|
|
|
599
|
+
type MarkerColor = "primary" | "info" | "success" | "warning" | "danger" | string;
|
|
600
|
+
type ClusterVariant = "default" | "bubble" | "donut";
|
|
601
|
+
type RouteType = "drive" | "walk";
|
|
602
|
+
interface MapMarker {
|
|
603
|
+
id: string | number;
|
|
604
|
+
lat: number;
|
|
605
|
+
lng: number;
|
|
606
|
+
label?: string;
|
|
607
|
+
color?: MarkerColor;
|
|
608
|
+
icon?: string;
|
|
609
|
+
image?: string;
|
|
610
|
+
popup?: React.ReactNode;
|
|
611
|
+
}
|
|
612
|
+
interface MapRoute {
|
|
613
|
+
start: {
|
|
614
|
+
lat: number;
|
|
615
|
+
lng: number;
|
|
616
|
+
};
|
|
617
|
+
end: {
|
|
618
|
+
lat: number;
|
|
619
|
+
lng: number;
|
|
620
|
+
};
|
|
621
|
+
waypoints?: {
|
|
622
|
+
lat: number;
|
|
623
|
+
lng: number;
|
|
624
|
+
}[];
|
|
625
|
+
routeType?: RouteType;
|
|
626
|
+
color?: string;
|
|
627
|
+
weight?: number;
|
|
628
|
+
label?: string;
|
|
629
|
+
}
|
|
630
|
+
interface LeafletMapProps {
|
|
631
|
+
center?: [number, number];
|
|
632
|
+
zoom?: number;
|
|
633
|
+
height?: string | number;
|
|
634
|
+
markers?: MapMarker[];
|
|
635
|
+
routes?: MapRoute[];
|
|
636
|
+
cluster?: boolean;
|
|
637
|
+
clusterVariant?: ClusterVariant;
|
|
638
|
+
tileUrl?: string;
|
|
639
|
+
tileAttribution?: string;
|
|
640
|
+
darkTile?: boolean;
|
|
641
|
+
className?: string;
|
|
642
|
+
onMarkerClick?: (marker: MapMarker) => void;
|
|
643
|
+
}
|
|
644
|
+
declare function LeafletMap({ center, zoom, height, markers, routes, cluster, clusterVariant, tileUrl, tileAttribution, darkTile, className, onMarkerClick, }: LeafletMapProps): react_jsx_runtime.JSX.Element;
|
|
645
|
+
|
|
646
|
+
type MapLibreStyle = "globe" | "3d" | "3d-globe" | "street" | "satellite" | "dark" | "light";
|
|
647
|
+
interface MapLibreMarker {
|
|
648
|
+
id: string | number;
|
|
649
|
+
lat: number;
|
|
650
|
+
lng: number;
|
|
651
|
+
label?: string;
|
|
652
|
+
color?: string;
|
|
653
|
+
icon?: string;
|
|
654
|
+
image?: string;
|
|
655
|
+
popup?: string | HTMLElement;
|
|
656
|
+
}
|
|
657
|
+
interface FlyToOptions {
|
|
658
|
+
center?: [number, number];
|
|
659
|
+
zoom?: number;
|
|
660
|
+
pitch?: number;
|
|
661
|
+
bearing?: number;
|
|
662
|
+
duration?: number;
|
|
663
|
+
curve?: number;
|
|
664
|
+
essential?: boolean;
|
|
665
|
+
}
|
|
666
|
+
interface MapLibreProps {
|
|
667
|
+
style?: MapLibreStyle;
|
|
668
|
+
center?: [number, number];
|
|
669
|
+
zoom?: number;
|
|
670
|
+
minZoom?: number;
|
|
671
|
+
maxZoom?: number;
|
|
672
|
+
pitch?: number;
|
|
673
|
+
minPitch?: number;
|
|
674
|
+
maxPitch?: number;
|
|
675
|
+
bearing?: number;
|
|
676
|
+
minBearing?: number;
|
|
677
|
+
maxBearing?: number;
|
|
678
|
+
flyTo?: FlyToOptions;
|
|
679
|
+
markers?: MapLibreMarker[];
|
|
680
|
+
height?: string | number;
|
|
681
|
+
showControls?: boolean;
|
|
682
|
+
showStyleSwitcher?: boolean;
|
|
683
|
+
showCameraControls?: boolean;
|
|
684
|
+
className?: string;
|
|
685
|
+
onMarkerClick?: (marker: MapLibreMarker) => void;
|
|
686
|
+
}
|
|
687
|
+
declare function MapLibreMap({ style: styleProp, center, zoom, minZoom, maxZoom, pitch: pitchProp, minPitch, maxPitch, bearing: bearingProp, minBearing, maxBearing, flyTo, markers, height, showControls, showStyleSwitcher, showCameraControls, className, onMarkerClick, }: MapLibreProps): react_jsx_runtime.JSX.Element;
|
|
688
|
+
|
|
579
689
|
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
580
690
|
isOpen: boolean;
|
|
581
691
|
onClose?: () => void;
|
|
@@ -1409,4 +1519,4 @@ interface WizardProps {
|
|
|
1409
1519
|
}
|
|
1410
1520
|
declare function Wizard({ steps, step: controlledStep, defaultStep, onStepChange, onFinish, onClose, layout, variant, size, isOpen, showClose, unchange, title, description, hideHeader, footer, renderActions, backLabel, nextLabel, finishLabel, cancelLabel, showCancel, showBackOnFirst, loading, clickableSteps, className, contentClassName, }: WizardProps): react_jsx_runtime.JSX.Element;
|
|
1411
1521
|
|
|
1412
|
-
export { Accordion, type AccordionItem, type AccordionProps, type AccordionVariant, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, COLOR_PALETTE, Calendar, type CalendarEvent, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, ChartWidget, type ChartWidgetProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, ColorPicker, type ColorPickerProps, type Column, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, ComposableWidget, type ComposableWidgetProps, type ConfirmVariant, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataGrid, type DataGridColumn, type DataGridProps, DatePickerPopup, type DateRange, DateRangePicker, type DateRangePickerProps, Drawer, type DrawerProps, type DrawerSide, Dropdown, DropdownItem, DropdownLabel, type DropdownProps, DropdownSeparator, type FileTypeValidation, FileUpload, type FileUploadProps, type FlexAlign, type FlexDirection, type FlexGap, FlexItem, type FlexItemProps, type FlexJustify, FlexLayout, type FlexLayoutProps, type FlexWrap, type FormField, type GridAlign, type GridCols, type GridGap, GridItem, type GridItemProps, GridLayout, type GridLayoutProps, GroupNavigation, type GroupNavigationProps, type ImageEditorMode, type ImageEditorOptions, Input, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Label, LeftSidebar, type LeftSidebarProps, type MetricItem, MetricRow, type MetricRowProps, Modal, ModalConfirmation, type ModalConfirmationProps, type ModalProps, ModalUnchange, type ModalUnchangeProps, ModalWithForms, type ModalWithFormsProps, type NavGroup, type NavItem, Navigation, type NavigationProps, NotificationBanner, type NotificationBannerProps, type NotificationItem, NotificationPanel, type NotificationPanelProps, type NotificationVariant, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Panel, type PanelProps, PanelSettings, type PanelSettingsProps, type PanelSettingsTab, PanelSidebarGroup, PanelSidebarItem, Popover, type PopoverPlacement, type PopoverProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, type PropRow, PropsTable, RadioGroup, type RadioGroupProps, type RadioOption, type RadioSize, type RadioVariant, RangeSlider, type RangeSliderProps, Repeater, type RepeaterProps, ResizablePanels, type ResizablePanelsProps, RichTextEditor, type RichTextEditorProps, RightSidebar, type RightSidebarProps, ScrollArea, type ScrollAreaProps, SectionBlock, type SectionProps, type SectionVariant, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, Slider, type SliderProps, type SortDir, StatCard, type StatCardProps, type StatTrend, StatsWidget, type StatsWidgetProps, type Step, type StepStatus, Stepper, type StepperProps, type TabItem, type TabSize, type TabVariant, Table, type TableProps, TableWidget, type TableWidgetProps, Tabs, type TabsProps, TagInput, type TagInputProps, Textarea, type TextareaProps, type ThemeColors, ThemeProvider, type ThemeSettings, Timeline, type TimelineItem, type TimelineProps, type TimelineVariant, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, type TreeNode, TreeView, type TreeViewProps, type TrendDir, Widget, type WidgetProps, Wizard, type WizardActionProps, type WizardLayout, type WizardProps, type WizardSize, type WizardStep, type WizardVariant, useTheme, useToast };
|
|
1522
|
+
export { Accordion, type AccordionItem, type AccordionProps, type AccordionVariant, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, COLOR_PALETTE, Calendar, CalendarDateRangePicker, type CalendarDateRangePickerProps, type CalendarDateRangeVariant, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, ChartWidget, type ChartWidgetProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, type ClusterVariant, ColorPicker, type ColorPickerProps, type Column, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, ComposableWidget, type ComposableWidgetProps, type ConfirmVariant, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataGrid, type DataGridColumn, type DataGridProps, DatePickerPopup, type DateRange, DateRangePicker, type DateRangePickerProps, Drawer, type DrawerProps, type DrawerSide, Dropdown, DropdownItem, DropdownLabel, type DropdownProps, DropdownSeparator, EVENT_COLORS, type FileTypeValidation, FileUpload, type FileUploadProps, type FlexAlign, type FlexDirection, type FlexGap, FlexItem, type FlexItemProps, type FlexJustify, FlexLayout, type FlexLayoutProps, type FlexWrap, type FlyToOptions, type FormField, type GridAlign, type GridCols, type GridGap, GridItem, type GridItemProps, GridLayout, type GridLayoutProps, GroupNavigation, type GroupNavigationProps, type ImageEditorMode, type ImageEditorOptions, Input, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Label, LeafletMap, type LeafletMapProps, LeftSidebar, type LeftSidebarProps, MapLibreMap, type MapLibreMarker, type MapLibreProps, type MapLibreStyle, type MapMarker, type MapRoute, type MarkerColor, type MetricItem, MetricRow, type MetricRowProps, Modal, ModalConfirmation, type ModalConfirmationProps, type ModalProps, ModalUnchange, type ModalUnchangeProps, ModalWithForms, type ModalWithFormsProps, type NavGroup, type NavItem, Navigation, type NavigationProps, NotificationBanner, type NotificationBannerProps, type NotificationItem, NotificationPanel, type NotificationPanelProps, type NotificationVariant, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Panel, type PanelProps, PanelSettings, type PanelSettingsProps, type PanelSettingsTab, PanelSidebarGroup, PanelSidebarItem, Popover, type PopoverPlacement, type PopoverProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, type PropRow, PropsTable, RadioGroup, type RadioGroupProps, type RadioOption, type RadioSize, type RadioVariant, RangeSlider, type RangeSliderProps, Repeater, type RepeaterProps, ResizablePanels, type ResizablePanelsProps, RichTextEditor, type RichTextEditorProps, RightSidebar, type RightSidebarProps, type RouteType, ScrollArea, type ScrollAreaProps, SectionBlock, type SectionProps, type SectionVariant, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, Slider, type SliderProps, type SortDir, StatCard, type StatCardProps, type StatTrend, StatsWidget, type StatsWidgetProps, type Step, type StepStatus, Stepper, type StepperProps, type TabItem, type TabSize, type TabVariant, Table, type TableProps, TableWidget, type TableWidgetProps, Tabs, type TabsProps, TagInput, type TagInputProps, Textarea, type TextareaProps, type ThemeColors, ThemeProvider, type ThemeSettings, Timeline, type TimelineItem, type TimelineProps, type TimelineVariant, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, type TreeNode, TreeView, type TreeViewProps, type TrendDir, Widget, type WidgetProps, Wizard, type WizardActionProps, type WizardLayout, type WizardProps, type WizardSize, type WizardStep, type WizardVariant, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -143,20 +143,26 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
143
143
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
144
144
|
|
|
145
145
|
interface CalendarEvent {
|
|
146
|
+
id?: string;
|
|
146
147
|
date: Date;
|
|
147
|
-
|
|
148
|
+
endDate?: Date;
|
|
149
|
+
label: string;
|
|
148
150
|
color?: string;
|
|
151
|
+
allDay?: boolean;
|
|
152
|
+
description?: string;
|
|
149
153
|
}
|
|
154
|
+
type CalendarView = "month" | "week" | "day";
|
|
150
155
|
interface CalendarProps {
|
|
151
|
-
value?: Date | null;
|
|
152
|
-
defaultValue?: Date | null;
|
|
153
|
-
onChange?: (date: Date) => void;
|
|
154
156
|
events?: CalendarEvent[];
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
defaultView?: CalendarView;
|
|
158
|
+
defaultDate?: Date;
|
|
159
|
+
onEventClick?: (event: CalendarEvent) => void;
|
|
160
|
+
onDateClick?: (date: Date) => void;
|
|
161
|
+
onAddEvent?: (date: Date) => void;
|
|
157
162
|
className?: string;
|
|
158
163
|
}
|
|
159
|
-
declare
|
|
164
|
+
declare const EVENT_COLORS: string[];
|
|
165
|
+
declare function Calendar({ events, defaultView, defaultDate, onEventClick, onDateClick, onAddEvent, className, }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
160
166
|
|
|
161
167
|
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
162
168
|
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -364,8 +370,10 @@ interface DatePickerProps {
|
|
|
364
370
|
disabledDateTimes?: string[];
|
|
365
371
|
onChange: (value: string) => void;
|
|
366
372
|
onClose: () => void;
|
|
373
|
+
anchorEl?: HTMLElement | null;
|
|
374
|
+
popupRef?: React.RefObject<HTMLDivElement>;
|
|
367
375
|
}
|
|
368
|
-
declare function DatePickerPopup({ mode, value, disabledDates, disabledDateTimes, onChange, onClose, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function DatePickerPopup({ mode, value, disabledDates, disabledDateTimes, onChange, onClose, anchorEl, popupRef, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
369
377
|
|
|
370
378
|
interface DateRange {
|
|
371
379
|
from: Date | null;
|
|
@@ -382,6 +390,18 @@ interface DateRangePickerProps {
|
|
|
382
390
|
className?: string;
|
|
383
391
|
}
|
|
384
392
|
declare function DateRangePicker({ value: controlled, defaultValue, onChange, placeholder, disabled, minDate, maxDate, className, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
393
|
+
type CalendarDateRangeVariant = "default" | "split" | "minimal" | "card" | "sidebar" | "timeline" | "compact";
|
|
394
|
+
interface CalendarDateRangePickerProps {
|
|
395
|
+
variant?: CalendarDateRangeVariant;
|
|
396
|
+
value?: DateRange;
|
|
397
|
+
defaultValue?: DateRange;
|
|
398
|
+
onChange?: (range: DateRange) => void;
|
|
399
|
+
showPresets?: boolean;
|
|
400
|
+
minDate?: Date;
|
|
401
|
+
maxDate?: Date;
|
|
402
|
+
className?: string;
|
|
403
|
+
}
|
|
404
|
+
declare function CalendarDateRangePicker({ variant, value: controlled, defaultValue, onChange, showPresets, minDate, maxDate, className, }: CalendarDateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
385
405
|
|
|
386
406
|
type DrawerSide = "left" | "right" | "top" | "bottom";
|
|
387
407
|
interface DrawerProps {
|
|
@@ -422,7 +442,7 @@ declare function DropdownItem({ children, onClick, icon, disabled, variant, clas
|
|
|
422
442
|
declare function DropdownSeparator({ className }: {
|
|
423
443
|
className?: string;
|
|
424
444
|
}): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare function DropdownLabel({ children, className
|
|
445
|
+
declare function DropdownLabel({ children, className }: {
|
|
426
446
|
children: React.ReactNode;
|
|
427
447
|
className?: string;
|
|
428
448
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -576,6 +596,96 @@ declare function KanbanBoard({ columns: controlled, onChange, onAddCard, classNa
|
|
|
576
596
|
|
|
577
597
|
declare const Label: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>>;
|
|
578
598
|
|
|
599
|
+
type MarkerColor = "primary" | "info" | "success" | "warning" | "danger" | string;
|
|
600
|
+
type ClusterVariant = "default" | "bubble" | "donut";
|
|
601
|
+
type RouteType = "drive" | "walk";
|
|
602
|
+
interface MapMarker {
|
|
603
|
+
id: string | number;
|
|
604
|
+
lat: number;
|
|
605
|
+
lng: number;
|
|
606
|
+
label?: string;
|
|
607
|
+
color?: MarkerColor;
|
|
608
|
+
icon?: string;
|
|
609
|
+
image?: string;
|
|
610
|
+
popup?: React.ReactNode;
|
|
611
|
+
}
|
|
612
|
+
interface MapRoute {
|
|
613
|
+
start: {
|
|
614
|
+
lat: number;
|
|
615
|
+
lng: number;
|
|
616
|
+
};
|
|
617
|
+
end: {
|
|
618
|
+
lat: number;
|
|
619
|
+
lng: number;
|
|
620
|
+
};
|
|
621
|
+
waypoints?: {
|
|
622
|
+
lat: number;
|
|
623
|
+
lng: number;
|
|
624
|
+
}[];
|
|
625
|
+
routeType?: RouteType;
|
|
626
|
+
color?: string;
|
|
627
|
+
weight?: number;
|
|
628
|
+
label?: string;
|
|
629
|
+
}
|
|
630
|
+
interface LeafletMapProps {
|
|
631
|
+
center?: [number, number];
|
|
632
|
+
zoom?: number;
|
|
633
|
+
height?: string | number;
|
|
634
|
+
markers?: MapMarker[];
|
|
635
|
+
routes?: MapRoute[];
|
|
636
|
+
cluster?: boolean;
|
|
637
|
+
clusterVariant?: ClusterVariant;
|
|
638
|
+
tileUrl?: string;
|
|
639
|
+
tileAttribution?: string;
|
|
640
|
+
darkTile?: boolean;
|
|
641
|
+
className?: string;
|
|
642
|
+
onMarkerClick?: (marker: MapMarker) => void;
|
|
643
|
+
}
|
|
644
|
+
declare function LeafletMap({ center, zoom, height, markers, routes, cluster, clusterVariant, tileUrl, tileAttribution, darkTile, className, onMarkerClick, }: LeafletMapProps): react_jsx_runtime.JSX.Element;
|
|
645
|
+
|
|
646
|
+
type MapLibreStyle = "globe" | "3d" | "3d-globe" | "street" | "satellite" | "dark" | "light";
|
|
647
|
+
interface MapLibreMarker {
|
|
648
|
+
id: string | number;
|
|
649
|
+
lat: number;
|
|
650
|
+
lng: number;
|
|
651
|
+
label?: string;
|
|
652
|
+
color?: string;
|
|
653
|
+
icon?: string;
|
|
654
|
+
image?: string;
|
|
655
|
+
popup?: string | HTMLElement;
|
|
656
|
+
}
|
|
657
|
+
interface FlyToOptions {
|
|
658
|
+
center?: [number, number];
|
|
659
|
+
zoom?: number;
|
|
660
|
+
pitch?: number;
|
|
661
|
+
bearing?: number;
|
|
662
|
+
duration?: number;
|
|
663
|
+
curve?: number;
|
|
664
|
+
essential?: boolean;
|
|
665
|
+
}
|
|
666
|
+
interface MapLibreProps {
|
|
667
|
+
style?: MapLibreStyle;
|
|
668
|
+
center?: [number, number];
|
|
669
|
+
zoom?: number;
|
|
670
|
+
minZoom?: number;
|
|
671
|
+
maxZoom?: number;
|
|
672
|
+
pitch?: number;
|
|
673
|
+
minPitch?: number;
|
|
674
|
+
maxPitch?: number;
|
|
675
|
+
bearing?: number;
|
|
676
|
+
minBearing?: number;
|
|
677
|
+
maxBearing?: number;
|
|
678
|
+
flyTo?: FlyToOptions;
|
|
679
|
+
markers?: MapLibreMarker[];
|
|
680
|
+
height?: string | number;
|
|
681
|
+
showControls?: boolean;
|
|
682
|
+
showStyleSwitcher?: boolean;
|
|
683
|
+
showCameraControls?: boolean;
|
|
684
|
+
className?: string;
|
|
685
|
+
onMarkerClick?: (marker: MapLibreMarker) => void;
|
|
686
|
+
}
|
|
687
|
+
declare function MapLibreMap({ style: styleProp, center, zoom, minZoom, maxZoom, pitch: pitchProp, minPitch, maxPitch, bearing: bearingProp, minBearing, maxBearing, flyTo, markers, height, showControls, showStyleSwitcher, showCameraControls, className, onMarkerClick, }: MapLibreProps): react_jsx_runtime.JSX.Element;
|
|
688
|
+
|
|
579
689
|
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
580
690
|
isOpen: boolean;
|
|
581
691
|
onClose?: () => void;
|
|
@@ -1409,4 +1519,4 @@ interface WizardProps {
|
|
|
1409
1519
|
}
|
|
1410
1520
|
declare function Wizard({ steps, step: controlledStep, defaultStep, onStepChange, onFinish, onClose, layout, variant, size, isOpen, showClose, unchange, title, description, hideHeader, footer, renderActions, backLabel, nextLabel, finishLabel, cancelLabel, showCancel, showBackOnFirst, loading, clickableSteps, className, contentClassName, }: WizardProps): react_jsx_runtime.JSX.Element;
|
|
1411
1521
|
|
|
1412
|
-
export { Accordion, type AccordionItem, type AccordionProps, type AccordionVariant, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, COLOR_PALETTE, Calendar, type CalendarEvent, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, ChartWidget, type ChartWidgetProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, ColorPicker, type ColorPickerProps, type Column, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, ComposableWidget, type ComposableWidgetProps, type ConfirmVariant, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataGrid, type DataGridColumn, type DataGridProps, DatePickerPopup, type DateRange, DateRangePicker, type DateRangePickerProps, Drawer, type DrawerProps, type DrawerSide, Dropdown, DropdownItem, DropdownLabel, type DropdownProps, DropdownSeparator, type FileTypeValidation, FileUpload, type FileUploadProps, type FlexAlign, type FlexDirection, type FlexGap, FlexItem, type FlexItemProps, type FlexJustify, FlexLayout, type FlexLayoutProps, type FlexWrap, type FormField, type GridAlign, type GridCols, type GridGap, GridItem, type GridItemProps, GridLayout, type GridLayoutProps, GroupNavigation, type GroupNavigationProps, type ImageEditorMode, type ImageEditorOptions, Input, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Label, LeftSidebar, type LeftSidebarProps, type MetricItem, MetricRow, type MetricRowProps, Modal, ModalConfirmation, type ModalConfirmationProps, type ModalProps, ModalUnchange, type ModalUnchangeProps, ModalWithForms, type ModalWithFormsProps, type NavGroup, type NavItem, Navigation, type NavigationProps, NotificationBanner, type NotificationBannerProps, type NotificationItem, NotificationPanel, type NotificationPanelProps, type NotificationVariant, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Panel, type PanelProps, PanelSettings, type PanelSettingsProps, type PanelSettingsTab, PanelSidebarGroup, PanelSidebarItem, Popover, type PopoverPlacement, type PopoverProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, type PropRow, PropsTable, RadioGroup, type RadioGroupProps, type RadioOption, type RadioSize, type RadioVariant, RangeSlider, type RangeSliderProps, Repeater, type RepeaterProps, ResizablePanels, type ResizablePanelsProps, RichTextEditor, type RichTextEditorProps, RightSidebar, type RightSidebarProps, ScrollArea, type ScrollAreaProps, SectionBlock, type SectionProps, type SectionVariant, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, Slider, type SliderProps, type SortDir, StatCard, type StatCardProps, type StatTrend, StatsWidget, type StatsWidgetProps, type Step, type StepStatus, Stepper, type StepperProps, type TabItem, type TabSize, type TabVariant, Table, type TableProps, TableWidget, type TableWidgetProps, Tabs, type TabsProps, TagInput, type TagInputProps, Textarea, type TextareaProps, type ThemeColors, ThemeProvider, type ThemeSettings, Timeline, type TimelineItem, type TimelineProps, type TimelineVariant, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, type TreeNode, TreeView, type TreeViewProps, type TrendDir, Widget, type WidgetProps, Wizard, type WizardActionProps, type WizardLayout, type WizardProps, type WizardSize, type WizardStep, type WizardVariant, useTheme, useToast };
|
|
1522
|
+
export { Accordion, type AccordionItem, type AccordionProps, type AccordionVariant, AvatarStack, type AvatarStackProps, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, COLOR_PALETTE, Calendar, CalendarDateRangePicker, type CalendarDateRangePickerProps, type CalendarDateRangeVariant, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, ChartWidget, type ChartWidgetProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, type ClusterVariant, ColorPicker, type ColorPickerProps, type Column, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, ComposableWidget, type ComposableWidgetProps, type ConfirmVariant, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataGrid, type DataGridColumn, type DataGridProps, DatePickerPopup, type DateRange, DateRangePicker, type DateRangePickerProps, Drawer, type DrawerProps, type DrawerSide, Dropdown, DropdownItem, DropdownLabel, type DropdownProps, DropdownSeparator, EVENT_COLORS, type FileTypeValidation, FileUpload, type FileUploadProps, type FlexAlign, type FlexDirection, type FlexGap, FlexItem, type FlexItemProps, type FlexJustify, FlexLayout, type FlexLayoutProps, type FlexWrap, type FlyToOptions, type FormField, type GridAlign, type GridCols, type GridGap, GridItem, type GridItemProps, GridLayout, type GridLayoutProps, GroupNavigation, type GroupNavigationProps, type ImageEditorMode, type ImageEditorOptions, Input, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Label, LeafletMap, type LeafletMapProps, LeftSidebar, type LeftSidebarProps, MapLibreMap, type MapLibreMarker, type MapLibreProps, type MapLibreStyle, type MapMarker, type MapRoute, type MarkerColor, type MetricItem, MetricRow, type MetricRowProps, Modal, ModalConfirmation, type ModalConfirmationProps, type ModalProps, ModalUnchange, type ModalUnchangeProps, ModalWithForms, type ModalWithFormsProps, type NavGroup, type NavItem, Navigation, type NavigationProps, NotificationBanner, type NotificationBannerProps, type NotificationItem, NotificationPanel, type NotificationPanelProps, type NotificationVariant, OtpInput, type OtpInputProps, Pagination, type PaginationProps, Panel, type PanelProps, PanelSettings, type PanelSettingsProps, type PanelSettingsTab, PanelSidebarGroup, PanelSidebarItem, Popover, type PopoverPlacement, type PopoverProps, Progress, type ProgressProps, type ProgressSize, type ProgressVariant, type PropRow, PropsTable, RadioGroup, type RadioGroupProps, type RadioOption, type RadioSize, type RadioVariant, RangeSlider, type RangeSliderProps, Repeater, type RepeaterProps, ResizablePanels, type ResizablePanelsProps, RichTextEditor, type RichTextEditorProps, RightSidebar, type RightSidebarProps, type RouteType, ScrollArea, type ScrollAreaProps, SectionBlock, type SectionProps, type SectionVariant, Select, type SelectOption, type SelectProps, type SemanticColor, Skeleton, Slider, type SliderProps, type SortDir, StatCard, type StatCardProps, type StatTrend, StatsWidget, type StatsWidgetProps, type Step, type StepStatus, Stepper, type StepperProps, type TabItem, type TabSize, type TabVariant, Table, type TableProps, TableWidget, type TableWidgetProps, Tabs, type TabsProps, TagInput, type TagInputProps, Textarea, type TextareaProps, type ThemeColors, ThemeProvider, type ThemeSettings, Timeline, type TimelineItem, type TimelineProps, type TimelineVariant, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps, Topbar, type TopbarProps, type TreeNode, TreeView, type TreeViewProps, type TrendDir, Widget, type WidgetProps, Wizard, type WizardActionProps, type WizardLayout, type WizardProps, type WizardSize, type WizardStep, type WizardVariant, useTheme, useToast };
|