grep-components 1.10.0 → 1.11.0

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 (28) hide show
  1. package/dist/components/AppBarNavList/styles/index.d.ts +12 -2
  2. package/dist/components/AppBarProfile/styles/index.d.ts +6 -1
  3. package/dist/components/ConfirmationDialog/styles/index.d.ts +6 -1
  4. package/dist/components/ContainedLinkList/styles/index.d.ts +6 -1
  5. package/dist/components/DropdownMenu/styles/collapsable-menu-item.style.d.ts +6 -1
  6. package/dist/components/DropdownMenu/styles/dropdown-menu.style.d.ts +6 -1
  7. package/dist/components/Footer/styles/index.d.ts +6 -1
  8. package/dist/components/GDPR/styles/index.d.ts +6 -1
  9. package/dist/components/GrepCrumbs/styles/styles.d.ts +6 -1
  10. package/dist/components/GrepEditor/styles/buttonStyles.d.ts +6 -1
  11. package/dist/components/GrepEditor/styles/editorStyles.d.ts +6 -1
  12. package/dist/components/GrepEditor/styles/toolbarStyles.d.ts +6 -1
  13. package/dist/components/GrepTable/index.d.ts +6 -1
  14. package/dist/components/GrepTable/styles/index.d.ts +18 -3
  15. package/dist/components/GrepTableCard/styles/index.d.ts +6 -1
  16. package/dist/components/GreyCover/styles/index.d.ts +6 -1
  17. package/dist/components/ProfileInfo/styles/index.d.ts +6 -1
  18. package/dist/components/SearchBar/styles/index.d.ts +6 -1
  19. package/dist/components/ServiceMessage/styles/index.d.ts +6 -1
  20. package/dist/components/Sidebar/styles/index.d.ts +6 -1
  21. package/dist/components/SortableTable/styles/row.style.d.ts +6 -1
  22. package/dist/components/ToC/styles/nav-tree-node.style.d.ts +6 -1
  23. package/dist/components/ToC/styles/nav-tree.style.d.ts +6 -1
  24. package/dist/components/ToC/styles/nav.style.d.ts +6 -1
  25. package/dist/index.js +253 -237
  26. package/dist/index.js.map +1 -1
  27. package/dist/styling/makeStyles.d.ts +11 -4
  28. package/package.json +8 -8
@@ -1,11 +1,21 @@
1
1
  import { Theme } from '@mui/material';
