@muraldevkit/ui-toolkit 4.59.1 → 4.60.0-dev-sjiL.1

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.
@@ -206,6 +206,14 @@ export interface MrlSmartTableProps extends Partial<Pick<MrlTableProps, 'aria-la
206
206
  * Provides information on how the table should be sorted on initialization.
207
207
  */
208
208
  defaultSortDescriptor?: MrlTableColumnSortDescriptor;
209
+ /**
210
+ * Enables row virtualization using @tanstack/react-virtual. The table must live
211
+ * inside a container with a fixed height and vertical scroll for virtualization
212
+ * to function correctly.
213
+ *
214
+ * @default false
215
+ */
216
+ enableVirtualization?: boolean;
209
217
  }
210
218
  /**
211
219
  * MrlSmartTable Component
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { MrlSmartCellRendererProps } from '../MrlSmartTable';
3
+ export declare const DefaultCellContent: ({ item, column, dataQaPrefix, tableElementId, hasScrollShadowLeft, hasScrollShadowRight }: MrlSmartCellRendererProps) => React.JSX.Element;
4
+ export declare const MemoizedDefaultCellContent: React.MemoExoticComponent<({ item, column, dataQaPrefix, tableElementId, hasScrollShadowLeft, hasScrollShadowRight }: MrlSmartCellRendererProps) => React.JSX.Element>;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { MrlSmartCellRendererProps, MrlSmartTableColumn } from './MrlSmartTable';
3
+ export declare const LicenseCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
4
+ export declare const MemberSinceCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
5
+ export declare const LastSeenCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
6
+ export declare const CreateRoomCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
7
+ export declare const SeeOpenRoomsCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
8
+ export declare const PublishTemplatesCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
9
+ export declare const WorkspaceAdminCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
10
+ export declare const ActionsCell: ((props: MrlSmartCellRendererProps) => JSX.Element) | undefined;
11
+ export declare const SAMPLE_COLUMNS_WITH_EDIT_ICON_BUTTON: MrlSmartTableColumn[];
@@ -91,4 +91,17 @@ export declare const SAMPLE_ITEMS_500: {
91
91
  name: string;
92
92
  type: string;
93
93
  }[];
94
+ export type WorkspaceUser = {
95
+ admin: boolean;
96
+ createRooms: boolean;
97
+ email: string;
98
+ fullName: string;
99
+ guest: boolean;
100
+ id: string;
101
+ lastSeen: number | null;
102
+ memberSince: number;
103
+ publishTemplates: boolean;
104
+ seeOpenRooms: boolean;
105
+ };
106
+ export declare const SAMPLE_WORKSPACE_USERS: WorkspaceUser[];
94
107
  export {};