ui-beyable 1.0.3 → 1.0.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/README.md +67 -67
- package/lib/cjs/components/Button/BYbtn.d.ts +6 -6
- package/lib/cjs/components/Collapse/BYcollapse.d.ts +4 -4
- package/lib/cjs/components/Modal/BYmodal.d.ts +4 -4
- package/lib/cjs/esm/components/BYbtn.d.ts +6 -6
- package/lib/cjs/esm/components/Button/BYbtn.d.ts +6 -6
- package/lib/cjs/esm/components/Button/type.d.ts +27 -27
- package/lib/cjs/esm/components/Button.d.ts +7 -7
- package/lib/cjs/esm/components/Collapse/BYcollapse.d.ts +4 -4
- package/lib/cjs/esm/components/Collapse/type.d.ts +5 -5
- package/lib/cjs/esm/components/Modal/BYmodal.d.ts +4 -4
- package/lib/cjs/esm/components/Modal/types.d.ts +11 -11
- package/lib/cjs/esm/components/Portal/BYportal.d.ts +3 -3
- package/lib/cjs/esm/components/Portal/type.d.ts +6 -6
- package/lib/cjs/esm/components/type.d.ts +27 -27
- package/lib/cjs/esm/index.d.ts +60 -60
- package/lib/cjs/index.css +32 -32
- package/lib/cjs/index.css.map +1 -1
- package/lib/esm/components/BYbtn.d.ts +6 -6
- package/lib/esm/components/Button/BYbtn.d.ts +6 -6
- package/lib/esm/components/Button.d.ts +7 -7
- package/lib/esm/components/Collapse/BYcollapse.d.ts +4 -4
- package/lib/esm/components/Modal/BYmodal.d.ts +4 -4
- package/lib/esm/components/type.d.ts +27 -27
- package/lib/esm/index.css +32 -32
- package/lib/esm/index.css.map +1 -1
- package/lib/index.d.ts +40 -40
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
|
|
3
|
-
interface IBYmodal {
|
|
4
|
-
children: React$1.ReactNode;
|
|
5
|
-
isOpen:boolean;
|
|
6
|
-
onClose?:(e:any) => any ;
|
|
7
|
-
noClose?:boolean ;
|
|
8
|
-
width?: string ;
|
|
9
|
-
height? : string;
|
|
10
|
-
minHeight?: string;
|
|
3
|
+
interface IBYmodal {
|
|
4
|
+
children: React$1.ReactNode;
|
|
5
|
+
isOpen:boolean;
|
|
6
|
+
onClose?:(e:any) => any ;
|
|
7
|
+
noClose?:boolean ;
|
|
8
|
+
width?: string ;
|
|
9
|
+
height? : string;
|
|
10
|
+
minHeight?: string;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
interface IBYportal {
|
|
14
|
-
target?: any;
|
|
15
|
-
children: React.ReactNode;
|
|
13
|
+
interface IBYportal {
|
|
14
|
+
target?: any;
|
|
15
|
+
children: React.ReactNode;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
interface IBYbtn {
|
|
19
|
-
children? : React$1.ReactNode;
|
|
20
|
-
type? : "button" | "submit" |"reset" ;
|
|
21
|
-
htmlTag?: 'button' | 'a';
|
|
22
|
-
onClickFunction? : (e : React$1.MouseEvent) => any;
|
|
23
|
-
onClick? : (e : React$1.MouseEvent) => any;
|
|
24
|
-
href? : string;
|
|
25
|
-
target? :string;
|
|
26
|
-
message? :string;
|
|
27
|
-
color? : string;
|
|
28
|
-
style? : string;
|
|
29
|
-
rounded? :boolean;
|
|
30
|
-
disabled? :boolean;
|
|
31
|
-
className? : string;
|
|
32
|
-
strong? :boolean;
|
|
33
|
-
light? :boolean;
|
|
34
|
-
size?: ""|"xxs"|'xs'|'s'|'m'|'l'|'xl'|'xxl';
|
|
35
|
-
fontSize? : string;
|
|
36
|
-
fullWidth?: boolean;
|
|
37
|
-
fullHeight?: boolean;
|
|
38
|
-
icon? : any;
|
|
39
|
-
iconPosition? : 'before' | 'after';
|
|
40
|
-
arrow? :boolean | "true" | "false";
|
|
41
|
-
dataFor? : string;
|
|
42
|
-
dataTip? : string;
|
|
18
|
+
interface IBYbtn {
|
|
19
|
+
children? : React$1.ReactNode;
|
|
20
|
+
type? : "button" | "submit" |"reset" ;
|
|
21
|
+
htmlTag?: 'button' | 'a';
|
|
22
|
+
onClickFunction? : (e : React$1.MouseEvent) => any;
|
|
23
|
+
onClick? : (e : React$1.MouseEvent) => any;
|
|
24
|
+
href? : string;
|
|
25
|
+
target? :string;
|
|
26
|
+
message? :string;
|
|
27
|
+
color? : string;
|
|
28
|
+
style? : string;
|
|
29
|
+
rounded? :boolean;
|
|
30
|
+
disabled? :boolean;
|
|
31
|
+
className? : string;
|
|
32
|
+
strong? :boolean;
|
|
33
|
+
light? :boolean;
|
|
34
|
+
size?: ""|"xxs"|'xs'|'s'|'m'|'l'|'xl'|'xxl';
|
|
35
|
+
fontSize? : string;
|
|
36
|
+
fullWidth?: boolean;
|
|
37
|
+
fullHeight?: boolean;
|
|
38
|
+
icon? : any;
|
|
39
|
+
iconPosition? : 'before' | 'after';
|
|
40
|
+
arrow? :boolean | "true" | "false";
|
|
41
|
+
dataFor? : string;
|
|
42
|
+
dataTip? : string;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
interface IBYcollapse {
|
|
46
|
-
label?:string,
|
|
47
|
-
children?:any,
|
|
48
|
-
defaultOpen ?:boolean
|
|
45
|
+
interface IBYcollapse {
|
|
46
|
+
label?:string,
|
|
47
|
+
children?:any,
|
|
48
|
+
defaultOpen ?:boolean
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export { IBYbtn, IBYcollapse, IBYmodal, IBYportal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ui-beyable",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Ui library of Beyable projets",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
50
50
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
51
51
|
"tslib": "^2.5.3",
|
|
52
|
-
"typescript-plugin-css-modules": "^5.0.1"
|
|
52
|
+
"typescript-plugin-css-modules": "^5.0.1",
|
|
53
|
+
"user": "^0.0.0"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@types/react": "18.2.0",
|