@layerfi/components 0.1.58 → 0.1.60

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
@@ -839,7 +839,11 @@ declare module '@layerfi/components/components/BalanceSheetDatePicker/index' {
839
839
  }
840
840
  declare module '@layerfi/components/components/BalanceSheetExpandAllButton/BalanceSheetExpandAllButton' {
841
841
  import React from 'react';
842
- export const BalanceSheetExpandAllButton: () => React.JSX.Element;
842
+ import { View } from '@layerfi/components/types/general';
843
+ export interface BalanceSheetExpandAllButtonProps {
844
+ view?: View;
845
+ }
846
+ export const BalanceSheetExpandAllButton: ({ view, }: BalanceSheetExpandAllButtonProps) => React.JSX.Element;
843
847
 
844
848
  }
845
849
  declare module '@layerfi/components/components/BalanceSheetExpandAllButton/index' {
@@ -1271,7 +1275,8 @@ declare module '@layerfi/components/components/Button/Button' {
1271
1275
  import React, { ButtonHTMLAttributes, ReactNode } from 'react';
1272
1276
  export enum ButtonVariant {
1273
1277
  primary = "primary",
1274
- secondary = "secondary"
1278
+ secondary = "secondary",
1279
+ tertiary = "tertiary"
1275
1280
  }
1276
1281
  export type ButtonJustify = 'center' | 'space-between' | 'start';
1277
1282
  export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
@@ -1282,8 +1287,9 @@ declare module '@layerfi/components/components/Button/Button' {
1282
1287
  iconAsPrimary?: boolean;
1283
1288
  justify?: ButtonJustify;
1284
1289
  fullWidth?: boolean;
1290
+ isProcessing?: boolean;
1285
1291
  }
1286
- export const Button: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, ...props }: ButtonProps) => React.JSX.Element;
1292
+ export const Button: ({ className, children, variant, leftIcon, rightIcon, iconOnly, iconAsPrimary, justify, fullWidth, isProcessing, ...props }: ButtonProps) => React.JSX.Element;
1287
1293
 
1288
1294
  }
1289
1295
  declare module '@layerfi/components/components/Button/CloseButton' {
@@ -1293,6 +1299,21 @@ declare module '@layerfi/components/components/Button/CloseButton' {
1293
1299
  }
1294
1300
  export const CloseButton: ({ className, children, textOnly, ...props }: CloseButtonProps) => React.JSX.Element;
1295
1301
 
1302
+ }
1303
+ declare module '@layerfi/components/components/Button/DownloadButton' {
1304
+ import React from 'react';
1305
+ interface DownloadButtonProps {
1306
+ onClick?: () => void | Promise<void>;
1307
+ iconOnly?: boolean;
1308
+ isDownloading?: boolean;
1309
+ requestFailed?: boolean;
1310
+ text?: string;
1311
+ retryText?: string;
1312
+ errorText?: string;
1313
+ }
1314
+ export const DownloadButton: ({ iconOnly, onClick, isDownloading, requestFailed, text, retryText, errorText, }: DownloadButtonProps) => React.JSX.Element;
1315
+ export {};
1316
+
1296
1317
  }
1297
1318
  declare module '@layerfi/components/components/Button/ExpandButton' {
1298
1319
  import React, { ButtonHTMLAttributes } from 'react';
@@ -1301,6 +1322,19 @@ declare module '@layerfi/components/components/Button/ExpandButton' {
1301
1322
  }
1302
1323
  export const ExpandButton: ({ className, children, collapsed, ...props }: ExpandButtonProps) => React.JSX.Element;
1303
1324
 
1325
+ }
1326
+ declare module '@layerfi/components/components/Button/ExpandCollapseButton' {
1327
+ import React from 'react';
1328
+ import { ButtonVariant } from '@layerfi/components/components/Button/Button';
1329
+ export interface ExpandCollapseButtonProps {
1330
+ onClick: (value: boolean) => void;
1331
+ expanded?: boolean;
1332
+ className?: string;
1333
+ iconOnly?: boolean;
1334
+ variant?: ButtonVariant;
1335
+ }
1336
+ export const ExpandCollapseButton: ({ onClick, expanded, className, iconOnly, variant, }: ExpandCollapseButtonProps) => React.JSX.Element;
1337
+
1304
1338
  }
