grep-components 1.24.0 → 1.25.0-GREPF-2060.1

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.
Files changed (69) hide show
  1. package/dist/components/AppBar/AppBar.d.ts +1 -1
  2. package/dist/components/AppBar/MobileAppBar.d.ts +1 -1
  3. package/dist/components/AppBar/types.d.ts +2 -2
  4. package/dist/components/AppBarNavList/styles/index.d.ts +6 -2
  5. package/dist/components/AppBarProfile/styles/index.d.ts +3 -1
  6. package/dist/components/ConfirmationDialog/index.d.ts +4 -2
  7. package/dist/components/ConfirmationDialog/styles/index.d.ts +3 -1
  8. package/dist/components/ContainedLinkList/styles/index.d.ts +3 -1
  9. package/dist/components/DropdownMenu/components/collapsable-menu-item.d.ts +1 -1
  10. package/dist/components/DropdownMenu/components/tooltip-menu-item.d.ts +1 -1
  11. package/dist/components/DropdownMenu/index.d.ts +4 -4
  12. package/dist/components/DropdownMenu/styles/collapsable-menu-item.style.d.ts +3 -1
  13. package/dist/components/DropdownMenu/styles/dropdown-menu.style.d.ts +3 -1
  14. package/dist/components/Footer/styles/index.d.ts +3 -1
  15. package/dist/components/GDPR/index.d.ts +4 -2
  16. package/dist/components/GDPR/stories/GDPR.stories.d.ts +2 -2
  17. package/dist/components/GDPR/styles/index.d.ts +3 -1
  18. package/dist/components/GrepCrumbs/styles/styles.d.ts +3 -1
  19. package/dist/components/GrepDatePicker/index.d.ts +1 -1
  20. package/dist/components/GrepDateRange/index.d.ts +1 -1
  21. package/dist/components/GrepDialog/index.d.ts +4 -2
  22. package/dist/components/GrepEditor/components/buttons/InlineButton.d.ts +1 -1
  23. package/dist/components/GrepEditor/components/buttons/button.d.ts +2 -2
  24. package/dist/components/GrepEditor/components/editor.d.ts +2 -2
  25. package/dist/components/GrepEditor/components/toolbars/floating-toolbar.d.ts +1 -1
  26. package/dist/components/GrepEditor/index.d.ts +1 -1
  27. package/dist/components/GrepEditor/misc/handlers/key.d.ts +1 -1
  28. package/dist/components/GrepEditor/misc/utils.d.ts +1 -1
  29. package/dist/components/GrepEditor/styles/buttonStyles.d.ts +3 -1
  30. package/dist/components/GrepEditor/styles/editorStyles.d.ts +3 -1
  31. package/dist/components/GrepEditor/styles/toolbarStyles.d.ts +3 -1
  32. package/dist/components/GrepInput/index.d.ts +1 -1
  33. package/dist/components/GrepTable/components/GrepPaginationActions.d.ts +1 -1
  34. package/dist/components/GrepTable/components/grep-table-cell.d.ts +2 -2
  35. package/dist/components/GrepTable/components/grep-table-header-cell.d.ts +1 -1
  36. package/dist/components/GrepTable/components/grep-table-header.d.ts +1 -1
  37. package/dist/components/GrepTable/components/grep-table-placeholder.d.ts +1 -1
  38. package/dist/components/GrepTable/components/grep-table-row.d.ts +1 -1
  39. package/dist/components/GrepTable/index.d.ts +4 -2
  40. package/dist/components/GrepTable/styles/index.d.ts +9 -3
  41. package/dist/components/GrepTableCard/index.d.ts +2 -2
  42. package/dist/components/GrepTableCard/styles/index.d.ts +3 -1
  43. package/dist/components/GreyCover/index.d.ts +1 -0
  44. package/dist/components/GreyCover/styles/index.d.ts +3 -1
  45. package/dist/components/NavGuard/index.d.ts +2 -2
  46. package/dist/components/NavGuard/stories/_scaffold.d.ts +1 -1
  47. package/dist/components/NavGuard/stories/standard.d.ts +2 -2
  48. package/dist/components/ProfileInfo/styles/index.d.ts +3 -1
  49. package/dist/components/SearchBar/styles/index.d.ts +3 -1
  50. package/dist/components/ServiceMessage/index.d.ts +3 -3
  51. package/dist/components/ServiceMessage/styles/index.d.ts +3 -1
  52. package/dist/components/Sidebar/index.d.ts +2 -2
  53. package/dist/components/Sidebar/styles/index.d.ts +3 -1
  54. package/dist/components/SortableTable/styles/row.style.d.ts +3 -1
  55. package/dist/components/ToC/context/provider.d.ts +1 -1
  56. package/dist/components/ToC/stories/_scaffold.d.ts +1 -1
  57. package/dist/components/ToC/stories/_text.d.ts +2 -2
  58. package/dist/components/ToC/stories/standard.d.ts +2 -2
  59. package/dist/components/ToC/styles/nav-tree-node.style.d.ts +3 -1
  60. package/dist/components/ToC/styles/nav-tree.style.d.ts +3 -1
  61. package/dist/components/ToC/styles/nav.style.d.ts +3 -1
  62. package/dist/components/ToC/utils/tree-builder.d.ts +1 -1
  63. package/dist/hooks/use-date.d.ts +2 -2
  64. package/dist/hooks/use-debounce.d.ts +1 -1
  65. package/dist/index.js +35 -73
  66. package/dist/index.js.map +1 -1
  67. package/dist/styling/makeStyles.d.ts +17 -23
  68. package/dist/utils/dateHelper.d.ts +2 -2
  69. package/package.json +11 -10
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
3
- type AppBarProps = {
3
+ declare type AppBarProps = {
4
4
  isProd: boolean;
5
5
  username: string;
6
6
  currentPath: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
3
- type Props = {
3
+ declare type Props = {
4
4
  userMenuItems: UserMenuItem[];
5
5
  menuItems: IAuthorizedPage[];
6
6
  colors: v0colors;
@@ -1,4 +1,4 @@
1
- export type UserMenuItem = {
1
+ export declare type UserMenuItem = {
2
2
  id: string;
3
3
  label: string;
4
4
  action?: () => void;
@@ -16,7 +16,7 @@ export interface IAuthorizedPage {
16
16
  link?: boolean;
17
17
  accessLink?: boolean;
18
18
  }
19
- export type v0colors = {
19
+ export declare type v0colors = {
20
20
  body: string;
21
21
  headerBackgroundColor: string;
22
22
  borderColor: string;
@@ -1,6 +1,8 @@
1
1
  import { Theme } from '@mui/material';
2
2
  export declare const useStyles: (params: void, styleOverrides?: {
3
- props: any;
3
+ props: {
4
+ classes?: Record<string, string> | undefined;
5
+ } & Record<string, unknown>;
4
6
  ownerState?: Record<string, unknown> | undefined;
5
7
  } | undefined) => {
6
8
  classes: Record<"tabs" | "tab" | "indicator", string>;
@@ -9,7 +11,9 @@ export declare const useStyles: (params: void, styleOverrides?: {
9
11
  cx: import("tss-react").Cx;
10
12
  };
11
13
  export declare const useMobileStyles: (params: void, styleOverrides?: {
12
- props: any;
14
+ props: {
15
+ classes?: Record<string, string> | undefined;
16
+ } & Record<string, unknown>;
13
17
  ownerState?: Record<string, unknown> | undefined;
14
18
  } | undefined) => {
15
19
  classes: Record<"mobileNavList", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"user", string>;
@@ -1,4 +1,6 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { ConfirmationOptions } from './components/dialog';
3
- export declare const ConfirmationServiceProvider: React.FC;
3
+ export declare const ConfirmationServiceProvider: React.FC<{
4
+ children: ReactNode;
5
+ }>;
4
6
  export declare const useConfirmation: () => (options: ConfirmationOptions) => Promise<void>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"discard", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container" | "title", string>;
@@ -14,7 +14,7 @@ declare class CollapsableMenuStatusEvent {
14
14
  constructor(type: ToggleState, currentTarget: React.Ref<any>);
15
15
  preventDefault(): void;
16
16
  }
17
- export type ToggleState = 'collapse' | 'expand';
17
+ export declare type ToggleState = 'collapse' | 'expand';
18
18
  export interface Properties extends Omit<MenuItemProps, 'button'> {
19
19
  items?: React.ReactNode;
20
20
  tooltipText?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MenuItemProps } from '@mui/material';
3
- type Props = MenuItemProps & {
3
+ declare type Props = MenuItemProps & {
4
4
  tooltipText: string;
5
5
  };
6
6
  export declare const TooltipMenuItem: React.FC<Props>;
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { MenuItemProps, MenuProps } from '@mui/material';
3
- type BooleanFunction<T> = (context?: T) => boolean;
4
- export type DropdownMenuItem<T> = Omit<MenuItemProps, 'disabled'> & {
3
+ declare type BooleanFunction<T> = (context?: T) => boolean;
4
+ export declare type DropdownMenuItem<T> = Omit<MenuItemProps, 'disabled'> & {
5
5
  label: string;
6
6
  tooltipText?: string;
7
7
  disabled?: BooleanFunction<T> | boolean;
@@ -12,5 +12,5 @@ export interface DropdownMenuProps<T> extends MenuProps {
12
12
  context?: T;
13
13
  menuItems: Array<DropdownMenuItem<T>>;
14
14
  }
15
- declare const DropdownMenu: <T>({ context, menuItems, ...menuProps }: DropdownMenuProps<T>) => React.JSX.Element;
15
+ declare const DropdownMenu: <T>({ context, menuItems, ...menuProps }: DropdownMenuProps<T>) => JSX.Element;
16
16
  export default DropdownMenu;
@@ -1,7 +1,9 @@
1
1
  export declare const useStyles: (params: {
2
2
  open: boolean;
3
3
  }, styleOverrides?: {
4
- props: any;
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
5
7
  ownerState?: Record<string, unknown> | undefined;
6
8
  } | undefined) => {
7
9
  classes: Record<"root" | "subMenu" | "expander", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"selected", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useFooterStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"footer" | "content" | "serviceNameText" | "list" | "item" | "itemText" | "itemBtn", string>;
@@ -1,3 +1,5 @@
1
1
  import * as React from 'react';
2
- declare const _default: React.ComponentType<{}>;
3
- export default _default;
2
+ declare const GDPR: React.FC<{
3
+ children: React.ReactNode;
4
+ }>;
5
+ export default GDPR;
@@ -1,2 +1,2 @@
1
- import * as React from 'react';
2
- export declare const renderGDPRText: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const renderGDPRText: () => JSX.Element;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container" | "content" | "title" | "body" | "icon", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container" | "current" | "link", string>;
@@ -4,7 +4,7 @@ import { DatePickerProps } from '@mui/x-date-pickers';
4
4
  import { TextFieldProps } from '@mui/material';
5
5
  import '../../utils/dateHelper';
6
6
  import { ParseableDate } from '../../utils/dateHelper';
7
- type InputProps = Pick<TextFieldProps, 'id' | 'variant' | 'label' | 'fullWidth' | 'placeholder' | 'helperText' | 'required' | 'onFocus' | 'margin' | 'sx'>;
7
+ declare type InputProps = Pick<TextFieldProps, 'id' | 'variant' | 'label' | 'fullWidth' | 'placeholder' | 'helperText' | 'required' | 'onFocus' | 'margin' | 'sx'>;
8
8
  export interface GrepDatePickerProps extends Omit<DatePickerProps<Dayjs, Dayjs>, 'value' | 'renderInput'>, InputProps {
9
9
  value?: ParseableDate | null;
10
10
  errorMessage?: string;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { GridSpacing } from '@mui/material';
3
3
  import { DateRangeValue } from '../../utils/dateHelper';
4
4
  import { GrepDatePickerProps } from '../GrepDatePicker';
5
- type CommonProperties = Pick<GrepDatePickerProps, 'variant' | 'margin' | 'sx'>;
5
+ declare type CommonProperties = Pick<GrepDatePickerProps, 'variant' | 'margin' | 'sx'>;
6
6
  interface Props extends CommonProperties {
7
7
  from: Omit<GrepDatePickerProps, 'onChange'>;
8
8
  to: Omit<GrepDatePickerProps, 'onChange'>;
@@ -1,4 +1,6 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { GrepDialogOptions } from './dialog';
3
- export declare const GrepDialogServiceProvider: React.FC;
3
+ export declare const GrepDialogServiceProvider: React.FC<{
4
+ children: ReactNode;
5
+ }>;
4
6
  export declare const useGrepDialog: () => (options: GrepDialogOptions) => void;
@@ -6,6 +6,6 @@ interface Properties extends Omit<ToggleButtonProps, 'value' | 'type'> {
6
6
  editor: React.MutableRefObject<Editor>;
7
7
  type: InlineStyle;
8
8
  }
9
- type Component = React.FunctionComponent<React.PropsWithChildren<Properties>>;
9
+ declare type Component = React.FunctionComponent<React.PropsWithChildren<Properties>>;
10
10
  declare const InlineButton: Component;
11
11
  export default InlineButton;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export type InlineStyle = 'BOLD' | 'ITALIC' | 'STRIKETHROUGH' | string;
2
+ export declare type InlineStyle = 'BOLD' | 'ITALIC' | 'STRIKETHROUGH' | string;
3
3
  export interface Button {
4
4
  type: string;
5
5
  children: React.ReactNode;
@@ -8,5 +8,5 @@ export declare enum ButtonType {
8
8
  bold = "BOLD",
9
9
  italic = "ITALIC"
10
10
  }
11
- export type Style = keyof typeof ButtonType;
11
+ export declare type Style = keyof typeof ButtonType;
12
12
  export declare const createButton: (style: Style) => Button;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Editor, ContentState, DraftBlockRenderMap } from 'draft-js';
3
3
  import { ToolbarPropperties } from './toolbars';
4
4
  import { Button, Style } from './buttons';
5
- export type ContentChanged = (content: ContentState) => void;
5
+ export declare type ContentChanged = (content: ContentState) => void;
6
6
  export interface GrepEditor extends Editor {
7
7
  editor: HTMLElement;
8
8
  editorContainer: HTMLElement;
@@ -33,6 +33,6 @@ export interface Properties {
33
33
  */
34
34
  canInlineStyle?: boolean;
35
35
  }
36
- type Component = React.FunctionComponent<Properties>;
36
+ declare type Component = React.FunctionComponent<Properties>;
37
37
  export declare const EditorComponent: Component;
38
38
  export default EditorComponent;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ToolbarPropperties } from '.';
3
- type Component = React.FunctionComponent<ToolbarPropperties>;
3
+ declare type Component = React.FunctionComponent<ToolbarPropperties>;
4
4
  export declare const FloatingToolbar: Component;
5
5
  export default FloatingToolbar;
@@ -7,6 +7,6 @@ interface Properties extends GrepEditorProps {
7
7
  }
8
8
  export * from './misc/utils';
9
9
  export { ContentState };
10
- type Component = React.FunctionComponent<Properties>;
10
+ declare type Component = React.FunctionComponent<Properties>;
11
11
  declare const GrepEditor: Component;
12
12
  export default GrepEditor;
@@ -1,6 +1,6 @@
1
1
  import { EditorState, DraftEditorCommand, DraftHandleValue } from 'draft-js';
2
2
  import { Style } from '../../components/buttons';
3
- export type CustomDraftCommand = DraftEditorCommand | 'shift-split-block';
3
+ export declare type CustomDraftCommand = DraftEditorCommand | 'shift-split-block';
4
4
  export declare const customKeyHandler: (setEditorState: (state: EditorState) => void) => (command: CustomDraftCommand, editorState: EditorState) => DraftHandleValue;
5
5
  export declare const keyHandler: (setEditorState: (state: EditorState) => void, allowedStyles?: Array<Style>) => (command: CustomDraftCommand, editorState: EditorState) => DraftHandleValue;
6
6
  export default keyHandler;
@@ -2,7 +2,7 @@ import { DraftDecorator, ContentState, EditorState } from 'draft-js';
2
2
  import { Options as Convert2htmlOptions } from 'draft-js-export-html';
3
3
  import { InlineStyle } from '../components/buttons';
4
4
  export declare const createState: (content?: string, decorators?: DraftDecorator[]) => EditorState;
5
- export type ParsedContent = {
5
+ export declare type ParsedContent = {
6
6
  txt: string;
7
7
  html: string;
8
8
  };
@@ -1,5 +1,7 @@
1
1
  export declare const useButtonStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"btn" | "btnSelected", string>;
@@ -4,7 +4,9 @@ interface Properties {
4
4
  readOnly?: boolean;
5
5
  }
6
6
  export declare const useEditorStyles: (params: Properties, styleOverrides?: {
7
- props: any;
7
+ props: {
8
+ classes?: Record<string, string> | undefined;
9
+ } & Record<string, unknown>;
8
10
  ownerState?: Record<string, unknown> | undefined;
9
11
  } | undefined) => {
10
12
  classes: Record<"root" | "legend" | "editor" | "label" | "helpertext" | "charcount", string>;
@@ -1,7 +1,9 @@
1
1
  export declare const useFloatingToolbarStyles: (params: {
2
2
  isVisible: boolean;
3
3
  }, styleOverrides?: {
4
- props: any;
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
5
7
  ownerState?: Record<string, unknown> | undefined;
6
8
  } | undefined) => {
7
9
  classes: Record<"root", string>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { TextFieldProps } from '@mui/material';
3
- export type GrepInputProps = TextFieldProps & {
3
+ export declare type GrepInputProps = TextFieldProps & {
4
4
  shrink?: boolean;
5
5
  errorMessage?: string;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Theme } from '@mui/material';
3
- export type PaginationActionsProps = {
3
+ export declare type PaginationActionsProps = {
4
4
  count: number;
5
5
  onPageChange: (event: React.MouseEvent<HTMLElement> | null, page: number) => void;
6
6
  page: number;
@@ -8,7 +8,7 @@ export interface Properties<T> extends TableCellProps {
8
8
  selected?: boolean;
9
9
  expanded?: boolean;
10
10
  }
11
- type ComponentProperties<T> = PropsWithChildren<Properties<T>>;
12
- export type Component<T> = FunctionComponent<ComponentProperties<T>>;
11
+ declare type ComponentProperties<T> = PropsWithChildren<Properties<T>>;
12
+ export declare type Component<T> = FunctionComponent<ComponentProperties<T>>;
13
13
  export declare const GrepTableRow: Component<any>;
14
14
  export default GrepTableRow;
@@ -6,6 +6,6 @@ interface Properties<T> extends TableSortLabelProps {
6
6
  onSortBy?: (row: T) => void;
7
7
  empty?: boolean;
8
8
  }
9
- type Component<T> = React.FunctionComponent<Properties<T>>;
9
+ declare type Component<T> = React.FunctionComponent<Properties<T>>;
10
10
  export declare const TableHeaderCell: Component<any>;
11
11
  export default TableHeaderCell;
@@ -9,6 +9,6 @@ interface Properties<T> extends TableHeadProps {
9
9
  onSortBy?: (col: TableColumn<T>) => any;
10
10
  dropdownItems?: Array<DropdownMenuItem<T>>;
11
11
  }
12
- type Component<T> = React.FunctionComponent<Properties<T>>;
12
+ declare type Component<T> = React.FunctionComponent<Properties<T>>;
13
13
  export declare const TableHeader: Component<any>;
14
14
  export default TableHeader;
@@ -5,6 +5,6 @@ interface Properties<T> extends Pick<TableCellProps, 'padding'> {
5
5
  columns: Array<TableColumn<T>>;
6
6
  text?: string;
7
7
  }
8
- type Component<T> = React.FunctionComponent<Properties<T>>;
8
+ declare type Component<T> = React.FunctionComponent<Properties<T>>;
9
9
  export declare const GrepTablePlaceholder: Component<any>;
10
10
  export default GrepTablePlaceholder;
@@ -10,6 +10,6 @@ interface Properties<T> extends TableRowProps, Pick<TableCellProperties<T>, 'var
10
10
  underlineOnFocus?: boolean;
11
11
  expanded?: boolean;
12
12
  }
13
- type Component<T> = React.FunctionComponent<Properties<T>>;
13
+ declare type Component<T> = React.FunctionComponent<Properties<T>>;
14
14
  export declare const GrepTableRow: Component<any>;
15
15
  export default GrepTableRow;
@@ -51,7 +51,9 @@ interface StyleProps {
51
51
  showHeader?: boolean;
52
52
  }
53
53
  export declare const useStyles: (params: StyleProps, styleOverrides?: {
54
- props: any;
54
+ props: {
55
+ classes?: Record<string, string> | undefined;
56
+ } & Record<string, unknown>;
55
57
  ownerState?: Record<string, unknown> | undefined;
56
58
  } | undefined) => {
57
59
  classes: Record<"table" | "body" | "header", string>;
@@ -66,6 +68,6 @@ export declare const useStyles: (params: StyleProps, styleOverrides?: {
66
68
  * @todo enhance page handling
67
69
  *
68
70
  */
69
- export declare const GrepTable: <T>({ placeholderText, dropdownItems, isRowDisabled, pagination, outlined, columns, header, data, onSelectedRowChange, sortBy, sortDirection, onSortBy, onRowClick, size, caption, stickyHeader, padding, disableSelectOnClick, menuButtonLabel, underlineOnFocus, rowTabIndex, ...props }: GrepTableProps<T>) => React.JSX.Element;
71
+ export declare const GrepTable: <T>({ placeholderText, dropdownItems, isRowDisabled, pagination, outlined, columns, header, data, onSelectedRowChange, sortBy, sortDirection, onSortBy, onRowClick, size, caption, stickyHeader, padding, disableSelectOnClick, menuButtonLabel, underlineOnFocus, rowTabIndex, ...props }: GrepTableProps<T>) => JSX.Element;
70
72
  export { GrepTableRow };
71
73
  export default GrepTable;
@@ -1,6 +1,8 @@
1
1
  import { TableColumn } from '..';
2
2
  export declare const usePaginationActionStyles: (params: void, styleOverrides?: {
3
- props: any;
3
+ props: {
4
+ classes?: Record<string, string> | undefined;
5
+ } & Record<string, unknown>;
4
6
  ownerState?: Record<string, unknown> | undefined;
5
7
  } | undefined) => {
6
8
  classes: Record<"button" | "textButton", string>;
@@ -9,7 +11,9 @@ export declare const usePaginationActionStyles: (params: void, styleOverrides?:
9
11
  cx: import("tss-react").Cx;
10
12
  };
11
13
  export declare const usePaginationStyles: (params: void, styleOverrides?: {
12
- props: any;
14
+ props: {
15
+ classes?: Record<string, string> | undefined;
16
+ } & Record<string, unknown>;
13
17
  ownerState?: Record<string, unknown> | undefined;
14
18
  } | undefined) => {
15
19
  classes: Record<"toolbar" | "selectLabel" | "displayedRows" | "spacer", string>;
@@ -20,7 +24,9 @@ export declare const usePaginationStyles: (params: void, styleOverrides?: {
20
24
  export declare const useTableHeaderStyles: (params: {
21
25
  column: TableColumn<any>;
22
26
  }, styleOverrides?: {
23
- props: any;
27
+ props: {
28
+ classes?: Record<string, string> | undefined;
29
+ } & Record<string, unknown>;
24
30
  ownerState?: Record<string, unknown> | undefined;
25
31
  } | undefined) => {
26
32
  classes: Record<"th", string>;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import { GrepTableProps } from '../GrepTable';
3
3
  interface GrepTableCardProps<T> extends GrepTableProps<T> {
4
4
  title: string;
5
5
  }
6
- declare const GrepTableCard: <T>(props: GrepTableCardProps<T>) => React.JSX.Element;
6
+ declare const GrepTableCard: <T>(props: GrepTableCardProps<T>) => JSX.Element;
7
7
  export default GrepTableCard;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container" | "title", string>;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface GreyCoverProps {
3
3
  elevation?: boolean;
4
+ children?: React.ReactNode;
4
5
  }
5
6
  declare const _default: React.ComponentType<GreyCoverProps>;
6
7
  export default _default;
@@ -1,7 +1,9 @@
1
1
  export declare const useStyles: (params: {
2
2
  elevation?: boolean | undefined;
3
3
  }, styleOverrides?: {
4
- props: any;
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
5
7
  ownerState?: Record<string, unknown> | undefined;
6
8
  } | undefined) => {
7
9
  classes: Record<"cover", string>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  export interface NavGuardProperties {
3
3
  when: boolean;
4
4
  title: string;
@@ -10,5 +10,5 @@ export interface NavGuardProperties {
10
10
  onCancel?: () => void;
11
11
  onSave?: () => void;
12
12
  }
13
- declare const NavGuard: ({ when, title, txt, txtSave, txtCancel, txtDiscard, onSave, onCancel, onDiscard, }: NavGuardProperties) => React.JSX.Element;
13
+ declare const NavGuard: ({ when, title, txt, txtSave, txtCancel, txtDiscard, onSave, onCancel, onDiscard, }: NavGuardProperties) => JSX.Element;
14
14
  export default NavGuard;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: ({ children }: {
3
3
  children: React.ReactNode;
4
- }) => React.JSX.Element;
4
+ }) => JSX.Element;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
3
  export default _default;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container", string>;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"outer" | "icon" | "input" | "helptext", string>;
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- type Props = {
1
+ /// <reference types="react" />
2
+ declare type Props = {
3
3
  id: number;
4
4
  message: string;
5
5
  isPublic?: boolean;
6
6
  onDismiss?: (id: number) => void;
7
7
  };
8
- declare const ServiceMessage: ({ id, message, isPublic, onDismiss }: Props) => React.JSX.Element;
8
+ declare const ServiceMessage: ({ id, message, isPublic, onDismiss }: Props) => JSX.Element;
9
9
  export default ServiceMessage;
@@ -1,5 +1,7 @@
1
1
  declare const _default: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"message" | "messageText" | "messageType" | "warning" | "close" | "button", string>;
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import { NavigationProps } from '..';
3
3
  export interface SidebarProps {
4
4
  currentPageId?: number;
5
5
  pages: NavigationProps[];
6
6
  onPageClick: (page: NavigationProps) => any;
7
7
  }
8
- declare const Sidebar: ({ pages, onPageClick, currentPageId }: SidebarProps) => React.JSX.Element;
8
+ declare const Sidebar: ({ pages, onPageClick, currentPageId }: SidebarProps) => JSX.Element;
9
9
  export default Sidebar;
@@ -1,5 +1,7 @@
1
1
  export declare const useStyles: (params: void, styleOverrides?: {
2
- props: any;
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
3
5
  ownerState?: Record<string, unknown> | undefined;
4
6
  } | undefined) => {
5
7
  classes: Record<"container" | "text" | "item" | "icon" | "selected", string>;
@@ -1,7 +1,9 @@
1
1
  export declare const useStyles: (params: {
2
2
  isDragging: boolean;
3
3
  }, styleOverrides?: {
4
- props: any;
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
5
7
  ownerState?: Record<string, unknown> | undefined;
6
8
  } | undefined) => {
7
9
  classes: Record<"row", string>;