ui-beyable 1.0.12 → 1.0.14

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 (53) hide show
  1. package/lib/cjs/components/App/types.d.ts +1 -1
  2. package/lib/cjs/components/AppHeader/types.d.ts +1 -1
  3. package/lib/cjs/components/Article/types.d.ts +1 -1
  4. package/lib/cjs/components/Btn/Btn.d.ts +4 -0
  5. package/lib/cjs/components/Btn/IconBtn.d.ts +4 -0
  6. package/lib/cjs/components/Btn/types.d.ts +33 -0
  7. package/lib/cjs/components/Dropdown/Dropdown.d.ts +6 -0
  8. package/lib/cjs/components/Dropdown/types.d.ts +15 -0
  9. package/lib/cjs/components/IconBtn/IconBtn.d.ts +4 -0
  10. package/lib/cjs/components/IconBtn/types.d.ts +17 -0
  11. package/lib/cjs/components/List/types.d.ts +1 -1
  12. package/lib/cjs/components/Mask/Mask.d.ts +1 -1
  13. package/lib/cjs/components/Mask/types.d.ts +1 -1
  14. package/lib/cjs/components/Modal/types.d.ts +1 -1
  15. package/lib/cjs/components/Panel/types.d.ts +1 -1
  16. package/lib/cjs/components/Picto/Picto.d.ts +4 -0
  17. package/lib/cjs/components/Picto/types.d.ts +6 -0
  18. package/lib/cjs/components/Portal/Portal.d.ts +3 -0
  19. package/lib/cjs/components/Portal/type.d.ts +2 -2
  20. package/lib/cjs/components/Section/Section.d.ts +1 -1
  21. package/lib/cjs/components/Section/types.d.ts +1 -1
  22. package/lib/cjs/components/Spinner/Spinner.d.ts +1 -1
  23. package/lib/cjs/components/Spinner/types.d.ts +1 -1
  24. package/lib/cjs/index.d.ts +10 -9
  25. package/lib/cjs/index.js +1814 -141
  26. package/lib/cjs/index.js.map +1 -1
  27. package/lib/esm/components/App/types.d.ts +1 -1
  28. package/lib/esm/components/AppHeader/types.d.ts +1 -1
  29. package/lib/esm/components/Article/types.d.ts +1 -1
  30. package/lib/esm/components/Btn/Btn.d.ts +4 -0
  31. package/lib/esm/components/Btn/IconBtn.d.ts +4 -0
  32. package/lib/esm/components/Btn/types.d.ts +33 -0
  33. package/lib/esm/components/Dropdown/Dropdown.d.ts +6 -0
  34. package/lib/esm/components/Dropdown/types.d.ts +15 -0
  35. package/lib/esm/components/IconBtn/IconBtn.d.ts +4 -0
  36. package/lib/esm/components/IconBtn/types.d.ts +17 -0
  37. package/lib/esm/components/List/types.d.ts +1 -1
  38. package/lib/esm/components/Mask/Mask.d.ts +1 -1
  39. package/lib/esm/components/Mask/types.d.ts +1 -1
  40. package/lib/esm/components/Modal/types.d.ts +1 -1
  41. package/lib/esm/components/Panel/types.d.ts +1 -1
  42. package/lib/esm/components/Picto/Picto.d.ts +4 -0
  43. package/lib/esm/components/Picto/types.d.ts +6 -0
  44. package/lib/esm/components/Portal/Portal.d.ts +3 -0
  45. package/lib/esm/components/Portal/type.d.ts +2 -2
  46. package/lib/esm/components/Section/Section.d.ts +1 -1
  47. package/lib/esm/components/Section/types.d.ts +1 -1
  48. package/lib/esm/components/Spinner/Spinner.d.ts +1 -1
  49. package/lib/esm/components/Spinner/types.d.ts +1 -1
  50. package/lib/esm/index.d.ts +10 -9
  51. package/lib/esm/index.js +1813 -142
  52. package/lib/esm/index.js.map +1 -1
  53. package/package.json +5 -2
@@ -19,4 +19,4 @@ interface IAppLogo {
19
19
  className?: string;
20
20
  overlayLink?: React.ReactNode;
21
21
  }
