ikon-react-components-lib 1.0.6 → 1.0.8
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.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
|
10
10
|
import { Column } from '@tanstack/react-table';
|
|
11
11
|
import { ColumnDef } from '@tanstack/react-table';
|
|
12
12
|
import { Command as Command_2 } from 'cmdk';
|
|
13
|
+
import { ComponentType } from 'react';
|
|
13
14
|
import { Control } from 'react-hook-form';
|
|
14
15
|
import { ControllerProps } from 'react-hook-form';
|
|
15
16
|
import { DayButton } from 'react-day-picker';
|
|
@@ -27,12 +28,10 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
|
27
28
|
import { InputHTMLAttributes } from 'react';
|
|
28
29
|
import { JSX } from 'react/jsx-runtime';
|
|
29
30
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
30
|
-
import { LucideIcon } from 'lucide-react';
|
|
31
31
|
import { LucideProps } from 'lucide-react';
|
|
32
32
|
import { Matcher } from 'react-day-picker';
|
|
33
33
|
import { MemoExoticComponent } from 'react';
|
|
34
34
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
35
|
-
import { OTPInput } from 'input-otp';
|
|
36
35
|
import { PaginationState } from '@tanstack/react-table';
|
|
37
36
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
38
37
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -40,11 +39,12 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
40
39
|
import * as React_2 from 'react';
|
|
41
40
|
import { ReactNode } from 'react';
|
|
42
41
|
import { RefAttributes } from 'react';
|
|
42
|
+
import { RenderProps } from 'input-otp';
|
|
43
43
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
44
44
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
45
45
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
46
46
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
47
|
-
import
|
|
47
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
48
48
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
49
49
|
import { Table as Table_2 } from '@tanstack/react-table';
|
|
50
50
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -111,31 +111,33 @@ export declare function Alert({ className, variant, ...props }: React_2.Componen
|
|
|
111
111
|
|
|
112
112
|
export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
113
113
|
|
|
114
|
-
export declare
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
export declare const AlertDialog: {
|
|
115
|
+
(props: React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Root>): JSX.Element;
|
|
116
|
+
displayName: string;
|
|
117
|
+
};
|
|
117
118
|
|
|
118
|
-
export declare
|
|
119
|
+
export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
119
120
|
|
|
120
|
-
export declare
|
|
121
|
-
size?: "default" | "sm";
|
|
122
|
-
}): JSX.Element;
|
|
121
|
+
export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
123
122
|
|
|
124
|
-
export declare
|
|
123
|
+
export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
125
124
|
|
|
126
|
-
export declare
|
|
125
|
+
export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
127
126
|
|
|
128
|
-
export declare
|
|
127
|
+
export declare const AlertDialogFooter: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
129
128
|
|
|
130
|
-
export declare
|
|
129
|
+
export declare const AlertDialogHeader: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
131
130
|
|
|
132
|
-
export declare
|
|
131
|
+
export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
133
132
|
|
|
134
|
-
export declare
|
|
133
|
+
export declare const AlertDialogPortal: {
|
|
134
|
+
(props: React_2.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Portal>): JSX.Element;
|
|
135
|
+
displayName: string;
|
|
136
|
+
};
|
|
135
137
|
|
|
136
|
-
export declare
|
|
138
|
+
export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
137
139
|
|
|
138
|
-
export declare
|
|
140
|
+
export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
139
141
|
|
|
140
142
|
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
141
143
|
|
|
@@ -171,18 +173,10 @@ declare interface AssistantComponentProps {
|
|
|
171
173
|
currentUserDetails: UserData;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
|
-
export declare function Avatar({ className,
|
|
175
|
-
size?: "default" | "sm" | "lg";
|
|
176
|
-
}): JSX.Element;
|
|
177
|
-
|
|
178
|
-
export declare function AvatarBadge({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
176
|
+
export declare function Avatar({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Root>): JSX.Element;
|
|
179
177
|
|
|
180
178
|
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
|
|
181
179
|
|
|
182
|
-
export declare function AvatarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
183
|
-
|
|
184
|
-
export declare function AvatarGroupCount({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
185
|
-
|
|
186
180
|
export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Image>): JSX.Element;
|
|
187
181
|
|
|
188
182
|
export declare const axiosInstance: AxiosInstance;
|
|
@@ -192,7 +186,7 @@ export declare function Badge({ className, variant, asChild, ...props }: React_2
|
|
|
192
186
|
}): JSX.Element;
|
|
193
187
|
|
|
194
188
|
export declare const badgeVariants: (props?: ({
|
|
195
|
-
variant?: "
|
|
189
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "verified" | null | undefined;
|
|
196
190
|
} & ClassProp) | undefined) => string;
|
|
197
191
|
|
|
198
192
|
export declare function BigCalendar({ events, extraParamsEvent, extraTools }: BigCalendarProps): JSX.Element;
|
|
@@ -266,7 +260,7 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
266
260
|
|
|
267
261
|
export declare const buttonVariants: (props?: ({
|
|
268
262
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "dashed" | null | undefined;
|
|
269
|
-
size?: "default" | "
|
|
263
|
+
size?: "default" | "sm" | "lg" | "icon" | "smIcon" | "circular" | "lgIcon" | null | undefined;
|
|
270
264
|
} & ClassProp) | undefined) => string;
|
|
271
265
|
|
|
272
266
|
export declare interface ButtonWithTooltipProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -358,6 +352,17 @@ export declare function CommandSeparator({ className, ...props }: React_2.Compon
|
|
|
358
352
|
|
|
359
353
|
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
360
354
|
|
|
355
|
+
declare interface ConfigProps {
|
|
356
|
+
IKON_BASE_API_URL: string;
|
|
357
|
+
IKON_PLATFORM_API_URL: string;
|
|
358
|
+
IKON_AUTH_API_URL: string;
|
|
359
|
+
IKON_USER_API_URL: string;
|
|
360
|
+
IKON_ACCOUNT_API_URL: string;
|
|
361
|
+
LOGIN_PAGE_URL: string;
|
|
362
|
+
IKON_PLATFORM_UI_URL: string;
|
|
363
|
+
IKON_PLATFORM_PROFILE_URL: string;
|
|
364
|
+
}
|
|
365
|
+
|
|
361
366
|
export declare const convertFileToObject: (file: File) => Promise<FileObjType>;
|
|
362
367
|
|
|
363
368
|
export declare interface CookieSessionOptionsProps {
|
|
@@ -487,9 +492,7 @@ declare interface DialogContextProps {
|
|
|
487
492
|
|
|
488
493
|
export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
489
494
|
|
|
490
|
-
export declare function DialogFooter({ className,
|
|
491
|
-
showCloseButton?: boolean;
|
|
492
|
-
}): JSX.Element;
|
|
495
|
+
export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
493
496
|
|
|
494
497
|
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
495
498
|
|
|
@@ -729,7 +732,7 @@ export declare interface FormComboboxItemProps {
|
|
|
729
732
|
disabled?: ((...args: any) => boolean) | boolean;
|
|
730
733
|
}
|
|
731
734
|
|
|
732
|
-
export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot
|
|
735
|
+
export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
|
|
733
736
|
|
|
734
737
|
export declare function FormDateInput({ formControl, name, label, placeholder, dateFormat, calendarDateDisabled, formDescription, disabled, }: FormDateInputProps): JSX.Element;
|
|
735
738
|
|
|
@@ -801,6 +804,8 @@ declare interface FrameworkItemDropdownProps {
|
|
|
801
804
|
className?: string;
|
|
802
805
|
}
|
|
803
806
|
|
|
807
|
+
export declare const getConfig: () => ConfigProps;
|
|
808
|
+
|
|
804
809
|
export declare function getCookieSession(sessionName: string): string | undefined;
|
|
805
810
|
|
|
806
811
|
export declare const getDataTableColumnTitle: (column: any) => any;
|
|
@@ -890,17 +895,41 @@ export declare interface ImageFormProps {
|
|
|
890
895
|
|
|
891
896
|
export declare function Input({ className, type, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
892
897
|
|
|
893
|
-
export declare
|
|
898
|
+
export declare const InputOTP: React_2.ForwardRefExoticComponent<(Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
899
|
+
value?: string;
|
|
900
|
+
onChange?: (newValue: string) => unknown;
|
|
901
|
+
maxLength: number;
|
|
902
|
+
textAlign?: "left" | "center" | "right";
|
|
903
|
+
onComplete?: (...args: any[]) => unknown;
|
|
904
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
905
|
+
pasteTransformer?: (pasted: string) => string;
|
|
894
906
|
containerClassName?: string;
|
|
895
|
-
|
|
907
|
+
noScriptCSSFallback?: string | null;
|
|
908
|
+
} & {
|
|
909
|
+
render: (props: RenderProps) => React_2.ReactNode;
|
|
910
|
+
children?: never;
|
|
911
|
+
} & React_2.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
912
|
+
value?: string;
|
|
913
|
+
onChange?: (newValue: string) => unknown;
|
|
914
|
+
maxLength: number;
|
|
915
|
+
textAlign?: "left" | "center" | "right";
|
|
916
|
+
onComplete?: (...args: any[]) => unknown;
|
|
917
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
918
|
+
pasteTransformer?: (pasted: string) => string;
|
|
919
|
+
containerClassName?: string;
|
|
920
|
+
noScriptCSSFallback?: string | null;
|
|
921
|
+
} & {
|
|
922
|
+
render?: never;
|
|
923
|
+
children: React_2.ReactNode;
|
|
924
|
+
} & React_2.RefAttributes<HTMLInputElement>, "ref">) & React_2.RefAttributes<HTMLInputElement>>;
|
|
896
925
|
|
|
897
|
-
export declare
|
|
926
|
+
export declare const InputOTPGroup: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
898
927
|
|
|
899
|
-
export declare
|
|
928
|
+
export declare const InputOTPSeparator: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
900
929
|
|
|
901
|
-
export declare
|
|
930
|
+
export declare const InputOTPSlot: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
902
931
|
index: number;
|
|
903
|
-
}
|
|
932
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
904
933
|
|
|
905
934
|
export declare interface ISVGProps extends React_2.SVGProps<SVGSVGElement> {
|
|
906
935
|
size?: number;
|
|
@@ -951,7 +980,9 @@ export declare function NavigationMenuList({ className, ...props }: React_2.Comp
|
|
|
951
980
|
|
|
952
981
|
export declare function NavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): JSX.Element;
|
|
953
982
|
|
|
954
|
-
export declare const navigationMenuTriggerStyle: (props?:
|
|
983
|
+
export declare const navigationMenuTriggerStyle: (props?: ({
|
|
984
|
+
variant?: "default" | null | undefined;
|
|
985
|
+
} & ClassProp) | undefined) => string;
|
|
955
986
|
|
|
956
987
|
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
|
|
957
988
|
|
|
@@ -1008,12 +1039,6 @@ export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeo
|
|
|
1008
1039
|
|
|
1009
1040
|
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
|
|
1010
1041
|
|
|
1011
|
-
export declare function PopoverDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
1012
|
-
|
|
1013
|
-
export declare function PopoverHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1014
|
-
|
|
1015
|
-
export declare function PopoverTitle({ className, ...props }: React_2.ComponentProps<"h2">): JSX.Element;
|
|
1016
|
-
|
|
1017
1042
|
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
1018
1043
|
|
|
1019
1044
|
export declare interface ProcessedFrameworkData {
|
|
@@ -1024,7 +1049,12 @@ export declare interface ProcessedFrameworkData {
|
|
|
1024
1049
|
}>;
|
|
1025
1050
|
}
|
|
1026
1051
|
|
|
1027
|
-
export declare function Progress({ className, value, ...props }:
|
|
1052
|
+
export declare function Progress({ className, value, indicatorColor, ...props }: ProgressProps): JSX.Element;
|
|
1053
|
+
|
|
1054
|
+
declare interface ProgressProps extends React_2.ComponentProps<typeof ProgressPrimitive.Root> {
|
|
1055
|
+
value?: number;
|
|
1056
|
+
indicatorColor?: string;
|
|
1057
|
+
}
|
|
1028
1058
|
|
|
1029
1059
|
declare interface Props {
|
|
1030
1060
|
parentDivProps?: any;
|
|
@@ -1125,7 +1155,7 @@ export declare function SearchInput({ className, ...props }: any): JSX.Element;
|
|
|
1125
1155
|
|
|
1126
1156
|
export declare function Select({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
|
|
1127
1157
|
|
|
1128
|
-
export declare function SelectContent({ className, children, position,
|
|
1158
|
+
export declare function SelectContent({ className, children, position, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
|
|
1129
1159
|
|
|
1130
1160
|
export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
|
|
1131
1161
|
|
|
@@ -1165,9 +1195,8 @@ export declare function SheetComponent({ buttonText, buttonIcon, buttonStyle, sh
|
|
|
1165
1195
|
closeButton?: boolean;
|
|
1166
1196
|
}): JSX.Element;
|
|
1167
1197
|
|
|
1168
|
-
export declare function SheetContent({ className, children, side,
|
|
1198
|
+
export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
1169
1199
|
side?: "top" | "right" | "bottom" | "left";
|
|
1170
|
-
showCloseButton?: boolean;
|
|
1171
1200
|
}): JSX.Element;
|
|
1172
1201
|
|
|
1173
1202
|
export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
@@ -1269,11 +1298,13 @@ export declare interface SidebarNavContextType {
|
|
|
1269
1298
|
|
|
1270
1299
|
export declare interface SidebarNavItem {
|
|
1271
1300
|
title: string;
|
|
1272
|
-
url
|
|
1273
|
-
icon?:
|
|
1301
|
+
url?: string;
|
|
1302
|
+
icon?: ComponentType<{
|
|
1303
|
+
className?: string;
|
|
1304
|
+
}>;
|
|
1305
|
+
items?: SidebarNavItem[];
|
|
1274
1306
|
isActive?: boolean;
|
|
1275
1307
|
default?: boolean;
|
|
1276
|
-
items?: SidebarNavSubItem[];
|
|
1277
1308
|
header?: ReactNode;
|
|
1278
1309
|
footer?: ReactNode;
|
|
1279
1310
|
}
|
|
@@ -1302,7 +1333,7 @@ export declare function SidebarTrigger({ className, onClick, ...props }: React_2
|
|
|
1302
1333
|
|
|
1303
1334
|
export declare function SimpleWidget({ title, iconName, iconSize, iconClass, primaryText, secondaryText, mainClassName, loading, loadingMessage }: Props_3): JSX.Element;
|
|
1304
1335
|
|
|
1305
|
-
export declare function Skeleton({ className, ...props }:
|
|
1336
|
+
export declare function Skeleton({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1306
1337
|
|
|
1307
1338
|
export declare function SkeletonWidget({ count }: {
|
|
1308
1339
|
count: number;
|
|
@@ -1320,9 +1351,9 @@ export declare interface Software {
|
|
|
1320
1351
|
order: number;
|
|
1321
1352
|
}
|
|
1322
1353
|
|
|
1323
|
-
export declare
|
|
1324
|
-
|
|
1325
|
-
}): JSX.Element;
|
|
1354
|
+
export declare type StepStatus = "OUTSTANDING" | "IN PROGRESS" | "COMPLETED";
|
|
1355
|
+
|
|
1356
|
+
export declare function Switch({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): JSX.Element;
|
|
1326
1357
|
|
|
1327
1358
|
export declare interface TabArray {
|
|
1328
1359
|
tabName: string;
|
|
@@ -1361,15 +1392,11 @@ export declare interface TabProps {
|
|
|
1361
1392
|
isSeperatePage?: boolean;
|
|
1362
1393
|
}
|
|
1363
1394
|
|
|
1364
|
-
export declare function Tabs({ className,
|
|
1395
|
+
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
|
|
1365
1396
|
|
|
1366
1397
|
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
|
|
1367
1398
|
|
|
1368
|
-
export declare function TabsList({ className,
|
|
1369
|
-
|
|
1370
|
-
export declare const tabsListVariants: (props?: ({
|
|
1371
|
-
variant?: "line" | "default" | null | undefined;
|
|
1372
|
-
} & ClassProp) | undefined) => string;
|
|
1399
|
+
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List>): JSX.Element;
|
|
1373
1400
|
|
|
1374
1401
|
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
1375
1402
|
|
|
@@ -1487,6 +1514,26 @@ export declare interface WidgetsFunctionProps {
|
|
|
1487
1514
|
widgetData: WidgetProps[];
|
|
1488
1515
|
}
|
|
1489
1516
|
|
|
1517
|
+
export declare function Workflow({ name, steps, style }: WorkflowProps): JSX.Element;
|
|
1518
|
+
|
|
1519
|
+
declare type WorkflowProps = {
|
|
1520
|
+
name: string;
|
|
1521
|
+
title?: string;
|
|
1522
|
+
steps: WorkflowStep[];
|
|
1523
|
+
onDropdownSelect?: (stepId: string, value: string) => void;
|
|
1524
|
+
style?: React_2.CSSProperties;
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
export declare type WorkflowStep = {
|
|
1528
|
+
id?: string;
|
|
1529
|
+
title: string;
|
|
1530
|
+
status: StepStatus;
|
|
1531
|
+
dropdownOptions?: React_2.ReactNode[];
|
|
1532
|
+
selectedOption?: string;
|
|
1533
|
+
owner?: string;
|
|
1534
|
+
createdAt?: string;
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1490
1537
|
export declare function WorkInProgress(): JSX.Element;
|
|
1491
1538
|
|
|
1492
1539
|
export { }
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ikon-react-components-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ikon-react-components-lib.cjs.js",
|
|
7
7
|
"module": "./dist/ikon-react-components-lib.es.js",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"use-debounce": "^10.1.1",
|
|
83
83
|
"uuid": "^13.0.0",
|
|
84
84
|
"vaul": "^1.1.2",
|
|
85
|
+
"webfontloader": "^1.6.28",
|
|
85
86
|
"xlsx": "^0.18.5",
|
|
86
87
|
"zod": "^4.3.6",
|
|
87
88
|
"zxcvbn": "^4.4.2"
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
"@types/react": "^19.2.7",
|
|
95
96
|
"@types/react-big-calendar": "^1.16.3",
|
|
96
97
|
"@types/react-dom": "^19.2.3",
|
|
98
|
+
"@types/webfontloader": "^1.6.38",
|
|
97
99
|
"@types/zxcvbn": "^4.4.5",
|
|
98
100
|
"@vitejs/plugin-react": "^5.1.1",
|
|
99
101
|
"autoprefixer": "^10.4.24",
|