2
- export declare const useStyles: (params: void) => {
2
+ export declare const useStyles: (params: void, styleOverrides?: {
3
+ props: {
4
+ classes?: Record<string, string> | undefined;
5
+ } & Record<string, unknown>;
6
+ ownerState?: Record<string, unknown> | undefined;
7
+ } | undefined) => {
3
8
  classes: Record<"tabs" | "tab" | "indicator", string>;
4
9
  theme: Theme;
5
10
  css: import("tss-react").Css;
6
11
  cx: import("tss-react").Cx;
7
12
  };
8
- export declare const useMobileStyles: (params: void) => {
13
+ export declare const useMobileStyles: (params: void, styleOverrides?: {
14
+ props: {
15
+ classes?: Record<string, string> | undefined;
16
+ } & Record<string, unknown>;
17
+ ownerState?: Record<string, unknown> | undefined;
18
+ } | undefined) => {
9
19
  classes: Record<"mobileNavList", string>;
10
20
  theme: Theme;
11
21
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"user", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"discard", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"container" | "title", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,6 +1,11 @@
1
1
  export declare const useStyles: (params: {
2
2
  open: boolean;
3
- }) => {
3
+ }, styleOverrides?: {
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
7
+ ownerState?: Record<string, unknown> | undefined;
8
+ } | undefined) => {
4
9
  classes: Record<"root" | "subMenu" | "expander", string>;
5
10
  theme: import("@mui/material").Theme;
6
11
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"selected", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useFooterStyles: (params: void) => {
1
+ export declare const useFooterStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"footer" | "list" | "item" | "itemText" | "itemBtn", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"container" | "content" | "title" | "body" | "icon", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"container" | "current" | "link", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useButtonStyles: (params: void) => {
1
+ export declare const useButtonStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"btn" | "btnSelected", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -3,7 +3,12 @@ interface Properties {
3
3
  hasContent: boolean;
4
4
  readOnly?: boolean;
5
5
  }
6
- export declare const useEditorStyles: (params: Properties) => {
6
+ export declare const useEditorStyles: (params: Properties, styleOverrides?: {
7
+ props: {
8
+ classes?: Record<string, string> | undefined;
9
+ } & Record<string, unknown>;
10
+ ownerState?: Record<string, unknown> | undefined;
11
+ } | undefined) => {
7
12
  classes: Record<"root" | "legend" | "editor" | "label" | "helpertext" | "charcount", string>;
8
13
  theme: import("@mui/material").Theme;
9
14
  css: import("tss-react").Css;
@@ -1,6 +1,11 @@
1
1
  export declare const useFloatingToolbarStyles: (params: {
2
2
  isVisible: boolean;
3
- }) => {
3
+ }, styleOverrides?: {
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
7
+ ownerState?: Record<string, unknown> | undefined;
8
+ } | undefined) => {
4
9
  classes: Record<"root", string>;
5
10
  theme: import("@mui/material").Theme;
6
11
  css: import("tss-react").Css;
@@ -44,7 +44,12 @@ interface StyleProps {
44
44
  outlined?: boolean;
45
45
  showHeader?: boolean;
46
46
  }
47
- export declare const useStyles: (params: StyleProps) => {
47
+ export declare const useStyles: (params: StyleProps, styleOverrides?: {
48
+ props: {
49
+ classes?: Record<string, string> | undefined;
50
+ } & Record<string, unknown>;
51
+ ownerState?: Record<string, unknown> | undefined;
52
+ } | undefined) => {
48
53
  classes: Record<"table" | "body" | "header", string>;
49
54
  theme: import("@mui/material").Theme;
50
55
  css: import("tss-react").Css;
@@ -1,11 +1,21 @@
1
1
  import { TableColumn } from '..';
2
- export declare const usePaginationActionStyles: (params: void) => {
2
+ export declare const usePaginationActionStyles: (params: void, styleOverrides?: {
3
+ props: {
4
+ classes?: Record<string, string> | undefined;
5
+ } & Record<string, unknown>;
6
+ ownerState?: Record<string, unknown> | undefined;
7
+ } | undefined) => {
3
8
  classes: Record<"button" | "textButton", string>;
4
9
  theme: import("@mui/material").Theme;
5
10
  css: import("tss-react").Css;
6
11
  cx: import("tss-react").Cx;
7
12
  };
8
- export declare const usePaginationStyles: (params: void) => {
13
+ export declare const usePaginationStyles: (params: void, styleOverrides?: {
14
+ props: {
15
+ classes?: Record<string, string> | undefined;
16
+ } & Record<string, unknown>;
17
+ ownerState?: Record<string, unknown> | undefined;
18
+ } | undefined) => {
9
19
  classes: Record<"toolbar" | "selectLabel" | "displayedRows" | "spacer", string>;
10
20
  theme: import("@mui/material").Theme;
11
21
  css: import("tss-react").Css;
@@ -13,7 +23,12 @@ export declare const usePaginationStyles: (params: void) => {
13
23
  };
14
24
  export declare const useTableHeaderStyles: (params: {
15
25
  column: TableColumn<any>;
16
- }) => {
26
+ }, styleOverrides?: {
27
+ props: {
28
+ classes?: Record<string, string> | undefined;
29
+ } & Record<string, unknown>;
30
+ ownerState?: Record<string, unknown> | undefined;
31
+ } | undefined) => {
17
32
  classes: Record<"th", string>;
18
33
  theme: import("@mui/material").Theme;
19
34
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"container" | "title", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,6 +1,11 @@
1
1
  export declare const useStyles: (params: {
2
2
  elevation?: boolean | undefined;
3
- }) => {
3
+ }, styleOverrides?: {
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
7
+ ownerState?: Record<string, unknown> | undefined;
8
+ } | undefined) => {
4
9
  classes: Record<"cover", string>;
5
10
  theme: import("@mui/material").Theme;
6
11
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"container", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"outer" | "icon" | "input" | "helptext", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- declare const _default: (params: void) => {
1
+ declare const _default: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"message" | "messageText" | "messageType" | "warning" | "close" | "button", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"text" | "container" | "item" | "icon" | "selected", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,6 +1,11 @@
1
1
  export declare const useStyles: (params: {
2
2
  isDragging: boolean;
3
- }) => {
3
+ }, styleOverrides?: {
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
7
+ ownerState?: Record<string, unknown> | undefined;
8
+ } | undefined) => {
4
9
  classes: Record<"row", string>;
5
10
  theme: import("@mui/material").Theme;
6
11
  css: import("tss-react").Css;
@@ -1,6 +1,11 @@
1
1
  export declare const useStyles: (params: {
2
2
  lvl: number;
3
- }) => {
3
+ }, styleOverrides?: {
4
+ props: {
5
+ classes?: Record<string, string> | undefined;
6
+ } & Record<string, unknown>;
7
+ ownerState?: Record<string, unknown> | undefined;
8
+ } | undefined) => {
4
9
  classes: Record<"root" | "link", string>;
5
10
  theme: import("@mui/material").Theme;
6
11
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"root", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;
@@ -1,4 +1,9 @@
1
- export declare const useStyles: (params: void) => {
1
+ export declare const useStyles: (params: void, styleOverrides?: {
2
+ props: {
3
+ classes?: Record<string, string> | undefined;
4
+ } & Record<string, unknown>;
5
+ ownerState?: Record<string, unknown> | undefined;
6
+ } | undefined) => {
2
7
  classes: Record<"root" | "keyboardHint", string>;
3
8
  theme: import("@mui/material").Theme;
4
9
  css: import("tss-react").Css;