22
- export type { IAppRoot, IAppHeader, IAppLinkWrapper, IAppLogo };
22
+ export { IAppRoot, IAppHeader, IAppLinkWrapper, IAppLogo };
@@ -11,4 +11,4 @@ interface IAppHeader {
11
11
  hasOffset?: boolean;
12
12
  offsetWidth?: number;
13
13
  }
14
- export type { IAppHeader };
14
+ export { IAppHeader };
@@ -8,4 +8,4 @@ interface IArticle {
8
8
  innerSize?: string;
9
9
  titleSize?: string;
10
10
  }
11
- export type { IArticle };
11
+ export { IArticle };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IBtn } from './types';
3
+ declare const Btn: React.MemoExoticComponent<React.ForwardRefExoticComponent<IBtn & React.RefAttributes<unknown>>>;
4
+ export { Btn };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IIconBtn } from './types';
3
+ declare const IconBtn: React.ForwardRefExoticComponent<IIconBtn & React.RefAttributes<unknown>>;
4
+ export { IconBtn };
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ interface IBtn {
3
+ children: React.ReactNode;
4
+ type?: "button" | "submit" | "reset" | undefined;
5
+ htmlTag?: string;
6
+ onClick?: any;
7
+ onMouseDown?: any;
8
+ href?: string;
9
+ target?: string;
10
+ rel?: string;
11
+ message?: any;
12
+ color?: 'primary' | 'secondary' | 'alert' | 'warning' | 'success' | 'black';
13
+ style?: 'fill' | 'outline' | 'ghost' | 'ghost_outline' | 'reverse' | 'link';
14
+ rounded?: boolean;
15
+ disabled?: boolean;
16
+ className?: string;
17
+ strong?: boolean;
18
+ light?: boolean;
19
+ isActive?: boolean;
20
+ isLoading?: boolean;
21
+ size?: string;
22
+ horizontalSize?: string;
23
+ fontSize?: string;
24
+ fullWidth?: boolean;
25
+ fullHeight?: boolean;
26
+ icon?: string;
27
+ iconPosition?: string;
28
+ arrow?: boolean;
29
+ tooltip?: string;
30
+ tooltipHTML?: any;
31
+ doInputHug?: boolean;
32
+ }
33
+ export { IBtn };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import './Dropdown.css';
3
+ import { IDropdown } from './types';
4
+ declare function Dropdown({ button, // need to accept onMouseDown and ref props
5
+ buttonRef, toggle, isOpen, posX, clickEvent, children, scrollbar, flip, minWidth }: IDropdown): JSX.Element;
6
+ export { Dropdown };
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface IDropdown {
3
+ children: React.ReactNode;
4
+ button?: React.ReactElement;
5
+ buttonRef?: any;
6
+ toggle?: any;
7
+ isOpen?: boolean;
8
+ posX?: "button" | "mouse";
9
+ posY?: "button" | "mouse";
10
+ clickEvent?: any;
11
+ scrollbar?: boolean;
12
+ flip?: boolean;
13
+ minWidth?: number;
14
+ }
15
+ export { IDropdown };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IIconBtn } from './types';
3
+ declare const IconBtn: React.ForwardRefExoticComponent<IIconBtn & React.RefAttributes<unknown>>;
4
+ export { IconBtn };
@@ -0,0 +1,17 @@
1
+ interface IIconBtn {
2
+ icon: string;
3
+ fixedWidth?: boolean;
4
+ size?: string;
5
+ className?: string;
6
+ theme?: string;
7
+ hoverColor?: string;
8
+ tooltip?: string;
9
+ tooltipHTML?: any;
10
+ onClick?: any;
11
+ onMouseDown?: any;
12
+ href?: string;
13
+ target?: string;
14
+ disabled?: boolean;
15
+ rel?: string;
16
+ }
17
+ export { IIconBtn };
@@ -22,4 +22,4 @@ interface IListItem {
22
22
  textIsBold?: boolean;
23
23
  textIsItalic?: boolean;
24
24
  }
