@data-c/ui 0.1.59 → 0.1.61

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 CHANGED
@@ -8,12 +8,13 @@ import { PaginationProps as PaginationProps$1, TransportableDataTableProps, Cred
8
8
  import * as _mui_material_styles from '@mui/material/styles';
9
9
  import { AvatarProps } from '@mui/material/Avatar';
10
10
  import { DialogComponent, DialogProps as DialogProps$2 } from '@toolpad/core';
11
+ export { useDialogs } from '@toolpad/core';
11
12
  import { GridActionsCellItemProps, GridColDef as GridColDef$1, DataGridProps, GridRowsProp, GridRowSelectionModel, GridCallbackDetails } from '@mui/x-data-grid';
12
13
 
13
14
  interface ButtonProps$2 extends ButtonProps$3 {
14
15
  isLoading?: boolean;
15
16
  }
16
- declare const Button: (props: ButtonProps$2) => react_jsx_runtime.JSX.Element;
17
+ declare const Button$1: (props: ButtonProps$2) => react_jsx_runtime.JSX.Element;
17
18
 
18
19
  declare function ButtonContainer(props: StackProps): react_jsx_runtime.JSX.Element;
19
20
 
@@ -820,4 +821,25 @@ declare const List: {
820
821
  Close: typeof PopoverClose;
821
822
  };
822
823
 
823
- export { AlterarLicenca, AlterarLicencaProps, AlterarSenha, AlterarSenhaProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button, ButtonContainer, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable$1 as DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DataTable as DataTableV2, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterApiContext, FilterApiContextProps, FilterContainer$1 as FilterContainer, FilterControl, FilterDataContext, FilterDataContextProps, FilterOptions, FilterProps, FilterProvider, FilterProviderProps, Flag, FormContainer, FormContainerProps, GridColDef, Header, Icon, LabelValue, LabelValueProps, List$1 as List, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
824
+ type ButtonGroupButtonProps = {
825
+ value?: string | number;
826
+ children: string;
827
+ isLoading?: boolean;
828
+ } & Omit<ButtonProps$3, 'children'>;
829
+ declare function ButtonGroupButton(props: ButtonGroupButtonProps): react_jsx_runtime.JSX.Element;
830
+
831
+ interface ButtonGroupRootProps {
832
+ onChange?: (value: string | number) => void;
833
+ value?: string | number;
834
+ isLoading?: boolean;
835
+ disableMemory?: boolean;
836
+ children: React__default.ReactElement<ButtonGroupButtonProps> | React__default.ReactElement<ButtonGroupButtonProps>[];
837
+ }
838
+ declare function ButtonGroupRoot(props: ButtonGroupRootProps): react_jsx_runtime.JSX.Element;
839
+
840
+ declare const Button: {
841
+ Root: typeof ButtonGroupRoot;
842
+ Button: typeof ButtonGroupButton;
843
+ };
844
+
845
+ export { AlterarLicenca, AlterarLicencaProps, AlterarSenha, AlterarSenhaProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button$1 as Button, ButtonContainer, Button as ButtonGroup, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable$1 as DataTable, DataTableOptions, DataTableOptionsProps, DataTableProps, DataTable as DataTableV2, DeleteContainer, DeleteContainerProps, Dialog$1 as Dialog, DialogProps, Dialog as DialogV2, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterApiContext, FilterApiContextProps, FilterContainer$1 as FilterContainer, FilterControl, FilterDataContext, FilterDataContextProps, FilterOptions, FilterProps, FilterProvider, FilterProviderProps, Flag, FormContainer, FormContainerProps, GridColDef, Header, Icon, LabelValue, LabelValueProps, List$1 as List, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };