next-recomponents 1.9.82 → 1.9.84

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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { DetailedHTMLProps, ButtonHTMLAttributes, Dispatch, SetStateAction, InputHTMLAttributes, TextareaHTMLAttributes, ReactNode, TableHTMLAttributes } from 'react';
2
+ import React$1, { DetailedHTMLProps, ButtonHTMLAttributes, ReactNode, Dispatch, SetStateAction, InputHTMLAttributes, TextareaHTMLAttributes, TableHTMLAttributes } from 'react';
3
3
  import { GridValidRowModel } from '@mui/x-data-grid';
4
4
 
5
5
  interface Props$6 extends React.HTMLAttributes<HTMLDivElement> {
@@ -18,8 +18,8 @@ declare function Button({ className, size, color, children, icon, disabled, full
18
18
 
19
19
  type LocationItem = {
20
20
  location: string;
21
- name: string;
22
- icon?: JSX.Element;
21
+ name: JSX.Element | string | ReactNode;
22
+ icon?: JSX.Element | null | ReactNode;
23
23
  };
24
24
  declare function Container({ children, appName, menuList, navItems, leftPanel, footPanel, expandedFooter, expandedMenu, }: {
25
25
  appName?: React$1.ReactNode;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { DetailedHTMLProps, ButtonHTMLAttributes, Dispatch, SetStateAction, InputHTMLAttributes, TextareaHTMLAttributes, ReactNode, TableHTMLAttributes } from 'react';
2
+ import React$1, { DetailedHTMLProps, ButtonHTMLAttributes, ReactNode, Dispatch, SetStateAction, InputHTMLAttributes, TextareaHTMLAttributes, TableHTMLAttributes } from 'react';
3
3
  import { GridValidRowModel } from '@mui/x-data-grid';
4
4
 
5
5
  interface Props$6 extends React.HTMLAttributes<HTMLDivElement> {
@@ -18,8 +18,8 @@ declare function Button({ className, size, color, children, icon, disabled, full
18
18
 
19
19
  type LocationItem = {
20
20
  location: string;
21
- name: string;
22
- icon?: JSX.Element;
21
+ name: JSX.Element | string | ReactNode;
22
+ icon?: JSX.Element | null | ReactNode;
23
23
  };
24
24
  declare function Container({ children, appName, menuList, navItems, leftPanel, footPanel, expandedFooter, expandedMenu, }: {
25
25
  appName?: React$1.ReactNode;