@layerfi/components 0.1.24 → 0.1.25

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 CHANGED
@@ -10485,7 +10485,7 @@ var LedgerAccount = ({
10485
10485
  }) => {
10486
10486
  const [currentPage, setCurrentPage] = useState36(1);
10487
10487
  const [initialLoad, setInitialLoad] = useState36(true);
10488
- const { data: accountData } = useContext16(ChartOfAccountsContext);
10488
+ const { data: accountData, dateRange } = useContext16(ChartOfAccountsContext);
10489
10489
  const {
10490
10490
  data: rawData,
10491
10491
  error,
@@ -10551,7 +10551,7 @@ var LedgerAccount = ({
10551
10551
  weight: "bold" /* bold */,
10552
10552
  className: "Layer__ledger-account__balance-label"
10553
10553
  },
10554
- "Current balance"
10554
+ "Current Balance"
10555
10555
  ), /* @__PURE__ */ React122.createElement(
10556
10556
  Text,
10557
10557
  {
@@ -10586,7 +10586,7 @@ var LedgerAccount = ({
10586
10586
  onRefresh: () => refetch(),
10587
10587
  isLoading: isValidating || isLoading
10588
10588
  }
10589
- )) : null, (!data || isLoading) && !error ? /* @__PURE__ */ React122.createElement("div", { className: `Layer__ledger-account__loader-container` }, /* @__PURE__ */ React122.createElement(Loader2, null)) : null, !isLoading && !error && data?.length === 0 ? /* @__PURE__ */ React122.createElement("div", { className: "Layer__table-state-container" }, /* @__PURE__ */ React122.createElement(
10589
+ )) : null, (!data || isLoading) && !error ? /* @__PURE__ */ React122.createElement("div", { className: "Layer__ledger-account__loader-container" }, /* @__PURE__ */ React122.createElement(Loader2, null)) : null, !isLoading && !error && data?.length === 0 ? /* @__PURE__ */ React122.createElement("div", { className: "Layer__table-state-container" }, /* @__PURE__ */ React122.createElement(
10590
10590
  DataState,
10591
10591
  {
10592
10592
  status: "info" /* info */,
@@ -12780,7 +12780,7 @@ var GeneralLedgerView = ({
12780
12780
  selected: activeTab,
12781
12781
  onChange: (opt) => setActiveTab(opt.target.value)
12782
12782
  }
12783
- ), /* @__PURE__ */ React156.createElement(Container, { name: "generalLedger" }, activeTab === "chartOfAccounts" ? /* @__PURE__ */ React156.createElement(ChartOfAccounts, { asWidget: true, withDateControl: true, withExpandAllButton: true }) : /* @__PURE__ */ React156.createElement(Journal, null))));
12783
+ ), /* @__PURE__ */ React156.createElement(Container, { name: "generalLedger" }, activeTab === "chartOfAccounts" ? /* @__PURE__ */ React156.createElement(ChartOfAccounts, { asWidget: true, withExpandAllButton: true }) : /* @__PURE__ */ React156.createElement(Journal, null))));
12784
12784
  };
12785
12785
  export {
12786
12786
  AccountingOverview,