@dreamtree-org/twreact-ui 1.1.63 → 1.1.64

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 (34) hide show
  1. package/dist/components/core/Table/Table.d.ts +2 -1
  2. package/dist/components/core/Table/Table.d.ts.map +1 -1
  3. package/dist/components/feedback/Alert.d.ts +2 -9
  4. package/dist/components/feedback/Alert.d.ts.map +1 -1
  5. package/dist/components/feedback/Dialog.d.ts +1 -30
  6. package/dist/components/feedback/Dialog.d.ts.map +1 -1
  7. package/dist/components/feedback/Toast.d.ts +1 -10
  8. package/dist/components/feedback/Toast.d.ts.map +1 -1
  9. package/dist/components/navigation/Breadcrumbs.d.ts +2 -9
  10. package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
  11. package/dist/components/navigation/FootNav.d.ts +2 -5
  12. package/dist/components/navigation/FootNav.d.ts.map +1 -1
  13. package/dist/components/navigation/Navbar.d.ts +2 -29
  14. package/dist/components/navigation/Navbar.d.ts.map +1 -1
  15. package/dist/components/navigation/Sidebar.d.ts +2 -15
  16. package/dist/components/navigation/Sidebar.d.ts.map +1 -1
  17. package/dist/components/utility/Avatar.d.ts +2 -10
  18. package/dist/components/utility/Avatar.d.ts.map +1 -1
  19. package/dist/components/utility/Badge.d.ts +2 -8
  20. package/dist/components/utility/Badge.d.ts.map +1 -1
  21. package/dist/components/utility/Card.d.ts +2 -38
  22. package/dist/components/utility/Card.d.ts.map +1 -1
  23. package/dist/components/utility/Carousel.d.ts +2 -1
  24. package/dist/components/utility/Carousel.d.ts.map +1 -1
  25. package/dist/components/utility/FileUpload.d.ts +2 -11
  26. package/dist/components/utility/FileUpload.d.ts.map +1 -1
  27. package/dist/components/utility/Pagination.d.ts +2 -10
  28. package/dist/components/utility/Pagination.d.ts.map +1 -1
  29. package/dist/components/utility/Stepper.d.ts +2 -9
  30. package/dist/components/utility/Stepper.d.ts.map +1 -1
  31. package/dist/index.esm.js +92 -46
  32. package/dist/index.js +92 -46
  33. package/mcp/catalog.snapshot.json +15 -3
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  export default Table;
2
- declare function Table({ data: initialData, columns: initialColumns, sortable, filterable, selectable, pagination, pageSize, onSort, onFilter, onFetch, onFilterChange, onSelectionChange, onRowClick, hasDetails, DetailsComponent, className, withAction, onAction, actions, showSerial, cellClass, rowClass, globalSearch, limitOptions, showLimitSelector, onLimitChange, showReloadButton, renderReloadButton, onReload, stripedRows, theme, responsiveBreakpoint, serverSide, totalRecords, pageNumber, TheadComponent, TfootComponent, ...props }: {
2
+ declare function Table({ data: initialData, columns: initialColumns, sortable, filterable, selectable, pagination, pageSize, onSort, onFilter, onFetch, onFilterChange, onSelectionChange, onRowClick, hasDetails, DetailsComponent, className, withAction, onAction, actions, showSerial, cellClass, rowClass, globalSearch, limitOptions, showLimitSelector, onLimitChange, showReloadButton, renderReloadButton, onReload, stripedRows, theme, responsiveBreakpoint, serverSide, totalRecords, pageNumber, onPageChange, TheadComponent, TfootComponent, ...props }: {
3
3
  [x: string]: any;
4
4
  data?: any[] | undefined;
5
5
  columns?: any[] | undefined;
@@ -42,6 +42,7 @@ declare function Table({ data: initialData, columns: initialColumns, sortable, f
42
42
  serverSide?: boolean | undefined;
43
43
  totalRecords?: number | undefined;
44
44
  pageNumber: any;
45
+ onPageChange: any;
45
46
  TheadComponent?: null | undefined;
46
47
  TfootComponent?: null | undefined;
47
48
  }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/Table.jsx"],"names":[],"mappings":";AAqCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA2vBC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/Table.jsx"],"names":[],"mappings":";AAqCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAgwBC"}
@@ -1,11 +1,4 @@
1
1
  export default Alert;
2
- declare function Alert({ variant, title, children, dismissible, onDismiss, className, ...props }: {
3
- [x: string]: any;
4
- variant?: string | undefined;
5
- title: any;
6
- children: any;
7
- dismissible?: boolean | undefined;
8
- onDismiss: any;
9
- className: any;
10
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Alert: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
11
4
  //# sourceMappingURL=Alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.jsx"],"names":[],"mappings":";AAIA;;;;;;;;4CAuFC"}
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Alert.jsx"],"names":[],"mappings":";AAIA,+EAwFG;kBA5Fe,OAAO"}
@@ -1,33 +1,4 @@
1
1
  export default Dialog;
2
- declare function Dialog({ isOpen, onClose, title, children, size, dismissible, showCloseButton, footer, className, onOpen, ...props }: {
3
- [x: string]: any;
4
- isOpen: any;
5
- onClose: any;
6
- title: any;
7
- children: any;
8
- size?: string | undefined;
9
- dismissible?: boolean | undefined;
10
- showCloseButton?: boolean | undefined;
11
- footer: any;
12
- className: any;
13
- onOpen: any;
14
- }): React.ReactPortal | null;
15
- declare namespace Dialog {
16
- function Header({ children, className, ...props }: {
17
- [x: string]: any;
18
- children: any;
19
- className: any;
20
- }): import("react/jsx-runtime").JSX.Element;
21
- function Body({ children, className, ...props }: {
22
- [x: string]: any;
23
- children: any;
24
- className: any;
25
- }): import("react/jsx-runtime").JSX.Element;
26
- function Footer({ children, className, ...props }: {
27
- [x: string]: any;
28
- children: any;
29
- className: any;
30
- }): import("react/jsx-runtime").JSX.Element;
31
- }
2
+ declare const Dialog: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
32
3
  import React from 'react';
33
4
  //# sourceMappingURL=Dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.jsx"],"names":[],"mappings":";AAwBA;;;;;;;;;;;;6BAqJC;;IAGD;;;;gDAIC;IAED;;;;gDAIC;IAED;;;;gDAIC;;kBAhMwC,OAAO"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.jsx"],"names":[],"mappings":";AAmCA,gFAqJG;kBAxLsC,OAAO"}
@@ -1,14 +1,5 @@
1
1
  export default Toast;
2
- export function Toast({ id, title, message, type, duration, onClose, position, ...props }: {
3
- [x: string]: any;
4
- id: any;
5
- title: any;
6
- message: any;
7
- type?: string | undefined;
8
- duration?: number | undefined;
9
- onClose: any;
10
- position?: string | undefined;
11
- }): React.ReactPortal | null;
2
+ export const Toast: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
12
3
  export function ToastContainer({ toasts, position, onRemove }: {
13
4
  toasts?: never[] | undefined;
14
5
  position?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.jsx"],"names":[],"mappings":";AAKA;;;;;;;;;6BAgFC;AAGD;;;;4CAaC;AAGD;;;;;;;;;EAoBC;kBA5H0C,OAAO"}
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.jsx"],"names":[],"mappings":";AAKA,8EAiFG;AAKH;;;;4CAaC;AAGD;;;;;;;;;EAoBC;kBA/H0C,OAAO"}
@@ -1,11 +1,4 @@
1
1
  export default Breadcrumbs;
2
- declare function Breadcrumbs({ items, separator, showHome, homeIcon, onHomeClick, className, ...props }: {
3
- [x: string]: any;
4
- items?: never[] | undefined;
5
- separator?: import("react/jsx-runtime").JSX.Element | undefined;
6
- showHome?: boolean | undefined;
7
- homeIcon?: import("react/jsx-runtime").JSX.Element | undefined;
8
- onHomeClick: any;
9
- className: any;
10
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Breadcrumbs: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
11
4
  //# sourceMappingURL=Breadcrumbs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.jsx"],"names":[],"mappings":";AAIA;;;;;;;;4CAmDC"}
1
+ {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.jsx"],"names":[],"mappings":";AAIA,qFAoDG;kBAxDe,OAAO"}
@@ -1,7 +1,4 @@
1
1
  export default FootNav;
2
- declare function FootNav({ items, className, ...props }: {
3
- [x: string]: any;
4
- items?: never[] | undefined;
5
- className: any;
6
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const FootNav: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
7
4
  //# sourceMappingURL=FootNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FootNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/FootNav.jsx"],"names":[],"mappings":";AAGA;;;;4CAsCC"}
1
+ {"version":3,"file":"FootNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/FootNav.jsx"],"names":[],"mappings":";AAGA,iFAuCG;kBA1Ce,OAAO"}
@@ -1,31 +1,4 @@
1
- export function Navbar({ emitter, logo, items, user, notifications, searchable, onSearch, leftIcon, rightMenuContent: RightMenuContentProp, onLeftIconClick, onLoginClick, onLogoutClick, className, ...props }: {
2
- [x: string]: any;
3
- emitter: any;
4
- logo: any;
5
- items?: never[] | undefined;
6
- user: any;
7
- notifications?: never[] | undefined;
8
- searchable?: boolean | undefined;
9
- onSearch: any;
10
- leftIcon?: import("react/jsx-runtime").JSX.Element | undefined;
11
- rightMenuContent: any;
12
- onLeftIconClick: any;
13
- onLoginClick?: (() => void) | undefined;
14
- onLogoutClick?: (() => void) | undefined;
15
- className: any;
16
- }): import("react/jsx-runtime").JSX.Element;
17
- export namespace Navbar {
18
- let displayName: string;
19
- namespace propTypes {
20
- let emitter: PropTypes.Validator<object>;
21
- let logo: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
- let items: PropTypes.Validator<any[]>;
23
- let user: PropTypes.Requireable<object>;
24
- let notifications: PropTypes.Requireable<any[]>;
25
- let searchable: PropTypes.Requireable<boolean>;
26
- let onSearch: PropTypes.Requireable<(...args: any[]) => any>;
27
- }
28
- }
1
+ export const Navbar: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
29
2
  export default Navbar;
30
- import PropTypes from "prop-types";
3
+ import React from "react";
31
4
  //# sourceMappingURL=Navbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Navbar.jsx"],"names":[],"mappings":"AAuLO;;;;;;;;;;;;;;;4CA4PN;;;;;;;;;;;;;;sBAtaqB,YAAY"}
1
+ {"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Navbar.jsx"],"names":[],"mappings":"AAuLA,+EAqQG;;kBA3b6D,OAAO"}
@@ -11,19 +11,6 @@ export default Sidebar;
11
11
  * - isMobileOpen, setIsMobileOpen
12
12
  * - showCollapsedTooltips: boolean (default true)
13
13
  */
14
- declare function Sidebar({ items, collapsed, onToggle, className, logo, user, onUserClick, drawerPosition, isMobileOpen, setIsMobileOpen, showCollapsedTooltips, tooltipOptions, ...props }: {
15
- [x: string]: any;
16
- items?: never[] | undefined;
17
- collapsed?: boolean | undefined;
18
- onToggle: any;
19
- className: any;
20
- logo: any;
21
- user: any;
22
- onUserClick: any;
23
- drawerPosition?: string | undefined;
24
- isMobileOpen?: boolean | undefined;
25
- setIsMobileOpen: any;
26
- showCollapsedTooltips?: boolean | undefined;
27
- tooltipOptions: any;
28
- }): import("react/jsx-runtime").JSX.Element;
14
+ declare const Sidebar: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
15
+ import React from "react";
29
16
  //# sourceMappingURL=Sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Sidebar.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;GAWG;AACH;;;;;;;;;;;;;;4CA+TC"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Sidebar.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;GAWG;AACH,iFA+TG;kBAxWwC,OAAO"}
@@ -1,12 +1,4 @@
1
1
  export default Avatar;
2
- declare function Avatar({ src, alt, name, size, shape, status, className, ...props }: {
3
- [x: string]: any;
4
- src: any;
5
- alt: any;
6
- name: any;
7
- size?: string | undefined;
8
- shape?: string | undefined;
9
- status: any;
10
- className: any;
11
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Avatar: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
12
4
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Avatar.jsx"],"names":[],"mappings":";AAIA;;;;;;;;;4CA6GC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Avatar.jsx"],"names":[],"mappings":";AAIA,gFA6GG;kBAjHe,OAAO"}
@@ -1,10 +1,4 @@
1
1
  export default Badge;
2
- declare function Badge({ children, variant, size, rounded, className, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- variant?: string | undefined;
6
- size?: string | undefined;
7
- rounded?: boolean | undefined;
8
- className: any;
9
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Badge: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
10
4
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Badge.jsx"],"names":[],"mappings":";AAGA;;;;;;;4CAyCC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Badge.jsx"],"names":[],"mappings":";AAGA,+EA0CG;kBA7Ce,OAAO"}
@@ -1,40 +1,4 @@
1
1
  export default Card;
2
- declare function Card({ children, className, hover, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- className: any;
6
- hover?: boolean | undefined;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- declare namespace Card {
9
- export { CardHeader as Header };
10
- export { CardTitle as Title };
11
- export { CardDescription as Description };
12
- export { CardContent as Content };
13
- export { CardFooter as Footer };
14
- }
15
- declare function CardHeader({ children, className, ...props }: {
16
- [x: string]: any;
17
- children: any;
18
- className: any;
19
- }): import("react/jsx-runtime").JSX.Element;
20
- declare function CardTitle({ children, className, ...props }: {
21
- [x: string]: any;
22
- children: any;
23
- className: any;
24
- }): import("react/jsx-runtime").JSX.Element;
25
- declare function CardDescription({ children, className, ...props }: {
26
- [x: string]: any;
27
- children: any;
28
- className: any;
29
- }): import("react/jsx-runtime").JSX.Element;
30
- declare function CardContent({ children, className, ...props }: {
31
- [x: string]: any;
32
- children: any;
33
- className: any;
34
- }): import("react/jsx-runtime").JSX.Element;
35
- declare function CardFooter({ children, className, ...props }: {
36
- [x: string]: any;
37
- children: any;
38
- className: any;
39
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Card: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
40
4
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Card.jsx"],"names":[],"mappings":";AAGA;;;;;4CAoBC;;;;;;;;AAED;;;;4CAIC;AAED;;;;4CAIC;AAED;;;;4CAIC;AAED;;;;4CAIC;AAED;;;;4CAIC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Card.jsx"],"names":[],"mappings":";AAGA,8EAqBG;kBAxBe,OAAO"}
@@ -1,3 +1,4 @@
1
- export function Carousel(props: any): import("react/jsx-runtime").JSX.Element;
1
+ export const Carousel: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
2
  export default Carousel;
3
+ import React from "react";
3
4
  //# sourceMappingURL=Carousel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Carousel.jsx"],"names":[],"mappings":"AAIA,8EAqFC"}
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Carousel.jsx"],"names":[],"mappings":"AAIA,iFAsFE;;kBA1FgB,OAAO"}
@@ -1,13 +1,4 @@
1
1
  export default FileUpload;
2
- declare function FileUpload({ accept, multiple, maxSize, onFileSelect, onFileRemove, files, disabled, className, ...props }: {
3
- [x: string]: any;
4
- accept: any;
5
- multiple?: boolean | undefined;
6
- maxSize: any;
7
- onFileSelect: any;
8
- onFileRemove: any;
9
- files?: never[] | undefined;
10
- disabled?: boolean | undefined;
11
- className: any;
12
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const FileUpload: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
13
4
  //# sourceMappingURL=FileUpload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/utility/FileUpload.jsx"],"names":[],"mappings":";AAIA;;;;;;;;;;4CAiLC"}
1
+ {"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/utility/FileUpload.jsx"],"names":[],"mappings":";AAIA,oFAiLG;kBArLkD,OAAO"}
@@ -1,12 +1,4 @@
1
1
  export default Pagination;
2
- declare function Pagination({ currentPage, totalPages, onPageChange, showFirstLast, showPrevNext, maxVisiblePages, className, ...props }: {
3
- [x: string]: any;
4
- currentPage?: number | undefined;
5
- totalPages?: number | undefined;
6
- onPageChange: any;
7
- showFirstLast?: boolean | undefined;
8
- showPrevNext?: boolean | undefined;
9
- maxVisiblePages?: number | undefined;
10
- className: any;
11
- }): import("react/jsx-runtime").JSX.Element | null;
2
+ declare const Pagination: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
12
4
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Pagination.jsx"],"names":[],"mappings":";AAIA;;;;;;;;;mDA6HC"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Pagination.jsx"],"names":[],"mappings":";AAIA,oFA8HG;kBAlIe,OAAO"}
@@ -1,11 +1,4 @@
1
1
  export default Stepper;
2
- declare function Stepper({ steps, currentStep, orientation, variant, onStepClick, className, ...props }: {
3
- [x: string]: any;
4
- steps?: never[] | undefined;
5
- currentStep?: number | undefined;
6
- orientation?: string | undefined;
7
- variant?: string | undefined;
8
- onStepClick: any;
9
- className: any;
10
- }): import("react/jsx-runtime").JSX.Element;
2
+ declare const Stepper: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ import React from 'react';
11
4
  //# sourceMappingURL=Stepper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Stepper.jsx"],"names":[],"mappings":";AAIA;;;;;;;;4CAiIC"}
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Stepper.jsx"],"names":[],"mappings":";AAIA,iFAkIG;kBAtIe,OAAO"}