1305
1339
  declare module '@layerfi/components/components/Button/IconButton' {
1306
1340
  import React, { ButtonHTMLAttributes, ReactNode } from 'react';
@@ -1389,6 +1423,8 @@ declare module '@layerfi/components/components/Button/index' {
1389
1423
  export { ExpandButton } from '@layerfi/components/components/Button/ExpandButton';
1390
1424
  export { SwitchButton } from '@layerfi/components/components/Button/SwitchButton';
1391
1425
  export { Link } from '@layerfi/components/components/Button/Link';
1426
+ export { DownloadButton } from '@layerfi/components/components/Button/DownloadButton';
1427
+ export { ExpandCollapseButton } from '@layerfi/components/components/Button/ExpandCollapseButton';
1392
1428
 
1393
1429
  }
1394
1430
  declare module '@layerfi/components/components/Card/Card' {
@@ -1466,7 +1502,6 @@ declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts'
1466
1502
  import React from 'react';
1467
1503
  import { ChartOfAccountsTableStringOverrides } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel';
1468
1504
  import { LedgerAccountStringOverrides } from '@layerfi/components/components/LedgerAccount/LedgerAccountIndex';
1469
- export type View = 'mobile' | 'tablet' | 'desktop';
1470
1505
  export interface ChartOfAccountsStringOverrides {
1471
1506
  chartOfAccountsTable?: ChartOfAccountsTableStringOverrides;
1472
1507
  ledgerAccount?: LedgerAccountStringOverrides;
@@ -1481,7 +1516,7 @@ declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts'
1481
1516
 
1482
1517
  }
1483
1518
  declare module '@layerfi/components/components/ChartOfAccounts/index' {
1484
- export { ChartOfAccounts, View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
1519
+ export { ChartOfAccounts } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
1485
1520
 
1486
1521
  }
1487
1522
  declare module '@layerfi/components/components/ChartOfAccountsDatePicker/ChartOfAccountsDatePicker' {
@@ -1553,7 +1588,7 @@ declare module '@layerfi/components/components/ChartOfAccountsSidebar/index' {
1553
1588
  declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTable' {
1554
1589
  import React from 'react';
1555
1590
  import { ChartWithBalances } from '@layerfi/components/types/chart_of_accounts';
1556
- import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
1591
+ import { View } from '@layerfi/components/types/general';
1557
1592
  import { ChartOfAccountsTableStringOverrides, ExpandActionState } from '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel';
1558
1593
  export const ChartOfAccountsTable: ({ view, stringOverrides, data, error, expandAll, cumulativeIndex, accountsLength, }: {
1559
1594
  view: View;
@@ -1577,7 +1612,7 @@ declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccou
1577
1612
  }
1578
1613
  declare module '@layerfi/components/components/ChartOfAccountsTable/ChartOfAccountsTableWithPanel' {
1579
1614
  import React, { RefObject } from 'react';
1580
- import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
1615
+ import { View } from '@layerfi/components/types/general';
1581
1616
  import { ChartOfAccountsFormStringOverrides } from '@layerfi/components/components/ChartOfAccountsForm/ChartOfAccountsForm';
1582
1617
  export type ExpandActionState = undefined | 'expanded' | 'collapsed';
1583
1618
  export interface ChartOfAccountsTableStringOverrides {
@@ -1618,6 +1653,10 @@ declare module '@layerfi/components/components/Container/Container' {
1618
1653
 
1619
1654
  }
1620
1655
  declare module '@layerfi/components/components/Container/Header' {
1656
+ /**
1657
+ * @deprecated- use components/Header instead.
1658
+ * This has been kept to not introduce breaking changes.
1659
+ */
1621
1660
  import React, { CSSProperties, ReactNode } from 'react';
1622
1661
  export enum HeaderLayout {
1623
1662
  DEFAULT = "default",
@@ -1720,10 +1759,11 @@ declare module '@layerfi/components/components/DetailsList/DetailsList' {
1720
1759
  export interface DetailsListProps {
1721
1760
  title?: string;
1722
1761
  className?: string;
1762
+ titleClassName?: string;
1723
1763
  children: ReactNode;
1724
1764
  actions?: ReactNode;
1725
1765
  }
1726
- export const DetailsList: ({ title, children, className, actions, }: DetailsListProps) => React.JSX.Element;
1766
+ export const DetailsList: ({ title, children, className, titleClassName, actions, }: DetailsListProps) => React.JSX.Element;
1727
1767
 
1728
1768
  }
1729
1769
  declare module '@layerfi/components/components/DetailsList/DetailsListItem' {
@@ -1830,6 +1870,47 @@ declare module '@layerfi/components/components/GlobalWidgets/GlobalWidgets' {
1830
1870
  declare module '@layerfi/components/components/GlobalWidgets/index' {
1831
1871
  export { GlobalWidgets } from '@layerfi/components/components/GlobalWidgets/GlobalWidgets';
1832
1872
 
1873
+ }
1874
+ declare module '@layerfi/components/components/Header/Header' {
1875
+ import React, { CSSProperties, ReactNode } from 'react';
1876
+ export interface HeaderProps {
1877
+ className?: string;
1878
+ style?: CSSProperties;
1879
+ asHeader?: boolean;
1880
+ sticky?: boolean;
1881
+ rounded?: boolean;
1882
+ children: ReactNode;
1883
+ }
1884
+ export const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLDivElement | HTMLElement>>;
1885
+
1886
+ }
1887
+ declare module '@layerfi/components/components/Header/HeaderCol' {
1888
+ import React, { CSSProperties, ReactNode } from 'react';
1889
+ interface HeaderColProps {
1890
+ className?: string;
1891
+ style?: CSSProperties;
1892
+ children: ReactNode;
1893
+ }
1894
+ export const HeaderCol: ({ className, children, style }: HeaderColProps) => React.JSX.Element;
1895
+ export {};
1896
+
1897
+ }
1898
+ declare module '@layerfi/components/components/Header/HeaderRow' {
1899
+ import React, { CSSProperties, ReactNode } from 'react';
1900
+ interface HeaderRowProps {
1901
+ className?: string;
1902
+ style?: CSSProperties;
1903
+ children: ReactNode;
1904
+ }
1905
+ export const HeaderRow: ({ className, children, style }: HeaderRowProps) => React.JSX.Element;
1906
+ export {};
1907
+
1908
+ }
1909
+ declare module '@layerfi/components/components/Header/index' {
1910
+ export { Header } from '@layerfi/components/components/Header/Header';
1911
+ export { HeaderRow } from '@layerfi/components/components/Header/HeaderRow';
1912
+ export { HeaderCol } from '@layerfi/components/components/Header/HeaderCol';
1913
+
1833
1914
  }
1834
1915
  declare module '@layerfi/components/components/HoverMenu/HoverMenu' {
1835
1916
  import React, { ReactNode } from 'react';
@@ -1953,7 +2034,6 @@ declare module '@layerfi/components/components/Input/index' {
1953
2034
  declare module '@layerfi/components/components/Journal/Journal' {
1954
2035
  import React from 'react';
1955
2036
  import { JournalTableStringOverrides } from '@layerfi/components/components/JournalTable/JournalTableWithPanel';
1956
- export type View = 'mobile' | 'tablet' | 'desktop';
1957
2037
  export interface JournalConfig {
1958
2038
  form: {
1959
2039
  addEntryLinesLimit?: number;
@@ -1972,7 +2052,7 @@ declare module '@layerfi/components/components/Journal/Journal' {
1972
2052
 
1973
2053
  }
1974
2054
  declare module '@layerfi/components/components/Journal/index' {
1975
- export { Journal, View } from '@layerfi/components/components/Journal/Journal';
2055
+ export { Journal } from '@layerfi/components/components/Journal/Journal';
1976
2056
 
1977
2057
  }
1978
2058
  declare module '@layerfi/components/components/JournalEntryDetails/JournalEntryDetails' {
@@ -2037,7 +2117,7 @@ declare module '@layerfi/components/components/JournalSidebar/index' {
2037
2117
  declare module '@layerfi/components/components/JournalTable/JournalTable' {
2038
2118
  import React from 'react';
2039
2119
  import { JournalEntry } from '@layerfi/components/types';
2040
- import { View } from '@layerfi/components/components/Journal/index';
2120
+ import { View } from '@layerfi/components/types/general';
2041
2121
  import { JournalTableStringOverrides } from '@layerfi/components/components/JournalTable/JournalTableWithPanel';
2042
2122
  export const JournalTable: ({ view, data, stringOverrides, }: {
2043
2123
  view: View;
@@ -2048,11 +2128,12 @@ declare module '@layerfi/components/components/JournalTable/JournalTable' {
2048
2128
  }
2049
2129
  declare module '@layerfi/components/components/JournalTable/JournalTableWithPanel' {
2050
2130
  import React, { RefObject } from 'react';
2051
- import { View } from '@layerfi/components/components/Journal/index';
2131
+ import { View } from '@layerfi/components/types/general';
2052
2132
  import { JournalConfig } from '@layerfi/components/components/Journal/Journal';
2053
2133
  import { JournalFormStringOverrides } from '@layerfi/components/components/JournalForm/JournalForm';
2054
2134
  export interface JournalTableStringOverrides {
2055
2135
  componentTitle?: string;
2136
+ componentSubtitle?: string;
2056
2137
  addEntryButton?: string;
2057
2138
  idColumnHeader?: string;
2058
2139
  dateColumnHeader?: string;
@@ -2062,7 +2143,7 @@ declare module '@layerfi/components/components/JournalTable/JournalTableWithPane
2062
2143
  creditColumnHeader?: string;
2063
2144
  journalForm?: JournalFormStringOverrides;
2064
2145
  }
2065
- export const JournalTableWithPanel: ({ containerRef, pageSize, config, stringOverrides, }: {
2146
+ export const JournalTableWithPanel: ({ containerRef, pageSize, config, stringOverrides, view, }: {
2066
2147
  view: View;
2067
2148
  containerRef: RefObject<HTMLDivElement>;
2068
2149
  pageSize?: number | undefined;
@@ -2077,7 +2158,7 @@ declare module '@layerfi/components/components/JournalTable/index' {
2077
2158
  }
2078
2159
  declare module '@layerfi/components/components/LedgerAccount/LedgerAccountIndex' {
2079
2160
  import React, { RefObject } from 'react';
2080
- import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
2161
+ import { View } from '@layerfi/components/types/general';
2081
2162
  import { LedgerAccountEntryDetailsStringOverrides } from '@layerfi/components/components/LedgerAccountEntryDetails/LedgerAccountEntryDetails';
2082
2163
  interface LedgerEntriesTableStringOverrides {
2083
2164
  dateColumnHeader?: string;
@@ -2104,7 +2185,7 @@ declare module '@layerfi/components/components/LedgerAccount/LedgerAccountIndex'
2104
2185
  declare module '@layerfi/components/components/LedgerAccount/LedgerAccountRow' {
2105
2186
  import React from 'react';
2106
2187
  import { LedgerAccountLineItem } from '@layerfi/components/types';
2107
- import { View } from '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts';
2188
+ import { View } from '@layerfi/components/types/general';
2108
2189
  export interface LedgerAccountRowProps {
2109
2190
  row: LedgerAccountLineItem;
2110
2191
  index: number;
@@ -2897,7 +2978,7 @@ declare module '@layerfi/components/components/TableBody/index' {
2897
2978
  declare module '@layerfi/components/components/TableCell/TableCell' {
2898
2979
  import React from 'react';
2899
2980
  import { TableCellProps } from '@layerfi/components/types/table';
2900
- export const TableCell: ({ children, isHeaderCell, isCurrency, primary, withExpandIcon, fullWidth, colSpan, onClick, }: TableCellProps) => React.JSX.Element;
2981
+ export const TableCell: ({ children, className, isHeaderCell, isCurrency, align, primary, withExpandIcon, fullWidth, colSpan, onClick, style, width, }: TableCellProps) => React.JSX.Element;
2901
2982
 
2902
2983
  }
2903
2984
  declare module '@layerfi/components/components/TableCell/index' {
@@ -2923,46 +3004,6 @@ declare module '@layerfi/components/components/TableRow/TableRow' {
2923
3004
  declare module '@layerfi/components/components/TableRow/index' {
2924
3005
  export { TableRow } from '@layerfi/components/components/TableRow/TableRow';
2925
3006
 
2926
- }
2927
- declare module '@layerfi/components/components/Tabs/Tab' {
2928
- import React, { ChangeEvent, ReactNode } from 'react';
2929
- interface TabProps {
2930
- checked: boolean;
2931
- label: string;
2932
- name: string;
2933
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
2934
- value: string;
2935
- disabled?: boolean;
2936
- disabledMessage?: string;
2937
- leftIcon?: ReactNode;
2938
- index: number;
2939
- }
2940
- export const Tab: ({ checked, label, name, onChange, value, leftIcon, disabled, disabledMessage, index, }: TabProps) => React.JSX.Element;
2941
- export {};
2942
-
2943
- }
2944
- declare module '@layerfi/components/components/Tabs/Tabs' {
2945
- import React, { ChangeEvent, ReactNode } from 'react';
2946
- interface Option {
2947
- label: string;
2948
- value: string;
2949
- disabled?: boolean;
2950
- disabledMessage?: string;
2951
- leftIcon?: ReactNode;
2952
- }
2953
- interface TabsProps {
2954
- name: string;
2955
- options: Option[];
2956
- selected?: Option['value'];
2957
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
2958
- }
2959
- export const Tabs: ({ name, options, selected, onChange }: TabsProps) => React.JSX.Element;
2960
- export {};
2961
-
2962
- }
2963
- declare module '@layerfi/components/components/Tabs/index' {
2964
- export { Tabs } from '@layerfi/components/components/Tabs/Tabs';
2965
-
2966
3007
  }
2967
3008
  declare module '@layerfi/components/components/Tasks/Tasks' {
2968
3009
  import React, { ReactNode } from 'react';
@@ -3342,13 +3383,14 @@ declare module '@layerfi/components/components/View/View' {
3342
3383
  export interface ViewProps {
3343
3384
  children: ReactNode;
3344
3385
  title?: string;
3386
+ showHeader?: boolean;
3345
3387
  headerControls?: ReactNode;
3346
3388
  type?: 'default' | 'panel';
3347
3389
  withSidebar?: boolean;
3348
3390
  sidebar?: ReactNode;
3349
3391
  viewClassName?: string;
3350
3392
  }
3351
- export const View: ({ title, children, headerControls, type, withSidebar, sidebar, viewClassName, }: ViewProps) => React.JSX.Element;
3393
+ export const View: React.ForwardRefExoticComponent<ViewProps & React.RefAttributes<HTMLDivElement>>;
3352
3394
 
3353
3395
  }
3354
3396
  declare module '@layerfi/components/components/View/index' {
@@ -3920,6 +3962,16 @@ declare module '@layerfi/components/hooks/useElementSize/useElementSize' {
3920
3962
  clientHeight: number;
3921
3963
  }) => void) => import("react").RefObject<T>;
3922
3964
 
3965
+ }
3966
+ declare module '@layerfi/components/hooks/useElementViewSize/index' {
3967
+ export { useElementViewSize } from '@layerfi/components/hooks/useElementViewSize/useElementViewSize';
3968
+
3969
+ }
3970
+ declare module '@layerfi/components/hooks/useElementViewSize/useElementViewSize' {
3971
+ /// <reference types="react" />
3972
+ import { View } from '@layerfi/components/types/general';
3973
+ export const useElementViewSize: <T extends HTMLElement>(callback: (view: View) => void) => import("react").RefObject<T>;
3974
+
3923
3975
  }
3924
3976
  declare module '@layerfi/components/hooks/useJournal/index' {
3925
3977
  export { useJournal } from '@layerfi/components/hooks/useJournal/useJournal';
@@ -4344,6 +4396,13 @@ declare module '@layerfi/components/icons/Coffee' {
4344
4396
  const CoffeeIcon: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
4345
4397
  export default CoffeeIcon;
4346
4398
 
4399
+ }
4400
+ declare module '@layerfi/components/icons/Collapse' {
4401
+ import * as React from 'react';
4402
+ import { IconSvgProps } from '@layerfi/components/icons/types';
4403
+ const Collapse: ({ ...props }: IconSvgProps) => React.JSX.Element;
4404
+ export default Collapse;
4405
+
4347
4406
  }
4348
4407
  declare module '@layerfi/components/icons/CreditCard' {
4349
4408
  import * as React from 'react';
@@ -4365,6 +4424,13 @@ declare module '@layerfi/components/icons/Edit2' {
4365
4424
  const Edit2: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
4366
4425
  export default Edit2;
4367
4426
 
4427
+ }
4428
+ declare module '@layerfi/components/icons/Expand' {
4429
+ import * as React from 'react';
4430
+ import { IconSvgProps } from '@layerfi/components/icons/types';
4431
+ const Expand: ({ ...props }: IconSvgProps) => React.JSX.Element;
4432
+ export default Expand;
4433
+
4368
4434
  }
4369
4435
  declare module '@layerfi/components/icons/Folder' {
4370
4436
  import * as React from 'react';
@@ -4427,6 +4493,13 @@ declare module '@layerfi/components/icons/PlaidIcon' {
4427
4493
  const PlaidIcon: () => React.JSX.Element;
4428
4494
  export default PlaidIcon;
4429
4495
 
4496
+ }
4497
+ declare module '@layerfi/components/icons/Plus' {
4498
+ import * as React from 'react';
4499
+ import { IconSvgProps } from '@layerfi/components/icons/types';
4500
+ const Plus: ({ size, ...props }: IconSvgProps) => React.JSX.Element;
4501
+ export default Plus;
4502
+
4430
4503
  }
4431
4504
  declare module '@layerfi/components/icons/PlusIcon' {
4432
4505
  import * as React from 'react';
@@ -4934,6 +5007,7 @@ declare module '@layerfi/components/types/chart_of_accounts' {
4934
5007
  }
4935
5008
  declare module '@layerfi/components/types/general' {
4936
5009
  export type SortDirection = 'asc' | 'desc';
5010
+ export type View = 'mobile' | 'tablet' | 'desktop';
4937
5011
  export interface BaseSelectOption {
4938
5012
  label: string;
4939
5013
  value: string | number;
@@ -5400,7 +5474,7 @@ declare module '@layerfi/components/types/statement_of_cash_flow' {
5400
5474
 
5401
5475
  }
5402
5476
  declare module '@layerfi/components/types/table' {
5403
- import { ReactNode } from 'react';
5477
+ import { CSSProperties, ReactNode } from 'react';
5404
5478
  export interface TableContextProps {
5405
5479
  expandedRows: string[];
5406
5480
  setExpandedRows: (rowKey: string) => void;
@@ -5408,6 +5482,10 @@ declare module '@layerfi/components/types/table' {
5408
5482
  expandedAllRows: boolean;
5409
5483
  setExpandedAllRows: (expanded: boolean) => void;
5410
5484
  }
5485
+ export enum TableCellAlign {
5486
+ RIGHT = "right",
5487
+ LEFT = "left"
5488
+ }
5411
5489
  export interface TableProps {
5412
5490
  children: ReactNode | ReactNode[];
5413
5491
  componentName?: string;
@@ -5436,11 +5514,15 @@ declare module '@layerfi/components/types/table' {
5436
5514
  }
5437
5515
  export interface TableCellProps {
5438
5516
  children?: number | string | ReactNode;
5517
+ className?: string;
5439
5518
  isCurrency?: boolean;
5440
5519
  isHeaderCell?: boolean;
5520
+ align?: TableCellAlign;
5441
5521
  primary?: boolean;
5442
5522
  withExpandIcon?: boolean;
5443
5523
  fullWidth?: boolean;
5524
+ width?: string;
5525
+ style?: CSSProperties;
5444
5526
  colSpan?: number;
5445
5527
  onClick?: (e: React.MouseEvent<HTMLTableCellElement, MouseEvent>) => void;
5446
5528
  }
@@ -5614,13 +5696,14 @@ declare module '@layerfi/components/views/AccountingOverview/AccountingOverview'
5614
5696
  }
5615
5697
  export interface AccountingOverviewProps {
5616
5698
  title?: string;
5699
+ showTitle?: boolean;
5617
5700
  enableOnboarding?: boolean;
5618
5701
  onTransactionsToReviewClick?: () => void;
5619
5702
  middleBanner?: ReactNode;
5620
5703
  chartColorsList?: string[];
5621
5704
  stringOverrides?: AccountingOverviewStringOverrides;
5622
5705
  }
5623
- export const AccountingOverview: ({ title, enableOnboarding, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, }: AccountingOverviewProps) => React.JSX.Element;
5706
+ export const AccountingOverview: ({ title, showTitle, enableOnboarding, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, }: AccountingOverviewProps) => React.JSX.Element;
5624
5707
  export {};
5625
5708
 
5626
5709
  }
@@ -5639,6 +5722,7 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/Ban
5639
5722
  }
5640
5723
  export interface BankTransactionsWithLinkedAccountsProps {
5641
5724
  title?: string;
5725
+ showTitle?: boolean;
5642
5726
  elevatedLinkedAccounts?: boolean;
5643
5727
  showLedgerBalance?: boolean;
5644
5728
  showUnlinkItem?: boolean;
@@ -5649,7 +5733,7 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/Ban
5649
5733
  mobileComponent?: MobileComponentType;
5650
5734
  stringOverrides?: BankTransactionsWithLinkedAccountsStringOverrides;
5651
5735
  }
5652
- export const BankTransactionsWithLinkedAccounts: ({ title, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, mode, showDescriptions, showReceiptUploads, mobileComponent, stringOverrides, }: BankTransactionsWithLinkedAccountsProps) => React.JSX.Element;
5736
+ export const BankTransactionsWithLinkedAccounts: ({ title, showTitle, elevatedLinkedAccounts, showLedgerBalance, showUnlinkItem, showBreakConnection, mode, showDescriptions, showReceiptUploads, mobileComponent, stringOverrides, }: BankTransactionsWithLinkedAccountsProps) => React.JSX.Element;
5653
5737
  export {};
5654
5738
 
5655
5739
  }
@@ -5664,6 +5748,7 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
5664
5748
  import { TasksStringOverrides } from '@layerfi/components/components/Tasks/Tasks';
5665
5749
  export interface BookkeepingOverviewProps {
5666
5750
  title?: string;
5751
+ showTitle?: boolean;
5667
5752
  stringOverrides?: {
5668
5753
  title?: string;
5669
5754
  tasks?: TasksStringOverrides;
@@ -5674,7 +5759,7 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
5674
5759
  };
5675
5760
  };
5676
5761
  }
5677
- export const BookkeepingOverview: ({ title, stringOverrides, }: BookkeepingOverviewProps) => React.JSX.Element;
5762
+ export const BookkeepingOverview: ({ title, showTitle, stringOverrides, }: BookkeepingOverviewProps) => React.JSX.Element;
5678
5763
 
5679
5764
  }
5680
5765
  declare module '@layerfi/components/views/BookkeepingOverview/index' {
@@ -5694,9 +5779,10 @@ declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
5694
5779
  }
5695
5780
  export interface GeneralLedgerProps {
5696
5781
  title?: string;
5782
+ showTitle?: boolean;
5697
5783
  stringOverrides?: GeneralLedgerStringOverrides;
5698
5784
  }
5699
- export const GeneralLedgerView: ({ title, stringOverrides, }: GeneralLedgerProps) => React.JSX.Element;
5785
+ export const GeneralLedgerView: ({ title, showTitle, stringOverrides, }: GeneralLedgerProps) => React.JSX.Element;
5700
5786
 
5701
5787
  }
5702
5788
  declare module '@layerfi/components/views/GeneralLedger/index' {
@@ -5724,6 +5810,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
5724
5810
  }
5725
5811
  export interface ReportsProps {
5726
5812
  title?: string;
5813
+ showTitle?: boolean;
5727
5814
  stringOverrides?: ReportsStringOverrides;
5728
5815
  enabledReports?: ReportType[];
5729
5816
  comparisonConfig?: ProfitAndLossCompareOptionsProps;
@@ -5753,7 +5840,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
5753
5840
  downloadButtonText?: string;
5754
5841
  retryButtonText?: string;
5755
5842
  }
5756
- export const Reports: ({ title, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) => React.JSX.Element;
5843
+ export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) => React.JSX.Element;
5757
5844
  export {};
5758
5845
 
5759
5846
  }