@box/metadata-view 0.42.0 → 0.42.2
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/chunks/{table-row.js → index.js} +1 -1
- package/dist/esm/index.js +52 -5
- package/dist/esm/lib/components/action-bar/action-bar.js +5 -6
- package/dist/esm/lib/components/error-state/error-state.js +6 -6
- package/dist/esm/lib/components/error-state/index.js +4 -0
- package/dist/esm/lib/components/filter-row/all-filters-chip.js +10 -10
- package/dist/esm/lib/components/filter-row/filter-row.js +19 -19
- package/dist/esm/lib/components/filter-row/form-filter-chip.js +2 -3
- package/dist/esm/lib/components/filter-row/index.js +8 -2
- package/dist/esm/lib/components/filter-sidepanel/{filter-sidepanel.js → filter-side-panel.js} +28 -28
- package/dist/esm/lib/components/filter-sidepanel/filter.js +5 -5
- package/dist/esm/lib/components/filter-sidepanel/index.js +6 -0
- package/dist/esm/lib/components/index.js +49 -0
- package/dist/esm/lib/components/metadata-grid/index.js +4 -1
- package/dist/esm/lib/components/metadata-grid/metadata-grid.js +15 -16
- package/dist/esm/lib/components/metadata-table/index.js +6 -2
- package/dist/esm/lib/components/metadata-table/metadata-table.js +19 -18
- package/dist/esm/lib/components/metadata-table/table-body/ghost-table-body.js +7 -7
- package/dist/esm/lib/components/metadata-table/table-body/{ghost-row/ghost-row.js → ghost-table-row/ghost-table-row.js} +5 -5
- package/dist/esm/lib/components/metadata-table/table-body/ghost-table-row/index.js +4 -0
- package/dist/esm/lib/components/metadata-table/table-body/inline-editing-cell/index.js +2 -2
- package/dist/esm/lib/components/metadata-table/table-body/inline-editing-cell/inline-editing-cell.js +1 -0
- package/dist/esm/lib/components/metadata-table/table-body/table-body-with-data.js +8 -8
- package/dist/esm/lib/components/metadata-table/table-body/table-row/index.js +4 -0
- package/dist/esm/lib/components/metadata-table/table-body/table-row/table-row.js +2 -2
- package/dist/esm/lib/components/metadata-table/table-renderer.js +14 -14
- package/dist/esm/lib/components/metadata-value/index.js +12 -0
- package/dist/esm/lib/components/pagination/index.js +8 -8
- package/dist/esm/lib/components/pagination/marker-based-pagination.js +1 -1
- package/dist/esm/lib/components/pagination/offset-based-pagination.js +1 -1
- package/dist/esm/lib/components/pagination/pagination-controls.js +1 -1
- package/dist/esm/lib/components/pagination/pagination.js +12 -12
- package/dist/esm/lib/components/switch-case/index.js +5 -0
- package/dist/esm/lib/index.js +54 -0
- package/dist/esm/lib/metadata-view.js +58 -40
- package/dist/types/index.d.ts +1 -2
- package/dist/types/lib/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/lib/components/action-bar/index.d.ts +2 -1
- package/dist/types/lib/components/error-state/error-state.d.ts +2 -3
- package/dist/types/lib/components/error-state/index.d.ts +1 -0
- package/dist/types/lib/components/filter-row/filter-row.d.ts +0 -1
- package/dist/types/lib/components/filter-row/form-filter-chip.d.ts +0 -1
- package/dist/types/lib/components/filter-row/index.d.ts +9 -1
- package/dist/types/lib/components/filter-sidepanel/filter-side-panel.d.ts +8 -0
- package/dist/types/lib/components/filter-sidepanel/filter.d.ts +2 -2
- package/dist/types/lib/components/filter-sidepanel/index.d.ts +3 -0
- package/dist/types/lib/components/index.d.ts +10 -0
- package/dist/types/lib/components/item-action-menu/index.d.ts +2 -1
- package/dist/types/lib/components/metadata-grid/index.d.ts +2 -0
- package/dist/types/lib/components/metadata-grid/metadata-grid.d.ts +0 -1
- package/dist/types/lib/components/metadata-table/index.d.ts +5 -2
- package/dist/types/lib/components/metadata-table/metadata-table.d.ts +2 -3
- package/dist/types/lib/components/metadata-table/table-body/ghost-table-body.d.ts +1 -2
- package/dist/types/lib/components/metadata-table/table-body/ghost-table-row/ghost-table-row.d.ts +5 -0
- package/dist/types/lib/components/metadata-table/table-body/ghost-table-row/index.d.ts +2 -0
- package/dist/types/lib/components/metadata-table/table-body/inline-editing-cell/index.d.ts +2 -1
- package/dist/types/lib/components/metadata-table/table-body/inline-editing-cell/inline-editing-cell.d.ts +1 -1
- package/dist/types/lib/components/metadata-table/table-body/table-body-with-data.d.ts +1 -1
- package/dist/types/lib/components/metadata-table/table-body/table-row/index.d.ts +2 -0
- package/dist/types/lib/components/metadata-table/table-body/table-row/table-row.d.ts +2 -3
- package/dist/types/lib/components/metadata-table/table-renderer.d.ts +2 -3
- package/dist/types/lib/components/metadata-value/index.d.ts +10 -0
- package/dist/types/lib/components/metadata-value/metadata-file-chip.d.ts +1 -2
- package/dist/types/lib/components/metadata-value/metadata-file-field.d.ts +1 -2
- package/dist/types/lib/components/metadata-value/metadata-location-field.d.ts +1 -1
- package/dist/types/lib/components/metadata-value/metadata-radio-field.d.ts +2 -3
- package/dist/types/lib/components/metadata-value/metadata-search-field.d.ts +1 -2
- package/dist/types/lib/components/pagination/index.d.ts +6 -6
- package/dist/types/lib/components/pagination/pagination-controls.d.ts +1 -2
- package/dist/types/lib/components/pagination/pagination.d.ts +1 -2
- package/dist/types/lib/components/sort-dropdown/index.d.ts +2 -1
- package/dist/types/lib/components/switch-case/index.d.ts +1 -0
- package/dist/types/lib/index.d.ts +3 -0
- package/dist/types/lib/metadata-view.d.ts +1 -3
- package/package.json +6 -6
- package/dist/types/lib/components/filter-sidepanel/filter-sidepanel.d.ts +0 -9
- package/dist/types/lib/components/metadata-table/table-body/ghost-row/ghost-row.d.ts +0 -6
- /package/dist/styles/{table-row.css → index.css} +0 -0
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { FilterRow } from './filter-row';
|
|
2
|
+
export type { FilterRowProps } from './filter-row';
|
|
3
|
+
export { FormFilterChip } from './form-filter-chip';
|
|
4
|
+
export type { FormFilterChipProps } from './form-filter-chip';
|
|
5
|
+
export { MetadataFilterChip } from './metadata-filter-chip';
|
|
6
|
+
export type { MetadataFilterChipProps } from './metadata-filter-chip';
|
|
7
|
+
export { SelectFilterChip } from './select-filter-chip';
|
|
8
|
+
export type { SelectFilterChipProps } from './select-filter-chip';
|
|
9
|
+
export * from './types';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FilterGroup } from '../filter-row/types';
|
|
2
|
+
export interface FilterSidePanelProps {
|
|
3
|
+
filterGroups: Array<FilterGroup>;
|
|
4
|
+
isOpen?: boolean;
|
|
5
|
+
onIsOpenChange?: (isOpen: boolean) => void;
|
|
6
|
+
getInitialFormValues: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const FilterSidePanel: ({ filterGroups, isOpen, onIsOpenChange, getInitialFormValues, }: FilterSidePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import { FilterOption } from '../filter-row/types';
|
|
|
2
2
|
interface FilterProps extends FilterOption {
|
|
3
3
|
parentRef: HTMLElement;
|
|
4
4
|
}
|
|
5
|
-
declare const Filter: ({ ...props }: FilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export
|
|
5
|
+
export declare const Filter: ({ ...props }: FilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './action-bar';
|
|
2
|
+
export * from './filter-row';
|
|
3
|
+
export * from './filter-sidepanel';
|
|
4
|
+
export * from './item-action-menu';
|
|
5
|
+
export * from './metadata-grid';
|
|
6
|
+
export * from './metadata-table';
|
|
7
|
+
export * from './metadata-value';
|
|
8
|
+
export * from './pagination';
|
|
9
|
+
export * from './sort-dropdown';
|
|
10
|
+
export * from './switch-case';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ItemActionMenu } from './item-action-menu';
|
|
2
|
+
export type { ItemActionMenuProps } from './item-action-menu';
|
|
@@ -4,4 +4,3 @@ export interface MetadataGridProps extends MetadataProps, Omit<GridListProps, 'i
|
|
|
4
4
|
zoomLevel?: number;
|
|
5
5
|
}
|
|
6
6
|
export declare const MetadataGrid: ({ items, itemActionMenuProps, zoomLevel, ...rest }: MetadataGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default MetadataGrid;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
1
|
+
export { MetadataTable } from './metadata-table';
|
|
2
|
+
export type { MetadataTableProps } from './metadata-table';
|
|
3
|
+
export { InlineEditingCell } from './table-body/inline-editing-cell';
|
|
4
|
+
export type { InlineEditingCellProps } from './table-body/inline-editing-cell';
|
|
5
|
+
export * from './table-renderer';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps } from '@box/blueprint-web';
|
|
2
2
|
import { IconColumnVariant, Column, MetadataProps } from '../../types';
|
|
3
|
-
import { InlineEditingCellProps } from './table-body/inline-editing-cell
|
|
3
|
+
import { InlineEditingCellProps } from './table-body/inline-editing-cell';
|
|
4
4
|
export interface MetadataTableProps extends TableProps, MetadataProps, Pick<InlineEditingCellProps, 'onInlineEditChange'> {
|
|
5
5
|
columns: Column[];
|
|
6
6
|
iconColumnVariant?: IconColumnVariant;
|
|
@@ -11,5 +11,4 @@ export interface MetadataTableProps extends TableProps, MetadataProps, Pick<Inli
|
|
|
11
11
|
placeholderRowsCount?: number;
|
|
12
12
|
zoomLevel?: number;
|
|
13
13
|
}
|
|
14
|
-
declare const MetadataTable: ({ columns, isLoading, iconColumnVariant, isSelectAllEnabled, items, itemActionMenuProps, isInfiniteScrollEnabled, hasNextPage, onInlineEditChange, onGetNextPage, placeholderRowsCount, zoomLevel, ...tableProps }: MetadataTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default MetadataTable;
|
|
14
|
+
export declare const MetadataTable: ({ columns, isLoading, iconColumnVariant, isSelectAllEnabled, items, itemActionMenuProps, isInfiniteScrollEnabled, hasNextPage, onInlineEditChange, onGetNextPage, placeholderRowsCount, zoomLevel, ...tableProps }: MetadataTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,4 @@ export interface GhostTableBodyProps {
|
|
|
2
2
|
columnLength: number;
|
|
3
3
|
rowLength?: number;
|
|
4
4
|
}
|
|
5
|
-
declare const GhostTableBody: ({ columnLength, rowLength }: GhostTableBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default GhostTableBody;
|
|
5
|
+
export declare const GhostTableBody: ({ columnLength, rowLength }: GhostTableBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { InlineEditingCell } from './inline-editing-cell';
|
|
2
|
+
export type { InlineEditingCellProps } from './inline-editing-cell';
|
|
@@ -5,5 +5,5 @@ export interface InlineEditingCellProps {
|
|
|
5
5
|
item: Item;
|
|
6
6
|
onInlineEditChange?: (item: Item, value: string | string[] | null, columnId: string) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const InlineEditingCell: ({ column, item, onInlineEditChange }: InlineEditingCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const InlineEditingCell: ({ column, item, onInlineEditChange }: InlineEditingCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default InlineEditingCell;
|
|
@@ -3,7 +3,7 @@ import { Item } from '@box/types';
|
|
|
3
3
|
import { VirtualItem } from '@tanstack/react-virtual';
|
|
4
4
|
import { IconColumnVariant, Column } from '../../../types';
|
|
5
5
|
import { MetadataTableProps } from '../metadata-table';
|
|
6
|
-
import { InlineEditingCellProps } from './inline-editing-cell
|
|
6
|
+
import { InlineEditingCellProps } from './inline-editing-cell';
|
|
7
7
|
interface TableBodyWithDataProps extends Omit<MetadataTableProps, keyof TableProps>, Pick<InlineEditingCellProps, 'onInlineEditChange'> {
|
|
8
8
|
virtualItems?: VirtualItem[];
|
|
9
9
|
columnCount?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Item } from '@box/types';
|
|
2
2
|
import { MetadataTableProps } from '../../metadata-table';
|
|
3
|
-
interface TableRowProps {
|
|
3
|
+
export interface TableRowProps {
|
|
4
4
|
item: Item;
|
|
5
5
|
columns: MetadataTableProps['columns'];
|
|
6
6
|
iconColumnVariant: MetadataTableProps['iconColumnVariant'];
|
|
@@ -8,5 +8,4 @@ interface TableRowProps {
|
|
|
8
8
|
itemActionMenuProps: MetadataTableProps['itemActionMenuProps'];
|
|
9
9
|
zoomLevel?: number;
|
|
10
10
|
}
|
|
11
|
-
declare const TableRow: ({ item, columns, iconColumnVariant, isSelectAllEnabled, itemActionMenuProps, zoomLevel, }: TableRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default TableRow;
|
|
11
|
+
export declare const TableRow: ({ item, columns, iconColumnVariant, isSelectAllEnabled, itemActionMenuProps, zoomLevel, }: TableRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { VirtualItem } from '@tanstack/react-virtual';
|
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
3
|
import { TableProps } from '@box/blueprint-web';
|
|
4
4
|
import { IconColumnVariant, Column, MetadataProps } from '../../types';
|
|
5
|
-
import { InlineEditingCellProps } from './table-body/inline-editing-cell
|
|
5
|
+
import { InlineEditingCellProps } from './table-body/inline-editing-cell';
|
|
6
6
|
export interface TableRendererProps extends Pick<InlineEditingCellProps, 'onInlineEditChange'> {
|
|
7
7
|
tableHeader: React.ReactNode;
|
|
8
8
|
columns: Column[];
|
|
@@ -18,5 +18,4 @@ export interface TableRendererProps extends Pick<InlineEditingCellProps, 'onInli
|
|
|
18
18
|
columnCount?: number;
|
|
19
19
|
zoomLevel?: number;
|
|
20
20
|
}
|
|
21
|
-
declare const TableRenderer: ({ tableHeader, columns, iconColumnVariant, isSelectAllEnabled, itemActionMenuProps, items, isLoading, formatMessage, tableProps, virtualItems, style, columnCount: passedColumnCount, zoomLevel, onInlineEditChange, }: TableRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default TableRenderer;
|
|
21
|
+
export declare const TableRenderer: ({ tableHeader, columns, iconColumnVariant, isSelectAllEnabled, itemActionMenuProps, items, isLoading, formatMessage, tableProps, virtualItems, style, columnCount: passedColumnCount, zoomLevel, onInlineEditChange, }: TableRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { MetadataFileChip } from './metadata-file-chip';
|
|
2
|
+
export type { MetadataFileChipProps } from './metadata-file-chip';
|
|
3
|
+
export { MetadataFileField } from './metadata-file-field';
|
|
4
|
+
export type { MetadataFileFieldProps } from './metadata-file-field';
|
|
5
|
+
export { MetadataLocationField } from './metadata-location-field';
|
|
6
|
+
export type { MetadataLocationFieldProps } from './metadata-location-field';
|
|
7
|
+
export { MetadataRadioField } from './metadata-radio-field';
|
|
8
|
+
export type { MetadataRadioFieldProps } from './metadata-radio-field';
|
|
9
|
+
export { MetadataSearchField } from './metadata-search-field';
|
|
10
|
+
export type { MetadataSearchFieldProps } from './metadata-search-field';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
type TriggerSetValueCallback = (setValueCallback: (folderId: string, folderName: string, isFolderShared?: boolean) => void) => void;
|
|
3
|
-
interface MetadataLocationFieldProps {
|
|
3
|
+
export interface MetadataLocationFieldProps {
|
|
4
4
|
id: string;
|
|
5
5
|
triggerSetValueCallback?: TriggerSetValueCallback;
|
|
6
6
|
renderer?: (component: ReactNode) => ReactNode;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface MetadataRadioFieldProps {
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const MetadataRadioField: ({ id, name }:
|
|
6
|
-
export {};
|
|
5
|
+
export declare const MetadataRadioField: ({ id, name }: MetadataRadioFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
interface MetadataSearchFieldProps {
|
|
1
|
+
export interface MetadataSearchFieldProps {
|
|
2
2
|
id: string;
|
|
3
3
|
name?: string;
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const MetadataSearchField: ({ id, name, placeholder }: MetadataSearchFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Pagination } from './pagination';
|
|
2
2
|
export type { PaginationProps } from './pagination';
|
|
3
|
-
export {
|
|
4
|
-
export type { PaginationControlsProps } from './pagination-controls';
|
|
5
|
-
export { default as OffsetBasedPagination } from './offset-based-pagination';
|
|
6
|
-
export type { OffsetBasedPaginationProps } from './offset-based-pagination';
|
|
7
|
-
export { default as MarkerBasedPagination } from './marker-based-pagination';
|
|
3
|
+
export { MarkerBasedPagination } from './marker-based-pagination';
|
|
8
4
|
export type { MarkerBasedPaginationProps } from './marker-based-pagination';
|
|
5
|
+
export { OffsetBasedPagination } from './offset-based-pagination';
|
|
6
|
+
export type { OffsetBasedPaginationProps } from './offset-based-pagination';
|
|
7
|
+
export { PaginationControls } from './pagination-controls';
|
|
8
|
+
export type { PaginationControlsProps } from './pagination-controls';
|
|
@@ -8,5 +8,4 @@ export interface PaginationControlsProps {
|
|
|
8
8
|
pageSize?: number;
|
|
9
9
|
totalCount?: number;
|
|
10
10
|
}
|
|
11
|
-
declare const PaginationControls: ({ handleNextClick, handlePreviousClick, hasNextPage, hasPageEntryStatus, hasPreviousPage, offset, pageSize, totalCount, }: PaginationControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default PaginationControls;
|
|
11
|
+
export declare const PaginationControls: ({ handleNextClick, handlePreviousClick, hasNextPage, hasPageEntryStatus, hasPreviousPage, offset, pageSize, totalCount, }: PaginationControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,5 +5,4 @@ export type PaginationProps = ({
|
|
|
5
5
|
} & MarkerBasedPaginationProps) | ({
|
|
6
6
|
type: 'offset';
|
|
7
7
|
} & OffsetBasedPaginationProps);
|
|
8
|
-
declare const Pagination: ({ type, ...rest }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Pagination;
|
|
8
|
+
export declare const Pagination: ({ type, ...rest }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { SortDropdown } from './sort-dropdown';
|
|
2
|
+
export type { SortDropdownProps } from './sort-dropdown';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SwitchCase, Case } from './switch-case';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { MetadataTableProps } from './components
|
|
2
|
-
import { PaginationProps } from './components/pagination/pagination';
|
|
3
|
-
import { ActionBarProps } from './components/action-bar';
|
|
1
|
+
import { ActionBarProps, MetadataTableProps, PaginationProps } from './components';
|
|
4
2
|
import { ViewMode, Column, MetadataProps } from './types';
|
|
5
3
|
export interface MetadataViewProps extends MetadataProps {
|
|
6
4
|
actionBarProps?: Omit<ActionBarProps, 'onViewModeClick' | 'onZoomLevelChange' | 'viewMode'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-view",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@box/blueprint-web": "^11.12.0",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@box/blueprint-web": "^11.12.0",
|
|
22
|
-
"@box/blueprint-web-assets": "^4.
|
|
23
|
-
"@box/box-item-type-selector": "^0.64.
|
|
22
|
+
"@box/blueprint-web-assets": "^4.64.0",
|
|
23
|
+
"@box/box-item-type-selector": "^0.64.1",
|
|
24
24
|
"@box/eslint-plugin-blueprint": "*",
|
|
25
|
-
"@box/item-icon": "^0.18.
|
|
26
|
-
"@box/metadata-filter": "^1.20.
|
|
27
|
-
"@box/storybook-utils": "0.13.
|
|
25
|
+
"@box/item-icon": "^0.18.1",
|
|
26
|
+
"@box/metadata-filter": "^1.20.1",
|
|
27
|
+
"@box/storybook-utils": "0.13.19",
|
|
28
28
|
"@box/types": "0.2.1",
|
|
29
29
|
"@tanstack/react-virtual": "^3.10.8",
|
|
30
30
|
"react-intl": "^6.4.2"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FilterGroup } from '../filter-row/types';
|
|
2
|
-
export interface FilterSidepanelProps {
|
|
3
|
-
filterGroups: Array<FilterGroup>;
|
|
4
|
-
isOpen?: boolean;
|
|
5
|
-
onIsOpenChange?: (isOpen: boolean) => void;
|
|
6
|
-
getInitialFormValues: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const FilterSidepanel: ({ filterGroups, isOpen, onIsOpenChange, getInitialFormValues, }: FilterSidepanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default FilterSidepanel;
|
|
File without changes
|