@popmenu/table 0.155.0 → 0.156.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/build/cjs/components/ColumnFilterChip/ColumnFilterChip.d.ts +2 -1
- package/build/cjs/components/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +2 -1
- package/build/cjs/components/FilterPanel/FilterControl/FilterControl.d.ts +2 -1
- package/build/cjs/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +2 -1
- package/build/cjs/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +2 -1
- package/build/cjs/components/FilterPanel/FilterPanel.d.ts +2 -1
- package/build/cjs/components/FilterPanel/Panel/Panel.d.ts +2 -1
- package/build/cjs/components/FilterPanel/Trigger/Trigger.d.ts +2 -2
- package/build/cjs/components/GlobalFilter/GlobalFilter.d.ts +2 -1
- package/build/cjs/components/RowActions/RowActions.d.ts +2 -1
- package/build/cjs/components/Table/Table.d.ts +2 -1
- package/build/cjs/components/TableBody/TableBody.d.ts +2 -2
- package/build/cjs/components/TableCell/TableCell.d.ts +2 -2
- package/build/cjs/components/TableControlsContainer/TableControlsContainer.d.ts +2 -1
- package/build/cjs/components/TableFooter/TableFooter.d.ts +2 -2
- package/build/cjs/components/TableHeader/TableHeader.d.ts +2 -2
- package/build/cjs/components/TableHeaderCell/TableHeaderCell.d.ts +2 -1
- package/build/cjs/components/TableHeaderRow/TableHeaderRow.d.ts +2 -2
- package/build/cjs/components/TableRow/TableRow.d.ts +2 -2
- package/build/esm/components/ColumnFilterChip/ColumnFilterChip.d.ts +2 -1
- package/build/esm/components/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +2 -1
- package/build/esm/components/FilterPanel/FilterControl/FilterControl.d.ts +2 -1
- package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +2 -1
- package/build/esm/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +2 -1
- package/build/esm/components/FilterPanel/FilterPanel.d.ts +2 -1
- package/build/esm/components/FilterPanel/Panel/Panel.d.ts +2 -1
- package/build/esm/components/FilterPanel/Trigger/Trigger.d.ts +2 -2
- package/build/esm/components/GlobalFilter/GlobalFilter.d.ts +2 -1
- package/build/esm/components/RowActions/RowActions.d.ts +2 -1
- package/build/esm/components/Table/Table.d.ts +2 -1
- package/build/esm/components/TableBody/TableBody.d.ts +2 -2
- package/build/esm/components/TableCell/TableCell.d.ts +2 -2
- package/build/esm/components/TableControlsContainer/TableControlsContainer.d.ts +2 -1
- package/build/esm/components/TableFooter/TableFooter.d.ts +2 -2
- package/build/esm/components/TableHeader/TableHeader.d.ts +2 -2
- package/build/esm/components/TableHeaderCell/TableHeaderCell.d.ts +2 -1
- package/build/esm/components/TableHeaderRow/TableHeaderRow.d.ts +2 -2
- package/build/esm/components/TableRow/TableRow.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ColumnFilter } from '@tanstack/react-table';
|
|
2
3
|
interface ColumnFilterChipProps {
|
|
3
4
|
columnFilter: ColumnFilter;
|
|
4
5
|
label: [string, string];
|
|
5
6
|
onClick: (columnFilter: ColumnFilter) => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => JSX.Element;
|
|
8
|
+
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FilterPanel: () => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
1
|
+
import React, { SyntheticEvent } from 'react';
|
|
2
2
|
type FitlerPanelTriggerProps = {
|
|
3
3
|
onClick: (event: SyntheticEvent) => void;
|
|
4
4
|
label?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const Trigger: (props: FitlerPanelTriggerProps) => JSX.Element;
|
|
6
|
+
export declare const Trigger: (props: FitlerPanelTriggerProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TableProps } from './TableProps';
|
|
2
|
-
export declare const Table: <T>({ title, data, columns, enableSortingRemoval, fullWidth, loading, searchable, sortable, filterState: externalFilterState, globalFilterState: externalGlobalFilterState, paginationState: externalPaginationState, sortingState: externalSortingState, visibilityState: externalVisibilityState, paginated, pageCount, GlobalFilterProps, Empty, idBase, stageFilterSelections, }: TableProps<T>) => JSX.Element;
|
|
3
|
+
export declare const Table: <T>({ title, data, columns, enableSortingRemoval, fullWidth, loading, searchable, sortable, filterState: externalFilterState, globalFilterState: externalGlobalFilterState, paginationState: externalPaginationState, sortingState: externalSortingState, visibilityState: externalVisibilityState, paginated, pageCount, GlobalFilterProps, Empty, idBase, stageFilterSelections, }: TableProps<T>) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableBodyProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableBody: (props: TableBodyProps) => JSX.Element;
|
|
3
|
+
export declare const TableBody: (props: TableBodyProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableCellProps = PropsWithChildren<HTMLAttributes<HTMLTableCellElement>>;
|
|
3
|
-
export declare const TableCell: (props: TableCellProps) => JSX.Element;
|
|
3
|
+
export declare const TableCell: (props: TableCellProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TableControlsContainerProps } from './TableControlsContainerProps';
|
|
2
|
-
export declare const TableControlsContainer: (props: TableControlsContainerProps) => JSX.Element;
|
|
3
|
+
export declare const TableControlsContainer: (props: TableControlsContainerProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableFooterProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const TableFooter: (props: TableFooterProps) => JSX.Element;
|
|
3
|
+
export declare const TableFooter: (props: TableFooterProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableHeadProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableHeader: (props: TableHeadProps) => JSX.Element;
|
|
3
|
+
export declare const TableHeader: (props: TableHeadProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren, HTMLAttributes } from 'react';
|
|
1
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
2
2
|
type TableHaderRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableHeaderRow: (props: TableHaderRowProps) => JSX.Element;
|
|
3
|
+
export declare const TableHeaderRow: (props: TableHaderRowProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableRow: (props: TableRowProps) => JSX.Element;
|
|
3
|
+
export declare const TableRow: (props: TableRowProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ColumnFilter } from '@tanstack/react-table';
|
|
2
3
|
interface ColumnFilterChipProps {
|
|
3
4
|
columnFilter: ColumnFilter;
|
|
4
5
|
label: [string, string];
|
|
5
6
|
onClick: (columnFilter: ColumnFilter) => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => JSX.Element;
|
|
8
|
+
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FilterPanel: () => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
1
|
+
import React, { SyntheticEvent } from 'react';
|
|
2
2
|
type FitlerPanelTriggerProps = {
|
|
3
3
|
onClick: (event: SyntheticEvent) => void;
|
|
4
4
|
label?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const Trigger: (props: FitlerPanelTriggerProps) => JSX.Element;
|
|
6
|
+
export declare const Trigger: (props: FitlerPanelTriggerProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TableProps } from './TableProps';
|
|
2
|
-
export declare const Table: <T>({ title, data, columns, enableSortingRemoval, fullWidth, loading, searchable, sortable, filterState: externalFilterState, globalFilterState: externalGlobalFilterState, paginationState: externalPaginationState, sortingState: externalSortingState, visibilityState: externalVisibilityState, paginated, pageCount, GlobalFilterProps, Empty, idBase, stageFilterSelections, }: TableProps<T>) => JSX.Element;
|
|
3
|
+
export declare const Table: <T>({ title, data, columns, enableSortingRemoval, fullWidth, loading, searchable, sortable, filterState: externalFilterState, globalFilterState: externalGlobalFilterState, paginationState: externalPaginationState, sortingState: externalSortingState, visibilityState: externalVisibilityState, paginated, pageCount, GlobalFilterProps, Empty, idBase, stageFilterSelections, }: TableProps<T>) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableBodyProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableBody: (props: TableBodyProps) => JSX.Element;
|
|
3
|
+
export declare const TableBody: (props: TableBodyProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableCellProps = PropsWithChildren<HTMLAttributes<HTMLTableCellElement>>;
|
|
3
|
-
export declare const TableCell: (props: TableCellProps) => JSX.Element;
|
|
3
|
+
export declare const TableCell: (props: TableCellProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TableControlsContainerProps } from './TableControlsContainerProps';
|
|
2
|
-
export declare const TableControlsContainer: (props: TableControlsContainerProps) => JSX.Element;
|
|
3
|
+
export declare const TableControlsContainer: (props: TableControlsContainerProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableFooterProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const TableFooter: (props: TableFooterProps) => JSX.Element;
|
|
3
|
+
export declare const TableFooter: (props: TableFooterProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableHeadProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableHeader: (props: TableHeadProps) => JSX.Element;
|
|
3
|
+
export declare const TableHeader: (props: TableHeadProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren, HTMLAttributes } from 'react';
|
|
1
|
+
import React, { PropsWithChildren, HTMLAttributes } from 'react';
|
|
2
2
|
type TableHaderRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableHeaderRow: (props: TableHaderRowProps) => JSX.Element;
|
|
3
|
+
export declare const TableHeaderRow: (props: TableHaderRowProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableRow: (props: TableRowProps) => JSX.Element;
|
|
3
|
+
export declare const TableRow: (props: TableRowProps) => React.JSX.Element;
|
|
4
4
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popmenu/table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.156.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Popmenu Design System Team",
|
|
6
6
|
"description": "React components for all Popmenu apps on the web.",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"react": "18.x || 19.x"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false,
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "390beafb484a58645ca5a7331c94a018ffe4dc92"
|
|
38
38
|
}
|