25
- export type { IList, IListItem };
25
+ export { IList, IListItem };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IMask } from './types';
3
3
  declare function Mask({ children, hasDelay, hasProgress }: IMask): JSX.Element;
4
- export default Mask;
4
+ export { Mask };
@@ -4,4 +4,4 @@ interface IMask {
4
4
  hasDelay?: boolean;
5
5
  hasProgress?: boolean;
6
6
  }
7
- export type { IMask };
7
+ export { IMask };
@@ -10,4 +10,4 @@ interface IModal {
10
10
  fullScreen?: boolean;
11
11
  animation?: string;
12
12
  }
13
- export type { IModal };
13
+ export { IModal };
@@ -36,4 +36,4 @@ interface IPanelBody {
36
36
  position?: string;
37
37
  hasVerticalMargin?: boolean;
38
38
  }
39
- export type { IPanel, IPanelClose, IPanelHeader, IPanelBody };
39
+ export { IPanel, IPanelClose, IPanelHeader, IPanelBody };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IPicto } from './types';
3
+ declare function Picto({ icon, color, size }: IPicto): JSX.Element;
4
+ export { Picto };
@@ -0,0 +1,6 @@
1
+ interface IPicto {
2
+ icon: string;
3
+ color?: string;
4
+ size?: string;
5
+ }
6
+ export { IPicto };
@@ -0,0 +1,3 @@
1
+ import { IPortal } from './type';
2
+ declare function Portal({ target, children }: IPortal): any;
3
+ export { Portal };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- interface IBYportal {
2
+ interface IPortal {
3
3
  target?: any;
4
4
  children: React.ReactNode;
5
5
  }
6
- export type { IBYportal };
6
+ export { IPortal };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ISection } from './types';
3
3
  declare function Section({ children, width }: ISection): JSX.Element;
4
- export default Section;
4
+ export { Section };
@@ -3,4 +3,4 @@ interface ISection {
3
3
  children: React.ReactNode;
4
4
  width?: string;
5
5
  }
6
- export type { ISection };
6
+ export { ISection };
@@ -3,4 +3,4 @@ import { ISpinner } from './types';
3
3
  declare function Spinner({ wheelSize, // xxs, xs, s, m, l
4
4
  display, // block | inline | overlay
5
5
  verticalSize, }: ISpinner): JSX.Element;
6
- export default Spinner;
6
+ export { Spinner };
@@ -3,4 +3,4 @@ interface ISpinner {
3
3
  display?: string;
4
4
  verticalSize?: string;
5
5
  }
6
- export type { ISpinner };
6
+ export { ISpinner };
@@ -1,16 +1,17 @@
1
1
  import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
2
2
  import { Article } from './components/Article/Article';
3
- import Btn from './components/Button/Btn';
3
+ import { Btn } from './components/Btn/Btn';
4
4
  import Collapse from './components/Collapse/Collapse';
5
+ import { IconBtn } from './components/IconBtn/IconBtn';
5
6
  import { List, ListItem } from './components/List/List';
6
- import Mask from './components/Mask/Mask';
7
+ import { Mask } from './components/Mask/Mask';
7
8
  import Modal from './components/Modal/Modal';
8
9
  import { Panel, PanelClose, PanelHeader, PanelBody } from './components/Panel/Panel';
9
- import Portal from './components/Portal/BYportal';
10
- import Section from './components/Section/Section';
11
- import Spinner from './components/Spinner/Spinner';
10
+ import { Picto } from './components/Picto/Picto';
11
+ import { Portal } from './components/Portal/Portal';
12
+ import { Section } from './components/Section/Section';
13
+ import { Spinner } from './components/Spinner/Spinner';
12
14
  declare const Theme: any;
13
- export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, // Not OK
14
- Collapse, // Not OK
15
- List, ListItem, Mask, Modal, // Not OK
16
- Panel, PanelClose, PanelHeader, PanelBody, Portal, Section, Spinner };
15
+ export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, Collapse, // Not OK
16
+ IconBtn, List, ListItem, Mask, Modal, // Not OK
17
+ Panel, PanelClose, PanelHeader, PanelBody, Picto, Portal, Section, Spinner };