@layerfi/components 0.1.27 → 0.1.29

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
@@ -836,9 +836,9 @@ declare module '@layerfi/components/components/BankTransactionRow/BankTransactio
836
836
  import { BankTransaction, Category } from '@layerfi/components/types';
837
837
  type Props = {
838
838
  index: number;
839
+ editable: boolean;
839
840
  dateFormat: string;
840
841
  bankTransaction: BankTransaction;
841
- editable: boolean;
842
842
  removeTransaction: (id: string) => void;
843
843
  containerWidth?: number;
844
844
  initialLoad?: boolean;
@@ -848,7 +848,7 @@ declare module '@layerfi/components/components/BankTransactionRow/BankTransactio
848
848
  export type LastSubmittedForm = 'simple' | 'match' | 'split' | undefined;
849
849
  export const extractDescriptionForSplit: (category: Category) => string;
850
850
  export const getDefaultSelectedCategory: (bankTransaction: BankTransaction) => import("@layerfi/components/components/CategorySelect/CategorySelect").CategoryOption | undefined;
851
- export const BankTransactionRow: ({ index, dateFormat, bankTransaction, editable, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, }: Props) => React.JSX.Element | null;
851
+ export const BankTransactionRow: ({ index, editable, dateFormat, bankTransaction, removeTransaction, containerWidth, initialLoad, showDescriptions, showReceiptUploads, }: Props) => React.JSX.Element | null;
852
852
  export {};
853
853
 
854
854
  }
@@ -879,6 +879,7 @@ declare module '@layerfi/components/components/BankTransactionRow/index' {
879
879
  }
880
880
  declare module '@layerfi/components/components/BankTransactions/BankTransactions' {
881
881
  import React from 'react';
882
+ import { BankTransactionFilters } from '@layerfi/components/hooks/useBankTransactions/types';
882
883
  import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
883
884
  export interface BankTransactionsProps {
884
885
  asWidget?: boolean;
@@ -887,20 +888,25 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
887
888
  showDescriptions?: boolean;
888
889
  showReceiptUploads?: boolean;
889
890
  monthlyView?: boolean;
891
+ categorizeView?: boolean;
890
892
  mobileComponent?: MobileComponentType;
893
+ filters?: BankTransactionFilters;
894
+ hideHeader?: boolean;
891
895
  }
892
- export const BankTransactions: ({ asWidget, pageSize, categorizedOnly, showDescriptions, showReceiptUploads, monthlyView, mobileComponent, }: BankTransactionsProps) => React.JSX.Element;
896
+ export const BankTransactions: ({ asWidget, pageSize, categorizedOnly, categorizeView, showDescriptions, showReceiptUploads, monthlyView, mobileComponent, filters: inputFilters, hideHeader, }: BankTransactionsProps) => React.JSX.Element;
893
897
 
894
898
  }
895
899
  declare module '@layerfi/components/components/BankTransactions/BankTransactionsHeader' {
896
900
  import React, { ChangeEvent } from 'react';
901
+ import { DisplayState } from '@layerfi/components/hooks/useBankTransactions/types';
897
902
  import { DateRange } from '@layerfi/components/types';
898
- import { DisplayState, MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
903
+ import { MobileComponentType } from '@layerfi/components/components/BankTransactions/constants';
899
904
  export interface BankTransactionsHeaderProps {
900
905
  shiftStickyHeader: number;
901
906
  asWidget?: boolean;
902
907
  categorizedOnly?: boolean;
903
- display: DisplayState;
908
+ categorizeView?: boolean;
909
+ display?: DisplayState;
904
910
  onCategorizationDisplayChange: (event: ChangeEvent<HTMLInputElement>) => void;
905
911
  mobileComponent?: MobileComponentType;
906
912
  withDatePicker?: boolean;
@@ -908,7 +914,7 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
908
914
  dateRange?: DateRange;
909
915
  setDateRange?: (value: DateRange) => void;
910
916
  }
911
- export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, }: BankTransactionsHeaderProps) => React.JSX.Element;
917
+ export const BankTransactionsHeader: ({ shiftStickyHeader, asWidget, categorizedOnly, categorizeView, display, onCategorizationDisplayChange, mobileComponent, withDatePicker, listView, dateRange, setDateRange, }: BankTransactionsHeaderProps) => React.JSX.Element;
912
918
 
913
919
  }
