grep-components 2.7.0 → 2.8.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.
- package/dist/components/GrepDialog/dialog.d.ts +1 -1
- package/dist/components/GrepDialog/stories/dialog.stories.d.ts +4 -4
- package/dist/components/GrepEditor/components/plugins/CustomHtmlExport.d.ts +2 -2
- package/dist/components/GrepEditor/components/plugins/ToolbarPlugin.d.ts +1 -1
- package/dist/components/GrepEditor/entities/index.d.ts +1 -1
- package/dist/components/GrepTable/index.d.ts +2 -2
- package/dist/components/SortableTable/components/cell.d.ts +1 -1
- package/dist/components/SortableTable/components/row.d.ts +1 -0
- package/dist/components/SortableTable/index.d.ts +1 -1
- package/dist/index.js +194 -3548
- package/dist/index.js.map +1 -1
- package/dist/styling/makeStyles.d.ts +2 -2
- package/package.json +17 -17
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
decorators: ((storyFn: any) =>
|
|
4
|
+
decorators: ((storyFn: any) => JSX.Element)[];
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Standard: {
|
|
8
|
-
():
|
|
8
|
+
(): JSX.Element;
|
|
9
9
|
story: {
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export declare const WithCustomActions: {
|
|
14
|
-
():
|
|
14
|
+
(): JSX.Element;
|
|
15
15
|
story: {
|
|
16
16
|
name: string;
|
|
17
17
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const htmlExportMap:
|
|
1
|
+
import { DOMExportOutputMap } from 'lexical';
|
|
2
|
+
export declare const htmlExportMap: DOMExportOutputMap;
|
|
3
3
|
export declare function ApplyFormatting(element: HTMLElement, formatting: Record<string, boolean>): HTMLElement;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
import { FC } from 'react';
|
|
8
|
+
import { FC, JSX } from 'react';
|
|
9
9
|
import { Button } from '../buttons';
|
|
10
10
|
import { ToolbarProperties } from '../../entities';
|
|
11
11
|
export default function FloatingTextFormatToolbarPlugin({ anchorElem, buttons, CustomToolbar, }: {
|
|
@@ -18,7 +18,7 @@ export interface Properties {
|
|
|
18
18
|
disableNewlines?: boolean;
|
|
19
19
|
stripPastedStyles?: boolean;
|
|
20
20
|
blockPasting?: boolean;
|
|
21
|
-
editorRef?: RefObject<LexicalEditor>;
|
|
21
|
+
editorRef?: RefObject<LexicalEditor | null | undefined>;
|
|
22
22
|
/**
|
|
23
23
|
* Undefined: allow all styles.
|
|
24
24
|
* Empty array: disable all styles.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { JSX } from 'react';
|
|
2
2
|
import { TableProps } from '@mui/material/Table';
|
|
3
3
|
import { TableCellProps } from '@mui/material/TableCell';
|
|
4
4
|
import GrepTableRow from './components/grep-table-row';
|
|
@@ -69,6 +69,6 @@ export declare const useStyles: (params: StyleProps, muiStyleOverridesParams?: {
|
|
|
69
69
|
* @todo enhance page handling
|
|
70
70
|
*
|
|
71
71
|
*/
|
|
72
|
-
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, rowStyle, rowsPerPageOptions, ...props }: GrepTableProps<T>) =>
|
|
72
|
+
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, rowStyle, rowsPerPageOptions, ...props }: GrepTableProps<T>) => JSX.Element;
|
|
73
73
|
export { GrepTableRow };
|
|
74
74
|
export default GrepTable;
|