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.
Files changed (48) hide show
  1. package/lib/cjs/components/Button/BYbtn.d.ts +6 -0
  2. package/lib/cjs/components/Button/type.d.ts +27 -0
  3. package/lib/cjs/components/Collapse/BYcollapse.d.ts +4 -0
  4. package/lib/cjs/components/Collapse/type.d.ts +5 -0
  5. package/lib/cjs/components/Modal/BYmodal.d.ts +4 -0
  6. package/lib/cjs/components/Modal/types.d.ts +11 -0
  7. package/lib/cjs/components/Portal/BYportal.d.ts +3 -0
  8. package/lib/cjs/components/Portal/type.d.ts +6 -0
  9. package/lib/cjs/esm/components/BYbtn.d.ts +6 -0
  10. package/lib/cjs/esm/components/Button/BYbtn.d.ts +6 -0
  11. package/lib/cjs/esm/components/Button/type.d.ts +27 -0
  12. package/lib/cjs/esm/components/Button.d.ts +7 -0
  13. package/lib/cjs/esm/components/Collapse/BYcollapse.d.ts +4 -0
  14. package/lib/cjs/esm/components/Collapse/type.d.ts +5 -0
  15. package/lib/cjs/esm/components/Modal/BYmodal.d.ts +4 -0
  16. package/lib/cjs/esm/components/Modal/types.d.ts +11 -0
  17. package/lib/cjs/esm/components/Portal/BYportal.d.ts +3 -0
  18. package/lib/cjs/esm/components/Portal/type.d.ts +6 -0
  19. package/lib/cjs/esm/components/type.d.ts +27 -0
  20. package/lib/cjs/esm/index.d.ts +60 -0
  21. package/lib/cjs/index.css +36 -0
  22. package/lib/cjs/index.css.map +1 -0
  23. package/lib/cjs/index.d.ts +60 -0
  24. package/lib/cjs/index.js +170 -0
  25. package/lib/cjs/index.js.map +1 -0
  26. package/lib/esm/components/BYbtn.d.ts +6 -0
  27. package/lib/esm/components/Button/BYbtn.d.ts +6 -0
  28. package/lib/esm/components/Button/type.d.ts +27 -0
  29. package/lib/esm/components/Button.d.ts +7 -0
  30. package/lib/esm/components/Collapse/BYcollapse.d.ts +4 -0
  31. package/lib/esm/components/Collapse/type.d.ts +5 -0
  32. package/lib/esm/components/Modal/BYmodal.d.ts +4 -0
  33. package/lib/esm/components/Modal/types.d.ts +11 -0
  34. package/lib/esm/components/Portal/BYportal.d.ts +3 -0
  35. package/lib/esm/components/Portal/type.d.ts +6 -0
  36. package/lib/esm/components/type.d.ts +27 -0
  37. package/lib/esm/index.css +36 -0
  38. package/lib/esm/index.css.map +1 -0
  39. package/lib/esm/index.d.ts +60 -0
  40. package/lib/esm/index.js +165 -0
  41. package/lib/esm/index.js.map +1 -0
  42. package/lib/index.d.ts +51 -0
  43. package/package.json +35 -15
  44. package/src/components/Button.css +0 -3
  45. package/src/components/Button.js +0 -8
  46. package/src/components/Button.tsx +0 -18
  47. package/src/components/ByBtn.js +0 -7
  48. 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,4 @@
1
+ /// <reference types="react" />
2
+ import { IBYcollapse } from './type';
3
+ declare function Collapse({ label, children, defaultOpen }: IBYcollapse): JSX.Element;
4
+ export default Collapse;
@@ -0,0 +1,5 @@
1
+ export interface IBYcollapse {
2
+ label?: string;
3
+ children?: any;
4
+ defaultOpen?: boolean;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IBYmodal } from './types';
3
+ declare function Modal({ children, isOpen, onClose, noClose, width, height, minHeight }: IBYmodal): JSX.Element;
4
+ export default Modal;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ interface IBYmodal {
3
+ children: React.ReactNode;
4
+ isOpen: boolean;
5
+ onClose?: (e: any) => any;
6
+ noClose?: boolean;
7
+ width?: string;
8
+ height?: string;
9
+ minHeight?: string;
10
+ }
11
+ export type { IBYmodal };
@@ -0,0 +1,3 @@
1
+ import { IBYportal } from './type';
2
+ declare function Portal({ target, children }: IBYportal): any;
3
+ export default Portal;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface IBYportal {
3
+ target?: any;
4
+ children: React.ReactNode;
5
+ }
6
+ export type { IBYportal };
@@ -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,4 @@
1
+ import React from 'react';
2
+ import { IBYcollapse } from './type';
3
+ declare function Collapse({ label, children, defaultOpen }: IBYcollapse): React.JSX.Element;
4
+ export default Collapse;
@@ -0,0 +1,5 @@
1
+ export interface IBYcollapse {
2
+ label?: string;
3
+ children?: any;
4
+ defaultOpen?: boolean;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IBYmodal } from './types';
3
+ declare function Modal({ children, isOpen, onClose, noClose, width, height, minHeight }: IBYmodal): JSX.Element;
4
+ export default Modal;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ interface IBYmodal {
3
+ children: React.ReactNode;
4
+ isOpen: boolean;
5
+ onClose?: (e: any) => any;
6
+ noClose?: boolean;
7
+ width?: string;
8
+ height?: string;
9
+ minHeight?: string;
10
+ }
11
+ export type { IBYmodal };
@@ -0,0 +1,3 @@
1
+ import { IBYportal } from './type';
2
+ declare function Portal({ target, children }: IBYportal): any;
3
+ export default Portal;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface IBYportal {
3
+ target?: any;
4
+ children: React.ReactNode;
5
+ }
6
+ export type { IBYportal };
@@ -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 };