914
920
  declare module '@layerfi/components/components/BankTransactions/DataStates' {
@@ -929,10 +935,6 @@ declare module '@layerfi/components/components/BankTransactions/DataStates' {
929
935
  declare module '@layerfi/components/components/BankTransactions/constants' {
930
936
  import { CategorizationStatus } from '@layerfi/components/types';
931
937
  export type MobileComponentType = 'regularList' | 'mobileList';
932
- export enum DisplayState {
933
- review = "review",
934
- categorized = "categorized"
935
- }
936
938
  export const CategorizedCategories: CategorizationStatus[];
937
939
  export const ReviewCategories: CategorizationStatus[];
938
940
 
@@ -942,9 +944,9 @@ declare module '@layerfi/components/components/BankTransactions/index' {
942
944
 
943
945
  }
944
946
  declare module '@layerfi/components/components/BankTransactions/utils' {
945
- import { BankTransaction } from '@layerfi/components/types';
946
- import { DisplayState } from '@layerfi/components/components/BankTransactions/constants';
947
- export const filterVisibility: (display: DisplayState, bankTransaction: BankTransaction) => boolean;
947
+ import { BankTransaction, CategorizationScope } from '@layerfi/components/types';
948
+ export const filterVisibility: (scope: CategorizationScope, bankTransaction: BankTransaction) => boolean;
949
+ export const isCategorized: (bankTransaction: BankTransaction) => boolean;
948
950
 
949
951
  }
950
952
  declare module '@layerfi/components/components/BankTransactionsTable/BankTransactionsTable' {
@@ -953,6 +955,7 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
953
955
  interface BankTransactionsTableProps {
954
956
  bankTransactions?: BankTransaction[];
955
957
  editable: boolean;
958
+ categorizeView?: boolean;
956
959
  isLoading?: boolean;
957
960
  initialLoad?: boolean;
958
961
  containerWidth: number;
@@ -960,7 +963,7 @@ declare module '@layerfi/components/components/BankTransactionsTable/BankTransac
960
963
  showDescriptions?: boolean;
961
964
  showReceiptUploads?: boolean;
962
965
  }
963
- export const BankTransactionsTable: ({ editable, isLoading, bankTransactions, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, }: BankTransactionsTableProps) => React.JSX.Element;
966
+ export const BankTransactionsTable: ({ categorizeView, editable, isLoading, bankTransactions, initialLoad, containerWidth, removeTransaction, showDescriptions, showReceiptUploads, }: BankTransactionsTableProps) => React.JSX.Element;
964
967
  export {};
965
968
 
966
969
  }
@@ -1084,6 +1087,7 @@ declare module '@layerfi/components/components/CategorySelect/CategorySelect' {
1084
1087
  disabled?: boolean;
1085
1088
  className?: string;
1086
1089
  excludeMatches?: boolean;
1090
+ asDrawer?: boolean;
1087
1091
  };
1088
1092
  export enum OptionActionType {
1089
1093
  CATEGORY = "category",
@@ -1108,7 +1112,18 @@ declare module '@layerfi/components/components/CategorySelect/CategorySelect' {
1108
1112
  }
1109
1113
  export const mapCategoryToOption: (category: Category) => CategoryOption;
1110
1114
  export const mapSuggestedMatchToOption: (record: SuggestedMatch) => CategoryOption;
1111
- export const CategorySelect: ({ bankTransaction, name, value, onChange, disabled, className, excludeMatches, }: Props) => React.JSX.Element;
1115
+ export const CategorySelect: ({ bankTransaction, name, value, onChange, disabled, className, excludeMatches, asDrawer, }: Props) => React.JSX.Element;
1116
+ export {};
1117
+
1118
+ }
1119
+ declare module '@layerfi/components/components/CategorySelect/CategorySelectDrawer' {
1120
+ import React from 'react';
1121
+ import { CategoryOption } from '@layerfi/components/components/CategorySelect/CategorySelect';
1122
+ interface CategorySelectDrawerProps {
1123
+ onSelect: (value: CategoryOption) => void;
1124
+ selected?: CategoryOption;
1125
+ }
1126
+ export const CategorySelectDrawer: ({ onSelect, selected, }: CategorySelectDrawerProps) => React.JSX.Element;
1112
1127
  export {};
1113
1128
 
1114
1129
  }
@@ -1343,7 +1358,7 @@ declare module '@layerfi/components/components/DetailsList/index' {
1343
1358
  }
1344
1359
  declare module '@layerfi/components/components/Drawer/Drawer' {
1345
1360
  import React from 'react';
1346
- export const Drawer: ({ isOpen, onClose, children }: {
1361
+ export const Drawer: ({ isOpen, onClose, children, }: {
1347
1362
  isOpen: boolean;
1348
1363
  onClose: () => void;
1349
1364
  children: React.ReactNode;
@@ -1375,7 +1390,7 @@ declare module '@layerfi/components/components/ExpandedBankTransactionRow/Expand
1375
1390
  asListItem?: boolean;
1376
1391
  submitBtnText?: string;
1377
1392
  containerWidth?: number;
1378
- editable?: boolean;
1393
+ categorized?: boolean;
1379
1394
  showDescriptions: boolean;
1380
1395
  showReceiptUploads: boolean;
1381
1396
  };
@@ -2574,6 +2589,51 @@ declare module '@layerfi/components/config/theme' {
2574
2589
  };
2575
2590
  };
2576
2591
 
2592
+ }
2593
+ declare module '@layerfi/components/contexts/BankTransactionsContext/BankTransactionsContext' {
2594
+ /// <reference types="react" />
2595
+ import { useBankTransactions } from '@layerfi/components/hooks/useBankTransactions/index';
2596
+ import { DisplayState } from '@layerfi/components/hooks/useBankTransactions/types';
2597
+ export type BankTransactionsContextType = ReturnType<typeof useBankTransactions>;
2598
+ export const BankTransactionsContext: import("react").Context<{
2599
+ data?: import("@layerfi/components/types").BankTransaction[] | undefined;
2600
+ metadata: import("@layerfi/components/types").Metadata;
2601
+ loadingStatus: import("@layerfi/components/types/general").LoadedStatus;
2602
+ isLoading: boolean;
2603
+ isValidating: boolean;
2604
+ error: unknown;
2605
+ filters?: import("@layerfi/components/hooks/useBankTransactions/types").BankTransactionFilters | undefined;
2606
+ accountsList?: import("@layerfi/components/hooks/useBankTransactions/types").AccountItem[] | undefined;
2607
+ display: DisplayState;
2608
+ categorize: (id: string, newCategory: import("@layerfi/components/types").CategoryUpdate, notify?: boolean | undefined) => Promise<void>;
2609
+ match: (id: string, matchId: string, notify?: boolean | undefined) => Promise<void>;
2610
+ updateOneLocal: (bankTransaction: import("@layerfi/components/types").BankTransaction) => void;
2611
+ refetch: () => void;
2612
+ setFilters: (filters?: Partial<import("@layerfi/components/hooks/useBankTransactions/types").BankTransactionFilters> | undefined) => void;
2613
+ activate: () => void;
2614
+ }>;
2615
+ export const useBankTransactionsContext: () => {
2616
+ data?: import("@layerfi/components/types").BankTransaction[] | undefined;
2617
+ metadata: import("@layerfi/components/types").Metadata;
2618
+ loadingStatus: import("@layerfi/components/types/general").LoadedStatus;
2619
+ isLoading: boolean;
2620
+ isValidating: boolean;
2621
+ error: unknown;
2622
+ filters?: import("@layerfi/components/hooks/useBankTransactions/types").BankTransactionFilters | undefined;
2623
+ accountsList?: import("@layerfi/components/hooks/useBankTransactions/types").AccountItem[] | undefined;
2624
+ display: DisplayState;
2625
+ categorize: (id: string, newCategory: import("@layerfi/components/types").CategoryUpdate, notify?: boolean | undefined) => Promise<void>;
2626
+ match: (id: string, matchId: string, notify?: boolean | undefined) => Promise<void>;
2627
+ updateOneLocal: (bankTransaction: import("@layerfi/components/types").BankTransaction) => void;
2628
+ refetch: () => void;
2629
+ setFilters: (filters?: Partial<import("@layerfi/components/hooks/useBankTransactions/types").BankTransactionFilters> | undefined) => void;
2630
+ activate: () => void;
2631
+ };
2632
+
2633
+ }
2634
+ declare module '@layerfi/components/contexts/BankTransactionsContext/index' {
2635
+ export { BankTransactionsContext, useBankTransactionsContext } from '@layerfi/components/contexts/BankTransactionsContext/BankTransactionsContext';
2636
+
2577
2637
  }
2578
2638
  declare module '@layerfi/components/contexts/ChartOfAccountsContext/ChartOfAccountsContext' {
2579
2639
  /// <reference types="react" />
@@ -2615,6 +2675,8 @@ declare module '@layerfi/components/contexts/DrawerContext/DrawerContext' {
2615
2675
  export const DrawerContext: import("react").Context<{
2616
2676
  content?: import("react").ReactNode;
2617
2677
  setContent: (content: import("react").ReactNode) => void;
2678
+ finishClosing: () => void;
2679
+ isClosing: boolean;
2618
2680
  close: () => void;
2619
2681
  }>;
2620
2682
 
@@ -2664,10 +2726,13 @@ declare module '@layerfi/components/contexts/LayerContext/LayerContext' {
2664
2726
  export const LayerContext: import("react").Context<LayerContextValues & LayerContextHelpers & {
2665
2727
  setTheme: (theme: LayerThemeConfig) => void;
2666
2728
  }>;
2729
+ export const useLayerContext: () => LayerContextValues & LayerContextHelpers & {
2730
+ setTheme: (theme: LayerThemeConfig) => void;
2731
+ };
2667
2732
 
2668
2733
  }
2669
2734
  declare module '@layerfi/components/contexts/LayerContext/index' {
2670
- export { LayerContext } from '@layerfi/components/contexts/LayerContext/LayerContext';
2735
+ export { LayerContext, useLayerContext } from '@layerfi/components/contexts/LayerContext/LayerContext';
2671
2736
 
2672
2737
  }
2673
2738
  declare module '@layerfi/components/contexts/LedgerAccountsContext/LedgerAccountsContext' {
@@ -2760,23 +2825,61 @@ declare module '@layerfi/components/hooks/useBankTransactions/index' {
2760
2825
  export { useBankTransactions } from '@layerfi/components/hooks/useBankTransactions/useBankTransactions';
2761
2826
 
2762
2827
  }
2763
- declare module '@layerfi/components/hooks/useBankTransactions/useBankTransactions' {
2764
- import { BankTransaction, CategoryUpdate, Metadata } from '@layerfi/components/types';
2828
+ declare module '@layerfi/components/hooks/useBankTransactions/types' {
2829
+ import { BankTransaction, CategorizationScope, CategoryUpdate, DateRange, Direction, Metadata } from '@layerfi/components/types';
2765
2830
  import { LoadedStatus } from '@layerfi/components/types/general';
2766
- type UseBankTransactions = () => {
2831
+ export interface NumericRangeFilter {
2832
+ min?: number;
2833
+ max?: number;
2834
+ }
2835
+ export interface AccountItem {
2836
+ id: string;
2837
+ name: string;
2838
+ }
2839
+ export enum DisplayState {
2840
+ review = "review",
2841
+ categorized = "categorized"
2842
+ }
2843
+ export interface BankTransactionFilters {
2844
+ amount?: NumericRangeFilter;
2845
+ account?: string[];
2846
+ direction?: Direction[];
2847
+ categorizationStatus?: CategorizationScope;
2848
+ dateRange?: Partial<DateRange>;
2849
+ }
2850
+ export type UseBankTransactions = () => {
2767
2851
  data?: BankTransaction[];
2768
2852
  metadata: Metadata;
2769
2853
  loadingStatus: LoadedStatus;
2770
2854
  isLoading: boolean;
2771
2855
  isValidating: boolean;
2772
2856
  error: unknown;
2857
+ filters?: BankTransactionFilters;
2858
+ accountsList?: AccountItem[];
2859
+ display: DisplayState;
2773
2860
  categorize: (id: BankTransaction['id'], newCategory: CategoryUpdate, notify?: boolean) => Promise<void>;
2774
2861
  match: (id: BankTransaction['id'], matchId: BankTransaction['id'], notify?: boolean) => Promise<void>;
2775
2862
  updateOneLocal: (bankTransaction: BankTransaction) => void;
2776
2863
  refetch: () => void;
2864
+ setFilters: (filters?: Partial<BankTransactionFilters>) => void;
2865
+ activate: () => void;
2777
2866
  };
2867
+
2868
+ }
2869
+ declare module '@layerfi/components/hooks/useBankTransactions/useBankTransactions' {
2870
+ import { UseBankTransactions } from '@layerfi/components/hooks/useBankTransactions/types';
2778
2871
  export const useBankTransactions: UseBankTransactions;
2779
- export {};
2872
+
2873
+ }
2874
+ declare module '@layerfi/components/hooks/useBankTransactions/utils' {
2875
+ import { BankTransaction, CategorizationScope, DateRange, Direction } from '@layerfi/components/types';
2876
+ import { AccountItem, NumericRangeFilter } from '@layerfi/components/hooks/useBankTransactions/types';
2877
+ export const collectAccounts: (transactions?: BankTransaction[]) => AccountItem[];
2878
+ export const applyAmountFilter: (data?: BankTransaction[], filter?: NumericRangeFilter) => BankTransaction[] | undefined;
2879
+ export const applyAccountFilter: (data?: BankTransaction[], filter?: string[]) => BankTransaction[] | undefined;
2880
+ export const applyDirectionFilter: (data?: BankTransaction[], filter?: Direction[]) => BankTransaction[] | undefined;
2881
+ export const applyCategorizationStatusFilter: (data?: BankTransaction[], filter?: CategorizationScope) => BankTransaction[] | undefined;
2882
+ export const appplyDateRangeFilter: (data?: BankTransaction[], filter?: Partial<DateRange>) => BankTransaction[] | undefined;
2780
2883
 
2781
2884
  }
2782
2885
  declare module '@layerfi/components/hooks/useChartOfAccounts/index' {
@@ -2841,6 +2944,8 @@ declare module '@layerfi/components/hooks/useDrawer/useDrawer' {
2841
2944
  type UseDrawer = () => {
2842
2945
  content?: ReactNode;
2843
2946
  setContent: (content: ReactNode) => void;
2947
+ finishClosing: () => void;
2948
+ isClosing: boolean;
2844
2949
  close: () => void;
2845
2950
  };
2846
2951
  export const useDrawer: UseDrawer;
@@ -2905,16 +3010,6 @@ declare module '@layerfi/components/hooks/useJournal/useJournal' {
2905
3010
  export const useJournal: UseJournal;
2906
3011
  export {};
2907
3012
 
2908
- }
2909
- declare module '@layerfi/components/hooks/useLayerContext/index' {
2910
- export { useLayerContext } from '@layerfi/components/hooks/useLayerContext/useLayerContext';
2911
-
2912
- }
2913
- declare module '@layerfi/components/hooks/useLayerContext/useLayerContext' {
2914
- export const useLayerContext: () => import("@layerfi/components/types").LayerContextValues & import("../../types").LayerContextHelpers & {
2915
- setTheme: (theme: import("@layerfi/components/types/layer_context").LayerThemeConfig) => void;
2916
- };
2917
-
2918
3013
  }
2919
3014
  declare module '@layerfi/components/hooks/useLedgerAccounts/index' {
2920
3015
  export { useLedgerAccounts } from '@layerfi/components/hooks/useLedgerAccounts/useLedgerAccounts';
@@ -3385,6 +3480,7 @@ declare module '@layerfi/components/icons/types' {
3385
3480
 
3386
3481
  }
3387
3482
  declare module '@layerfi/components/index' {
3483
+ export { LayerProvider } from '@layerfi/components/providers/LayerProvider/index';
3388
3484
  export { BalanceSheet } from '@layerfi/components/components/BalanceSheet/index';
3389
3485
  export { BankTransactions } from '@layerfi/components/components/BankTransactions/index';
3390
3486
  export { Hello } from '@layerfi/components/components/Hello/index';
@@ -3392,8 +3488,6 @@ declare module '@layerfi/components/index' {
3392
3488
  export { ProfitAndLoss } from '@layerfi/components/components/ProfitAndLoss/index';
3393
3489
  export { ProfitAndLossView } from '@layerfi/components/components/ProfitAndLossView/index';
3394
3490
  export { ChartOfAccounts } from '@layerfi/components/components/ChartOfAccounts/index';
3395
- export { LayerProvider } from '@layerfi/components/providers/LayerProvider/index';
3396
- export { useLayerContext } from '@layerfi/components/hooks/useLayerContext/index';
3397
3491
  export { Journal } from '@layerfi/components/components/Journal/index';
3398
3492
  export { Onboarding } from '@layerfi/components/components/Onboarding/index';
3399
3493
  export { Tasks } from '@layerfi/components/components/Tasks/index';
@@ -3401,6 +3495,8 @@ declare module '@layerfi/components/index' {
3401
3495
  export { BankTransactionsWithLinkedAccounts } from '@layerfi/components/views/BankTransactionsWithLinkedAccounts/index';
3402
3496
  export { Reports } from '@layerfi/components/views/Reports/index';
3403
3497
  export { GeneralLedgerView } from '@layerfi/components/views/GeneralLedger/index';
3498
+ export { useLayerContext } from '@layerfi/components/contexts/LayerContext/index';
3499
+ export { useBankTransactionsContext } from '@layerfi/components/contexts/BankTransactionsContext/index';
3404
3500
 
3405
3501
  }
3406
3502
  declare module '@layerfi/components/models/APIError' {
@@ -3427,6 +3523,19 @@ declare module '@layerfi/components/models/Money' {
3427
3523
  };
3428
3524
  export default _default;
3429
3525
 
3526
+ }
3527
+ declare module '@layerfi/components/providers/BankTransactionsProvider/BankTransactionsProvider' {
3528
+ import React, { ReactNode } from 'react';
3529
+ interface BankTransactionsProviderProps {
3530
+ children: ReactNode;
3531
+ }
3532
+ export const BankTransactionsProvider: ({ children, }: BankTransactionsProviderProps) => React.JSX.Element;
3533
+ export {};
3534
+
3535
+ }
3536
+ declare module '@layerfi/components/providers/BankTransactionsProvider/index' {
3537
+ export { BankTransactionsProvider } from '@layerfi/components/providers/BankTransactionsProvider/BankTransactionsProvider';
3538
+
3430
3539
  }
3431
3540
  declare module '@layerfi/components/providers/LayerProvider/LayerProvider' {
3432
3541
  import React, { PropsWithChildren } from 'react';
@@ -3591,6 +3700,10 @@ declare module '@layerfi/components/types/categories' {
3591
3700
  JOURNALING = "JOURNALING",
3592
3701
  MATCHED = "MATCHED"
3593
3702
  }
3703
+ export enum CategorizationScope {
3704
+ TO_REVIEW = "TO_REVIEW",
3705
+ CATEGORIZED = "CATEGORIZED"
3706
+ }
3594
3707
  export interface CategoryEntry {
3595
3708
  amount?: number;
3596
3709
  category: Category;
@@ -3801,6 +3914,7 @@ declare module '@layerfi/components/types/layer_context' {
3801
3914
  getColor: (shade: number) => ColorsPaletteOption | undefined;
3802
3915
  setLightColor: (color?: ColorConfig) => void;
3803
3916
  setDarkColor: (color?: ColorConfig) => void;
3917
+ setTextColor: (color?: ColorConfig) => void;
3804
3918
  setColors: (colors?: LayerThemeConfigColors) => void;
3805
3919
  setOnboardingStep: (value: OnboardingStep) => void;
3806
3920
  addToast: (toast: ToastProps) => void;
@@ -3839,6 +3953,7 @@ declare module '@layerfi/components/types/layer_context' {
3839
3953
  export interface LayerThemeConfigColors {
3840
3954
  dark?: ColorConfig;
3841
3955
  light?: ColorConfig;
3956
+ text?: ColorConfig;
3842
3957
  }
3843
3958
  export interface LayerThemeConfig {
3844
3959
  colors?: LayerThemeConfigColors;
@@ -4113,7 +4228,7 @@ declare module '@layerfi/components/types' {
4113
4228
  export { LineItem } from '@layerfi/components/types/line_item';
4114
4229
  export { BalanceSheet } from '@layerfi/components/types/balance_sheet';
4115
4230
  export { Direction, BankTransaction } from '@layerfi/components/types/bank_transactions';
4116
- export { CategorizationStatus, Category, CategorizationType, AutoCategorization, SuggestedCategorization, SingleCategoryUpdate, SplitCategoryUpdate, CategoryUpdate, } from '@layerfi/components/types/categories';
4231
+ export { CategorizationStatus, CategorizationScope, Category, CategorizationType, AutoCategorization, SuggestedCategorization, SingleCategoryUpdate, SplitCategoryUpdate, CategoryUpdate, } from '@layerfi/components/types/categories';
4117
4232
  export { ChartOfAccounts, Account, NewAccount, EditAccount, } from '@layerfi/components/types/chart_of_accounts';
4118
4233
  export { LedgerAccountLineItems as LedgerAccounts, LedgerAccountLineItem, LedgerAccountsAccount, LedgerAccountsEntry, } from '@layerfi/components/types/ledger_accounts';
4119
4234
  export { SortDirection } from '@layerfi/components/types/general';