@data-c/ui 0.2.16 → 0.2.17
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 +27 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { GridColDef as GridColDef$1, DataGridProps, GridRowsProp, GridRowSelecti
|
|
|
12
12
|
import * as LucideIcons from 'lucide-react';
|
|
13
13
|
import { LucideProps } from 'lucide-react';
|
|
14
14
|
import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
|
|
15
|
+
import { DatePickerProps } from '@mui/x-date-pickers';
|
|
15
16
|
|
|
16
17
|
interface ButtonProps$2 extends ButtonProps$3 {
|
|
17
18
|
isLoading?: boolean;
|
|
@@ -987,4 +988,29 @@ interface VersaoProps {
|
|
|
987
988
|
}
|
|
988
989
|
declare function NotaVersao(props: VersaoProps): react_jsx_runtime.JSX.Element;
|
|
989
990
|
|
|
990
|
-
|
|
991
|
+
interface IDatePickerProps extends Omit<DatePickerProps, 'onChange' | 'value'> {
|
|
992
|
+
error?: boolean | string | null;
|
|
993
|
+
onChange: (date: string | null) => void;
|
|
994
|
+
value?: string | null;
|
|
995
|
+
fromFormat?: string;
|
|
996
|
+
}
|
|
997
|
+
declare function DatePicker(props: IDatePickerProps): react_jsx_runtime.JSX.Element;
|
|
998
|
+
|
|
999
|
+
interface DateRange {
|
|
1000
|
+
tipo: string;
|
|
1001
|
+
firstDate: string | null;
|
|
1002
|
+
secondDate: string | null;
|
|
1003
|
+
}
|
|
1004
|
+
interface DateRangePickerProps {
|
|
1005
|
+
value?: DateRange;
|
|
1006
|
+
onChange?: (value: DateRange) => void;
|
|
1007
|
+
renderFieldSet?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
declare function DateRangePicker(props: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1010
|
+
declare namespace DateRangePicker {
|
|
1011
|
+
var defaultProps: {
|
|
1012
|
+
renderFieldSet: boolean;
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export { AlterarLicenca, AlterarLicencaProps, AlterarSenha, AlterarSenhaProps, Article, Autocomplete, AutocompleteProps, Avatar, Breadcrumbs, BreadcrumbsItem, BreadcrumbsProps, Button$1 as Button, ButtonContainer, Button as ButtonGroup, CEPTextField, CEPTextFieldProps, Card, Checkbox, CheckboxProps, ColorsGrid, Content$1 as Content, ContentProps, ContentTitle, CurrencyCellStyle, CurrencyTextField, DataTable, DataTableOptions, DataTableOptionsProps, DatePicker, DateRange, DateRangePicker, Dialog, DocumentoTextField, DocumentoTextFieldProps, DrawerMenu, DrawerMenuProps, Editable, EditableProps, Filter, FilterApiContext, FilterApiContextProps, FilterContainer$1 as FilterContainer, FilterControl, FilterDataContext, FilterDataContextProps, FilterOptions, FilterProps, FilterProvider, FilterProviderProps, Flag, GridColDef, Header, Icon, LabelValue, LabelValueProps, List$1 as List, LucideIcon as LucidIcon, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, NotaVersao, OptionStyles, Page, PageTitle$1 as PageTitle, PasswordTextField, List as Popover, Profile, ProfileProps, SearchTextField, Surface, TefeloneTextField, TefeloneTextFieldProps, TipoDocumento, TipoTelefone, Title, TitleProps, TitleVariant, Tooltip, TooltipProps, TransportableDataTableProps, Transporter, VersaoProps, renderMenuItems, theme, useFilter, useFilterApi, useMenu, useTransporter };
|