@layerfi/components 0.1.48 → 0.1.50
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 +832 -814
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +16 -36
- package/dist/index.js +754 -736
- 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,11 +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: (
|
|
2386
|
-
lockExpanded?: boolean | undefined;
|
|
2387
|
-
asContainer?: boolean | undefined;
|
|
2388
|
-
stringOverrides?: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTable").ProfitAndLossTableStringOverrides | undefined;
|
|
2389
|
-
}) => React.JSX.Element;
|
|
2385
|
+
Table: (props: import("@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent").ProfilAndLostTableProps) => React.JSX.Element;
|
|
2390
2386
|
DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
|
|
2391
2387
|
scope?: import("@layerfi/components/hooks/useProfitAndLoss/useProfitAndLoss").SidebarScope;
|
|
2392
2388
|
hideClose?: boolean | undefined;
|
|
@@ -2517,29 +2513,6 @@ declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/Profi
|
|
|
2517
2513
|
declare module '@layerfi/components/components/ProfitAndLossDetailedCharts/index' {
|
|
2518
2514
|
export { ProfitAndLossDetailedCharts } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
2519
2515
|
|
|
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
2516
|
}
|
|
2544
2517
|
declare module '@layerfi/components/components/ProfitAndLossSummaries/MiniChart' {
|
|
2545
2518
|
import React from 'react';
|
|
@@ -2571,20 +2544,25 @@ declare module '@layerfi/components/components/ProfitAndLossSummaries/index' {
|
|
|
2571
2544
|
export { ProfitAndLossSummaries } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
2572
2545
|
|
|
2573
2546
|
}
|
|
2574
|
-
declare module '@layerfi/components/components/ProfitAndLossTable/
|
|
2547
|
+
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent' {
|
|
2575
2548
|
import React from 'react';
|
|
2576
2549
|
export interface ProfitAndLossTableStringOverrides {
|
|
2577
2550
|
grossProfitLabel?: string;
|
|
2578
2551
|
profitBeforeTaxesLabel?: string;
|
|
2579
2552
|
netProfitLabel?: string;
|
|
2580
2553
|
}
|
|
2581
|
-
type
|
|
2554
|
+
export type ProfilAndLostTableProps = {
|
|
2582
2555
|
lockExpanded?: boolean;
|
|
2583
2556
|
asContainer?: boolean;
|
|
2584
2557
|
stringOverrides?: ProfitAndLossTableStringOverrides;
|
|
2585
2558
|
};
|
|
2586
|
-
export const
|
|
2587
|
-
|
|
2559
|
+
export const ProfitAndLossTableComponent: ({ asContainer, stringOverrides, }: ProfilAndLostTableProps) => React.JSX.Element;
|
|
2560
|
+
|
|
2561
|
+
}
|
|
2562
|
+
declare module '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableWithProvider' {
|
|
2563
|
+
import React from 'react';
|
|
2564
|
+
import { ProfilAndLostTableProps } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2565
|
+
export const ProfitAndLossTableWithProvider: (props: ProfilAndLostTableProps) => React.JSX.Element;
|
|
2588
2566
|
|
|
2589
2567
|
}
|
|
2590
2568
|
declare module '@layerfi/components/components/ProfitAndLossTable/empty_profit_and_loss_report' {
|
|
@@ -2594,14 +2572,15 @@ declare module '@layerfi/components/components/ProfitAndLossTable/empty_profit_a
|
|
|
2594
2572
|
|
|
2595
2573
|
}
|
|
2596
2574
|
declare module '@layerfi/components/components/ProfitAndLossTable/index' {
|
|
2597
|
-
export { ProfitAndLossTable } from '@layerfi/components/components/ProfitAndLossTable/
|
|
2575
|
+
export { ProfitAndLossTableWithProvider as ProfitAndLossTable } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableWithProvider';
|
|
2576
|
+
export { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2598
2577
|
|
|
2599
2578
|
}
|
|
2600
2579
|
declare module '@layerfi/components/components/ProfitAndLossView/ProfitAndLossView' {
|
|
2601
2580
|
import React, { RefObject } from 'react';
|
|
2602
2581
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
2603
2582
|
import { ProfitAndLossSummariesStringOverrides } from '@layerfi/components/components/ProfitAndLossSummaries/ProfitAndLossSummaries';
|
|
2604
|
-
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/
|
|
2583
|
+
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/ProfitAndLossTableComponent';
|
|
2605
2584
|
export interface ProfitAndLossViewProps {
|
|
2606
2585
|
hideTable?: boolean;
|
|
2607
2586
|
hideChart?: boolean;
|
|
@@ -2785,7 +2764,7 @@ declare module '@layerfi/components/components/TableBody/index' {
|
|
|
2785
2764
|
declare module '@layerfi/components/components/TableCell/TableCell' {
|
|
2786
2765
|
import React from 'react';
|
|
2787
2766
|
import { TableCellProps } from '@layerfi/components/types/table';
|
|
2788
|
-
export const TableCell: ({ children, isHeaderCell, isCurrency, primary, withExpandIcon, }: TableCellProps) => React.JSX.Element;
|
|
2767
|
+
export const TableCell: ({ children, isHeaderCell, isCurrency, primary, withExpandIcon, fullWidth, }: TableCellProps) => React.JSX.Element;
|
|
2789
2768
|
|
|
2790
2769
|
}
|
|
2791
2770
|
declare module '@layerfi/components/components/TableCell/index' {
|
|
@@ -5216,6 +5195,7 @@ declare module '@layerfi/components/types/table' {
|
|
|
5216
5195
|
isHeaderCell?: boolean;
|
|
5217
5196
|
primary?: boolean;
|
|
5218
5197
|
withExpandIcon?: boolean;
|
|
5198
|
+
fullWidth?: boolean;
|
|
5219
5199
|
}
|
|
5220
5200
|
|
|
5221
5201
|
}
|
|
@@ -5473,7 +5453,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
5473
5453
|
import React, { RefObject } from 'react';
|
|
5474
5454
|
import { BalanceSheetStringOverrides } from '@layerfi/components/components/BalanceSheet/BalanceSheet';
|
|
5475
5455
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
5476
|
-
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/
|
|
5456
|
+
import { ProfitAndLossTableStringOverrides } from '@layerfi/components/components/ProfitAndLossTable/index';
|
|
5477
5457
|
import { StatementOfCashFlowStringOverrides } from '@layerfi/components/components/StatementOfCashFlow/StatementOfCashFlow';
|
|
5478
5458
|
interface ReportsStringOverrides {
|
|
5479
5459
|
title?: string;
|