ui-beyable 1.0.4 → 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.
Files changed (60) hide show
  1. package/README.md +67 -67
  2. package/lib/cjs/components/Button/BYbtn.d.ts +6 -6
  3. package/lib/cjs/components/Collapse/BYcollapse.d.ts +4 -4
  4. package/lib/cjs/components/Modal/BYmodal.d.ts +4 -4
  5. package/lib/cjs/esm/components/BYbtn.d.ts +6 -6
  6. package/lib/cjs/esm/components/Button/BYbtn.d.ts +6 -6
  7. package/lib/cjs/esm/components/Button/type.d.ts +27 -27
  8. package/lib/cjs/esm/components/Button.d.ts +7 -7
  9. package/lib/cjs/esm/components/Collapse/BYcollapse.d.ts +4 -4
  10. package/lib/cjs/esm/components/Collapse/type.d.ts +5 -5
  11. package/lib/cjs/esm/components/Modal/BYmodal.d.ts +4 -4
  12. package/lib/cjs/esm/components/Modal/types.d.ts +11 -11
  13. package/lib/cjs/esm/components/Portal/BYportal.d.ts +3 -3
  14. package/lib/cjs/esm/components/Portal/type.d.ts +6 -6
  15. package/lib/cjs/esm/components/type.d.ts +27 -27
  16. package/lib/cjs/esm/index.d.ts +60 -60
  17. package/lib/cjs/index.css +32 -32
  18. package/lib/cjs/index.css.map +1 -1
  19. package/lib/cjs/index.d.ts +5 -11
  20. package/lib/cjs/index.js +0 -4755
  21. package/lib/cjs/index.js.map +1 -1
  22. package/lib/esm/components/BYbtn.d.ts +6 -6
  23. package/lib/esm/components/Button/BYbtn.d.ts +6 -6
  24. package/lib/esm/components/Button.d.ts +7 -7
  25. package/lib/esm/components/Collapse/BYcollapse.d.ts +4 -4
  26. package/lib/esm/components/Modal/BYmodal.d.ts +4 -4
  27. package/lib/esm/components/type.d.ts +27 -27
  28. package/lib/esm/index.css +32 -32
  29. package/lib/esm/index.css.map +1 -1
  30. package/lib/esm/index.d.ts +5 -11
  31. package/lib/esm/index.js +2 -4751
  32. package/lib/esm/index.js.map +1 -1
  33. package/lib/index.d.ts +40 -40
  34. package/package.json +3 -18
  35. package/lib/cjs/components/Avatar/Avatar.d.ts +0 -5
  36. package/lib/cjs/components/Avatar/type.d.ts +0 -5
  37. package/lib/cjs/components/Breadcrumb/BYbreadcrumbItem.d.ts +0 -4
  38. package/lib/cjs/components/Breadcrumb/Breadcrumb.d.ts +0 -5
  39. package/lib/cjs/components/Breadcrumb/type.d.ts +0 -21
  40. package/lib/cjs/components/Checkbox/Checkbox.d.ts +0 -4
  41. package/lib/cjs/components/Checkbox/type.d.ts +0 -15
  42. package/lib/cjs/components/InputCustom/InputCustom.d.ts +0 -10
  43. package/lib/cjs/components/InputCustom/types.d.ts +0 -40
  44. package/lib/cjs/components/Spinner/Spinner.d.ts +0 -4
  45. package/lib/cjs/components/Spinner/type.d.ts +0 -3
  46. package/lib/cjs/components/SpinnerWheel/BYspinnerWheel.d.ts +0 -6
  47. package/lib/cjs/components/SpinnerWheel/type.d.ts +0 -5
  48. package/lib/esm/components/Avatar/Avatar.d.ts +0 -5
  49. package/lib/esm/components/Avatar/type.d.ts +0 -5
  50. package/lib/esm/components/Breadcrumb/BYbreadcrumbItem.d.ts +0 -4
  51. package/lib/esm/components/Breadcrumb/Breadcrumb.d.ts +0 -5
  52. package/lib/esm/components/Breadcrumb/type.d.ts +0 -21
  53. package/lib/esm/components/Checkbox/Checkbox.d.ts +0 -4
  54. package/lib/esm/components/Checkbox/type.d.ts +0 -15
  55. package/lib/esm/components/InputCustom/InputCustom.d.ts +0 -10
  56. package/lib/esm/components/InputCustom/types.d.ts +0 -40
  57. package/lib/esm/components/Spinner/Spinner.d.ts +0 -4
  58. package/lib/esm/components/Spinner/type.d.ts +0 -3
  59. package/lib/esm/components/SpinnerWheel/BYspinnerWheel.d.ts +0 -6
  60. package/lib/esm/components/SpinnerWheel/type.d.ts +0 -5
@@ -1,6 +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;
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;
@@ -1,6 +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;
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;
@@ -1,7 +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;
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;
@@ -1,4 +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;
1
+ /// <reference types="react" />
2
+ import { IBYcollapse } from './type';
3
+ declare function Collapse({ label, children, defaultOpen }: IBYcollapse): JSX.Element;
4
+ export default Collapse;
@@ -1,4 +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;
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;
@@ -1,27 +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
- }
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
+ }