@popmenu/table 0.156.0 → 0.157.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 +1 -2
- package/build/cjs/components/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +1 -2
- package/build/cjs/components/FilterPanel/FilterControl/FilterControl.d.ts +1 -2
- package/build/cjs/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +1 -2
- package/build/cjs/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +1 -2
- package/build/cjs/components/FilterPanel/FilterPanel.d.ts +1 -2
- package/build/cjs/components/FilterPanel/Panel/Panel.d.ts +1 -2
- package/build/cjs/components/FilterPanel/Trigger/Trigger.d.ts +2 -2
- package/build/cjs/components/GlobalFilter/GlobalFilter.d.ts +1 -2
- package/build/cjs/components/RowActions/RowActions.d.ts +1 -2
- package/build/cjs/components/Table/Table.d.ts +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/build/esm/components/ColumnFilterResetButton/ColumnFilterResetButton.d.ts +1 -2
- package/build/esm/components/FilterPanel/FilterControl/FilterControl.d.ts +1 -2
- package/build/esm/components/FilterPanel/FilterControl/SelectFilter/SelectFilter.d.ts +1 -2
- package/build/esm/components/FilterPanel/FilterControl/ToggleFilter/ToggleFilter.d.ts +1 -2
- package/build/esm/components/FilterPanel/FilterPanel.d.ts +1 -2
- package/build/esm/components/FilterPanel/Panel/Panel.d.ts +1 -2
- package/build/esm/components/FilterPanel/Trigger/Trigger.d.ts +2 -2
- package/build/esm/components/GlobalFilter/GlobalFilter.d.ts +1 -2
- package/build/esm/components/RowActions/RowActions.d.ts +1 -2
- package/build/esm/components/Table/Table.d.ts +1 -2
- 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 +1 -2
- 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 +1 -2
- 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,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ColumnFilter } from '@tanstack/react-table';
|
|
3
2
|
interface ColumnFilterChipProps {
|
|
4
3
|
columnFilter: ColumnFilter;
|
|
5
4
|
label: [string, string];
|
|
6
5
|
onClick: (columnFilter: ColumnFilter) => void;
|
|
7
6
|
}
|
|
8
|
-
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) =>
|
|
7
|
+
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const FilterPanel: () => React.JSX.Element;
|
|
1
|
+
export declare const FilterPanel: () => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { 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) =>
|
|
6
|
+
export declare const Trigger: (props: FitlerPanelTriggerProps) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TableProps } from './TableProps';
|
|
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>) =>
|
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableBodyProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableBody: (props: TableBodyProps) =>
|
|
3
|
+
export declare const TableBody: (props: TableBodyProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableCellProps = PropsWithChildren<HTMLAttributes<HTMLTableCellElement>>;
|
|
3
|
-
export declare const TableCell: (props: TableCellProps) =>
|
|
3
|
+
export declare const TableCell: (props: TableCellProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TableControlsContainerProps } from './TableControlsContainerProps';
|
|
3
|
-
export declare const TableControlsContainer: (props: TableControlsContainerProps) =>
|
|
2
|
+
export declare const TableControlsContainer: (props: TableControlsContainerProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableFooterProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const TableFooter: (props: TableFooterProps) =>
|
|
3
|
+
export declare const TableFooter: (props: TableFooterProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableHeadProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableHeader: (props: TableHeadProps) =>
|
|
3
|
+
export declare const TableHeader: (props: TableHeadProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren, HTMLAttributes } from 'react';
|
|
2
2
|
type TableHaderRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableHeaderRow: (props: TableHaderRowProps) =>
|
|
3
|
+
export declare const TableHeaderRow: (props: TableHaderRowProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableRow: (props: TableRowProps) =>
|
|
3
|
+
export declare const TableRow: (props: TableRowProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ColumnFilter } from '@tanstack/react-table';
|
|
3
2
|
interface ColumnFilterChipProps {
|
|
4
3
|
columnFilter: ColumnFilter;
|
|
5
4
|
label: [string, string];
|
|
6
5
|
onClick: (columnFilter: ColumnFilter) => void;
|
|
7
6
|
}
|
|
8
|
-
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) =>
|
|
7
|
+
export declare const ColumnFilterChip: (props: ColumnFilterChipProps) => JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const FilterPanel: () => React.JSX.Element;
|
|
1
|
+
export declare const FilterPanel: () => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { 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) =>
|
|
6
|
+
export declare const Trigger: (props: FitlerPanelTriggerProps) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TableProps } from './TableProps';
|
|
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>) =>
|
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableBodyProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableBody: (props: TableBodyProps) =>
|
|
3
|
+
export declare const TableBody: (props: TableBodyProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableCellProps = PropsWithChildren<HTMLAttributes<HTMLTableCellElement>>;
|
|
3
|
-
export declare const TableCell: (props: TableCellProps) =>
|
|
3
|
+
export declare const TableCell: (props: TableCellProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TableControlsContainerProps } from './TableControlsContainerProps';
|
|
3
|
-
export declare const TableControlsContainer: (props: TableControlsContainerProps) =>
|
|
2
|
+
export declare const TableControlsContainer: (props: TableControlsContainerProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableFooterProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const TableFooter: (props: TableFooterProps) =>
|
|
3
|
+
export declare const TableFooter: (props: TableFooterProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableHeadProps = PropsWithChildren<HTMLAttributes<HTMLTableSectionElement>>;
|
|
3
|
-
export declare const TableHeader: (props: TableHeadProps) =>
|
|
3
|
+
export declare const TableHeader: (props: TableHeadProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren, HTMLAttributes } from 'react';
|
|
2
2
|
type TableHaderRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableHeaderRow: (props: TableHaderRowProps) =>
|
|
3
|
+
export declare const TableHeaderRow: (props: TableHaderRowProps) => JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
type TableRowProps = PropsWithChildren<HTMLAttributes<HTMLTableRowElement>>;
|
|
3
|
-
export declare const TableRow: (props: TableRowProps) =>
|
|
3
|
+
export declare const TableRow: (props: TableRowProps) => 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.157.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": "0870590d9a2151f24a11f67adf0bf150787f2078"
|
|
38
38
|
}
|