akeyless-client-commons 1.0.196 → 1.0.198
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.
|
@@ -416,6 +416,7 @@ interface TableProps {
|
|
|
416
416
|
tableContainerStyle?: React.CSSProperties;
|
|
417
417
|
tableContainerClass?: string;
|
|
418
418
|
tableStyle?: React.CSSProperties;
|
|
419
|
+
tableBodyClassName?: string;
|
|
419
420
|
rowStyles?: React.CSSProperties;
|
|
420
421
|
rowClassName?: string;
|
|
421
422
|
headerStyle?: React.CSSProperties;
|
|
@@ -416,6 +416,7 @@ interface TableProps {
|
|
|
416
416
|
tableContainerStyle?: React.CSSProperties;
|
|
417
417
|
tableContainerClass?: string;
|
|
418
418
|
tableStyle?: React.CSSProperties;
|
|
419
|
+
tableBodyClassName?: string;
|
|
419
420
|
rowStyles?: React.CSSProperties;
|
|
420
421
|
rowClassName?: string;
|
|
421
422
|
headerStyle?: React.CSSProperties;
|
package/dist/components/index.js
CHANGED
|
@@ -5274,9 +5274,9 @@ var TableHead = (0, import_react11.memo)(function() {
|
|
|
5274
5274
|
});
|
|
5275
5275
|
}, renderOnce);
|
|
5276
5276
|
var TableBody = (0, import_react11.memo)(function() {
|
|
5277
|
-
var
|
|
5277
|
+
var _useTableContext = useTableContext(), dataToRender = _useTableContext.dataToRender, tableBodyClassName = _useTableContext.tableBodyClassName;
|
|
5278
5278
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("tbody", {
|
|
5279
|
-
className: "divide-y divide-gray-600",
|
|
5279
|
+
className: cn("divide-y divide-gray-600", tableBodyClassName),
|
|
5280
5280
|
children: dataToRender.renderedData.map(function(item, index2) {
|
|
5281
5281
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TableRow2, {
|
|
5282
5282
|
item: item,
|
|
@@ -5058,9 +5058,9 @@ var TableHead = memo(function() {
|
|
|
5058
5058
|
});
|
|
5059
5059
|
}, renderOnce);
|
|
5060
5060
|
var TableBody = memo(function() {
|
|
5061
|
-
var
|
|
5061
|
+
var _useTableContext = useTableContext(), dataToRender = _useTableContext.dataToRender, tableBodyClassName = _useTableContext.tableBodyClassName;
|
|
5062
5062
|
return /* @__PURE__ */ jsx17("tbody", {
|
|
5063
|
-
className: "divide-y divide-gray-600",
|
|
5063
|
+
className: cn("divide-y divide-gray-600", tableBodyClassName),
|
|
5064
5064
|
children: dataToRender.renderedData.map(function(item, index2) {
|
|
5065
5065
|
return /* @__PURE__ */ jsx17(TableRow2, {
|
|
5066
5066
|
item: item,
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { Auth, GoogleAuthProvider, User } from 'firebase/auth';
|
|
|
4
4
|
import { AppCheck } from 'firebase/app-check';
|
|
5
5
|
import { WhereFilterOp, Unsubscribe, Firestore, CollectionReference, DocumentData, Timestamp, DocumentSnapshot } from 'firebase/firestore';
|
|
6
6
|
import { TObject, NxUser, CountryOptions, LanguageOptions, UserPermissionsObject, userPermissionsObjectValue, Client } from 'akeyless-types-commons';
|
|
7
|
-
import React from 'react';
|
|
7
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
|
|
10
10
|
type SetState<T> = (updater: ((prev: T) => T) | T) => void;
|
|
@@ -131,7 +131,7 @@ declare const query_documents_by_conditions: (collection_path: string, where_con
|
|
|
131
131
|
declare const query_document_by_conditions: (collection_path: string, where_conditions: WhereCondition[]) => Promise<TObject<any>>;
|
|
132
132
|
declare const snapshot: Snapshot;
|
|
133
133
|
declare const snapshotDocument: SnapshotDocument;
|
|
134
|
-
declare const parseSnapshotAsArray: (setState: SetState<any[]>) => OnSnapshotParsers;
|
|
134
|
+
declare const parseSnapshotAsArray: (setState: SetState<any[]> | Dispatch<SetStateAction<any[]>>) => OnSnapshotParsers;
|
|
135
135
|
declare const cleanNxSites: () => Promise<void>;
|
|
136
136
|
declare const getUserByPhone: (phone: string) => Promise<TObject<any>>;
|
|
137
137
|
declare const getUserByEmail: (email: string) => Promise<TObject<any>>;
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Auth, GoogleAuthProvider, User } from 'firebase/auth';
|
|
|
4
4
|
import { AppCheck } from 'firebase/app-check';
|
|
5
5
|
import { WhereFilterOp, Unsubscribe, Firestore, CollectionReference, DocumentData, Timestamp, DocumentSnapshot } from 'firebase/firestore';
|
|
6
6
|
import { TObject, NxUser, CountryOptions, LanguageOptions, UserPermissionsObject, userPermissionsObjectValue, Client } from 'akeyless-types-commons';
|
|
7
|
-
import React from 'react';
|
|
7
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
|
|
10
10
|
type SetState<T> = (updater: ((prev: T) => T) | T) => void;
|
|
@@ -131,7 +131,7 @@ declare const query_documents_by_conditions: (collection_path: string, where_con
|
|
|
131
131
|
declare const query_document_by_conditions: (collection_path: string, where_conditions: WhereCondition[]) => Promise<TObject<any>>;
|
|
132
132
|
declare const snapshot: Snapshot;
|
|
133
133
|
declare const snapshotDocument: SnapshotDocument;
|
|
134
|
-
declare const parseSnapshotAsArray: (setState: SetState<any[]>) => OnSnapshotParsers;
|
|
134
|
+
declare const parseSnapshotAsArray: (setState: SetState<any[]> | Dispatch<SetStateAction<any[]>>) => OnSnapshotParsers;
|
|
135
135
|
declare const cleanNxSites: () => Promise<void>;
|
|
136
136
|
declare const getUserByPhone: (phone: string) => Promise<TObject<any>>;
|
|
137
137
|
declare const getUserByEmail: (email: string) => Promise<TObject<any>>;
|