@layerfi/components 0.1.118 → 0.1.119

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
@@ -386,7 +386,6 @@ declare enum DataModel {
386
386
  BILLS = "BILLS",
387
387
  LEDGER_ACCOUNTS = "LEDGER_ACCOUNTS",
388
388
  LINKED_ACCOUNTS = "LINKED_ACCOUNTS",
389
- PROFIT_AND_LOSS = "PROFIT_AND_LOSS",
390
389
  STATEMENT_OF_CASH_FLOWS = "STATEMENT_OF_CASH_FLOWS"
391
390
  }
392
391
 
@@ -833,7 +832,7 @@ declare type PlatformOnboardingProps = {
833
832
 
834
833
  export declare const ProfitAndLoss: {
835
834
  ({ children, tagFilter, comparisonConfig, reportingBasis, asContainer, }: Props): JSX_2.Element;
836
- Chart: ({ forceRerenderOnDataChange, tagFilter, }: Props_2) => JSX_2.Element;
835
+ Chart: ({ tagFilter }: ProfitAndLossChartProps) => JSX_2.Element;
837
836
  Summaries: typeof ProfitAndLossSummaries;
838
837
  DetailedCharts: ({ scope, hideClose, showDatePicker, chartColorsList, stringOverrides, }: {
839
838
  scope?: SidebarScope;
@@ -846,6 +845,13 @@ export declare const ProfitAndLoss: {
846
845
  Report: ({ stringOverrides, dateSelectionMode, csvMoneyFormat, view, renderInAppLink, hideHeader, }: ProfitAndLossReportProps) => JSX_2.Element;
847
846
  };
848
847
 
848
+ declare interface ProfitAndLossChartProps {
849
+ tagFilter?: {
850
+ key: string;
851
+ values: string[];
852
+ };
853
+ }
854
+
849
855
  declare interface ProfitAndLossCompareConfig {
850
856
  tagComparisonOptions: TagComparisonOption[];
851
857
  defaultTagFilter: TagComparisonOption;
@@ -971,14 +977,6 @@ declare type Props = PropsWithChildren<{
971
977
  asContainer?: boolean;
972
978
  }>;
973
979
 
974
- declare interface Props_2 {
975
- forceRerenderOnDataChange?: boolean;
976
- tagFilter?: {
977
- key: string;
978
- values: string[];
979
- };
980
- }
981
-
982
980
  declare interface RelatedEntityLinkingMetadata {
983
981
  id: string;
984
982
  entityName: EntityName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.118",
3
+ "version": "0.1.119",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",
@@ -111,7 +111,7 @@
111
111
  "react-merge-refs": "^3.0.2",
112
112
  "react-plaid-link": "^4.0.1",
113
113
  "react-select": "^5.10.1",
114
- "recharts": "^2.15.3",
114
+ "recharts": "^3.6.0",
115
115
  "swr": "^2.3.3",
116
116
  "ts-ics": "^2.4.0",
117
117
  "uuid": "^11.1.0",