@biznext-ui/react 0.1.2 → 0.1.3

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 3s Logics Private Limited
3
+ Copyright (c) 2024 3S Logics Private Limited
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,21 +9,20 @@ export declare const BiznextUIProvider: ({ children, toastPosition }: {
9
9
  toastPosition?: IToastPositions;
10
10
  }) => JSX_2.Element;
11
11
 
12
- export declare function Form(props: {
13
- children?: ReactNode;
14
- sx?: object;
15
- }): JSX_2.Element;
16
-
17
- export declare namespace Form {
18
- var Group: (props: {
12
+ export declare const Form: {
13
+ (props: {
14
+ children?: ReactNode;
15
+ sx?: object;
16
+ }): JSX_2.Element;
17
+ Group: (props: {
19
18
  children?: ReactNode;
20
19
  sx?: object;
21
20
  }) => JSX_2.Element;
22
- var InputGroup: (props: {
21
+ InputGroup: (props: {
23
22
  children?: ReactNode;
24
23
  sx?: object;
25
24
  }) => JSX_2.Element;
26
- var Label: {
25
+ Label: {
27
26
  (props: {
28
27
  required?: boolean;
29
28
  children?: ReactNode;
@@ -31,12 +30,12 @@ export declare namespace Form {
31
30
  }): JSX_2.Element;
32
31
  displayName: string;
33
32
  };
34
- var Control: ForwardRefExoticComponent< {
33
+ Control: ForwardRefExoticComponent< {
35
34
  type: "input" | "select";
36
35
  focus?: boolean;
37
36
  sx?: object;
38
37
  } & RefAttributes<HTMLInputElement>>;
39
- }
38
+ };
40
39
 
41
40
  declare interface IConfirmDialogConfig {
42
41
  type: 'default' | 'info' | 'warning' | 'danger' | 'success';
@@ -97,29 +96,3 @@ export declare const useConfirmDialog: () => (config: IConfirmDialogConfig) => v
97
96
  export declare const useToast: () => IToastContext;
98
97
 
99
98
  export { }
100
-
101
-
102
- declare namespace Form {
103
- var Group: (props: {
104
- children?: ReactNode;
105
- sx?: object;
106
- }) => import("react/jsx-runtime").JSX.Element;
107
- var InputGroup: (props: {
108
- children?: ReactNode;
109
- sx?: object;
110
- }) => import("react/jsx-runtime").JSX.Element;
111
- var Label: {
112
- (props: {
113
- required?: boolean;
114
- children?: ReactNode;
115
- sx?: object;
116
- }): import("react/jsx-runtime").JSX.Element;
117
- displayName: string;
118
- };
119
- var Control: import("react").ForwardRefExoticComponent<{
120
- type: "input" | "select";
121
- focus?: boolean;
122
- sx?: object;
123
- } & import("react").RefAttributes<HTMLInputElement>>;
124
- }
125
-