ikon-react-components-lib 1.0.0 → 1.0.2
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 +46 -55
- package/dist/ikon-react-components-lib.cjs.js +5 -247
- package/dist/ikon-react-components-lib.css +1 -1
- package/dist/ikon-react-components-lib.es.js +8530 -152500
- package/dist/index.d.ts +4 -9
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -346,14 +346,7 @@ export declare function CommandSeparator({ className, ...props }: React_2.Compon
|
|
|
346
346
|
|
|
347
347
|
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
348
348
|
|
|
349
|
-
export declare const convertFileToObject: (file: File) => Promise<
|
|
350
|
-
message: string;
|
|
351
|
-
fileName: string;
|
|
352
|
-
size: number;
|
|
353
|
-
type: string;
|
|
354
|
-
lastModified: number;
|
|
355
|
-
base64: string;
|
|
356
|
-
}>;
|
|
349
|
+
export declare const convertFileToObject: (file: File) => Promise<FileObjType>;
|
|
357
350
|
|
|
358
351
|
export declare interface CookieSessionOptionsProps {
|
|
359
352
|
maxAge?: number;
|
|
@@ -644,7 +637,7 @@ export declare function FileUploader({ label, isDrag, onFileSelect, }: FileUploa
|
|
|
644
637
|
export declare interface FileUploaderProps {
|
|
645
638
|
label?: string;
|
|
646
639
|
isDrag?: boolean;
|
|
647
|
-
onFileSelect: (fileObj: FileObjType) => Promise<FileObjType> | void;
|
|
640
|
+
onFileSelect: (fileObj: FileObjType) => Promise<FileObjType> | Promise<void> | void;
|
|
648
641
|
}
|
|
649
642
|
|
|
650
643
|
declare interface FontContextType {
|
|
@@ -745,6 +738,8 @@ export declare function FormMultiComboboxInput({ formControl, name, label, place
|
|
|
745
738
|
|
|
746
739
|
export declare function FormOtpInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps): JSX.Element;
|
|
747
740
|
|
|
741
|
+
export declare function FormPasswordInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps): JSX.Element;
|
|
742
|
+
|
|
748
743
|
export declare function FormPhoneInput(): JSX.Element;
|
|
749
744
|
|
|
750
745
|
export declare function FormTextarea({ formControl, name, label, formItemClass, formDescription, ...textAreaProps }: FormTextareaProps): JSX.Element;
|
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.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ikon-react-components-lib.cjs.js",
|
|
7
7
|
"module": "./dist/ikon-react-components-lib.es.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"build": "tsc -b && vite build",
|
|
16
16
|
"tailwind:build": "ts-node tailwind.config.ts",
|
|
17
17
|
"lint": "eslint .",
|
|
18
|
-
"preview": "vite preview"
|
|
18
|
+
"preview": "vite preview",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@assistant-ui/react": "^0.12.12",
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
"jwt-decode": "^4.0.0",
|
|
66
67
|
"lucide-react": "^0.574.0",
|
|
67
68
|
"motion": "^12.34.3",
|
|
68
|
-
"next-themes": "^0.4.6",
|
|
69
69
|
"react": "^19.2.0",
|
|
70
70
|
"react-big-calendar": "^1.19.4",
|
|
71
71
|
"react-cropper": "^2.3.3",
|