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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: update shadows and colors of buttons and cards
Brad Barbin933db2e23858
diff --git a/apps/erp/app/components/Copy.tsx b/apps/erp/app/components/Copy.tsxindex bb1fd47432..4a1b73e99f 100644--- a/apps/erp/app/components/Copy.tsx+++ b/apps/erp/app/components/Copy.tsx@@ -35,7 +35,7 @@ const Copy = ({aria-label="Copy"size="sm"className={cn(- "p-1",+ "p-1 w-6 h-6",isCopied && "text-emerald-500 hover:text-emerald-500",className)}diff --git a/apps/erp/app/components/Form/Item.tsx b/apps/erp/app/components/Form/Item.tsxindex 6f55abcf48..539263fbb2 100644--- a/apps/erp/app/components/Form/Item.tsx+++ b/apps/erp/app/components/Form/Item.tsx@@ -211,7 +211,7 @@ const Item = ({className={cn(props.inline === true? "ml-1"- : "bg-transparent flex-shrink-0 h-10 w-10 px-3 rounded-l-none border-l-0 shadow-sm"+ : "bg-transparent flex-shrink-0 h-10 w-10 px-3 rounded-l-none before:rounded-l-none !border-l-0 border -ml-px shadow-none hover:shadow-button-base")}disabled={props.isReadOnly}variant="secondary"diff --git a/apps/erp/app/components/Form/SequenceOrCustomId.tsx b/apps/erp/app/components/Form/SequenceOrCustomId.tsxindex 22bbcc8ebc..e839e65946 100644--- a/apps/erp/app/components/Form/SequenceOrCustomId.tsx+++ b/apps/erp/app/components/Form/SequenceOrCustomId.tsx@@ -59,7 +59,7 @@ const SequenceOrCustomId = forwardRef<)}<IconButtonaria-label="Toggle"- className="bg-transparent flex-shrink-0 h-10 rounded-l-none border-l-0 shadow-sm"+ className="bg-transparent flex-shrink-0 h-10 rounded-l-none border border-l-0"icon={isCustom ? <LuToggleLeft /> : <LuToggleRight />}variant="secondary"size="lg"diff --git a/apps/erp/app/components/ItemThumbnail.tsx b/apps/erp/app/components/ItemThumbnail.tsxindex 0d4d422d8c..09a473cee2 100644--- a/apps/erp/app/components/ItemThumbnail.tsx+++ b/apps/erp/app/components/ItemThumbnail.tsx@@ -11,43 +11,40 @@ interface ItemThumbnailProps {size?: "sm" | "md" | "lg";}-const itemVariants = cva(- "bg-gradient-to-bl from-muted to-muted/40 rounded-lg border-2 border-transparent",- {- variants: {- size: {- sm: "w-7 h-7",- md: "w-9 h-9",- lg: "w-11 h-11",- },- withPadding: {- true: "",- false: "p-0",- },+const itemVariants = cva("bg-muted rounded-lg border-2 border-transparent", {+ variants: {+ size: {+ sm: "w-7 h-7",+ md: "w-9 h-9",+ lg: "w-11 h-11 bg-gradient-to-bl from-muted to-muted/40 ",+ },+ withPadding: {+ true: "",+ false: "p-0",+ },+ },+ compoundVariants: [+ {+ withPadding: true,+ size: "sm",+ class: "p-1",},- compoundVariants: [- {- withPadding: true,- size: "sm",- class: "p-1",- },- {- withPadding: true,- size: "md",- class: "p-1.5",- },- {- withPadding: true,- size: "lg",- class: "p-2",- },- ],- defaultVariants: {+ {+ withPadding: true,size: "md",+ class: "p-1.5",+ },+ {withPadding: true,+ size: "lg",+ class: "p-2",},- }-);+ ],+ defaultVariants: {+ size: "md",+ withPadding: true,+ },+});const iconVariants = cva("text-muted-foreground", {variants: {diff --git a/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx b/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsxindex 944c07ae2f..22ceaecf20 100644--- a/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx+++ b/apps/erp/app/components/Layout/Navigation/PrimaryNavigation.tsx@@ -109,9 +109,13 @@ const NavigationIconLink = forwardRef<"group-data-[state=collapsed]:justify-center","group-data-[state=expanded]:-space-x-2","hover:bg-active/80 hover:text-active-foreground",+ "font-medium shrink-0 group inline-flex items-center justify-center select-none transform-gpu initial:border-none disabled:opacity-50",+ "focus:!outline-none focus:!ring-0 active:!outline-none active:!ring-0",+ "after:pointer-events-none after:absolute after:-inset-[3px] after:rounded-lg after:border after:border-blue-500 after:opacity-0 after:ring-2 after:ring-blue-500/20 after:transition-opacity focus-visible:after:opacity-100 active:after:opacity-0",+ "before:pointer-events-none before:bg-gradient-to-b before:transition-opacity before:from-white/[0.12] before:absolute before:inset-0 before:z-[1] before:rounded before:opacity-0",`${isActive- ? "bg-active text-active-foreground shadow-sm hover:text-active-foreground hover:bg-active/90"+ ? "bg-active text-active-foreground hover:text-active-foreground hover:bg-active/90 shadow-button-base": "hover:text-active-foreground"}`,"group/item",diff --git a/apps/erp/app/components/Layout/Topbar/Feedback.tsx b/apps/erp/app/components/Layout/Topbar/Feedback.tsxindex 3d90106838..b54a78d0bd 100644--- a/apps/erp/app/components/Layout/Topbar/Feedback.tsx+++ b/apps/erp/app/components/Layout/Topbar/Feedback.tsx@@ -83,9 +83,7 @@ const Feedback = () => {return (<Popover><PopoverTrigger ref={popoverTriggerRef} asChild>- <Button variant="secondary" className="text-muted-foreground">- Feedback- </Button>+ <Button variant="secondary">Feedback</Button></PopoverTrigger><PopoverContent align="end" className="w-[380px] "><ValidatedFormdiff --git a/apps/erp/app/components/Layout/Topbar/Search.tsx b/apps/erp/app/components/Layout/Topbar/Search.tsxindex 213e1a6ea4..62a597288c 100644--- a/apps/erp/app/components/Layout/Topbar/Search.tsx+++ b/apps/erp/app/components/Layout/Topbar/Search.tsx@@ -169,7 +169,10 @@ const SearchModal = ({if (!open) onClose();}}>- <ModalContent className="rounded-lg translate-y-0 p-0 h-[343px]">+ <ModalContent+ className="rounded-lg translate-y-0 p-0 h-[343px]"+ withCloseButton={false}+ ><Command className="rounded-lg border shadow-md"><CommandInputplaceholder="Type a command or search..."@@ -304,7 +307,7 @@ const SearchButton = () => {<ButtonleftIcon={<LuSearch />}variant="secondary"- className="w-[200px] px-2 text-muted-foreground "+ className="w-[200px] px-2"onClick={searchModal.onOpen}><HStack className="w-full">diff --git a/apps/erp/app/modules/inventory/ui/Inventory/InventoryTable.tsx b/apps/erp/app/modules/inventory/ui/Inventory/InventoryTable.tsxindex 15f20a3055..70bbba771b 100644--- a/apps/erp/app/modules/inventory/ui/Inventory/InventoryTable.tsx+++ b/apps/erp/app/modules/inventory/ui/Inventory/InventoryTable.tsx@@ -269,6 +269,7 @@ const InventoryTable = memo(defaultColumnPinning={defaultColumnPinning}primaryAction={<Combobox+ asButtonsize="sm"value={locationId}options={locationOptions}diff --git a/apps/erp/app/modules/inventory/ui/Receipts/ReceiptHeader.tsx b/apps/erp/app/modules/inventory/ui/Receipts/ReceiptHeader.tsxindex 3b78880601..4d45508534 100644--- a/apps/erp/app/modules/inventory/ui/Receipts/ReceiptHeader.tsx+++ b/apps/erp/app/modules/inventory/ui/Receipts/ReceiptHeader.tsx@@ -43,7 +43,7 @@ const ReceiptHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsxindex 9dd362354a..28e25a3793 100644--- a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx+++ b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader.tsx@@ -124,7 +124,7 @@ const PurchaseInvoiceHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx b/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsxindex e73fdcaa3d..df76db854a 100644--- a/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx+++ b/apps/erp/app/modules/items/ui/Consumables/ConsumableHeader.tsx@@ -18,7 +18,7 @@ const ConsumableHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.consumableDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx b/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsxindex bdd77be949..6c68939e73 100644--- a/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx+++ b/apps/erp/app/modules/items/ui/Item/BoMExplorer.tsx@@ -201,7 +201,7 @@ export default BoMExplorer;function NodeText({ node }: { node: FlatTreeItem<Method> }) {return (<div className="flex flex-col items-start gap-0">- <span className="text-sm truncate">+ <span className="text-sm truncate font-medium">{node.data.description ?? node.data.itemReadableId}</span></div>diff --git a/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx b/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsxindex e7ec47a1f9..c67e597725 100644--- a/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx+++ b/apps/erp/app/modules/items/ui/Item/PickMethodForm.tsx@@ -59,6 +59,7 @@ const PickMethodForm = ({<CardAction><Combobox+ asButtonsize="sm"value={initialValues.locationId}options={locationOptions}diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsxindex dbaa993d89..26ceca3883 100644--- a/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx+++ b/apps/erp/app/modules/items/ui/Materials/MaterialHeader.tsx@@ -18,7 +18,7 @@ const MaterialHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.materialDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx b/apps/erp/app/modules/items/ui/Parts/PartHeader.tsxindex fd15468d4d..c1d2f65eab 100644--- a/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx+++ b/apps/erp/app/modules/items/ui/Parts/PartHeader.tsx@@ -18,7 +18,7 @@ const PartHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.partDetails(itemId)}>diff --git a/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx b/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsxindex a4278e24d1..10f3f76a02 100644--- a/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx+++ b/apps/erp/app/modules/items/ui/Tools/ToolHeader.tsx@@ -16,7 +16,7 @@ const ToolHeader = () => {const routeData = useRouteData<{ toolSummary: Tool }>(path.to.tool(itemId));return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.toolDetails(itemId)}>diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBoMExplorer.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBoMExplorer.tsxindex 8d495368eb..5182f13a68 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobBoMExplorer.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobBoMExplorer.tsx@@ -189,7 +189,7 @@ export default JobBoMExplorer;function NodeText({ node }: { node: FlatTreeItem<JobMethod> }) {return (<div className="flex items-center gap-1">- <span className="text-sm font-medium truncate">+ <span className="font-medium text-sm truncate">{node.data.description ?? node.data.itemReadableId}</span></div>diff --git a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsxindex 32eb5bbb07..7900fff9c0 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobHeader.tsx@@ -94,7 +94,7 @@ const JobHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)] "><HStack><IconButtonaria-label="Toggle Explorer"diff --git a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsxindex 479ac4e950..df07c5f3a5 100644--- a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx@@ -76,7 +76,7 @@ export function ColumnCard({};const variants = cva(- "w-[350px] max-w-full flex flex-col flex-shrink-0 snap-center rounded-none from-card/50 via-card/50 to-card flex flex-col p-[1px] pt-0",+ "w-[350px] max-w-full flex flex-col flex-shrink-0 snap-center rounded-none from-card/50 via-card/50 to-card/50 flex flex-col p-[1px] pt-0",{variants: {dragging: {diff --git a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsxindex b9a1809d58..1fafc263f6 100644--- a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx@@ -151,7 +151,7 @@ export function ItemCard({ref={setNodeRef}style={style}className={cn(- "max-w-[330px]",+ "max-w-[330px] shadow-sm dark:shadow-sm",cardVariants({dragging: isOverlay ? "overlay" : isDragging ? "over" : undefined,status: item.status,diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsxindex a6d6d9915c..da08f930f8 100644--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader.tsx@@ -66,7 +66,7 @@ const PurchaseOrderHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsxindex d29b8efd71..c9f9b522c8 100644--- a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx+++ b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteHeader.tsx@@ -41,7 +41,7 @@ const SupplierQuoteHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBoMExplorer.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBoMExplorer.tsxindex 52a3b58847..04c28dd446 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBoMExplorer.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBoMExplorer.tsx@@ -193,7 +193,7 @@ export default QuoteBoMExplorer;function NodeText({ node }: { node: FlatTreeItem<QuoteMethod> }) {return (<div className="flex items-center gap-1">- <span className="text-sm font-medium truncate">+ <span className="font-medium text-sm truncate">{node.data.description ?? node.data.itemReadableId}</span></div>diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsxindex 4245ad9ac7..289a6bb73d 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteHeader.tsx@@ -81,7 +81,7 @@ const QuoteHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsxindex 193a9555a0..de0a37818d 100644--- a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx+++ b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx@@ -55,7 +55,7 @@ const SalesOrderHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]"><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsxindex 01fbce7a09..2ab9063ad8 100644--- a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx+++ b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx@@ -65,7 +65,7 @@ const SalesRFQHeader = () => {const statusFetcher = useFetcher<{}>();return (- <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] scrollbar-hide overflow-x-auto">+ <div className="flex flex-shrink-0 items-center justify-between p-2 bg-card border-b border-border h-[50px] overflow-x-auto scrollbar-hide dark:border-none dark:shadow-[inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)] "><HStack className="w-full justify-between"><HStack><IconButtondiff --git a/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx b/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsxindex 0a450d01cd..eb3dd9e2e5 100644--- a/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx+++ b/apps/erp/app/modules/settings/ui/CustomFields/CustomFieldsTable.tsx@@ -114,6 +114,7 @@ const CustomFieldsTable = memo(({ data, count }: CustomFieldsTableProps) => {data={data}columns={columns}count={count ?? 0}+ title="Custom Fields"renderContextMenu={renderContextMenu}/></>diff --git a/apps/erp/app/routes/x+/part+/$itemId.manufacturing.tsx b/apps/erp/app/routes/x+/part+/$itemId.manufacturing.tsxindex db7ed82b77..a9e576ca41 100644--- a/apps/erp/app/routes/x+/part+/$itemId.manufacturing.tsx+++ b/apps/erp/app/routes/x+/part+/$itemId.manufacturing.tsx@@ -170,12 +170,7 @@ export default function PartManufacturing() {</ScrollArea></ResizablePanel><ResizableHandle withHandle />- <ResizablePanel- order={2}- minSize={40}- defaultSize={60}- className="border-t border-border"- >+ <ResizablePanel order={2} minSize={40} defaultSize={60}><ScrollArea className="h-[calc(100dvh-99px)]"><Outlet key={JSON.stringify(params)} /></ScrollArea>diff --git a/apps/erp/app/routes/x+/production+/_index.tsx b/apps/erp/app/routes/x+/production+/_index.tsxindex 57a281fd14..234e5fc25a 100644--- a/apps/erp/app/routes/x+/production+/_index.tsx+++ b/apps/erp/app/routes/x+/production+/_index.tsx@@ -36,7 +36,6 @@ import {LuChevronDown,LuEllipsisVertical,LuFile,- LuHardHat,LuLayoutList,LuUserRoundCheck,} from "react-icons/lu";@@ -245,12 +244,12 @@ export default function ProductionDashboard() {<div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-2"><Card className="p-6 rounded-xl items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><LuLayoutList className="size-5" /></div><Buttonsize="sm"- rightIcon={<LuHardHat />}+ rightIcon={<LuArrowUpRight />}variant="secondary"asChild>@@ -275,7 +274,7 @@ export default function ProductionDashboard() {<Card className="p-6 items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><LuUserRoundCheck className="size-5" /></div><Buttondiff --git a/apps/erp/app/routes/x+/purchasing+/_index.tsx b/apps/erp/app/routes/x+/purchasing+/_index.tsxindex ba1c47f38d..e28104b1ac 100644--- a/apps/erp/app/routes/x+/purchasing+/_index.tsx+++ b/apps/erp/app/routes/x+/purchasing+/_index.tsx@@ -269,7 +269,7 @@ export default function PurchaseDashboard() {<div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-3"><Card className="p-6 rounded-xl items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><LuPackageSearch className="size-5" /></div><Button@@ -299,7 +299,7 @@ export default function PurchaseDashboard() {<Card className="p-6 items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><LuLayoutList className="size-5" /></div><Button@@ -328,7 +328,7 @@ export default function PurchaseDashboard() {<Card className="p-6 items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><LuCreditCard className="size-5" /></div><Buttondiff --git a/apps/erp/app/routes/x+/sales+/_index.tsx b/apps/erp/app/routes/x+/sales+/_index.tsxindex 3a1322e908..6addb34a05 100644--- a/apps/erp/app/routes/x+/sales+/_index.tsx+++ b/apps/erp/app/routes/x+/sales+/_index.tsx@@ -252,7 +252,7 @@ export default function SalesDashboard() {<div className="grid w-full gap-4 grid-cols-1 lg:grid-cols-3"><Card className="p-6 rounded-xl items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><RiProgress2Line className="size-5" /></div><Button@@ -282,7 +282,7 @@ export default function SalesDashboard() {<Card className="p-6 items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><RiProgress4Line className="size-5" /></div><Button@@ -311,7 +311,7 @@ export default function SalesDashboard() {<Card className="p-6 items-start justify-start gap-y-4"><HStack className="justify-between w-full items-start mb-4">- <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground shadow-md">+ <div className="bg-muted/80 border border-border rounded-xl p-2 text-foreground dark:shadow-md"><RiProgress8Line className="size-5" /></div><Button@@ -403,11 +403,12 @@ export default function SalesDashboard() {/>)}<Combobox+ asButtonvalue={customerId}onChange={setCustomerId}options={customerOptions}size="sm"- className="font-medium text-sm min-w-[160px] gap-4"+ className="min-w-[160px] gap-4"/></div><HStack className="text-sm text-muted-foreground pl-[3px] pt-1">diff --git a/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.tsx b/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.tsxindex c39686e7a2..1038ee0151 100644--- a/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.tsx+++ b/apps/erp/app/routes/x+/tool+/$itemId.manufacturing.tsx@@ -135,12 +135,7 @@ export default function ToolManufacturing() {</ScrollArea></ResizablePanel><ResizableHandle withHandle />- <ResizablePanel- order={2}- minSize={40}- defaultSize={60}- className="border-t border-border"- >+ <ResizablePanel order={2} minSize={40} defaultSize={60}><ScrollArea className="h-[calc(100dvh-99px)]"><Outlet key={JSON.stringify(params)} /></ScrollArea>diff --git a/apps/erp/app/styles/tailwind.css b/apps/erp/app/styles/tailwind.cssindex 6eea089636..61601db8e2 100644--- a/apps/erp/app/styles/tailwind.css+++ b/apps/erp/app/styles/tailwind.css@@ -31,6 +31,28 @@--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;++ --base-shadow-color: rgb(0 0 0 / 0.16);++ --button-drop-shadow: rgb(0 0 0 / 0.4);+ --danger-drop-shadow: rgb(127 29 29 / 0.8);+ --button-shadow: 0px -1px 0px 0px rgb(255 255 255 / 0.04),+ 0px 0px 0px 1px rgb(255 255 255 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.04),+ 0px 2px 2px 0px rgb(0 0 0 / 0.04), 0px 4px 2px 0px rgb(0 0 0 / 0.04),+ 0px 6px 3px 0px rgb(0 0 0 / 0.04);+ --popover-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08),+ 0px 0px 10px rgba(0, 0, 0, 0.12), 0px 0px 24px rgba(0, 0, 0, 0.16),+ 0px 0px 80px rgba(0, 0, 0, 0.2);+ --button-base-shadow: 0px 0px 0px 0.5px rgb(0 0 0 / 0.2),+ 0px 1px 1px -1px rgb(0 0 0 / 0.08), 0px 2px 2px -1px rgb(0 0 0 / 0.08),+ inset 0px 0.5px 0px rgb(255 255 255 / 0.04),+ inset 0px 0px 1px 0px rgb(255 255 255 / 0.12),+ inset 0px -4px 8px -4px rgb(0 0 0 / 0.12);+ --button-primary-shadow: 0px 1px 1px -1px rgb(0 0 0 / 0.08),+ 0px 2px 2px -1px rgb(0 0 0 / 0.08), 0px 0px 0px 1px rgb(0 0 0 / 0.06),+ inset 0px 1px 0px #fff, inset 0px 0px 2px 1px #fff,+ inset 0px 1px 2px rgb(0 0 0 / 0.06),+ inset 0px -4px 8px -4px rgb(0 0 0 / 0.06);}.dark {@@ -47,6 +69,26 @@--chart-3: 30 80% 55%;--chart-4: 280 65% 60%;--chart-5: 340 75% 55%;++ --button-drop-shadow: rgb(0 0 0 / 0.4);+ --danger-drop-shadow: rgb(127 29 29 / 0.8);+ --button-shadow: 0px -1px 0px 0px rgb(255 255 255 / 0.04),+ 0px 0px 0px 1px rgb(255 255 255 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.04),+ 0px 2px 2px 0px rgb(0 0 0 / 0.04), 0px 4px 2px 0px rgb(0 0 0 / 0.04),+ 0px 6px 3px 0px rgb(0 0 0 / 0.04);+ --popover-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08),+ 0px 0px 10px rgba(0, 0, 0, 0.12), 0px 0px 24px rgba(0, 0, 0, 0.16),+ 0px 0px 80px rgba(0, 0, 0, 0.2);+ --button-base-shadow: 0px 0px 0px 0.5px rgb(0 0 0 / 0.4),+ 0px 1px 1px -1px rgb(0 0 0 / 0.12), 0px 2px 2px -1px rgb(0 0 0 / 0.12),+ inset 0px 0.5px 0px rgb(255 255 255 / 0.06),+ inset 0px 0px 1px 0px rgb(255 255 255 / 0.16),+ inset 0px -6px 12px -4px rgb(0 0 0 / 0.16);+ --button-primary-shadow: 0px 1px 1px -1px rgb(0 0 0 / 0.08),+ 0px 2px 2px -1px rgb(0 0 0 / 0.08), 0px 0px 0px 1px rgb(0 0 0 / 0.06),+ inset 0px 1px 0px #fff, inset 0px 0px 2px 1px #fff,+ inset 0px 1px 2px rgb(0 0 0 / 0.06),+ inset 0px -4px 8px -4px rgb(0 0 0 / 0.06);}}diff --git a/apps/mes/app/components/Feedback.tsx b/apps/mes/app/components/Feedback.tsxindex 9209ae33cd..7e51e355d6 100644--- a/apps/mes/app/components/Feedback.tsx+++ b/apps/mes/app/components/Feedback.tsx@@ -84,8 +84,8 @@ const Feedback = () => {return (<Popover><PopoverTrigger ref={popoverTriggerRef} asChild>- <SidebarMenuButton className="text-sidebar-foreground/70">- <LuMessageCircle className="text-sidebar-foreground/70" />+ <SidebarMenuButton>+ <LuMessageCircle /><span>Feedback</span></SidebarMenuButton></PopoverTrigger>diff --git a/apps/mes/app/components/Filter/ActiveFilters.tsx b/apps/mes/app/components/Filter/ActiveFilters.tsxindex a985fc1c26..e306550c6e 100644--- a/apps/mes/app/components/Filter/ActiveFilters.tsx+++ b/apps/mes/app/components/Filter/ActiveFilters.tsx@@ -122,19 +122,23 @@ const ActiveFilter = ({ filter, operator, value }: ActiveFilterProps) => {<HStack spacing={0}><ButtonleftIcon={filter.icon ?? undefined}- className="rounded-r-none"+ className="rounded-r-none before:rounded-r-none"size="sm"variant="secondary">{filter.header}</Button>- <Button className="rounded-none border-l-0" size="sm" variant="secondary">+ <Button+ className="rounded-none before:rounded-none border-l-0"+ size="sm"+ variant="secondary"+ >{operator === "eq" ? "is" : operator === "in" ? "is any of" : "matches"}</Button><Popover open={open} onOpenChange={setOpen}><PopoverTrigger asChild><Button- className="rounded-none"+ className="rounded-none before:rounded-none"role="combobox"variant="secondary"onClick={() => {@@ -188,7 +192,7 @@ const ActiveFilter = ({ filter, operator, value }: ActiveFilterProps) => {</Popover><Buttonaria-label="Remove filter"- className="rounded-l-none border-l-0 px-1 w-6"+ className="rounded-l-none before:rounded-l-none border-l-0 px-1 w-6"size="sm"variant="secondary"onClick={() => {diff --git a/apps/mes/app/components/Kanban/components/ItemCard.tsx b/apps/mes/app/components/Kanban/components/ItemCard.tsxindex 6000bebeed..64f87a1cb3 100644--- a/apps/mes/app/components/Kanban/components/ItemCard.tsx+++ b/apps/mes/app/components/Kanban/components/ItemCard.tsx@@ -105,7 +105,7 @@ export function ItemCard({<Link to={path.to.operation(item.id)}><CardclassName={cn(- "max-w-[330px]",+ "max-w-[330px] shadow-sm dark:shadow-sm",cardVariants({status: item.status,})@@ -126,7 +126,7 @@ export function ItemCard({{item.subtitle}</span>)}- <span>{item.title}</span>+ <span className="font-semibold truncate">{item.title}</span></div></div>diff --git a/packages/react/src/Badge.tsx b/packages/react/src/Badge.tsxindex 0de8418122..52854f7893 100644--- a/packages/react/src/Badge.tsx+++ b/packages/react/src/Badge.tsx@@ -10,16 +10,16 @@ import { LuX } from "react-icons/lu";import { cn } from "./utils/cn";const badgeVariants = cva(- "inline-flex items-center rounded px-2.5 py-0.5 h-6 text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 truncate uppercase font-bold text-xs tracking-tight",+ "inline-flex items-center rounded-md px-2.5 py-0.5 h-6 text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 truncate uppercase font-bold text-xs tracking-tight",{variants: {variant: {default:- "bg-primary text-primary-foreground shadow hover:bg-primary/80",+ "bg-primary text-primary-foreground shadow:sm dark:shadow hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:- "bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",+ "bg-destructive text-destructive-foreground shadow:sm dark:shadow hover:bg-destructive/80",outline: "text-foreground",green:"bg-emerald-600 text-emerald-100 dark:bg-emerald-900/50 dark:text-emerald-400",diff --git a/packages/react/src/Button.tsx b/packages/react/src/Button.tsxindex 1b52621d86..b89abd2f3e 100644--- a/packages/react/src/Button.tsx+++ b/packages/react/src/Button.tsx@@ -7,19 +7,25 @@ import { Spinner } from "./Spinner";import { cn } from "./utils/cn";export const buttonVariants = cva(- "inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium transition-colors ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",+ [+ "relative font-medium shrink-0 group inline-flex items-center justify-center select-none transform-gpu initial:border-none disabled:opacity-50",+ "focus:!outline-none focus:!ring-0 active:!outline-none active:!ring-0",+ "after:pointer-events-none after:absolute after:-inset-[3px] after:rounded-lg after:border after:border-blue-500 after:opacity-0 after:ring-2 after:ring-blue-500/20 after:transition-opacity focus-visible:after:opacity-100 active:after:opacity-0",+ "before:pointer-events-none before:bg-gradient-to-b before:transition-opacity before:from-white/[0.12] before:absolute before:inset-0 before:z-[1] before:rounded before:opacity-0",+ ],{variants: {variant: {primary:- "bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm hover:shadow-[inset_0_1px_2px_0_theme(colors.white/15%)]",+ "bg-gradient-to-br from-primary/90 to-primary text-primary-foreground hover:bg-primary/90 saturate-[105%] shadow-[inset_0px_0.5px_0px_rgb(255_255_255_/_0.32)]",active:- "bg-active text-active-foreground hover:bg-active/90 hover:text-active-foreground",+ "bg-active text-active-foreground hover:bg-active/90 hover:text-active-foreground shadow-button-base",secondary:- "border border-input bg-card hover:bg-accent hover:text-accent-foreground",- solid: "bg-accent text-accent-foreground hover:bg-accent/90",+ "bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-button-base hover:before:opacity-100 dark:hover:before:opacity-50",+ solid:+ "bg-accent text-accent-foreground hover:bg-accent/90 shadow-button-base",destructive:- "bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm hover:shadow-[inset_0_1px_2px_0_theme(colors.white/10%)]",+ "bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-button-danger",ghost:"bg-transparent hover:bg-primary/10 text-accent-foreground hover:text-accent-foreground/90",link: "text-foreground hover:text-foreground underline-offset-4 hover:underline",diff --git a/packages/react/src/Card.tsx b/packages/react/src/Card.tsxindex 4c82754114..4cc7384a90 100644--- a/packages/react/src/Card.tsx+++ b/packages/react/src/Card.tsx@@ -31,7 +31,7 @@ const Card = forwardRef<HTMLDivElement, CardProps>(<divref={ref}className={cn(- "relative flex flex-col rounded-lg border border-border dark:border-0 dark:shadow-[0px_1px_0px_0px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_rgba(0,0,0,.1),0px_2px_2px_0px_rgba(0,0,0,.1),0px_4px_4px_0px_rgba(0,0,0,.1),0px_8px_8px_0px_rgba(0,0,0,.1)] bg-gradient-to-bl from-card from-50% via-card to-background text-card-foreground p-4 w-full",+ "relative flex flex-col rounded-lg border border-border dark:border-none dark:shadow-[inset_0_0.5px_0_rgb(255_255_255_/_0.08),_inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)] bg-gradient-to-bl from-card from-50% via-card to-background text-card-foreground p-4 w-full",className)}{...props}diff --git a/packages/react/src/Combobox.tsx b/packages/react/src/Combobox.tsxindex 3f2daea138..8f83aed915 100644--- a/packages/react/src/Combobox.tsx+++ b/packages/react/src/Combobox.tsx@@ -19,6 +19,7 @@ export type ComboboxProps = Omit<ComponentPropsWithoutRef<"button">,"onChange"> & {+ asButton?: boolean;size?: "sm" | "md" | "lg";value?: string;options: {@@ -41,6 +42,7 @@ export type ComboboxProps = Omit<const Combobox = forwardRef<HTMLButtonElement, ComboboxProps>(({+ asButton,size,value,options,@@ -86,6 +88,7 @@ const Combobox = forwardRef<HTMLButtonElement, ComboboxProps>(/>) : (<CommandTrigger+ asButton={asButton}size={size}role="combobox"className={cn(diff --git a/packages/react/src/Command.tsx b/packages/react/src/Command.tsxindex 2097f97fab..d1941596ec 100644--- a/packages/react/src/Command.tsx+++ b/packages/react/src/Command.tsx@@ -182,17 +182,23 @@ const CommandShortcut = ({CommandShortcut.displayName = "CommandShortcut";const commandTriggerVariants = cva(- "text-foreground flex w-full items-center justify-between whitespace-nowrap rounded-md border border-input shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground ring-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 overflow-hidden",+ "items-center justify-between [&>span]:line-clamp-1 overflow-hidden",{variants: {size: {lg: "h-12 px-4 py-3 rounded-lg text-base space-x-4",md: "h-10 px-3 py-2 rounded-md text-sm space-x-3",- sm: "h-8 px-3 py-2 rounded text-xs space-x-2",+ sm: "h-8 px-3 py-2 rounded-md text-sm space-x-2",+ },+ asButton: {+ false:+ "text-foreground flex w-full whitespace-nowrap rounded-md border border-input shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground ring-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 overflow-hidden",+ true: "relative font-medium shrink-0 group inline-flex select-none transform-gpu initial:border-none disabled:opacity-50 focus:!outline-none focus:!ring-0 active:!outline-none active:!ring-0 after:pointer-events-none after:absolute after:-inset-[3px] after:rounded-lg after:border after:border-blue-500 after:opacity-0 after:ring-2 after:ring-blue-500/20 after:transition-opacity focus-visible:after:opacity-100 active:after:opacity-0 before:pointer-events-none before:bg-gradient-to-b before:transition-opacity before:from-white/[0.12] before:absolute before:inset-0 before:z-[1] before:rounded before:opacity-0 shadow-button-base bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-button-base hover:before:opacity-100 dark:hover:before:opacity-50",},},defaultVariants: {size: "md",+ asButton: false,},});@@ -254,16 +260,18 @@ interface CommandTriggerPropsextends ComponentPropsWithoutRef<"button">,VariantProps<typeof commandTriggerVariants> {icon?: React.ReactNode;+ asButton?: boolean;}const CommandTrigger = forwardRef<ElementRef<"button">, CommandTriggerProps>(- ({ size, className, children, icon, ...props }, ref) => (+ ({ asButton = false, size, className, children, icon, ...props }, ref) => (<buttonref={ref}type="button"className={cn(commandTriggerVariants({size,+ asButton,}),className)}diff --git a/packages/react/src/Date/components/Button.tsx b/packages/react/src/Date/components/Button.tsxindex 44a3b02cad..e141e6e91b 100644--- a/packages/react/src/Date/components/Button.tsx+++ b/packages/react/src/Date/components/Button.tsx@@ -40,7 +40,7 @@ export const FieldButton = ({ size = "md", ...props }: FieldButtonProps) => {{...buttonProps}ref={ref}aria-label="Toggle"- className={`flex-shrink-0 ${sizeClasses[size]} rounded-l-none border-l-0 shadow-sm`}+ className={`flex-shrink-0 ${sizeClasses[size]} rounded-l-none border border-l-0 before:rounded-l-none shadow-sm`}icon={<LuCalendar />}variant="secondary"size={size}diff --git a/packages/react/src/Dropdown.tsx b/packages/react/src/Dropdown.tsxindex 90328249ef..393029f2ce 100644--- a/packages/react/src/Dropdown.tsx+++ b/packages/react/src/Dropdown.tsx@@ -53,7 +53,7 @@ const DropdownMenuSubContent = forwardRef<<DropdownMenuPrimitive.SubContentref={ref}className={cn(- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 shadow-md dark:shadow-[0px_0px_0px_0.5px_rgba(0,0,0,1),_0px_4px_4px_rgba(0,0,0,0.24)]",className)}{...props}@@ -71,7 +71,7 @@ const DropdownMenuContent = forwardRef<ref={ref}sideOffset={sideOffset}className={cn(- "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",+ "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 shadow-md dark:shadow-[0px_0px_0px_0.5px_rgba(0,0,0,1),_0px_4px_4px_rgba(0,0,0,0.24)]",className)}{...props}@@ -185,7 +185,10 @@ const DropdownMenuSeparator = forwardRef<>(({ className, ...props }, ref) => (<DropdownMenuPrimitive.Separatorref={ref}- className={cn("-mx-1 my-1 h-px bg-muted", className)}+ className={cn(+ "-mx-1 my-1 h-px bg-muted dark:bg-gray-900 dark:shadow-[0px_1px_0px_rgb(255_255_255_/_0.05)]",+ className+ )}{...props}/>));diff --git a/packages/react/src/Input.tsx b/packages/react/src/Input.tsxindex 69cf2565a8..37a68bbc60 100644--- a/packages/react/src/Input.tsx+++ b/packages/react/src/Input.tsx@@ -16,7 +16,7 @@ const inputGroupVariants = cva(size: {lg: "h-12 rounded-lg",md: "h-10 rounded-md",- sm: "h-8 rounded",+ sm: "h-8 rounded-md",xs: "h-6 rounded",},isDisabled: {@@ -107,7 +107,7 @@ export const inputVariants = cva(size: {lg: "h-12 rounded-lg px-4 text-base",md: "h-10 rounded-md px-4 text-sm",- sm: "h-8 rounded px-3 text-sm",+ sm: "h-8 rounded-md px-3 text-sm",xs: "h-6 rounded px-2 text-sm",},isInputGroup: {diff --git a/packages/react/src/Menubar.tsx b/packages/react/src/Menubar.tsxindex d522d5b6b3..e7de4c9a87 100644--- a/packages/react/src/Menubar.tsx+++ b/packages/react/src/Menubar.tsx@@ -10,7 +10,7 @@ const Menubar = forwardRef<HTMLDivElement, ComponentProps<"div">>(<div{...props}className={cn(- "min-h-[2.5rem] flex items-center bg-card border border-border rounded-lg justify-start p-1 w-full space-x-1 scrollbar-hide",+ "min-h-[2.5rem] flex items-center bg-card border border-border rounded-lg justify-start p-1 w-full space-x-1 scrollbar-hide dark:border-none dark:shadow-[inset_0_0.5px_0_rgb(255_255_255_/_0.08),_inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]",className)}>@@ -24,7 +24,7 @@ Menubar.displayName = "Menubar";const MenubarItem = forwardRef<HTMLButtonElement, ButtonProps>(({ children, ...props }, ref) => {return (- <Button className="rounded-sm" ref={ref} variant="ghost" {...props}>+ <Button className="rounded-md" ref={ref} variant="ghost" {...props}>{children}</Button>);diff --git a/packages/react/src/Modal.tsx b/packages/react/src/Modal.tsxindex cf9babc75c..5cfd8ee880 100644--- a/packages/react/src/Modal.tsx+++ b/packages/react/src/Modal.tsx@@ -44,7 +44,7 @@ ModalOverlay.displayName = DialogPrimitive.Overlay.displayName;const ModalContentVariants = cva(cn("p-10",- "relative z-50 grid w-full gap-4 border shadow-md dark:shadow-sm duration-200",+ "relative z-50 grid w-full border dark:border-none gap-4 shadow-md dark:shadow-sm duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-[0%] data-[state=closed]:slide-out-to-top-[0%",@@ -74,8 +74,10 @@ const ModalContentVariants = cva(const ModalContent = forwardRef<ElementRef<typeof DialogPrimitive.Content>,ComponentPropsWithoutRef<typeof DialogPrimitive.Content> &- VariantProps<typeof ModalContentVariants>->(({ className, children, size, ...props }, ref) => (+ VariantProps<typeof ModalContentVariants> & {+ withCloseButton?: boolean;+ }+>(({ className, children, size, withCloseButton = true, ...props }, ref) => (<ClientOnly fallback={null}>{() => (<ModalPortal>@@ -86,10 +88,12 @@ const ModalContent = forwardRef<{...props}>{children}- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-full opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted p-2 hover:bg-accent/80">- <LuX className="h-4 w-4" />- <span className="sr-only">Close</span>- </DialogPrimitive.Close>+ {withCloseButton && (+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-full opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted p-2 hover:bg-accent/80">+ <LuX className="h-4 w-4" />+ <span className="sr-only">Close</span>+ </DialogPrimitive.Close>+ )}</DialogPrimitive.Content></ModalOverlay></ModalPortal>diff --git a/packages/react/src/ModelViewer.tsx b/packages/react/src/ModelViewer.tsxindex 8d62996f04..f39cc867e4 100644--- a/packages/react/src/ModelViewer.tsx+++ b/packages/react/src/ModelViewer.tsx@@ -250,7 +250,7 @@ export function ModelViewer({role={"img"}aria-label="Canvas showing the model in the 3D Viewer"className={cn(- "h-full w-full items-center justify-center rounded-lg relative border border-border dark:border-0 dark:shadow-[0px_1px_0px_0px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_rgba(0,0,0,.1),0px_2px_2px_0px_rgba(0,0,0,.1),0px_4px_4px_0px_rgba(0,0,0,.1),0px_8px_8px_0px_rgba(0,0,0,.1)] bg-gradient-to-bl from-card from-50% via-card to-background min-h-[400px] shadow-md",+ "h-full w-full items-center justify-center rounded-lg relative border border-border dark:border-0 dark:shadow-[0px_1px_0px_0px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_hsla(0,0%,100%,.03)_inset,0px_0px_0px_1px_rgba(0,0,0,.1),0px_2px_2px_0px_rgba(0,0,0,.1),0px_4px_4px_0px_rgba(0,0,0,.1),0px_8px_8px_0px_rgba(0,0,0,.1)] bg-gradient-to-bl from-card from-50% via-card to-background min-h-[400px] shadow-md dark:border-none dark:shadow-[inset_0_0.5px_0_rgb(255_255_255_/_0.08),_inset_0_0_1px_rgb(255_255_255_/_0.24),_0_0_0_0.5px_rgb(0,0,0,1),0px_0px_4px_rgba(0,_0,_0,_0.08),_0px_0px_10px_rgba(0,_0,_0,_0.12),_0px_0px_24px_rgba(0,_0,_0,_0.16),_0px_0px_80px_rgba(0,_0,_0,_0.2)]",className)}>diff --git a/packages/tailwind/tailwind.config.js b/packages/tailwind/tailwind.config.jsindex 6180590ec4..fc8107bc4f 100644--- a/packages/tailwind/tailwind.config.js+++ b/packages/tailwind/tailwind.config.js@@ -71,6 +71,27 @@ export default {md: `calc(var(--radius) - 2px)`,sm: "calc(var(--radius) - 4px)",},+ boxShadow: {+ DEFAULT: `+ 0px 3px 6px -3px var(--base-shadow-color, --tw-shadow-color),+ 0px 2px 4px -2px var(--base-shadow-color, --tw-shadow-color),+ 0px 1px 2px -1px var(--base-shadow-color, --tw-shadow-color),+ 0px 1px 1px -1px var(--base-shadow-color, --tw-shadow-color),+ 0px 1px 0px -1px var(--base-shadow-color, --tw-shadow-color)+ `,+ button: "var(--button-shadow)",+ popover: "var(--popover-shadow)",+ "dropdown-item": "var(--dropdown-item-shadow)",+ "button-base": "var(--button-base-shadow)",+ "button-primary": "var(--button-primary-shadow)",+ "button-danger": "var(--button-danger-shadow)",+ "inset-image-border": "inset 0px 0px 0px 1px var(--border-primary)",+ "select-item":+ "var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), inset 0px 1px 0px rgb(255 255 255 / 0.02), inset 0px 0px 0px 1px rgb(255 255 255 / 0.02), 0px 1px 2px rgb(0 0 0 / 0.12), 0px 2px 4px rgb(0 0 0 / 0.08), 0px 0px 0px 0.5px rgb(0 0 0 / 0.24);",+ },+ boxShadowColor: {+ DEFAULT: "var(--base-shadow-color)",+ },fontSize: {xxs: "0.675rem",},diff --git a/packages/utils/src/themes.ts b/packages/utils/src/themes.tsindex bbeb37f591..41fd40ab26 100644--- a/packages/utils/src/themes.ts+++ b/packages/utils/src/themes.ts@@ -299,7 +299,7 @@ export const themes = ["popover-foreground": "240 10% 3.9%",primary: "151 47% 40%","primary-foreground": "355.7 100% 97.3%",- active: "0 0% 86%",+ active: "240 0% 96%","active-foreground": "0 0% 4.1%",secondary: "240 4.8% 95.9%","secondary-foreground": "240 5.9% 10%",@@ -355,8 +355,8 @@ export const themes = ["popover-foreground": "216 98% 4.9%",primary: "216 98% 52%","primary-foreground": "210 40% 98%",- active: "222 40% 20%",- "active-foreground": "222 41 98%",+ active: "222 40% 98%",+ "active-foreground": "222 41 20%",secondary: "210 40% 96.1%","secondary-foreground": "222.2 47.4% 11.2%",muted: "222 40% 96.1%",