@data-c/ui 0.1.35 → 0.1.37
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.ts +33 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -253,17 +253,17 @@ interface AlterarSenhaProps {
|
|
|
253
253
|
}
|
|
254
254
|
declare function AlterarSenha(props: AlterarSenhaProps): react_jsx_runtime.JSX.Element;
|
|
255
255
|
|
|
256
|
-
interface MenuItemProps {
|
|
256
|
+
interface MenuItemProps$1 {
|
|
257
257
|
id: string;
|
|
258
258
|
label: string;
|
|
259
|
-
items?: MenuItemProps[];
|
|
259
|
+
items?: MenuItemProps$1[];
|
|
260
260
|
link?: string;
|
|
261
261
|
icon?: ReactNode;
|
|
262
262
|
visible: boolean;
|
|
263
263
|
}
|
|
264
264
|
interface DrawerMenuProps extends DrawerProps {
|
|
265
265
|
width: number;
|
|
266
|
-
items: Array<MenuItemProps>;
|
|
266
|
+
items: Array<MenuItemProps$1>;
|
|
267
267
|
activeMenu?: string;
|
|
268
268
|
onMenuClick: (link: string) => void;
|
|
269
269
|
toggleMenu: (open?: boolean) => void;
|
|
@@ -483,4 +483,33 @@ declare const Icon: {
|
|
|
483
483
|
Profile: typeof IconUsers;
|
|
484
484
|
};
|
|
485
485
|
|
|
486
|
-
|
|
486
|
+
interface MenuItemProps {
|
|
487
|
+
id: string;
|
|
488
|
+
label: string;
|
|
489
|
+
items?: MenuItemProps[];
|
|
490
|
+
link?: string;
|
|
491
|
+
icon?: ReactNode;
|
|
492
|
+
visible?: boolean;
|
|
493
|
+
isNew?: boolean;
|
|
494
|
+
children?: ReactNode;
|
|
495
|
+
open?: boolean;
|
|
496
|
+
isFirstLevel?: boolean;
|
|
497
|
+
selected?: boolean;
|
|
498
|
+
onClick?: (link: string) => void;
|
|
499
|
+
}
|
|
500
|
+
declare function MenuItem(props: MenuItemProps): react_jsx_runtime.JSX.Element;
|
|
501
|
+
|
|
502
|
+
interface MenuRootProps {
|
|
503
|
+
children: ReactNode;
|
|
504
|
+
open: boolean;
|
|
505
|
+
toggleMenu: () => void;
|
|
506
|
+
onClickItem?: (link: string) => void;
|
|
507
|
+
}
|
|
508
|
+
declare function MenuRoot(props: MenuRootProps): react_jsx_runtime.JSX.Element;
|
|
509
|
+
|
|
510
|
+
declare const Menu: {
|
|
511
|
+
Root: typeof MenuRoot;
|
|
512
|
+
Item: typeof MenuItem;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export { AlterarSenha, AlterarSenhaProps, Avatar, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content, ContentProps, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, Header, Icon, LabelValue, LabelValueProps, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, theme };
|