@layerfi/components 0.1.130 → 0.1.131-alpha
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/cjs/index.cjs +2575 -2201
- package/dist/esm/index.mjs +2576 -2202
- package/dist/index.css +427 -408
- package/dist/index.d.ts +11 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -814,14 +814,16 @@ declare type OnboardingStep = undefined | 'connectAccount' | 'complete';
|
|
|
814
814
|
|
|
815
815
|
export declare const ProfitAndLoss: {
|
|
816
816
|
({ children, tagFilter, comparisonConfig, reportingBasis, asContainer, }: Props): JSX_2.Element;
|
|
817
|
-
Chart: ({ tagFilter }: ProfitAndLossChartProps) => JSX_2.Element;
|
|
817
|
+
Chart: ({ tagFilter, hideLegend }: ProfitAndLossChartProps) => JSX_2.Element;
|
|
818
818
|
Summaries: typeof ProfitAndLossSummaries;
|
|
819
|
-
DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
|
|
819
|
+
DetailedCharts: ({ scope, hideClose, hideHeader, showDatePicker, chartColorsList, stringOverrides, slotProps, }: {
|
|
820
820
|
scope?: SidebarScope;
|
|
821
821
|
hideClose?: boolean;
|
|
822
|
+
hideHeader?: boolean;
|
|
822
823
|
showDatePicker?: boolean;
|
|
823
824
|
chartColorsList?: string[];
|
|
824
825
|
stringOverrides?: ProfitAndLossDetailedChartsStringOverrides;
|
|
826
|
+
slotProps?: ProfitAndLossDetailedChartsSlotProps;
|
|
825
827
|
}) => JSX_2.Element;
|
|
826
828
|
Header: ({ text, className, headingClassName, withDatePicker, withDownloadButton, withStatus, stringOverrides, dateSelectionMode, }: ProfitAndLossHeaderProps) => JSX_2.Element;
|
|
827
829
|
Report: ({ stringOverrides, dateSelectionMode, csvMoneyFormat, view, renderInAppLink, hideHeader, }: ProfitAndLossReportProps) => JSX_2.Element;
|
|
@@ -832,6 +834,7 @@ declare interface ProfitAndLossChartProps {
|
|
|
832
834
|
key: string;
|
|
833
835
|
values: string[];
|
|
834
836
|
};
|
|
837
|
+
hideLegend?: boolean;
|
|
835
838
|
}
|
|
836
839
|
|
|
837
840
|
declare type ProfitAndLossCompareConfig = ProfitAndLossCompareConfigBase & ({
|
|
@@ -852,6 +855,12 @@ declare type ProfitAndLossCompareConfigBase = {
|
|
|
852
855
|
defaultPeriods?: number;
|
|
853
856
|
};
|
|
854
857
|
|
|
858
|
+
declare interface ProfitAndLossDetailedChartsSlotProps {
|
|
859
|
+
detailedTable?: {
|
|
860
|
+
showTypeColumn?: boolean;
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
|
|
855
864
|
declare interface ProfitAndLossDetailedChartsStringOverrides {
|
|
856
865
|
detailedChartStringOverrides?: DetailedChartStringOverrides;
|
|
857
866
|
detailedTableStringOverrides?: DetailedTableStringOverrides;
|