@data-c/ui 0.2.16 → 0.2.18

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
@@ -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,33 @@ interface VersaoProps {
987
988
  }
988
989
  declare function NotaVersao(props: VersaoProps): react_jsx_runtime.JSX.Element;
989
990
 
990
- 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, 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 };
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
+ declare function DatePickerProvider({ children, }: {
1000
+ children: React.ReactNode;
1001
+ }): react_jsx_runtime.JSX.Element;
1002
+
1003
+ interface DateRange {
1004
+ tipo: string;
1005
+ firstDate: string | null;
1006
+ secondDate: string | null;
1007
+ }
1008
+ interface DateRangePickerProps {
1009
+ value?: DateRange;
1010
+ onChange?: (value: DateRange) => void;
1011
+ renderFieldSet?: boolean;
1012
+ }
1013
+ declare function DateRangePicker(props: DateRangePickerProps): react_jsx_runtime.JSX.Element;
1014
+ declare namespace DateRangePicker {
1015
+ var defaultProps: {
1016
+ renderFieldSet: boolean;
1017
+ };
1018
+ }
1019
+
1020
+ 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, DatePickerProvider, 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 };