@layerfi/components 0.1.112 → 0.1.113

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.
@@ -62,7 +62,7 @@ import { useStoreWithEqualityFn } from "zustand/traditional";
62
62
  import { Schema as Schema$1, pipe as pipe$1 } from "effect/index";
63
63
  import { Schema, pipe, BigDecimal, Option, Effect } from "effect";
64
64
  import useSWRInfinite from "swr/infinite";
65
- import _, { debounce, merge, uniqueId } from "lodash";
65
+ import { debounce, uniqBy, merge, uniqueId } from "lodash-es";
66
66
  import useSWRMutation from "swr/mutation";
67
67
  import { useFloating, offset, flip, shift, autoUpdate, useHover, useFocus, useDismiss, useRole, useInteractions, useTransitionStyles, useMergeRefs, FloatingPortal } from "@floating-ui/react";
68
68
  import { UploadCloud as UploadCloud$1, LoaderCircle, X as X$1, Minus, Check as Check$1, ChevronDown as ChevronDown$1, Search, ChevronLeft as ChevronLeft$1, FileSpreadsheet, FileDownIcon, CopyIcon, RefreshCcw as RefreshCcw$1, ChevronRight as ChevronRight$1, MenuIcon, PencilRuler, SearchX, Trash2, CheckIcon, AlertCircle as AlertCircle$1, List, AlertTriangle, Save as Save$1, Calendar as Calendar$1, Download, Users, Milestone, Video, Clock as Clock$1, Link as Link$4, TriangleAlert, Plus as Plus$1, HandCoins, Trash as Trash$1, Menu as Menu$2, Send } from "lucide-react";
@@ -111,7 +111,7 @@ const LinkedAccountsContext = createContext({
111
111
  setAccountsToAddOpeningBalanceInModal: () => {
112
112
  }
113
113
  });
114
- const version = "0.1.112";
114
+ const version = "0.1.113";
115
115
  const pkg = {
116
116
  version
117
117
  };
@@ -259,7 +259,7 @@ function toDefinedSearchParameters(input) {
259
259
  return [[key, String(value)]];
260
260
  }
261
261
  return [[key, value]];
262
- }).filter(([_2, value]) => value !== "").map(([key, value]) => [toSnakeCase(key), value]);
262
+ }).filter(([_, value]) => value !== "").map(([key, value]) => [toSnakeCase(key), value]);
263
263
  return new URLSearchParams(definedParameterPairs);
264
264
  }
265
265
  const getBalanceSheet = get(
@@ -5173,7 +5173,7 @@ const useAugmentedBankTransactions = (params) => {
5173
5173
  }
5174
5174
  };
5175
5175
  }, [anyAccountSyncing, transactionsNotSynced, pollIntervalMs]);
