ui-beyable 1.0.0 → 1.0.1
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/lib/cjs/components/Button/BYbtn.d.ts +6 -0
- package/lib/cjs/components/Button/type.d.ts +27 -0
- package/lib/cjs/components/Collapse/BYcollapse.d.ts +4 -0
- package/lib/cjs/components/Collapse/type.d.ts +5 -0
- package/lib/cjs/components/Modal/BYmodal.d.ts +4 -0
- package/lib/cjs/components/Modal/types.d.ts +11 -0
- package/lib/cjs/components/Portal/BYportal.d.ts +3 -0
- package/lib/cjs/components/Portal/type.d.ts +6 -0
- package/lib/cjs/esm/components/BYbtn.d.ts +6 -0
- package/lib/cjs/esm/components/Button/BYbtn.d.ts +6 -0
- package/lib/cjs/esm/components/Button/type.d.ts +27 -0
- package/lib/cjs/esm/components/Button.d.ts +7 -0
- package/lib/cjs/esm/components/Collapse/BYcollapse.d.ts +4 -0
- package/lib/cjs/esm/components/Collapse/type.d.ts +5 -0
- package/lib/cjs/esm/components/Modal/BYmodal.d.ts +4 -0
- package/lib/cjs/esm/components/Modal/types.d.ts +11 -0
- package/lib/cjs/esm/components/Portal/BYportal.d.ts +3 -0
- package/lib/cjs/esm/components/Portal/type.d.ts +6 -0
- package/lib/cjs/esm/components/type.d.ts +27 -0
- package/lib/cjs/esm/index.d.ts +60 -0
- package/lib/cjs/index.css +36 -0
- package/lib/cjs/index.css.map +1 -0
- package/lib/cjs/index.d.ts +60 -0
- package/lib/cjs/index.js +170 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/esm/components/BYbtn.d.ts +6 -0
- package/lib/esm/components/Button/BYbtn.d.ts +6 -0
- package/lib/esm/components/Button/type.d.ts +27 -0
- package/lib/esm/components/Button.d.ts +7 -0
- package/lib/esm/components/Collapse/BYcollapse.d.ts +4 -0
- package/lib/esm/components/Collapse/type.d.ts +5 -0
- package/lib/esm/components/Modal/BYmodal.d.ts +4 -0
- package/lib/esm/components/Modal/types.d.ts +11 -0
- package/lib/esm/components/Portal/BYportal.d.ts +3 -0
- package/lib/esm/components/Portal/type.d.ts +6 -0
- package/lib/esm/components/type.d.ts +27 -0
- package/lib/esm/index.css +36 -0
- package/lib/esm/index.css.map +1 -0
- package/lib/esm/index.d.ts +60 -0
- package/lib/esm/index.js +165 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/index.d.ts +51 -0
- package/package.json +35 -15
- package/src/components/Button.css +0 -3
- package/src/components/Button.js +0 -8
- package/src/components/Button.tsx +0 -18
- package/src/components/ByBtn.js +0 -7
- package/src/components/ByBtn.tsx +0 -11
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IBYbtn } from './type';
|
|
3
|
+
declare const Btn: ({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => JSX.Element;
|
|
4
|
+
export { Btn };
|
|
5
|
+
declare const BYbtn: React.MemoExoticComponent<({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => JSX.Element>;
|
|
6
|
+
export default BYbtn;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IBYbtn {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
type?: "button" | "submit" | "reset";
|
|
5
|
+
htmlTag?: 'button' | 'a';
|
|
6
|
+
onClickFunction?: (e: React.MouseEvent) => any;
|
|
7
|
+
onClick?: (e: React.MouseEvent) => any;
|
|
8
|
+
href?: string;
|
|
9
|
+
target?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
strong?: boolean;
|
|
17
|
+
light?: boolean;
|
|
18
|
+
size?: "" | "xxs" | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
19
|
+
fontSize?: string;
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
fullHeight?: boolean;
|
|
22
|
+
icon?: any;
|
|
23
|
+
iconPosition?: 'before' | 'after';
|
|
24
|
+
arrow?: boolean | "true" | "false";
|
|
25
|
+
dataFor?: string;
|
|
26
|
+
dataTip?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IBYbtn } from './type';
|
|
3
|
+
declare const Btn: ({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => React.JSX.Element;
|
|
4
|
+
export { Btn };
|
|
5
|
+
declare const BYbtn: React.MemoExoticComponent<({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => React.JSX.Element>;
|
|
6
|
+
export default BYbtn;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IBYbtn } from './type';
|
|
3
|
+
declare const Btn: ({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => React.JSX.Element;
|
|
4
|
+
export { Btn };
|
|
5
|
+
declare const BYbtn: React.MemoExoticComponent<({ children, type, htmlTag, onClickFunction, onClick, href, target, message, color, style, rounded, disabled, className, strong, light, size, fontSize, fullWidth, fullHeight, icon, iconPosition, arrow, dataFor, dataTip }: IBYbtn) => React.JSX.Element>;
|
|
6
|
+
export default BYbtn;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IBYbtn {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
type?: "button" | "submit" | "reset";
|
|
5
|
+
htmlTag?: 'button' | 'a';
|
|
6
|
+
onClickFunction?: (e: React.MouseEvent) => any;
|
|
7
|
+
onClick?: (e: React.MouseEvent) => any;
|
|
8
|
+
href?: string;
|
|
9
|
+
target?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
strong?: boolean;
|
|
17
|
+
light?: boolean;
|
|
18
|
+
size?: "" | "xxs" | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
19
|
+
fontSize?: string;
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
fullHeight?: boolean;
|
|
22
|
+
icon?: any;
|
|
23
|
+
iconPosition?: 'before' | 'after';
|
|
24
|
+
arrow?: boolean | "true" | "false";
|
|
25
|
+
dataFor?: string;
|
|
26
|
+
dataTip?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
3
|
+
backgroundColor?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const Button: React.FunctionComponent<IButtonProps>;
|
|
7
|
+
export default Button;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IBYbtn {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
type?: "button" | "submit" | "reset";
|
|
5
|
+
htmlTag?: 'button' | 'a';
|
|
6
|
+
onClickFunction?: (e: React.MouseEvent) => any;
|
|
7
|
+
onClick?: (e: React.MouseEvent) => any;
|
|
8
|
+
href?: string;
|
|
9
|
+
target?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
strong?: boolean;
|
|
17
|
+
light?: boolean;
|
|
18
|
+
size?: "" | "xxs" | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
19
|
+
fontSize?: string;
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
fullHeight?: boolean;
|
|
22
|
+
icon?: any;
|
|
23
|
+
iconPosition?: 'before' | 'after';
|
|
24
|
+
arrow?: boolean | "true" | "false";
|
|
25
|
+
dataFor?: string;
|
|
26
|
+
dataTip?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import BYBtn from './components/Button/BYbtn';
|
|
2
|
+
import BYmodal from './components/Modal/BYmodal';
|
|
3
|
+
import ByPortal from './components/Portal/BYportal';
|
|
4
|
+
import BYcollapse from './components/Collapse/BYcollapse';
|
|
5
|
+
import "./style/globalStyle.css";
|
|
6
|
+
import "./style/params.css";
|
|
7
|
+
import "./style/animate.css";
|
|
8
|
+
import "./style/bootstrap-overrides.css";
|
|
9
|
+
import "./style/bootstrap/css/bootstrap_framework.css";
|
|
10
|
+
import "./style/btn.css";
|
|
11
|
+
import "./style/c3.min.css";
|
|
12
|
+
import "./style/checkbox.css";
|
|
13
|
+
import "./style/colorpicker.css";
|
|
14
|
+
import "./style/custom-antd.css";
|
|
15
|
+
import "./style/customInput.css";
|
|
16
|
+
import "./style/datepicker.css";
|
|
17
|
+
import "./style/datepickerrange.min.css";
|
|
18
|
+
import "./style/empty.css";
|
|
19
|
+
import "./style/field.css";
|
|
20
|
+
import "./style/flex.css";
|
|
21
|
+
import "./style/fonts.css";
|
|
22
|
+
import "./style/form.css";
|
|
23
|
+
import "./style/gridstack.min.css";
|
|
24
|
+
import "./style/Header.css";
|
|
25
|
+
import "./style/icofont.min.css";
|
|
26
|
+
import "./style/icon.css";
|
|
27
|
+
import "./style/Informations.css";
|
|
28
|
+
import "./style/insights.css";
|
|
29
|
+
import "./style/jqCron.css";
|
|
30
|
+
import "./style/listbox.css";
|
|
31
|
+
import "./style/modal.css";
|
|
32
|
+
import "./style/navigation.css";
|
|
33
|
+
import "./style/notifications.css";
|
|
34
|
+
import "./style/orchestration.css";
|
|
35
|
+
import "./style/page.css";
|
|
36
|
+
import "./style/panel.css";
|
|
37
|
+
import "./style/place_autocomplete.css";
|
|
38
|
+
import "./style/react-cron.css";
|
|
39
|
+
import "./style/react-table.css";
|
|
40
|
+
import "./style/reset.css";
|
|
41
|
+
import "./style/scroll.css";
|
|
42
|
+
import "./style/section.css";
|
|
43
|
+
import "./style/setup.css";
|
|
44
|
+
import "./style/shepherd.css";
|
|
45
|
+
import "./style/simplegrid.css";
|
|
46
|
+
import "./style/spinner.css";
|
|
47
|
+
import "./style/stats.css";
|
|
48
|
+
import "./style/style.css";
|
|
49
|
+
import "./style/SideBar.css";
|
|
50
|
+
import "./style/table.css";
|
|
51
|
+
import "./style/tabs.css";
|
|
52
|
+
import "./style/thumb_list.css";
|
|
53
|
+
import "./style/tippy.css";
|
|
54
|
+
import "./style/traffic-overview.css";
|
|
55
|
+
import "./style/utils.css";
|
|
56
|
+
import "./style/var.css";
|
|
57
|
+
import "./style/variation.css";
|
|
58
|
+
import "./style/wheel.css";
|
|
59
|
+
import "./style/wishlists.css";
|
|
60
|
+
export { BYBtn, BYmodal, ByPortal, BYcollapse };
|