@data-c/ui 0.1.45 → 0.1.47

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
@@ -354,6 +354,8 @@ declare function IconExpandable(props: IconExpandableProps): react_jsx_runtime.J
354
354
 
355
355
  declare function IconFilter(props: SvgIconProps): react_jsx_runtime.JSX.Element;
356
356
 
357
+ declare function IconUsers$1(props: SvgIconProps): react_jsx_runtime.JSX.Element;
358
+
357
359
  declare function IconHandShake(props: SvgIconProps): react_jsx_runtime.JSX.Element;
358
360
 
359
361
  declare function IconHelp(props: SvgIconProps): react_jsx_runtime.JSX.Element;
@@ -447,6 +449,7 @@ declare const Icon: {
447
449
  ChevronRight: typeof ChevronRight;
448
450
  Calendar: typeof IconCalendar;
449
451
  Save: typeof IconSave;
452
+ Profile: typeof IconUsers$1;
450
453
  };
451
454
 
452
455
  interface MenuItemProps {
@@ -579,6 +582,7 @@ interface FilterDataContextProps<T = any> {
579
582
  container?: HTMLElement;
580
583
  searchId?: string;
581
584
  }
585
+ declare const FilterDataContext: React__default.Context<FilterDataContextProps<any>>;
582
586
  interface FilterApiContextProps<T = any> {
583
587
  setContainer: (container: HTMLElement) => void;
584
588
  openFilter: (event: React__default.MouseEvent<HTMLElement>) => void;
@@ -591,6 +595,11 @@ interface FilterApiContextProps<T = any> {
591
595
  deleteFilterValue?: (filterName: string) => void;
592
596
  deleteAllFilterValues?: () => void;
593
597
  }
598
+ declare const FilterApiContext: React__default.Context<FilterApiContextProps<any>>;
599
+ interface FilterOptions<T> {
600
+ label?: string;
601
+ value?: T;
602
+ }
594
603
  interface FilterProviderProps<T = any> {
595
604
  children: ReactNode;
596
605
  filterValues?: T;
@@ -761,4 +770,4 @@ declare const DataTable: {
761
770
  Root: typeof Root;
762
771
  };
763
772
 
764
- export { 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, FilterContainer$1 as FilterContainer, FilterControl, FilterProps, Flag, FormContainer, FormContainerProps, GridColDef, Header, Icon, LabelValue, LabelValueProps, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };
773
+ export { 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, Menu, MenuItemProps$1 as MenuItemProps, MioAuth, MioAuthProps, OptionStyles, PageTitle, PasswordTextField, Profile, ProfileProps, SearchTextField, Surface, Tooltip, TooltipProps, Transporter, TransporterProps, renderMenuItems, theme, useFilter, useFilterApi };