5176
- useTriggerOnChange(data, anyAccountSyncing, (_2) => {
5176
+ useTriggerOnChange(data, anyAccountSyncing, (_) => {
5177
5177
  var _a2;
5178
5178
  clearInterval(intervalIdRef.current);
5179
5179
  setPollIntervalMs(POLL_INTERVAL_AFTER_TXNS_RECEIVED_MS);
@@ -11790,7 +11790,7 @@ function useRemoveTagFromBankTransaction({ bankTransactionId }) {
11790
11790
  }
11791
11791
  const range$1 = (start, end) => {
11792
11792
  const length = end - start + 1;
11793
- return Array.from({ length }, (_2, idx) => idx + start);
11793
+ return Array.from({ length }, (_, idx) => idx + start);
11794
11794
  };
11795
11795
  const sleep = (time) => {
11796
11796
  return new Promise((resolve) => setTimeout(resolve, time));
@@ -13400,7 +13400,7 @@ const isSplitsValid = (localSplits) => {
13400
13400
  return validateSplit(localSplits).reduce((acc, splitError) => acc && splitError === void 0, true);
13401
13401
  };
13402
13402
  const getSplitsErrorMessage = (localSplits) => {
13403
- return _.uniqBy(validateSplit(localSplits), (error) => error == null ? void 0 : error.toString()).filter(Boolean)[0] || "";
13403
+ return uniqBy(validateSplit(localSplits), (error) => error == null ? void 0 : error.toString()).filter(Boolean)[0] || "";
13404
13404
  };
13405
13405
  const validateSplit = (localSplits) => {
13406
13406
  const errors = localSplits.map((split) => {
@@ -13412,7 +13412,7 @@ const validateSplit = (localSplits) => {
13412
13412
  }
13413
13413
  return void 0;
13414
13414
  });
13415
- return _.uniqBy(errors, (error) => error == null ? void 0 : error.toString());
13415
+ return uniqBy(errors, (error) => error == null ? void 0 : error.toString());
13416
13416
  };
13417
13417
  const calculateAddSplit = (initialRowSplits) => {
13418
13418
  const newSplit = {
@@ -14223,7 +14223,7 @@ const BookkeepingStatus$1 = ({ status, text, monthNumber, iconOnly }) => {
14223
14223
  )
14224
14224
  ] }));
14225
14225
  };
14226
- const BankTransactionProcessingInfo = () => /* @__PURE__ */ jsxs(DeprecatedTooltip, { offset: 12, children: [
14226
+ const BankTransactionsProcessingInfo = () => /* @__PURE__ */ jsxs(DeprecatedTooltip, { offset: 12, children: [
14227
14227
  /* @__PURE__ */ jsx(DeprecatedTooltipTrigger, { children: /* @__PURE__ */ jsx(BookkeepingStatus$1, { status: BookkeepingPeriodStatus.IN_PROGRESS_AWAITING_BOOKKEEPER, text: "Processing" }) }),
14228
14228
  /* @__PURE__ */ jsx(DeprecatedTooltipContent, { className: "Layer__tooltip", width: "md", children: "Our team will review and categorize this transaction. We'll reach out if we have any questions about it." })
14229
14229
  ] });
@@ -14374,9 +14374,10 @@ const BankTransactionRow = ({
14374
14374
  () => toDataProperties({ "show-receipt-upload-column": showReceiptUploadColumn }),
14375
14375
  [showReceiptUploadColumn]
14376
14376
  );
14377
+ const colSpan = categorizationEnabled ? 7 : 6;
14377
14378
  return /* @__PURE__ */ jsxs(Fragment, { children: [
14378
14379
  /* @__PURE__ */ jsxs("tr", { className: rowClassName, children: [
14379
- /* @__PURE__ */ jsx("td", { className: "Layer__table-cell Layer__bank-transactions__checkbox-col", children: /* @__PURE__ */ jsx("span", { className: "Layer__table-cell-content", children: /* @__PURE__ */ jsx(
14380
+ categorizationEnabled && /* @__PURE__ */ jsx("td", { className: "Layer__table-cell Layer__bank-transactions__checkbox-col", children: /* @__PURE__ */ jsx("span", { className: "Layer__table-cell-content", children: /* @__PURE__ */ jsx(
14380
14381
  Checkbox,
14381
14382
  {
14382
14383
  isSelected: isTransactionSelected,
@@ -14540,7 +14541,7 @@ const BankTransactionRow = ({
14540
14541
  children: categorized ? (stringOverrides == null ? void 0 : stringOverrides.updateButtonText) || "Update" : (stringOverrides == null ? void 0 : stringOverrides.approveButtonText) || "Confirm"
14541
14542
  }
14542
14543
  ) : null,
14543
- !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx(VStack, { pis: "xs", fluid: true, children: /* @__PURE__ */ jsx(BankTransactionProcessingInfo, {}) }) : null,
14544
+ !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx(VStack, { pis: "xs", fluid: true, children: /* @__PURE__ */ jsx(BankTransactionsProcessingInfo, {}) }) : null,
14544
14545
  /* @__PURE__ */ jsx(
14545
14546
  IconButton,
14546
14547
  {
@@ -14561,7 +14562,7 @@ const BankTransactionRow = ({
14561
14562
  }
14562
14563
  )
14563
14564
  ] }),
14564
- /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 7, className: "Layer__bank-transaction-row__expanded-td", children: /* @__PURE__ */ jsx(
14565
+ /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan, className: "Layer__bank-transaction-row__expanded-td", children: /* @__PURE__ */ jsx(
14565
14566
  ExpandedBankTransactionRow,
14566
14567
  {
14567
14568
  ref: expandedRowRef,
@@ -14617,7 +14618,7 @@ const Assignment = ({ bankTransaction }) => {
14617
14618
  }
14618
14619
  return /* @__PURE__ */ jsx(Text, { children: (_d = bankTransaction == null ? void 0 : bankTransaction.category) == null ? void 0 : _d.display_name });
14619
14620
  };
14620
- const BankTransactionListItem = ({
14621
+ const BankTransactionsListItem = ({
14621
14622
  index,
14622
14623
  dateFormat,
14623
14624
  bankTransaction,
@@ -14709,7 +14710,7 @@ const BankTransactionListItem = ({
14709
14710
  ] }),
14710
14711
  /* @__PURE__ */ jsxs(HStack, { className: "Layer__bank-transaction-list-item__body", children: [
14711
14712
  /* @__PURE__ */ jsxs(HStack, { gap: "sm", className: "Layer__bank-transaction-list-item__body__name", children: [
14712
- /* @__PURE__ */ jsx("div", { className: "Layer__bank-transaction-list-item__checkbox", children: /* @__PURE__ */ jsx(
14713
+ categorizationEnabled && /* @__PURE__ */ jsx("div", { className: "Layer__bank-transaction-list-item__checkbox", children: /* @__PURE__ */ jsx(
14713
14714
  Checkbox,
14714
14715
  {
14715
14716
  isSelected: isTransactionSelected,
@@ -14733,7 +14734,7 @@ const BankTransactionListItem = ({
14733
14734
  }
14734
14735
  )
14735
14736
  ] }),
14736
- !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx("span", { className: "Layer__bank-transaction-list-item__processing-info", children: /* @__PURE__ */ jsx(BankTransactionProcessingInfo, {}) }) : null,
14737
+ !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx("span", { className: "Layer__bank-transaction-list-item__processing-info", children: /* @__PURE__ */ jsx(BankTransactionsProcessingInfo, {}) }) : null,
14737
14738
  /* @__PURE__ */ jsx("span", { className: "Layer__bank-transaction-list-item__expanded-row", children: /* @__PURE__ */ jsx(
14738
14739
  ExpandedBankTransactionRow,
14739
14740
  {
@@ -14841,7 +14842,7 @@ const useUpsertBankTransactionsDefaultCategories = (bankTransactions) => {
14841
14842
  setOnlyNewTransactionCategories(defaultCategories);
14842
14843
  }, [bankTransactions, setOnlyNewTransactionCategories]);
14843
14844
  };
14844
- const BankTransactionList = ({
14845
+ const BankTransactionsList = ({
14845
14846
  bankTransactions,
14846
14847
  editable,
14847
14848
  removeTransaction,
@@ -14853,8 +14854,10 @@ const BankTransactionList = ({
14853
14854
  }) => {
14854
14855
  const { isAllSelected, isPartiallySelected, onHeaderCheckboxChange } = useBankTransactionsTableCheckboxState({ bankTransactions });
14855
14856
  useUpsertBankTransactionsDefaultCategories(bankTransactions);
14857
+ const bookkeepingStatus = useEffectiveBookkeepingStatus();
14858
+ const categorizationEnabled = isCategorizationEnabledForStatus(bookkeepingStatus);
14856
14859
  return /* @__PURE__ */ jsxs(Fragment, { children: [
14857
- /* @__PURE__ */ jsxs(
14860
+ categorizationEnabled && /* @__PURE__ */ jsxs(
14858
14861
  HStack,
14859
14862
  {
14860
14863
  gap: "md",
@@ -14878,7 +14881,7 @@ const BankTransactionList = ({
14878
14881
  ),
14879
14882
  /* @__PURE__ */ jsx("ul", { className: "Layer__bank-transactions__list", children: bankTransactions == null ? void 0 : bankTransactions.map(
14880
14883
  (bankTransaction, index) => /* @__PURE__ */ jsx(
14881
- BankTransactionListItem,
14884
+ BankTransactionsListItem,
14882
14885
  {
14883
14886
  index,
14884
14887
  dateFormat: DATE_FORMAT$1,
@@ -15995,7 +15998,7 @@ const getAssignedValue = (bankTransaction, renderInAppLink) => {
15995
15998
  }
15996
15999
  return (_d = bankTransaction.category) == null ? void 0 : _d.display_name;
15997
16000
  };
15998
- const BankTransactionMobileListItem = ({
16001
+ const BankTransactionsMobileListItem = ({
15999
16002
  index,
16000
16003
  bankTransaction,
16001
16004
  removeTransaction,
@@ -16118,7 +16121,7 @@ const BankTransactionMobileListItem = ({
16118
16121
  hasReceipts(bankTransaction) ? /* @__PURE__ */ jsx(File, { size: 12 }) : null
16119
16122
  ] }),
16120
16123
  categorized && fullAccountName,
16121
- !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx(BankTransactionProcessingInfo, {}) : null
16124
+ !categorizationEnabled && !categorized ? /* @__PURE__ */ jsx(BankTransactionsProcessingInfo, {}) : null
16122
16125
  ] }),
16123
16126
  /* @__PURE__ */ jsxs("div", { className: `${className}__heading__amount`, children: [
16124
16127
  /* @__PURE__ */ jsxs(
@@ -16195,7 +16198,7 @@ const BankTransactionMobileListItem = ({
16195
16198
  )
16196
16199
  ] });
16197
16200
  };
16198
- const BankTransactionMobileList = ({
16201
+ const BankTransactionsMobileList = ({
16199
16202
  bankTransactions,
16200
16203
  removeTransaction,
16201
16204
  editable,
@@ -16207,7 +16210,7 @@ const BankTransactionMobileList = ({
16207
16210
  const transactionToOpenContextData = useTransactionToOpen();
16208
16211
  return /* @__PURE__ */ jsx(TransactionToOpenContext.Provider, { value: transactionToOpenContextData, children: /* @__PURE__ */ jsx("ul", { className: "Layer__bank-transactions__mobile-list", children: bankTransactions == null ? void 0 : bankTransactions.map(
16209
16212
  (bankTransaction, index) => /* @__PURE__ */ jsx(
16210
- BankTransactionMobileListItem,
16213
+ BankTransactionsMobileListItem,
16211
16214
  {
16212
16215
  index,
16213
16216
  bankTransaction,
@@ -16229,7 +16232,7 @@ const SkeletonTableLoader = ({
16229
16232
  height = 20,
16230
16233
  width = 100
16231
16234
  }) => {
16232
- return /* @__PURE__ */ jsx("tbody", { className: "Layer__skeleton-table-body__loader", children: Array.from({ length: rows }).map((_2, rowIndex) => /* @__PURE__ */ jsx("tr", { children: cols.map((col, colIndex) => {
16235
+ return /* @__PURE__ */ jsx("tbody", { className: "Layer__skeleton-table-body__loader", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ jsx("tr", { children: cols.map((col, colIndex) => {
16233
16236
  const trim = col.trimLastXRows && rowIndex >= col.trimLastXRows - 1 ? (rowIndex - col.trimLastXRows + 1) * 10 : 0;
16234
16237
  return /* @__PURE__ */ jsx(
16235
16238
  "td",
@@ -16321,6 +16324,8 @@ const BankTransactionsTable = ({
16321
16324
  var _a, _b, _c, _d, _e, _f, _g;
16322
16325
  const { isAllSelected, isPartiallySelected, onHeaderCheckboxChange } = useBankTransactionsTableCheckboxState({ bankTransactions });
16323
16326
  useUpsertBankTransactionsDefaultCategories(bankTransactions);
16327
+ const bookkeepingStatus = useEffectiveBookkeepingStatus();
16328
+ const categorizationEnabled = isCategorizationEnabledForStatus(bookkeepingStatus);
16324
16329
  const showReceiptColumn = (_a = showReceiptUploads && (bankTransactions == null ? void 0 : bankTransactions.some(
16325
16330
  (transaction) => {
16326
16331
  var _a2;
@@ -16338,7 +16343,7 @@ const BankTransactionsTable = ({
16338
16343
  className: "Layer__table Layer__bank-transactions__table with-cell-separators",
16339
16344
  children: [
16340
16345
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
16341
- /* @__PURE__ */ jsx("th", { className: "Layer__table-header Layer__bank-transactions__checkbox-col", style: { padding: 0 }, children: /* @__PURE__ */ jsx("span", { className: "Layer__table-cell-content", children: /* @__PURE__ */ jsx(
16346
+ categorizationEnabled && /* @__PURE__ */ jsx("th", { className: "Layer__table-header Layer__bank-transactions__checkbox-col", style: { padding: 0 }, children: /* @__PURE__ */ jsx("span", { className: "Layer__table-cell-content", children: /* @__PURE__ */ jsx(
16342
16347
  Checkbox,
16343
16348
  {
16344
16349
  isSelected: isAllSelected,
@@ -20680,7 +20685,7 @@ const BankTransactionsTableView = ({
20680
20685
  !isLoadingWithoutData && listView && mobileComponent !== "mobileList" ? /* @__PURE__ */ jsxs("div", { className: "Layer__bank-transactions__list-wrapper", children: [
20681
20686
  rulesSuggestionModal,
20682
20687
  /* @__PURE__ */ jsx(
20683
- BankTransactionList,
20688
+ BankTransactionsList,
20684
20689
  {
20685
20690
  bankTransactions,
20686
20691
  editable,
@@ -20695,7 +20700,7 @@ const BankTransactionsTableView = ({
20695
20700
  ] }) : null,
20696
20701
  !isLoadingWithoutData && listView && mobileComponent === "mobileList" ? /* @__PURE__ */ jsxs(Fragment, { children: [
20697
20702
  /* @__PURE__ */ jsx(
20698
- BankTransactionMobileList,
20703
+ BankTransactionsMobileList,
20699
20704
  {
20700
20705
  bankTransactions,
20701
20706
  editable,
@@ -21356,7 +21361,7 @@ const useProfitAndLoss = ({ tagFilter, reportingBasis }) => {
21356
21361
  };
21357
21362
  };
21358
21363
  function range(start, end) {
21359
- return Array.from({ length: end - start }, (_2, index) => start + index);
21364
+ return Array.from({ length: end - start }, (_, index) => start + index);
21360
21365
  }
21361
21366
  function isArrayWithAtLeastOne(list) {
21362
21367
  return list.length > 0;
@@ -24664,13 +24669,13 @@ const generateComparisonPeriods = (startDate, numberOfPeriods, rangeDisplayMode)
24664
24669
  }
24665
24670
  };
24666
24671
  const generateComparisonMonths = (startDate, numberOfMonths) => {
24667
- return Array.from({ length: numberOfMonths }, (_2, index) => {
24672
+ return Array.from({ length: numberOfMonths }, (_, index) => {
24668
24673
  const currentMonth = subMonths(startDate, numberOfMonths - index - 1);
24669
24674
  return { date: currentMonth, label: format(currentMonth, "MMM") };
24670
24675
  });
24671
24676
  };
24672
24677
  const generateComparisonYears = (startDate, numberOfYears) => {
24673
- return Array.from({ length: numberOfYears }, (_2, index) => {
24678
+ return Array.from({ length: numberOfYears }, (_, index) => {
24674
24679
  const currentMonth = subYears(startDate, numberOfYears - index - 1);
24675
24680
  return { date: currentMonth, label: format(currentMonth, "yyyy") };
24676
24681
  });
@@ -24822,7 +24827,7 @@ const ProfitAndLossCompareTable = ({
24822
24827
  /* @__PURE__ */ jsx(TableCell, { isHeaderCell: true }),
24823
24828
  selectedCompareOptions.map((option, i) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
24824
24829
  /* @__PURE__ */ jsx(TableCell, { primary: true, isHeaderCell: true, children: option.displayName }, option.displayName + "-" + i),
24825
- comparePeriods && Array.from({ length: comparePeriods - 1 }, (_2, index) => /* @__PURE__ */ jsx(TableCell, { isHeaderCell: true }, option.displayName + "-" + index))
24830
+ comparePeriods && Array.from({ length: comparePeriods - 1 }, (_, index) => /* @__PURE__ */ jsx(TableCell, { isHeaderCell: true }, option.displayName + "-" + index))
24826
24831
  ] }, option.displayName + "-" + i))
24827
24832
  ] }) }),
24828
24833
  /* @__PURE__ */ jsxs(TableBody, { children: [
@@ -24876,7 +24881,7 @@ function useEffectOnMount(fn) {
24876
24881
  if (isMounted && typeof maybeCleanup === "function") {
24877
24882
  cleanup = maybeCleanup;
24878
24883
  }
24879
- } catch (_2) {
24884
+ } catch (_) {
24880
24885
  }
24881
24886
  }))();
24882
24887
  return () => {
@@ -31315,7 +31320,7 @@ function TasksMonthSelector() {
31315
31320
  const activeMonthNumber = getMonth(date) + 1;
31316
31321
  const activeYear = getYear(date);
31317
31322
  const monthsData = useMemo(() => {
31318
- return Array.from({ length: 12 }, (_2, index) => {
31323
+ return Array.from({ length: 12 }, (_, index) => {
31319
31324
  var _a, _b;
31320
31325
  const date2 = set(
31321
31326
  /* @__PURE__ */ new Date(),
@@ -31364,7 +31369,7 @@ const useBookkeepingYearsStatus = () => {
31364
31369
  const startYear = getYear(activationDate != null ? activationDate : /* @__PURE__ */ new Date());
31365
31370
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
31366
31371
  const count = currentYear - startYear + 1;
31367
- return Array.from({ length: count }, (_2, index) => ({ year: startYear + index })).map(({ year }) => {
31372
+ return Array.from({ length: count }, (_, index) => ({ year: startYear + index })).map(({ year }) => {
31368
31373
  const tasks = data == null ? void 0 : data.filter((period) => period.year === year).reduce((acc, period) => acc.concat(period.tasks), []);
31369
31374
  const unresolvedTaskCount = tasks == null ? void 0 : tasks.filter((task) => isIncompleteTask(task)).length;
31370
31375
  return {
@@ -31971,7 +31976,7 @@ const isCalendlyLink = (link) => {
31971
31976
  if (!link) return false;
31972
31977
  const hostname = new URL(link.url).hostname;
31973
31978
  return ALLOWED_CALENDLY_HOSTS.includes(hostname) || hostname.endsWith(".calendly.com");
31974
- } catch (_2) {
31979
+ } catch (_) {
31975
31980
  return false;
31976
31981
  }
31977
31982
  };
@@ -35146,7 +35151,7 @@ const useBillsRecordPayment = ({ refetchAllBills }) => {
35146
35151
  }));
35147
35152
  };
35148
35153
  const removeBillByIndex = (index) => {
35149
- setBillsToPay((prev) => prev.filter((_2, i) => i !== index));
35154
+ setBillsToPay((prev) => prev.filter((_, i) => i !== index));
35150
35155
  };
35151
35156
  const setAmount = (billId, amount) => {
35152
35157
  setBillsToPay((prev) => prev.map((bill) => {
@@ -36264,7 +36269,7 @@ const BillsDetails = ({
36264
36269
  /* @__PURE__ */ jsx(form.Field, { name: "line_items", mode: "array", children: (field) => {
36265
36270
  var _a;
36266
36271
  return /* @__PURE__ */ jsxs("div", { children: [
36267
- (_a = field.state.value) == null ? void 0 : _a.map((_2, i) => {
36272
+ (_a = field.state.value) == null ? void 0 : _a.map((_, i) => {
36268
36273
  return /* @__PURE__ */ jsxs("div", { className: "Layer__bill-details__category-row", children: [
36269
36274
  /* @__PURE__ */ jsx(form.Field, { name: `line_items[${i}].account_identifier`, children: () => {
36270
36275
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.112",
3
+ "version": "0.1.113",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",
@@ -53,7 +53,7 @@
53
53
  "@stylistic/eslint-plugin": "^4.2.0",
54
54
  "@stylistic/stylelint-config": "^2.0.0",
55
55
  "@stylistic/stylelint-plugin": "^3.1.2",
56
- "@types/lodash": "^4.17.16",
56
+ "@types/lodash-es": "^4.17.12",
57
57
  "@types/node": "^24.9.0",
58
58
  "@types/pluralize": "^0.0.33",
59
59
  "@types/react": "^18.2.0",
@@ -66,7 +66,6 @@
66
66
  "eslint-plugin-unused-imports": "^4.1.4",
67
67
  "husky": "^9.1.7",
68
68
  "lint-staged": "^16.2.3",
69
- "lodash": "^4.17.21",
70
69
  "npm-dts": "^1.3.13",
71
70
  "react": "^18.2.0",
72
71
  "react-dom": "^18.2.0",
@@ -94,7 +93,7 @@
94
93
  "date-fns": "^4.1.0",
95
94
  "effect": "^3.16.3",
96
95
  "libphonenumber-js": "^1.12.7",
97
- "lodash": "^4.17.21",
96
+ "lodash-es": "^4.17.21",
98
97
  "lucide-react": "^0.507.0",
99
98
  "pluralize": "^8.0.0",
100
99
  "react-aria-components": "^1.8.0",