@layerfi/components 0.1.131-alpha → 0.1.132-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/cjs/index.cjs +1627 -1487
- package/dist/esm/index.mjs +1619 -1480
- package/dist/index.css +405 -310
- package/dist/index.d.ts +37 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -284,6 +284,10 @@ declare const BusinessSchema: Schema.Struct<{
|
|
|
284
284
|
activationAt: Schema.PropertySignature<":", Date, "activation_at", ":", string, false, never>;
|
|
285
285
|
}>;
|
|
286
286
|
|
|
287
|
+
declare type CardStringOverrides = {
|
|
288
|
+
header?: string;
|
|
289
|
+
};
|
|
290
|
+
|
|
287
291
|
export declare const ChartOfAccounts: (props: ChartOfAccountsProps) => JSX_2.Element;
|
|
288
292
|
|
|
289
293
|
declare interface ChartOfAccountsFormStringOverrides {
|
|
@@ -1021,6 +1025,35 @@ declare const _SIZE_VARIANTS: readonly ["sm", "lg"];
|
|
|
1021
1025
|
|
|
1022
1026
|
declare type SizeVariant = (typeof _SIZE_VARIANTS)[number];
|
|
1023
1027
|
|
|
1028
|
+
declare interface SolopreneurOverviewProps {
|
|
1029
|
+
showTitle?: boolean;
|
|
1030
|
+
enableOnboarding?: boolean;
|
|
1031
|
+
onboardingStepOverride?: OnboardingStep;
|
|
1032
|
+
onTransactionsToReviewClick?: () => void;
|
|
1033
|
+
middleBanner?: ReactNode;
|
|
1034
|
+
chartColorsList?: string[];
|
|
1035
|
+
stringOverrides?: SolopreneurOverviewStringOverrides;
|
|
1036
|
+
tagFilter?: TagOption;
|
|
1037
|
+
slotProps?: {
|
|
1038
|
+
profitAndLoss?: {
|
|
1039
|
+
summaries?: {
|
|
1040
|
+
variants?: Variants;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
declare interface SolopreneurOverviewStringOverrides {
|
|
1047
|
+
title?: string;
|
|
1048
|
+
profitAndLossSummaries?: ProfitAndLossSummariesStringOverrides;
|
|
1049
|
+
cards?: {
|
|
1050
|
+
profitAndLoss?: CardStringOverrides;
|
|
1051
|
+
expenses?: CardStringOverrides;
|
|
1052
|
+
taxEstimates?: CardStringOverrides;
|
|
1053
|
+
mileageTracking?: CardStringOverrides;
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1024
1057
|
declare interface SourceDetailStringOverrides {
|
|
1025
1058
|
sourceLabel?: string;
|
|
1026
1059
|
accountNameLabel?: string;
|
|
@@ -1102,7 +1135,8 @@ declare type TaxEstimatesContextProviderProps = PropsWithChildren<{
|
|
|
1102
1135
|
declare type TaxEstimatesProps = TaxEstimatesContextProviderProps;
|
|
1103
1136
|
|
|
1104
1137
|
declare type TaxEstimatesReviewTransactionsPayload = {
|
|
1105
|
-
|
|
1138
|
+
uncategorizedMoneyIn: number;
|
|
1139
|
+
uncategorizedMoneyOut: number;
|
|
1106
1140
|
uncategorizedTransactionCount: number;
|
|
1107
1141
|
};
|
|
1108
1142
|
|
|
@@ -1161,6 +1195,8 @@ export declare const unstable_MileageTracking: ({ showTitle }: {
|
|
|
1161
1195
|
showTitle?: boolean;
|
|
1162
1196
|
}) => JSX_2.Element;
|
|
1163
1197
|
|
|
1198
|
+
export declare const unstable_SolopreneurOverview: ({ showTitle, enableOnboarding, onboardingStepOverride, onTransactionsToReviewClick, middleBanner, chartColorsList, stringOverrides, tagFilter, slotProps, }: SolopreneurOverviewProps) => JSX_2.Element;
|
|
1199
|
+
|
|
1164
1200
|
export declare const unstable_TaxEstimates: ({ onClickReviewTransactions: onReviewClicked }: TaxEstimatesProps) => JSX_2.Element;
|
|
1165
1201
|
|
|
1166
1202
|
export declare const useLayerContext: () => LayerContextShape;
|