@layerfi/components 0.1.114-alpha → 0.1.114-alpha.1
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 +486 -478
- package/dist/esm/index.mjs +487 -479
- package/dist/index.css +2309 -1814
- package/dist/index.d.ts +11 -7
- package/package.json +1 -3
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ declare type AccountingConfigurationSchemaType = typeof AccountingConfigurationS
|
|
|
44
44
|
export declare const AccountingOverview: ({ title, showTitle, enableOnboarding, onboardingStepOverride, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, tagFilter, slotProps, }: AccountingOverviewProps) => JSX_2.Element;
|
|
45
45
|
|
|
46
46
|
declare interface AccountingOverviewProps {
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated Use `stringOverrides.title` instead
|
|
49
|
+
*/
|
|
47
50
|
title?: string;
|
|
48
51
|
showTitle?: boolean;
|
|
49
52
|
enableOnboarding?: boolean;
|
|
@@ -63,6 +66,7 @@ declare interface AccountingOverviewProps {
|
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
declare interface AccountingOverviewStringOverrides {
|
|
69
|
+
title?: string;
|
|
66
70
|
header?: string;
|
|
67
71
|
profitAndLoss?: {
|
|
68
72
|
detailedCharts?: ProfitAndLossDetailedChartsStringOverrides;
|
|
@@ -374,12 +378,6 @@ declare type CommonProfitAndLossSummariesProps = {
|
|
|
374
378
|
vertical?: boolean;
|
|
375
379
|
};
|
|
376
380
|
|
|
377
|
-
declare type CustomDateRange = {
|
|
378
|
-
label: string;
|
|
379
|
-
startDate: Date;
|
|
380
|
-
endDate: Date;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
381
|
declare enum DataModel {
|
|
384
382
|
BUSINESS = "BUSINESS",
|
|
385
383
|
BALANCE_SHEET = "BALANCE_SHEET",
|
|
@@ -405,6 +403,11 @@ declare type DeepPartial<T> = {
|
|
|
405
403
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
406
404
|
};
|
|
407
405
|
|
|
406
|
+
declare interface DetailedChartStringOverrides {
|
|
407
|
+
expenseChartHeader?: string;
|
|
408
|
+
revenueChartHeader?: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
408
411
|
declare interface DetailedTableStringOverrides {
|
|
409
412
|
categoryColumnHeader?: string;
|
|
410
413
|
typeColumnHeader?: string;
|
|
@@ -843,6 +846,7 @@ declare interface ProfitAndLossCompareConfig {
|
|
|
843
846
|
}
|
|
844
847
|
|
|
845
848
|
declare interface ProfitAndLossDetailedChartsStringOverrides {
|
|
849
|
+
detailedChartStringOverrides?: DetailedChartStringOverrides;
|
|
846
850
|
detailedTableStringOverrides?: DetailedTableStringOverrides;
|
|
847
851
|
detailReportStringOverrides?: ProfitAndLossDetailReportProps['stringOverrides'];
|
|
848
852
|
}
|
|
@@ -1092,7 +1096,7 @@ declare type TimeRangePickerConfig = {
|
|
|
1092
1096
|
/**
|
|
1093
1097
|
* @deprecated This property is no longer used. Use `dateSelectionMode` instead.
|
|
1094
1098
|
*/
|
|
1095
|
-
customDateRanges?:
|
|
1099
|
+
customDateRanges?: unknown;
|
|
1096
1100
|
dateSelectionMode?: 'month' | 'full';
|
|
1097
1101
|
csvMoneyFormat?: MoneyFormat;
|
|
1098
1102
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerfi/components",
|
|
3
|
-
"version": "0.1.114-alpha",
|
|
3
|
+
"version": "0.1.114-alpha.1",
|
|
4
4
|
"description": "Layer React Components",
|
|
5
5
|
"main": "dist/cjs/index.cjs",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"@types/node": "^24.9.0",
|
|
59
59
|
"@types/pluralize": "^0.0.33",
|
|
60
60
|
"@types/react": "^18.2.0",
|
|
61
|
-
"@types/react-datepicker": "^6.2.0",
|
|
62
61
|
"@types/react-dom": "^18.2.0",
|
|
63
62
|
"@vitejs/plugin-react": "^5.0.4",
|
|
64
63
|
"eslint": "^9.26.0",
|
|
@@ -105,7 +104,6 @@
|
|
|
105
104
|
"react-aria-components": "^1.8.0",
|
|
106
105
|
"react-calendly": "^4.4.0",
|
|
107
106
|
"react-currency-input-field": "^3.10.0",
|
|
108
|
-
"react-datepicker": "^6.9.0",
|
|
109
107
|
"react-dropzone": "^14.3.8",
|
|
110
108
|
"react-merge-refs": "^3.0.2",
|
|
111
109
|
"react-plaid-link": "^4.0.1",
|