@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/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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.130",
3
+ "version": "0.1.131-alpha",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",