@layerfi/components 0.1.59 → 0.1.61
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/esm/index.js +4 -2
- package/dist/esm/index.js.map +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/.idea/codeStyles/Project.xml +0 -61
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/layer-react.iml +0 -9
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -5748,6 +5748,7 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
|
|
|
5748
5748
|
import { TasksStringOverrides } from '@layerfi/components/components/Tasks/Tasks';
|
|
5749
5749
|
export interface BookkeepingOverviewProps {
|
|
5750
5750
|
title?: string;
|
|
5751
|
+
showTitle?: boolean;
|
|
5751
5752
|
stringOverrides?: {
|
|
5752
5753
|
title?: string;
|
|
5753
5754
|
tasks?: TasksStringOverrides;
|
|
@@ -5758,7 +5759,7 @@ declare module '@layerfi/components/views/BookkeepingOverview/BookkeepingOvervie
|
|
|
5758
5759
|
};
|
|
5759
5760
|
};
|
|
5760
5761
|
}
|
|
5761
|
-
export const BookkeepingOverview: ({ title, stringOverrides, }: BookkeepingOverviewProps) => React.JSX.Element;
|
|
5762
|
+
export const BookkeepingOverview: ({ title, showTitle, stringOverrides, }: BookkeepingOverviewProps) => React.JSX.Element;
|
|
5762
5763
|
|
|
5763
5764
|
}
|
|
5764
5765
|
declare module '@layerfi/components/views/BookkeepingOverview/index' {
|
package/dist/index.js
CHANGED
|
@@ -1338,7 +1338,7 @@ var useLinkedAccounts = () => {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
}, [syncTimestamps]);
|
|
1340
1340
|
return {
|
|
1341
|
-
data: USE_MOCK_RESPONSE_DATA ? mockResponseData.data : responseData?.data.external_accounts,
|
|
1341
|
+
data: USE_MOCK_RESPONSE_DATA ? mockResponseData.data : responseData?.data.external_accounts ?? [],
|
|
1342
1342
|
isLoading,
|
|
1343
1343
|
loadingStatus,
|
|
1344
1344
|
isValidating,
|
|
@@ -16136,6 +16136,7 @@ var import_classnames66 = __toESM(require("classnames"));
|
|
|
16136
16136
|
var BookkeepingOverview = ({
|
|
16137
16137
|
title,
|
|
16138
16138
|
// deprecated
|
|
16139
|
+
showTitle = true,
|
|
16139
16140
|
stringOverrides
|
|
16140
16141
|
}) => {
|
|
16141
16142
|
const [pnlToggle, setPnlToggle] = (0, import_react184.useState)("expenses");
|
|
@@ -16146,7 +16147,8 @@ var BookkeepingOverview = ({
|
|
|
16146
16147
|
viewClassName: "Layer__bookkeeping-overview--view",
|
|
16147
16148
|
title: stringOverrides?.title || title || "Bookkeeping overview",
|
|
16148
16149
|
withSidebar: width > 1100,
|
|
16149
|
-
sidebar: /* @__PURE__ */ import_react184.default.createElement(TasksComponent, { stringOverrides: stringOverrides?.tasks })
|
|
16150
|
+
sidebar: /* @__PURE__ */ import_react184.default.createElement(TasksComponent, { stringOverrides: stringOverrides?.tasks }),
|
|
16151
|
+
showHeader: showTitle
|
|
16150
16152
|
},
|
|
16151
16153
|
width <= 1100 && /* @__PURE__ */ import_react184.default.createElement(
|
|
16152
16154
|
TasksComponent,
|