@tap-payments/os-micro-frontend-shared 0.1.29-test.1 → 0.1.29
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/utils/table.d.ts +2 -1
- package/build/utils/table.js +3 -0
- package/package.json +3 -3
package/build/utils/table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableCellWidthProps } from '../types/index.js';
|
|
1
|
+
import { TableCellWidthProps, TableMode } from '../types/index.js';
|
|
2
2
|
export declare const getColumnWidthPercentage: (widthInPx: number, options?: {
|
|
3
3
|
isFirst?: boolean;
|
|
4
4
|
isLast?: boolean;
|
|
@@ -6,3 +6,4 @@ export declare const getColumnWidthPercentage: (widthInPx: number, options?: {
|
|
|
6
6
|
export declare const getCellWidth: ({ table, cellID, tableMode }: TableCellWidthProps) => string;
|
|
7
7
|
export declare const calculateMaxAllowedRows: (isLoaded: boolean, isLoading: boolean) => number;
|
|
8
8
|
export declare const isHeightNotFullyFilledByRows: (totalRows: number) => boolean;
|
|
9
|
+
export declare const isTableDefaultMode: (tableMode?: TableMode) => boolean;
|
package/build/utils/table.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.29
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.29",
|
|
5
|
+
"testVersion": 0,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
"publishConfig": {
|
|
132
132
|
"registry": "https://registry.npmjs.org/"
|
|
133
133
|
}
|
|
134
|
-
}
|
|
134
|
+
}
|