Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

Merge remote-tracking branch 'origin/main' into feat/keyboard-nav-polish

aashud40df695bc89
diff --cc apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx
index eb6f8bc9e2,8a68dde602..6a5c52c44c
--- a/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx
+++ b/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx
@@@ -1,5 -1,8 +1,9 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import {
+ cn,
NavRail,
NavRailItem,
NavRailLink,
diff --cc apps/erp/app/modules/accounting/ui/Dimensions/DimensionsTable.tsx
index d4595f0664,b903b61839..585c09dd0c
--- a/apps/erp/app/modules/accounting/ui/Dimensions/DimensionsTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/Dimensions/DimensionsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem } from "@carbon/react";
+import { Badge, MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/accounting/ui/ExchangeRates/ExchangeRatesTable.tsx
index 814ebfa18c,247bfefa00..e46f492ad8
--- a/apps/erp/app/modules/accounting/ui/ExchangeRates/ExchangeRatesTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/ExchangeRates/ExchangeRatesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { formatDate, formatExchangeRate } from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
import { useLocale } from "@react-aria/i18n";
diff --cc apps/erp/app/modules/accounting/ui/FixedAssets/AssetClassesTable.tsx
index 9b3b4a9537,28243e9519..b7c1f07ec7
--- a/apps/erp/app/modules/accounting/ui/FixedAssets/AssetClassesTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/FixedAssets/AssetClassesTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import type { ReactNode } from "react";
diff --cc apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
index 6eb80ba6b4,9659cd5280..a06295352c
--- a/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import type { ReactNode } from "react";
diff --cc apps/erp/app/modules/accounting/ui/FixedAssets/FixedAssetsTable.tsx
index cf32ff10a3,0535df5ed9..0acf4dd521
--- a/apps/erp/app/modules/accounting/ui/FixedAssets/FixedAssetsTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/FixedAssets/FixedAssetsTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import type { ReactNode } from "react";
diff --cc apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
index b067367584,a8e8602bd1..108e9fd3e9
--- a/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import type { ReactNode } from "react";
diff --cc apps/erp/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
index c401791fb7,e866470e63..176e61db2b
--- a/apps/erp/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/PaymentTerms/PaymentTermsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/accounting/ui/Periods/PeriodsTable.tsx
index e01171755c,13c61c07d3..79abb37ea0
--- a/apps/erp/app/modules/accounting/ui/Periods/PeriodsTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/Periods/PeriodsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, Status } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem, Status } from "@carbon/react";
import {
formatPeriodLabel,
PERIOD_CLOSE_STATUS_COLOR_MAP
diff --cc apps/erp/app/modules/accounting/ui/Projects/ProjectsTable.tsx
index fb756a3928,b15cc5d264..8181659f20
--- a/apps/erp/app/modules/accounting/ui/Projects/ProjectsTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/Projects/ProjectsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsx
index be303e0530,b676c0c3be..287fc05229
--- a/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/InventoryCount/InventoryCountsTable.tsx
@@@ -1,11 -1,10 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Database } from "@carbon/database";
import { Constants } from "@carbon/database";
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/inventory/ui/PickingLists/PickingListsTable.tsx
index 03dbc5eb96,8cd9ea4b8d..3e5ae5d1b3
--- a/apps/erp/app/modules/inventory/ui/PickingLists/PickingListsTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/PickingLists/PickingListsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Button, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Button,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
index c119ad7e87,5b73da935a..bcc800e531
--- a/apps/erp/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/inventory/ui/StorageRules/StorageRulesTable.tsx
index 25f7947821,33fced1bfb..f920d93171
--- a/apps/erp/app/modules/inventory/ui/StorageRules/StorageRulesTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/StorageRules/StorageRulesTable.tsx
@@@ -1,11 -1,9 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Json } from "@carbon/database";
-import { Badge, MenuIcon, MenuItem, Status } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ Status
+} from "@carbon/react";
import type { TransactionSurface } from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/inventory/ui/StorageTypes/StorageTypesTable.tsx
index a0cbc762d7,2597631fd7..fabcfcec92
--- a/apps/erp/app/modules/inventory/ui/StorageTypes/StorageTypesTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/StorageTypes/StorageTypesTable.tsx
@@@ -1,5 -1,9 +1,9 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Json } from "@carbon/database";
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
index 3420244c77,dc9b6bd807..09a1d3bab1
--- a/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/Traceability/TrackedEntitiesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem } from "@carbon/react";
+import { Badge, MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { getLocalTimeZone, parseDate, today } from "@internationalized/date";
import { Trans, useLingui } from "@lingui/react/macro";
import { useNumberFormatter } from "@react-aria/i18n";
diff --cc apps/erp/app/modules/inventory/ui/WarehouseTransfers/WarehouseTransfersTable.tsx
index 073e896a9b,4ce8a79782..7f7365acbe
--- a/apps/erp/app/modules/inventory/ui/WarehouseTransfers/WarehouseTransfersTable.tsx
+++ b/apps/erp/app/modules/inventory/ui/WarehouseTransfers/WarehouseTransfersTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/invoicing/ui/Memo/MemosTable.tsx
index 1686e67a9d,c52441b559..df96b8a119
--- a/apps/erp/app/modules/invoicing/ui/Memo/MemosTable.tsx
+++ b/apps/erp/app/modules/invoicing/ui/Memo/MemosTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/invoicing/ui/Payment/PaymentsTable.tsx
index 7ec3db4cd1,a428bbe55c..59f482f1cd
--- a/apps/erp/app/modules/invoicing/ui/Payment/PaymentsTable.tsx
+++ b/apps/erp/app/modules/invoicing/ui/Payment/PaymentsTable.tsx
@@@ -1,10 -1,9 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Database } from "@carbon/database";
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
index bbcce3e23a,7828a34127..fdccca17cc
--- a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
+++ b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoicesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoicesTable.tsx
index a1f167e06d,40b35360b7..454f361014
--- a/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoicesTable.tsx
+++ b/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoicesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticesTable.tsx
index 0cc48bc435,446f85813a..32f641aa40
--- a/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticesTable.tsx
+++ b/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/items/ui/ChangeNoticeActions/ChangeNoticeRequiredActionsTable.tsx
index 23602833bd,1c837692a2..4e9a8726bf
--- a/apps/erp/app/modules/items/ui/ChangeNoticeActions/ChangeNoticeRequiredActionsTable.tsx
+++ b/apps/erp/app/modules/items/ui/ChangeNoticeActions/ChangeNoticeRequiredActionsTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Checkbox, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Checkbox,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/ChangeNoticeTypes/ChangeNoticeTypesTable.tsx
index f1b6e60e45,f12ea6e22e..54b4c67db7
--- a/apps/erp/app/modules/items/ui/ChangeNoticeTypes/ChangeNoticeTypesTable.tsx
+++ b/apps/erp/app/modules/items/ui/ChangeNoticeTypes/ChangeNoticeTypesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
index 09903359a4,d1cff13ba3..c5acb3a6b5
--- a/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
+++ b/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialDimensions/MaterialDimensionsTable.tsx
index 1c49f90844,49caf0c308..8d57426e6f
--- a/apps/erp/app/modules/items/ui/MaterialDimensions/MaterialDimensionsTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialDimensions/MaterialDimensionsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialFinishes/MaterialFinishesTable.tsx
index 9b63793eee,abd31a0db8..453f7c3282
--- a/apps/erp/app/modules/items/ui/MaterialFinishes/MaterialFinishesTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialFinishes/MaterialFinishesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialGrades/MaterialGradesTable.tsx
index 88abf76026,e26307f858..af4d6960ba
--- a/apps/erp/app/modules/items/ui/MaterialGrades/MaterialGradesTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialGrades/MaterialGradesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialShapes/MaterialShapesTable.tsx
index fec8fee006,2efc16e629..b24cff8667
--- a/apps/erp/app/modules/items/ui/MaterialShapes/MaterialShapesTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialShapes/MaterialShapesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
index f1523728ef,0944eb2ae5..bf6147f536
--- a/apps/erp/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialSubstances/MaterialSubstanceTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/MaterialTypes/MaterialTypesTable.tsx
index 16f9105e12,5207f712d9..59da0f130f
--- a/apps/erp/app/modules/items/ui/MaterialTypes/MaterialTypesTable.tsx
+++ b/apps/erp/app/modules/items/ui/MaterialTypes/MaterialTypesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Copy, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Copy,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
index 63235d9294,0ce5c5238f..3e9eeee8a1
--- a/apps/erp/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
+++ b/apps/erp/app/modules/items/ui/UnitOfMeasure/UnitOfMeasuresTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/people/ui/Departments/DepartmentsTable.tsx
index cbbc0d6f79,d607d9091c..0a2db8fafe
--- a/apps/erp/app/modules/people/ui/Departments/DepartmentsTable.tsx
+++ b/apps/erp/app/modules/people/ui/Departments/DepartmentsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem } from "@carbon/react";
+import { HStack, MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/people/ui/Holidays/HolidaysTable.tsx
index ef3027ddb2,e185f465fb..e2bc2d30cd
--- a/apps/erp/app/modules/people/ui/Holidays/HolidaysTable.tsx
+++ b/apps/erp/app/modules/people/ui/Holidays/HolidaysTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/people/ui/People/PeopleTable.tsx
index 03a0689dbf,9cf3656b5c..7265f45d99
--- a/apps/erp/app/modules/people/ui/People/PeopleTable.tsx
+++ b/apps/erp/app/modules/people/ui/People/PeopleTable.tsx
@@@ -1,11 -1,8 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Checkbox, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Checkbox,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/people/ui/Shifts/ShiftsTable.tsx
index a5181e9d79,d503d9b987..c4d9528bd8
--- a/apps/erp/app/modules/people/ui/Shifts/ShiftsTable.tsx
+++ b/apps/erp/app/modules/people/ui/Shifts/ShiftsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem } from "@carbon/react";
+import { Badge, MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { formatTimeOfDay } from "@carbon/utils";
import {
parseTime,
diff --cc apps/erp/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
index fce7fde75d,53757e3524..006746edc9
--- a/apps/erp/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
+++ b/apps/erp/app/modules/production/ui/Jobs/ProductionEventsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { formatDurationMilliseconds } from "@carbon/utils";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
index 86d84d677a,2775814545..d369b9aede
--- a/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
+++ b/apps/erp/app/modules/production/ui/Jobs/ProductionQuantitiesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
index bbefe5a7d7,a2ef84008b..e9a568491d
--- a/apps/erp/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
+++ b/apps/erp/app/modules/production/ui/ScrapReasons/ScrapReasonsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrdersTable.tsx
index 0a59b37162,7b6504aac5..9bb8d0a6c4
--- a/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrdersTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrdersTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQsTable.tsx
index 1e422a96d1,6eb2b142a8..bc4dba2d8e
--- a/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQsTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
index 717ed28c64,9f27c7d70d..71b256f13a
--- a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuotesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
index 19e349f452,6b0742470b..ddaf5a4cf0
--- a/apps/erp/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/quality/ui/Actions/ActionsTable.tsx
index 4f577fa9d8,3942872ba7..bc8aac8ee5
--- a/apps/erp/app/modules/quality/ui/Actions/ActionsTable.tsx
+++ b/apps/erp/app/modules/quality/ui/Actions/ActionsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem, Status } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ Status
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/quality/ui/Calibrations/GaugeCalibrationRecordsTable.tsx
index b1e724b07c,de01f0c67c..6665dadfc1
--- a/apps/erp/app/modules/quality/ui/Calibrations/GaugeCalibrationRecordsTable.tsx
+++ b/apps/erp/app/modules/quality/ui/Calibrations/GaugeCalibrationRecordsTable.tsx
@@@ -1,11 -1,9 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Database } from "@carbon/database";
-import { Checkbox, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Checkbox,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import { useNumberFormatter } from "@react-aria/i18n";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/quality/ui/Gauge/GaugesTable.tsx
index 6221d11b6f,d5b028d633..d6cfd032bc
--- a/apps/erp/app/modules/quality/ui/Gauge/GaugesTable.tsx
+++ b/apps/erp/app/modules/quality/ui/Gauge/GaugesTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/quality/ui/GaugeTypes/GaugeTypesTable.tsx
index 7a14cbe224,c9e888aae7..4020ebaafc
--- a/apps/erp/app/modules/quality/ui/GaugeTypes/GaugeTypesTable.tsx
+++ b/apps/erp/app/modules/quality/ui/GaugeTypes/GaugeTypesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/quality/ui/InspectionDocument/InspectionDocumentTable.tsx
index 9b5dc3cd97,a160b05f8d..89ad88d425
--- a/apps/erp/app/modules/quality/ui/InspectionDocument/InspectionDocumentTable.tsx
+++ b/apps/erp/app/modules/quality/ui/InspectionDocument/InspectionDocumentTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure, VStack } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure,
+ VStack
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/quality/ui/Issue/IssuesTable.tsx
index 8520e0e8ad,1eb382343e..01f0c58329
--- a/apps/erp/app/modules/quality/ui/Issue/IssuesTable.tsx
+++ b/apps/erp/app/modules/quality/ui/Issue/IssuesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Badge,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/quality/ui/IssueTypes/IssueTypesTable.tsx
index f1db25d63c,4d151f4be5..d50d64cfbb
--- a/apps/erp/app/modules/quality/ui/IssueTypes/IssueTypesTable.tsx
+++ b/apps/erp/app/modules/quality/ui/IssueTypes/IssueTypesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/quality/ui/IssueWorkflows/IssueWorkflowsTable.tsx
index 648c9be39d,82ebfc510e..955b550a99
--- a/apps/erp/app/modules/quality/ui/IssueWorkflows/IssueWorkflowsTable.tsx
+++ b/apps/erp/app/modules/quality/ui/IssueWorkflows/IssueWorkflowsTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/quality/ui/RequiredActions/RequiredActionsTable.tsx
index aab5f1f8c6,16fab0e721..7a01f2c1cf
--- a/apps/erp/app/modules/quality/ui/RequiredActions/RequiredActionsTable.tsx
+++ b/apps/erp/app/modules/quality/ui/RequiredActions/RequiredActionsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Checkbox, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ Checkbox,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/quality/ui/RiskRegister/RiskRegistersTable.tsx
index b4f30f61ab,565e78b9f8..6e19114dce
--- a/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegistersTable.tsx
+++ b/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegistersTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { getItemById, getItemReadableId } from "@carbon/utils";
import { useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
index f1097d6c38,b4e446957c..49bd02aaae
--- a/apps/erp/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Abilities/AbilitiesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
index eb9186c334,3c6abf7b0a..63367e0167
--- a/apps/erp/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Button, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Button,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Contractors/ContractorsTable.tsx
index a0f3e0bce2,f4c211df07..4b4a28fd8e
--- a/apps/erp/app/modules/resources/ui/Contractors/ContractorsTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Contractors/ContractorsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Avatar, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Avatar,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/FailureModes/FailureModesTable.tsx
index 4b9c04f162,6d0a56ea26..159a8642ec
--- a/apps/erp/app/modules/resources/ui/FailureModes/FailureModesTable.tsx
+++ b/apps/erp/app/modules/resources/ui/FailureModes/FailureModesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Locations/LocationsTable.tsx
index 94b984219e,2244660d1d..8b2a7179ca
--- a/apps/erp/app/modules/resources/ui/Locations/LocationsTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Locations/LocationsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchesTable.tsx
index 0a41b493d5,c37304322e..ac5d275826
--- a/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchesTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchesTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Combobox, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Combobox,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Partners/PartnersTable.tsx
index 76eea4b986,eda964b839..37185062c4
--- a/apps/erp/app/modules/resources/ui/Partners/PartnersTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Partners/PartnersTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Avatar, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Avatar,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/resources/ui/Suggestions/SuggestionsTable.tsx
index 9014795fcb,e404b7f788..58f353f74f
--- a/apps/erp/app/modules/resources/ui/Suggestions/SuggestionsTable.tsx
+++ b/apps/erp/app/modules/resources/ui/Suggestions/SuggestionsTable.tsx
@@@ -1,11 -1,8 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Avatar, Badge, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Avatar,
+ Badge,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
diff --cc apps/erp/app/modules/sales/ui/CustomerPortals/CustomerPortalsTable.ee.tsx
index f23c83d1c3,3a06294d87..39ae578e3e
--- a/apps/erp/app/modules/sales/ui/CustomerPortals/CustomerPortalsTable.ee.tsx
+++ b/apps/erp/app/modules/sales/ui/CustomerPortals/CustomerPortalsTable.ee.tsx
@@@ -1,5 -1,9 +1,9 @@@
+ // SPDX-License-Identifier: LicenseRef-Carbon-Commercial
+ // Carbon Enterprise file, licensed only under the Carbon Commercial License
+ // (packages/ee/LICENSE). Not AGPL. Running, modifying, or copying it beyond those terms requires a commercial license.
+
import type { Database } from "@carbon/database";
-import { Copy, MenuIcon, MenuItem } from "@carbon/react";
+import { Copy, MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
index ba73f23d81,98e8b579d5..71af04be0f
--- a/apps/erp/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
+++ b/apps/erp/app/modules/sales/ui/CustomerStatuses/CustomerStatusesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
index cdd39affb2,0440bf88af..b6e99a3efe
--- a/apps/erp/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
+++ b/apps/erp/app/modules/sales/ui/CustomerTypes/CustomerTypesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/sales/ui/NoQuoteReasons/NoQuoteReasonsTable.tsx
index 405139d7fb,e84e7d3c0f..53a9f33a35
--- a/apps/erp/app/modules/sales/ui/NoQuoteReasons/NoQuoteReasonsTable.tsx
+++ b/apps/erp/app/modules/sales/ui/NoQuoteReasons/NoQuoteReasonsTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/sales/ui/ReturnReasons/ReturnReasonsTable.tsx
index 319f724ec5,ad38c457cd..a219e5fa9d
--- a/apps/erp/app/modules/sales/ui/ReturnReasons/ReturnReasonsTable.tsx
+++ b/apps/erp/app/modules/sales/ui/ReturnReasons/ReturnReasonsTable.tsx
@@@ -1,10 -1,9 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
import type { Database } from "@carbon/database";
-import { Checkbox, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Checkbox,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
index 14f5112c06,a564d91e90..f0e2d135d2
--- a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
+++ b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { HStack, MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrdersTable.tsx
index 3f51bcef7a,96a7a17fe0..8aa928c74e
--- a/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrdersTable.tsx
+++ b/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrdersTable.tsx
@@@ -1,9 -1,8 +1,13 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem, useDisclosure } from "@carbon/react";
+import {
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem,
+ useDisclosure
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo, useState } from "react";
diff --cc apps/erp/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
index 5ef6ca5ea8,054761194a..f8ced70b0d
--- a/apps/erp/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
+++ b/apps/erp/app/modules/settings/ui/ApiKeys/ApiKeysTable.tsx
@@@ -1,11 -1,8 +1,15 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Badge, Button, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Badge,
+ Button,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx
index 13d448c72c,80cc474ecb..9bbbece3a8
--- a/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx
+++ b/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx
@@@ -1,10 -1,8 +1,14 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { Button, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import {
+ Button,
+ HStack,
+ MENU_ITEM_SHORTCUTS,
+ MenuIcon,
+ MenuItem
+} from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/settings/ui/Sequences/SequencesTable.tsx
index c6f37e45b2,ec26d7b03c..167f2d2cf0
--- a/apps/erp/app/modules/settings/ui/Sequences/SequencesTable.tsx
+++ b/apps/erp/app/modules/settings/ui/Sequences/SequencesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/settings/ui/SerialNumbers/ItemSerialSequencesTable.tsx
index 4cc35075d6,51b8096fcf..76ced05b19
--- a/apps/erp/app/modules/settings/ui/SerialNumbers/ItemSerialSequencesTable.tsx
+++ b/apps/erp/app/modules/settings/ui/SerialNumbers/ItemSerialSequencesTable.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.ee.tsx
index ceadbc98e4,39ec474b2f..0d0ed6fdd1
--- a/apps/erp/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.ee.tsx
+++ b/apps/erp/app/modules/users/ui/EmployeeTypes/EmployeeTypesTable.ee.tsx
@@@ -1,4 -1,8 +1,8 @@@
+ // SPDX-License-Identifier: LicenseRef-Carbon-Commercial
+ // Carbon Enterprise file, licensed only under the Carbon Commercial License
+ // (packages/ee/LICENSE). Not AGPL. Running, modifying, or copying it beyond those terms requires a commercial license.
+
-import { MenuIcon, MenuItem } from "@carbon/react";
+import { MENU_ITEM_SHORTCUTS, MenuIcon, MenuItem } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useCallback, useMemo } from "react";
diff --cc apps/erp/app/modules/workflows/ui/Runs/WorkflowRunsTable.tsx
index b979b63dbb,553ebb2476..c015d8db2f
--- a/apps/erp/app/modules/workflows/ui/Runs/WorkflowRunsTable.tsx
+++ b/apps/erp/app/modules/workflows/ui/Runs/WorkflowRunsTable.tsx
@@@ -1,4 -1,7 +1,8 @@@
+ // SPDX-License-Identifier: AGPL-3.0-only
+ // Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
+ // including ports, remain AGPLv3; serving them over a network requires releasing their source.
+
+import { getTableLabel } from "@carbon/database/audit.config";
import { HStack } from "@carbon/react";
import { formatDateTime, formatDurationMilliseconds } from "@carbon/utils";
import { useLingui } from "@lingui/react/macro";
diff --cc packages/react/src/__tests__/menuShortcut.test.ts
index b69e16fa4a,0000000000..f58cf96450
mode 100644,000000..100644
--- a/packages/react/src/__tests__/menuShortcut.test.ts
+++ b/packages/react/src/__tests__/menuShortcut.test.ts
@@@ -1,58 -1,0 +1,62 @@@
++// SPDX-License-Identifier: AGPL-3.0-only
++// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
++// including ports, remain AGPLv3; serving them over a network requires releasing their source.
++
+import { describe, expect, it } from "vitest";
+import { menuShortcutFromEvent } from "../utils/menuShortcut";
+
+const key = (
+ code: string,
+ k: string,
+ modifiers: Partial<
+ Pick<KeyboardEvent, "metaKey" | "ctrlKey" | "altKey" | "shiftKey">
+ > = {}
+) => ({
+ code,
+ key: k,
+ metaKey: false,
+ ctrlKey: false,
+ altKey: false,
+ shiftKey: false,
+ ...modifiers
+});
+
+describe("menuShortcutFromEvent", () => {
+ it("maps a letter by physical key", () => {
+ expect(menuShortcutFromEvent(key("KeyE", "e"))).toBe("e");
+ // Non-Latin layout: the character differs, the physical key does not.
+ expect(menuShortcutFromEvent(key("KeyE", "у"))).toBe("e");
+ });
+
+ it("maps Backspace and Delete to the delete key", () => {
+ expect(menuShortcutFromEvent(key("Backspace", "Backspace"))).toBe(
+ "backspace"
+ );
+ expect(menuShortcutFromEvent(key("Delete", "Delete"))).toBe("backspace");
+ expect(
+ menuShortcutFromEvent(key("Backspace", "Backspace", { metaKey: true }))
+ ).toBe(null);
+ });
+
+ it("ignores keys with any modifier", () => {
+ expect(menuShortcutFromEvent(key("KeyE", "e", { ctrlKey: true }))).toBe(
+ null
+ );
+ expect(menuShortcutFromEvent(key("KeyE", "e", { metaKey: true }))).toBe(
+ null
+ );
+ expect(menuShortcutFromEvent(key("KeyE", "E", { shiftKey: true }))).toBe(
+ null
+ );
+ expect(menuShortcutFromEvent(key("KeyE", "e", { altKey: true }))).toBe(
+ null
+ );
+ });
+
+ it("ignores digits, Escape, Enter and arrows", () => {
+ expect(menuShortcutFromEvent(key("Digit1", "1"))).toBe(null);
+ expect(menuShortcutFromEvent(key("Escape", "Escape"))).toBe(null);
+ expect(menuShortcutFromEvent(key("Enter", "Enter"))).toBe(null);
+ expect(menuShortcutFromEvent(key("ArrowDown", "ArrowDown"))).toBe(null);
+ });
+});
diff --cc packages/react/src/utils/menuShortcut.ts
index 6a596545de,0000000000..9c8048dab8
mode 100644,000000..100644
--- a/packages/react/src/utils/menuShortcut.ts
+++ b/packages/react/src/utils/menuShortcut.ts
@@@ -1,65 -1,0 +1,69 @@@
++// SPDX-License-Identifier: AGPL-3.0-only
++// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
++// including ports, remain AGPLv3; serving them over a network requires releasing their source.
++
+import type { KeyboardEvent } from "react";
+import { isTextEntryTarget } from "./keyboard";
+
+type KeyLike = Pick<
+ globalThis.KeyboardEvent,
+ "code" | "key" | "metaKey" | "ctrlKey" | "altKey" | "shiftKey"
+>;
+
+/**
+ * The menu-item shortcut a keydown stands for, or null. Letters match on the
+ * physical key (`event.code`), like react-hotkeys-hook, so non-Latin layouts
+ * still work. Any modifier opts out — menu keys are bare letters only.
+ */
+export function menuShortcutFromEvent(event: KeyLike): string | null {
+ if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) {
+ return null;
+ }
+ if (event.key === "Backspace" || event.key === "Delete") return "backspace";
+ const letter = /^Key([A-Z])$/.exec(event.code)?.[1];
+ return letter ? letter.toLowerCase() : null;
+}
+
+/**
+ * Scoped by construction: menu content only exists while the menu is open.
+ * Submenu keys bubble here through the React portal tree, hence the
+ * own-menu filter. Unmatched keys fall through to Radix typeahead.
+ */
+export function handleMenuShortcutKeyDown(event: KeyboardEvent<HTMLElement>) {
+ if (event.defaultPrevented) return;
+ const menu = event.currentTarget;
+ const target = event.target;
+ if (!(target instanceof Element) || isTextEntryTarget(target)) return;
+ if (target.closest("[role='menu']") !== menu) return;
+
+ const key = menuShortcutFromEvent(event);
+ if (!key) return;
+
+ const matches = Array.from(
+ menu.querySelectorAll<HTMLElement>(
+ `[role='menuitem'][data-menu-shortcut='${key}']:not([data-disabled])`
+ )
+ ).filter((item) => item.closest("[role='menu']") === menu);
+ const [item] = matches;
+ if (!item) return;
+ if (matches.length > 1) {
+ // biome-ignore lint/suspicious/noConsole: duplicate menu keys are a bug at the caller
+ console.warn(
+ `Menu shortcut "${key}" is set on ${matches.length} items in one menu — only the first runs.`
+ );
+ }
+
+ event.preventDefault();
+ event.stopPropagation();
+ item.click();
+}
+
+/** Runs the caller's handler first, so it can `preventDefault` a menu key. */
+export function withMenuShortcuts(
+ onKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void
+) {
+ return (event: KeyboardEvent<HTMLDivElement>) => {
+ onKeyDown?.(event);
+ handleMenuShortcutKeyDown(event);
+ };
+}