@layerfi/components 0.1.48 → 0.1.49
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/esm/index.js +1153 -1144
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +4 -26
- package/dist/index.js +1281 -1272
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +26 -0
- package/dist/styles/index.css.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2382,7 +2382,7 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
|
2382
2382
|
revenueLabel?: string | undefined;
|
|
2383
2383
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries").ProfitAndLossSummariesStringOverrides | undefined;
|
|
2384
2384
|
}) => React.JSX.Element;
|
|
2385
|
-
Table: ({
|
|
2385
|
+
Table: ({ asContainer, stringOverrides }: {
|
|
2386
2386
|
lockExpanded?: boolean | undefined;
|
|
2387
2387
|
asContainer?: boolean | undefined;
|
|
2388
2388
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable").ProfitAndLossTableStringOverrides | undefined;
|
|
@@ -2517,29 +2517,6 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Profi
|
|
|
2517
2517
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/index' {
|
|
2518
2518
|
export { ProfitAndLossDetailedCharts } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
2519
2519
|
|
|
2520
|
-
}
|
|
2521
|
-
declare module '@layerfi/components/components/ProfitAndLossRow/ProfitAndLossRow' {
|
|
2522
|
-
import React from 'react';
|
|
2523
|
-
import { SidebarScope } from '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss';
|
|
2524
|
-
import { Direction, LineItem } from '@layerfi/components/types';
|
|
2525
|
-
type Props = {
|
|
2526
|
-
variant?: string;
|
|
2527
|
-
depth?: number;
|
|
2528
|
-
maxDepth?: number;
|
|
2529
|
-
lineItem?: LineItem | null;
|
|
2530
|
-
direction?: Direction;
|
|
2531
|
-
scope?: SidebarScope;
|
|
2532
|
-
setSidebarScope?: (name: SidebarScope) => void;
|
|
2533
|
-
defaultExpanded?: boolean;
|
|
2534
|
-
lockExpanded?: boolean;
|
|
2535
|
-
};
|
|
2536
|
-
export const ProfitAndLossRow: ({ variant, lineItem, depth, maxDepth, direction, lockExpanded, scope, setSidebarScope, defaultExpanded, }: Props) => React.JSX.Element | null;
|
|
2537
|
-
export {};
|
|
2538
|
-
|
|
2539
|
-
}
|
|
2540
|
-
declare module '@layerfi/components/components/ProfitAndLossRow/index' {
|
|
2541
|
-
export { ProfitAndLossRow } from '@layerfi/components/components/ProfitAndLossRow/ProfitAndLossRow';
|
|
2542
|
-
|
|
2543
2520
|
}
|
|
2544
2521
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/MiniChart' {
|
|
2545
2522
|
import React from 'react';
|
|
@@ -2583,7 +2560,7 @@ declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossT
|
|
|
2583
2560
|
asContainer?: boolean;
|
|
2584
2561
|
stringOverrides?: ProfitAndLossTableStringOverrides;
|
|
2585
2562
|
};
|
|
2586
|
-
export const ProfitAndLossTable: ({
|
|
2563
|
+
export const ProfitAndLossTable: ({ asContainer, stringOverrides }: Props) => React.JSX.Element;
|
|
2587
2564
|
export {};
|
|
2588
2565
|
|
|
2589
2566
|
}
|
|
@@ -2785,7 +2762,7 @@ declare module '@layerfi/components/components/TableBody/index' {
|
|
|
2785
2762
|
declare module '@layerfi/components/components/TableCell/TableCell' {
|
|
2786
2763
|
import React from 'react';
|
|
2787
2764
|
import { TableCellProps } from '@layerfi/components/types/table';
|
|
2788
|
-
export const TableCell: ({ children, isHeaderCell, isCurrency, primary, withExpandIcon, }: TableCellProps) => React.JSX.Element;
|
|
2765
|
+
export const TableCell: ({ children, isHeaderCell, isCurrency, primary, withExpandIcon, fullWidth, }: TableCellProps) => React.JSX.Element;
|
|
2789
2766
|
|
|
2790
2767
|
}
|
|
2791
2768
|
declare module '@layerfi/components/components/TableCell/index' {
|
|
@@ -5216,6 +5193,7 @@ declare module '@layerfi/components/types/table' {
|
|
|
5216
5193
|
isHeaderCell?: boolean;
|
|
5217
5194
|
primary?: boolean;
|
|
5218
5195
|
withExpandIcon?: boolean;
|
|
5196
|
+
fullWidth?: boolean;
|
|
5219
5197
|
}
|
|
5220
5198
|
|
|
5221
5199
|
}
|