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
refactor: text component
Brad Barbin84728e50daf1
diff --git a/apps/carbon/app/components/Address/Address.tsx b/apps/carbon/app/components/Address/Address.tsxindex 7b10364f35..f183dab699 100644--- a/apps/carbon/app/components/Address/Address.tsx+++ b/apps/carbon/app/components/Address/Address.tsx@@ -1,5 +1,5 @@import { ActionMenu, VStack } from "@carbon/react";-import { Grid, Icon, MenuItem, Text } from "@chakra-ui/react";+import { Grid, Icon, MenuItem } from "@chakra-ui/react";import { BsPinMapFill } from "react-icons/bs";import type { Action } from "~/types";@@ -22,12 +22,10 @@ const Address = ({ address, actions }: AddressProps) => {<Grid w="full" gridColumnGap={4} gridTemplateColumns="auto 1fr auto"><Icon as={BsPinMapFill} w={8} h={8} /><VStack spacing={0}>- <Text fontWeight="bold" noOfLines={1}>- {location}- </Text>- <Text fontSize="sm" color="gray.500" noOfLines={1}>+ <p className="font-bold line-clamp-1">{location}</p>+ <p className="text-sm text-muted-foreground line-clamp-1">{addressZip}- </Text>+ </p></VStack>{actions.length > 0 && (<ActionMenu>diff --git a/apps/carbon/app/components/Contact/Contact.tsx b/apps/carbon/app/components/Contact/Contact.tsxindex b3e1ca8cf1..ac1a319ca6 100644--- a/apps/carbon/app/components/Contact/Contact.tsx+++ b/apps/carbon/app/components/Contact/Contact.tsx@@ -1,5 +1,5 @@import { ActionMenu, Dot, HStack, VStack } from "@carbon/react";-import { Avatar, Grid, MenuItem, Text } from "@chakra-ui/react";+import { Avatar, Grid, MenuItem } from "@chakra-ui/react";import { Link } from "@remix-run/react";import type { Action } from "~/types";@@ -38,14 +38,10 @@ const Contact = ({ contact, url, user, actions }: ContactProps) => {<HStack>{url ? (<Link to={url}>- <Text fontSize="sm" fontWeight="bold">- {name}- </Text>+ <p className="text-sm font-bold">{name}</p></Link>) : (- <Text fontSize="sm" fontWeight="bold">- {name}- </Text>+ <p className="text-sm font-bold">{name}</p>)}{userStatus === UserStatus.Active && (@@ -56,9 +52,9 @@ const Contact = ({ contact, url, user, actions }: ContactProps) => {)}</HStack>- <Text fontSize="sm" color="gray.500" noOfLines={1}>+ <p className="text-sm text-muted-foreground line-clamp-1">{contact.email ?? ""}- </Text>+ </p></VStack>{actions.length > 0 && (<ActionMenu>diff --git a/apps/carbon/app/components/Form/Boolean.tsx b/apps/carbon/app/components/Form/Boolean.tsxindex ff34945a28..af7bc3836a 100644--- a/apps/carbon/app/components/Form/Boolean.tsx+++ b/apps/carbon/app/components/Form/Boolean.tsx@@ -5,7 +5,6 @@ import {FormErrorMessage,FormHelperText,FormLabel,- Text,VisuallyHidden,chakra,omitThemingProps,@@ -98,7 +97,7 @@ const Boolean = forwardRef<HTMLInputElement, FormBooleanProps>(data-checked={value ? "" : undefined}/></chakra.span>- {description && <Text {...getLabelProps()}>{description}</Text>}+ {description && <p {...getLabelProps()}>{description}</p>}</HStack></chakra.label></HStack>diff --git a/apps/carbon/app/components/Form/Color.tsx b/apps/carbon/app/components/Form/Color.tsxindex 7cb02ba3cf..d3a452c94c 100644--- a/apps/carbon/app/components/Form/Color.tsx+++ b/apps/carbon/app/components/Form/Color.tsx@@ -56,7 +56,7 @@ const ColorPicker = ({ name, label }: ColorFieldProps) => {<HexColorInputcolor={value}onChange={setValue}- className="py-0 px-2 h-9 rounded-md outline-2 outline-offset-2 outline-transparent border z-50"+ className="py-0 px-2 h-9 rounded-md outline-2 outline-offset-2 outline-transparent border border-border z-50"/></HStack>{disclosure.isOpen && (diff --git a/apps/carbon/app/components/Form/Textarea.tsx b/apps/carbon/app/components/Form/Textarea.tsxindex efc592f803..ece9553265 100644--- a/apps/carbon/app/components/Form/Textarea.tsx+++ b/apps/carbon/app/components/Form/Textarea.tsx@@ -1,11 +1,10 @@import { useColor } from "@carbon/react";import type { TextareaProps } from "@chakra-ui/react";import {+ Textarea as ChakraTextArea,FormControl,FormErrorMessage,FormLabel,- Text,- Textarea as ChakraTextArea,} from "@chakra-ui/react";import type { ChangeEvent } from "react";import { forwardRef, useState } from "react";@@ -43,9 +42,9 @@ const TextArea = forwardRef<HTMLTextAreaElement, FormTextArea>(onChange={onChange}/>{characterLimit && (- <Text fontSize="sm" color="gray.500">+ <p className="text-sm text-muted-foreground">{characterCount} of {characterLimit}- </Text>+ </p>)}{error && <FormErrorMessage>{error}</FormErrorMessage>}</FormControl>diff --git a/apps/carbon/app/components/Grid/Grid.tsx b/apps/carbon/app/components/Grid/Grid.tsxindex d71fe31674..49e072d9e7 100644--- a/apps/carbon/app/components/Grid/Grid.tsx+++ b/apps/carbon/app/components/Grid/Grid.tsx@@ -1,6 +1,6 @@import { HStack, VStack, useColor, useEscape, useMount } from "@carbon/react";import { clip } from "@carbon/utils";-import { Icon, Table, Tbody, Td, Text, Th, Thead, Tr } from "@chakra-ui/react";+import { Icon, Table, Tbody, Td, Th, Thead, Tr } from "@chakra-ui/react";import type { ColumnDef, ColumnOrderState } from "@tanstack/react-table";import {flexRender,@@ -434,9 +434,9 @@ const Grid = <T extends object>({}}><Td colSpan={24}>- <Text color="gray.500" w="full" textAlign="center">+ <p className="text-muted-foreground text-center w-full">No Data- </Text>+ </p></Td></Tr>)}@@ -452,7 +452,9 @@ const Grid = <T extends object>({<Td colSpan={24}><HStack><Icon color="gray.500" as={BsPlus} w={6} h={6} />- <Text color="gray.500">New</Text>+ <p className="text-muted-foreground text-center w-full">+ New+ </p></HStack></Td></Tr>diff --git a/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsxindex fee9b94e91..31d20afd9b 100644--- a/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/CollapsibleSidebar.tsx@@ -24,7 +24,7 @@ export const CollapsibleSidebar = ({ children }: PropsWithChildren<{}>) => {initial={variants.visible}transition={{ duration: 0.5 }}variants={variants}- className="bg-background border-r h-full min-h-[calc(100vh-50px)] sticky top-50 z-3"+ className="bg-background border-r border-border h-full min-h-[calc(100vh-50px)] sticky top-50 z-3"><Tooltip label={sidebar.isOpen ? "Collapse" : "Expand"} placement="right"><IconButtondiff --git a/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsxindex 2f8bdb638d..0899f1dddc 100644--- a/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/ContentSidebar.tsx@@ -14,7 +14,7 @@ const ContentSidebar = ({ links }: { links: Route[] }) => {<CollapsibleSidebar><div className="overflow-y-auto h-full w-full pb-8"><VStack>- <VStack spacing={1} className="border-b p-2">+ <VStack spacing={1} className="border-b border-border p-2">{links.map((route) => {const isActive = matches.some((match) =>diff --git a/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsxindex 886c0dee8e..a63c599ca8 100644--- a/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/GroupedContentSidebar.tsx@@ -1,29 +1,25 @@-import { VStack, useColor } from "@carbon/react";-import { Button, Text } from "@chakra-ui/react";+import { VStack } from "@carbon/react";+import { Button } from "@chakra-ui/react";import { Link, useMatches } from "@remix-run/react";import type { RouteGroup } from "~/types";import { CollapsibleSidebar } from "./CollapsibleSidebar";const GroupedContentSidebar = ({ groups }: { groups: RouteGroup[] }) => {const matches = useMatches();- const labelColor = useColor("gray.400");return (<CollapsibleSidebar><div className="overflow-y-auto h-full w-full pb-8"><VStack>{groups.map((group) => (- <VStack key={group.name} spacing={1} className="border-b p-2">- <Text- color={labelColor}- fontSize="xs"- fontWeight="bold"- pl={3}- py={1}- textTransform="uppercase"- >+ <VStack+ key={group.name}+ spacing={1}+ className="border-b border-border p-2"+ >+ <p className="text-xs text-muted-foreground font-bold pl-3 py-1 uppercase">{group.name}- </Text>+ </p>{group.routes.map((route) => {const isActive = matches.some((match) =>match.pathname.includes(route.to)diff --git a/apps/carbon/app/components/Layout/Sidebar/IconSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/IconSidebar.tsxindex 1f1f131007..350e8bf60d 100644--- a/apps/carbon/app/components/Layout/Sidebar/IconSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/IconSidebar.tsx@@ -23,7 +23,7 @@ const IconSidebar = () => {}, new Set<string>());return (- <div className="h-full border-r bg-background z-10">+ <div className="h-full border-r border-border bg-background z-10"><IconButtonaria-label="Home"as={Link}diff --git a/apps/carbon/app/components/Layout/Sidebar/MultiTabSidebar.tsx b/apps/carbon/app/components/Layout/Sidebar/MultiTabSidebar.tsxindex 7a65cd453e..aaa0ccc4a9 100644--- a/apps/carbon/app/components/Layout/Sidebar/MultiTabSidebar.tsx+++ b/apps/carbon/app/components/Layout/Sidebar/MultiTabSidebar.tsx@@ -92,7 +92,7 @@ const MultiTabSidebar = ({duration: 0.5,}}ref={ref}- className="h-full w-[20rem] bg-background border-r"+ className="h-full w-[20rem] bg-background border-r border-border "><VStack className="h-full"><div className="p-2 pb-8 overflow-y-auto w-full h-full">@@ -102,7 +102,7 @@ const MultiTabSidebar = ({</VStack></motion.div>- <div className="absolute h-full bg-background border-r">+ <div className="absolute h-full bg-background border-r border-border "><VStack spacing={0}>{nodes.map((node) => (<Tooltip key={node.id} label={node.label} placement="right">diff --git a/apps/carbon/app/components/Search/Search/Search.tsx b/apps/carbon/app/components/Search/Search/Search.tsxindex fa4d4ca770..47fcdfb2fc 100644--- a/apps/carbon/app/components/Search/Search/Search.tsx+++ b/apps/carbon/app/components/Search/Search/Search.tsx@@ -21,7 +21,6 @@ import {ModalBody,ModalContent,ModalOverlay,- Text,} from "@chakra-ui/react";import { Link, useNavigate } from "@remix-run/react";import { useCallback, useEffect, useRef, useState } from "react";@@ -320,10 +319,8 @@ function Result({><ResultIcon entity={result.entity} /><VStack spacing={0} className="flex-1">- <Text fontSize="sm" color="gray.500">- {result.entity}- </Text>- <Text fontWeight="bold">{result.name}</Text>+ <p className="text-sm text-muted-foreground">{result.entity}</p>+ <p className="font-bold">{result.name}</p></VStack><EnterIcon /></HStack>@@ -361,10 +358,8 @@ function Module({<Icon as={item.icon} {...resultIconProps} />)} */}<VStack spacing={0} className="flex-1">- <Text fontSize="sm" color="gray.500">- Module- </Text>- <Text fontWeight="bold">{item.name}</Text>+ <p className="text-sm text-muted-foreground">Module</p>+ <p className="font-bold">{item.name}</p></VStack><EnterIcon /></HStack>diff --git a/apps/carbon/app/components/Selectors/UserSelect/components/SelectionList.tsx b/apps/carbon/app/components/Selectors/UserSelect/components/SelectionList.tsxindex ab7a4306a5..a33bf9babd 100644--- a/apps/carbon/app/components/Selectors/UserSelect/components/SelectionList.tsx+++ b/apps/carbon/app/components/Selectors/UserSelect/components/SelectionList.tsx@@ -6,7 +6,6 @@ import {IconButton,List,ListItem,- Text,Tooltip,} from "@chakra-ui/react";import { useMemo } from "react";@@ -71,9 +70,7 @@ const SelectionList = () => {size="lg"flexGrow={2}>- <Text fontSize={14} noOfLines={1}>- {item.label}- </Text>+ <p className="text-sm line-clamp-1">{item.label}</p></Checkbox></>) : (@@ -89,9 +86,7 @@ const SelectionList = () => {)}<Box display="flex" alignItems="center" flexGrow={2}>- <Text fontSize={14} noOfLines={1}>- {item.label}- </Text>+ <p className="text-sm line-clamp-1">{item.label}</p></Box></>)}diff --git a/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx b/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsxindex a173084798..af8ddc25eb 100644--- a/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx+++ b/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx@@ -1,6 +1,6 @@import { HStack, Loading } from "@carbon/react";import type { IconProps } from "@chakra-ui/react";-import { Box, Icon, List, ListItem, Text } from "@chakra-ui/react";+import { Box, Icon, List, ListItem } from "@chakra-ui/react";import { FaCheck, FaChevronRight } from "react-icons/fa";import useUserSelectContext from "../provider";import type { IndividualOrGroup, OptionGroup } from "../types";@@ -33,7 +33,7 @@ const UserTreeSelect = () => {) : groups.length > 0 ? (groups.map((group) => <Group key={group.uid} group={group} />)) : (- <Text>No options found</Text>+ <p className="text-center">No options found</p>)}</List>);@@ -81,7 +81,7 @@ const Group = ({ group }: { group: OptionGroup }) => {}sx={sx}>- <Text noOfLines={1}>{group.name}</Text>+ <span className="line-clamp-1">{group.name}</span><MoreIcon isExpanded={isExpanded} /></Box>{isExpanded && (@@ -155,7 +155,7 @@ const Option = ({h={4}opacity={isSelected ? 1 : 0}/>- <Text noOfLines={1}>{name}</Text>+ <span className="line-clamp-1">{name}</span></HStack></ListItem>);diff --git a/apps/carbon/app/components/Table/components/Columns/Columns.tsx b/apps/carbon/app/components/Table/components/Columns/Columns.tsxindex cb0bc68d1d..54febbb1b3 100644--- a/apps/carbon/app/components/Table/components/Columns/Columns.tsx+++ b/apps/carbon/app/components/Table/components/Columns/Columns.tsx@@ -2,15 +2,12 @@ import { HStack } from "@carbon/react";import {Button,IconButton,- List,- ListItem,Popover,PopoverArrow,PopoverBody,PopoverContent,PopoverHeader,PopoverTrigger,- Text,} from "@chakra-ui/react";import type { Column, ColumnOrderState } from "@tanstack/react-table";import { Reorder } from "framer-motion";@@ -45,31 +42,29 @@ const Columns = <T extends object>({</PopoverTrigger><PopoverContent w={360} boxShadow="xl"><PopoverHeader>- <Text fontSize="sm">Edit column view</Text>- <Text fontSize="xs" color="gray.500">+ <p className="text-sm">Edit column view</p>+ <p className="text-xs text-muted-foreground">Manage and reorder columns- </Text>+ </p></PopoverHeader><PopoverArrow /><PopoverBody maxH="50vh" overflow="auto">- <List- as={Reorder.Group}+ <Reorder.Groupaxis="y"values={columnOrder}onReorder={(newOrder: ColumnOrderState) => {if (withSelectableRows) newOrder.unshift("select");setColumnOrder(newOrder);}}- spacing={2}+ className="space-y-2">{columns.reduce<JSX.Element[]>((acc, column) => {if (isColumnToggable(column))acc.push(- <ListItem+ <Reorder.Itemkey={column.id}- as={Reorder.Item}value={column.id}- rounded="lg"+ className="rounded-lg"><HStack><IconButton@@ -77,9 +72,9 @@ const Columns = <T extends object>({icon={<MdOutlineDragIndicator />}variant="ghost"/>- <Text fontSize="small" flexGrow={1}>+ <span className="text-sm flex-grow"><>{column.columnDef.header}</>- </Text>+ </span><IconButtonaria-label="Toggle column"icon={column.getIsPinned() ? <BsPinFill /> : <BsPin />}@@ -105,11 +100,11 @@ const Columns = <T extends object>({variant="ghost"/></HStack>- </ListItem>+ </Reorder.Item>);return acc;}, [])}- </List>+ </Reorder.Group></PopoverBody></PopoverContent></Popover>diff --git a/apps/carbon/app/components/Table/components/Filter/Filter.tsx b/apps/carbon/app/components/Table/components/Filter/Filter.tsxindex d8c3a050de..df9f06c748 100644--- a/apps/carbon/app/components/Table/components/Filter/Filter.tsx+++ b/apps/carbon/app/components/Table/components/Filter/Filter.tsx@@ -1,6 +1,6 @@+import { VStack } from "@carbon/react";import {Button,- List,Popover,PopoverArrow,PopoverBody,@@ -8,7 +8,6 @@ import {PopoverFooter,PopoverHeader,PopoverTrigger,- Text,} from "@chakra-ui/react";import { BsFilter, BsPlus } from "react-icons/bs";import { useUrlParams } from "~/hooks";@@ -55,17 +54,17 @@ const Filter = ({ columnAccessors }: FilterProps) => {<PopoverContent w={480} boxShadow="xl">{filters.length === 0 && (<PopoverHeader>- <Text fontSize="sm">No filters applied to this view</Text>- <Text fontSize="xs" color="gray.500">+ <p className="text-sm">No filters applied to this view</p>+ <p className="text-xs text-muted-foreground">Add a column below to sort the view- </Text>+ </p></PopoverHeader>)}<PopoverArrow />{filters.length > 0 && (<PopoverBody>- <List spacing={2}>+ <VStack>{filters.reduce<JSX.Element[]>((acc, filter, index) => {const [column, operator, searchValue] = filter.split(":");if (!column || !operator) return acc;@@ -82,7 +81,7 @@ const Filter = ({ columnAccessors }: FilterProps) => {);return acc;}, [])}- </List>+ </VStack></PopoverBody>)}<PopoverFooter>diff --git a/apps/carbon/app/components/Table/components/Sort/Sort.tsx b/apps/carbon/app/components/Table/components/Sort/Sort.tsxindex fcb104d6d7..f350926230 100644--- a/apps/carbon/app/components/Table/components/Sort/Sort.tsx+++ b/apps/carbon/app/components/Table/components/Sort/Sort.tsx@@ -2,8 +2,6 @@ import { HStack } from "@carbon/react";import {Button,IconButton,- List,- ListItem,Menu,MenuButton,MenuItem,@@ -16,7 +14,6 @@ import {PopoverHeader,PopoverTrigger,Switch,- Text,} from "@chakra-ui/react";import { Reorder } from "framer-motion";import { BsChevronDown, BsListUl } from "react-icons/bs";@@ -52,47 +49,41 @@ const Sort = ({ columnAccessors }: SortProps) => {<PopoverContent w={420} boxShadow="xl">{hasNoSorts && (<PopoverHeader>- <Text fontSize="sm">No sorts applied to this view</Text>- <Text fontSize="xs" color="gray.500">+ <p className="text-sm">No sorts applied to this view</p>+ <p className="text-xs text-muted-foreground">Add a column below to sort the view- </Text>+ </p></PopoverHeader>)}<PopoverArrow />{!hasNoSorts && (<PopoverBody>- <List- as={Reorder.Group}+ <Reorder.Groupaxis="y"values={sorts}onReorder={reorderSorts}- spacing={2}+ className="space-y-2">{sorts.map((sort) => {const [column, direction] = sort.split(":");return (- <ListItem- key={sort}- as={Reorder.Item}- value={sort}- rounded="lg"- >+ <Reorder.Item key={sort} value={sort} className="rounded-lg"><HStack><IconButtonaria-label="Drag handle"icon={<MdOutlineDragIndicator />}variant="ghost"/>- <Text fontSize="small" flexGrow={1}>+ <span className="text-sm flex-grow"><>{columnAccessors[column] ?? ""}</>- </Text>+ </span><SwitchisChecked={direction === "asc"}onChange={() => toggleSortByDirection(column)}/>- <Text fontSize="xs" color="gray.500">+ <span className="text-sm text-muted-foreground">Ascending- </Text>+ </span><IconButtonaria-label="Remove sort by column"icon={<IoMdClose />}@@ -100,10 +91,10 @@ const Sort = ({ columnAccessors }: SortProps) => {variant="ghost"/></HStack>- </ListItem>+ </Reorder.Item>);})}- </List>+ </Reorder.Group></PopoverBody>)}diff --git a/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsx b/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsxindex c2d616dfe0..ad8a045f50 100644--- a/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsx+++ b/apps/carbon/app/components/Table/components/TableHeader/TableHeader.tsx@@ -45,7 +45,7 @@ const TableHeader = <T extends object>({withSelectableRows,}: HeaderProps<T>) => {return (- <HStack className="px-4 py-3 justify-between bg-background border-b w-full">+ <HStack className="px-4 py-3 justify-between bg-background border-b border-border w-full"><HStack>{withSelectableRows && actions.length > 0 && (<Actions actions={actions} selectedRows={selectedRows} />diff --git a/apps/carbon/app/modules/account/ui/UserAttributes/UserAttributesForm.tsx b/apps/carbon/app/modules/account/ui/UserAttributes/UserAttributesForm.tsxindex 3de24b9247..a8b0e16ac9 100644--- a/apps/carbon/app/modules/account/ui/UserAttributes/UserAttributesForm.tsx+++ b/apps/carbon/app/modules/account/ui/UserAttributes/UserAttributesForm.tsx@@ -1,5 +1,5 @@import { HStack, VStack, useColor, useDisclosure } from "@carbon/react";-import { Button, Grid, Switch, Text } from "@chakra-ui/react";+import { Button, Grid, Switch } from "@chakra-ui/react";import { parseDate } from "@internationalized/date";import { useFetcher, useParams } from "@remix-run/react";import { useState } from "react";@@ -162,9 +162,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="boolean" /><Hidden name="userAttributeId" />@@ -204,9 +204,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="date" /><Hidden name="userAttributeId" />@@ -246,9 +246,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="list" /><Hidden name="userAttributeId" />@@ -296,9 +296,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="numeric" /><Hidden name="userAttributeId" />@@ -338,9 +338,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="text" /><Hidden name="userAttributeId" />@@ -380,9 +380,9 @@ function renderTypedForm({pt={3}w="full">- <Text color="gray.500" alignSelf="center">+ <p className="text-muted-foreground self-center">{attribute.name}- </Text>+ </p><div><Hidden name="type" value="user" /><Hidden name="userAttributeId" />@@ -444,11 +444,9 @@ function renderTypedDisplay({pt={3}w="full">- <Text color="gray.500" alignSelf="center">- {attribute.name}- </Text>+ <p className="text-muted-foreground self-center">{attribute.name}</p>{displayValue === "N/A" ? (- <Text alignSelf="center">{displayValue}</Text>+ <p className="self-center">{displayValue}</p>) : (<Switch isReadOnly isChecked={displayValue === true} />)}@@ -475,10 +473,8 @@ function renderTypedDisplay({pt={3}w="full">- <Text color="gray.500" alignSelf="center">- {attribute.name}- </Text>- <Text alignSelf="center">{displayValue}</Text>+ <p className="text-muted-foreground self-center">{attribute.name}</p>+ <p className="self-center">{displayValue}</p><UpdateRemoveButtonscanRemove={!isAuthorized ||@@ -502,10 +498,8 @@ function renderTypedDisplay({pt={3}w="full">- <Text color="gray.500" alignSelf="center">- {attribute.name}- </Text>- <Text alignSelf="center">{displayValue.toLocaleString("en-US")}</Text>+ <p className="text-muted-foreground self-center">{attribute.name}</p>+ <p className="self-center">{displayValue.toLocaleString("en-US")}</p><UpdateRemoveButtonscanRemove={!isAuthorized || (attribute.canSelfManage === true && !!value)@@ -526,13 +520,11 @@ function renderTypedDisplay({pt={3}w="full">- <Text color="gray.500" alignSelf="center">- {attribute.name}- </Text>+ <p className="text-muted-foreground self-center">{attribute.name}</p>{value ? (<UserSelect disabled value={value.toString()} />) : (- <Text alignSelf="center">{displayValue}</Text>+ <p className="self-center">{displayValue}</p>)}<UpdateRemoveButtonsdiff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsxindex fa85c203f6..15b5cb8063 100644--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoriesTableFilters/AccountCategoriesTableFilters.tsx@@ -11,7 +11,10 @@ const AttributeCategoriesTableFilters = () => {const [params, setParams] = useUrlParams();return (- <HStack spacing={4} className="px-4 py-3 justify-between border-b w-full">+ <HStack+ spacing={4}+ className="px-4 py-3 justify-between border-b border-border w-full"+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsx b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsxindex 99da974de7..a103b8b4dc 100644--- a/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsx+++ b/apps/carbon/app/modules/accounting/ui/AccountCategories/AccountCategoryDetail/AccountCategoryDetail.tsx@@ -9,11 +9,8 @@ import {DrawerHeader,DrawerOverlay,IconButton,- List,- ListItem,Tag,TagLabel,- Text,} from "@chakra-ui/react";import { Link } from "@remix-run/react";import { useState } from "react";@@ -75,38 +72,36 @@ const AccountCategoryDetail = ({<TagLabel>{accountCategory.incomeBalance}</TagLabel></Tag></HStack>- <Text fontSize="sm" fontWeight="normal" color="gray.500">+ <p className="text-sm font-normal text-muted-foreground">A list of subcategories in the {accountCategory.category}{" "}category.- </Text>+ </p></VStack></DrawerHeader><DrawerBody>- <List spacing={2}>+ <VStack>{accountSubcategories.map((subcategory) => {return (- <ListItem key={subcategory.id} rounded="lg">- <HStack>- <Text flexGrow={1}>{subcategory.name}</Text>+ <HStack key={subcategory.id} className="w-full">+ <p className="flex-grow">{subcategory.name}</p>- <IconButton- as={Link}- to={subcategory.id}- aria-label="Edit"- icon={<BsPencilSquare />}- variant="outline"- />- <IconButton- aria-label="Delete"- icon={<IoMdTrash />}- variant="outline"- onClick={() => onDelete(subcategory)}- />- </HStack>- </ListItem>+ <IconButton+ as={Link}+ to={subcategory.id}+ aria-label="Edit"+ icon={<BsPencilSquare />}+ variant="outline"+ />+ <IconButton+ aria-label="Delete"+ icon={<IoMdTrash />}+ variant="outline"+ onClick={() => onDelete(subcategory)}+ />+ </HStack>);})}- </List>+ </VStack></DrawerBody><DrawerFooter><Buttondiff --git a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsxindex 225f2775ec..785084d5df 100644--- a/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTableFilters/ChartOfAccountsTableFilters.tsx@@ -8,7 +8,6 @@ import {PopoverContent,PopoverHeader,PopoverTrigger,- Text,} from "@chakra-ui/react";import { parseDate } from "@internationalized/date";import { Link } from "@remix-run/react";@@ -30,7 +29,10 @@ const ChartOfAccountsTableFilters = () => {}));return (- <HStack spacing={4} className="px-4 py-3 justify-between border-b w-full">+ <HStack+ spacing={4}+ className="px-4 py-3 justify-between border-b border-border w-full"+ ><HStack><Select// @ts-ignore@@ -49,10 +51,10 @@ const ChartOfAccountsTableFilters = () => {</PopoverTrigger><PopoverContent w={360} boxShadow="xl"><PopoverHeader>- <Text fontSize="sm">Edit date range</Text>- <Text fontSize="xs" color="gray.500">+ <p className="text-sm">Edit date range</p>+ <p className="text-xs text-muted-foreground">Select date range to filter net change and balance at date- </Text>+ </p></PopoverHeader><PopoverArrow /><PopoverBody maxH="50vh">@@ -61,21 +63,15 @@ const ChartOfAccountsTableFilters = () => {gridRowGap={2}alignItems="center">- <Text fontSize="sm" color="gray.500">- Start Date- </Text>+ <p className="text-sm text-muted-foreground">Start Date</p><DatePicker- // @ts-ignorevalue={startDate ? parseDate(startDate) : null}onChange={(value) =>setParams({ startDate: value.toString() })}/>- <Text fontSize="sm" color="gray.500">- End Date- </Text>+ <p className="text-sm text-muted-foreground">End Date</p><DatePicker- // @ts-ignorevalue={endDate ? parseDate(endDate) : null}onChange={(value) => setParams({ endDate: value.toString() })}/>diff --git a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsxindex 3b3e37ac8a..19bdf8e485 100644--- a/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/Currencies/CurrenciesTableFilters/CurrenciesTableFilters.tsx@@ -10,7 +10,10 @@ const CurrenciesTableFilters = () => {const permissions = usePermissions();return (- <HStack spacing={4} className="px-4 py-3 justify-between border-b w-full">+ <HStack+ spacing={4}+ className="px-4 py-3 justify-between border-b border-border w-full"+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsx b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsxindex 59ab83dcf3..daba614209 100644--- a/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/PaymentTerms/PaymentTermsTableFilters/PaymentTermsTableFilters.tsx@@ -10,7 +10,10 @@ const PaymentTermsTableFilters = () => {const permissions = usePermissions();return (- <HStack spacing={4} className="px-4 py-3 justify-between border-b w-full">+ <HStack+ spacing={4}+ className="px-4 py-3 justify-between border-b border-border w-full"+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsFilters.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsFilters.tsxindex d002d2ef9c..0f3eab9262 100644--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/InventoryPostingGroupsFilters.tsx@@ -24,7 +24,10 @@ const InventoryPostingGroupsFilters = ({}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><Selectsize="sm"isClearablediff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsFilters.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsFilters.tsxindex 944d9835b0..0262924b33 100644--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/PurchasingPostingGroupsFilters.tsx@@ -24,7 +24,10 @@ const PurchasingPostingGroupsFilters = ({}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><Selectsize="sm"isClearablediff --git a/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsFilters.tsx b/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsFilters.tsxindex aeb92f4b22..a19e02054b 100644--- a/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsFilters.tsx+++ b/apps/carbon/app/modules/accounting/ui/PostingGroups/SalesPostingGroupsFilters.tsx@@ -24,7 +24,10 @@ const SalesPostingGroupsFilters = ({}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><Selectsize="sm"isClearablediff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsxindex 4260c4bc9a..3946e67c80 100644--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsx+++ b/apps/carbon/app/modules/documents/ui/Documents/DocumentsTableFilters/DocumentsTableFilters.tsx@@ -32,7 +32,10 @@ const DocumentsTableFilters = ({ labels }: DocumentTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsx b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsxindex 3c5d1eff39..4667267fb0 100644--- a/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsx+++ b/apps/carbon/app/modules/inventory/ui/Receipts/ReceiptsTableFilters/ReceiptsTableFilters.tsx@@ -29,7 +29,10 @@ const ReceiptsTableFilters = ({ locations }: ReceiptsTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsx b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsxindex 737179c474..5436ab3d26 100644--- a/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsx+++ b/apps/carbon/app/modules/inventory/ui/ShippingMethods/ShippingMethodsTableFilters/ShippingMethodsTableFilters.tsx@@ -10,7 +10,10 @@ const ShippingMethodsTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsxindex 03e771cf80..176f16af5e 100644--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsx+++ b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceForm/PurchaseInvoiceForm.tsx@@ -1,12 +1,5 @@import { Heading, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { useState } from "react";import { ValidatedForm } from "remix-validated-form";import {@@ -71,10 +64,10 @@ const PurchaseInvoiceForm = ({{isEditing ? "Purchase Invoice" : "New Purchase Invoice"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A purchase invoice is a document that specifies the products orservices purchased by a customer and the corresponding cost.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsxindex f4c16979ef..fcb8f86915 100644--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsx+++ b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceHeader/PurchaseInvoiceHeader.tsx@@ -6,14 +6,7 @@ import {VStack,useDisclosure,} from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { useMemo, useState } from "react";import { FaHistory } from "react-icons/fa";@@ -94,9 +87,9 @@ const PurchaseInvoiceHeader = () => {<HStack className="items-start justify-between"><VStack><Heading size="h3">{purchaseInvoice.invoiceId}</Heading>- <Text color="gray.500" fontWeight="normal">+ <span className="text-muted-foreground font-normal">{purchaseInvoice.supplierName}- </Text>+ </span></VStack><Button onClick={() => alert("TODO")} leftIcon={<FaHistory />}>Supplier Details@@ -110,18 +103,18 @@ const PurchaseInvoiceHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Total</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Total</span>+ <span className="font-bold">{formatter.format(purchaseInvoiceTotals?.total ?? 0)}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Date Issued</Text>- <Text fontWeight="bold">{purchaseInvoice.dateIssued}</Text>+ <span className="text-muted-foreground">Date Issued</span>+ <span className="font-bold">{purchaseInvoice.dateIssued}</span></Stack><Stack@@ -129,7 +122,7 @@ const PurchaseInvoiceHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Status</Text>+ <span className="text-muted-foreground">Status</span><PurchaseInvoicingStatus status={purchaseInvoice.status} /></Stack></Stack>diff --git a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsx b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsxindex f12e185da2..efb6d9523a 100644--- a/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsx+++ b/apps/carbon/app/modules/invoicing/ui/PurchaseInvoices/PurchaseInvoicesTableFilters/PurchaseInvoicesTableFilters.tsx@@ -28,7 +28,10 @@ const PurchaseInvoicesTableFilters = () => {);return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsx b/apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsxindex 27021479da..9959a4b2e6 100644--- a/apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsx+++ b/apps/carbon/app/modules/parts/ui/Part/PartForm/PartForm.tsx@@ -1,12 +1,5 @@import { Heading, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { useState } from "react";import { ValidatedForm } from "remix-validated-form";import {@@ -121,10 +114,10 @@ const PartForm = ({ initialValues }: PartFormProps) => {<CardHeader><Heading size="h3">{isEditing ? "Part Details" : "New Part"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A part contains the information about a specific item that can bepurchased or manufactured.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsx b/apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsxindex ae53c8434b..7935bf584a 100644--- a/apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsx+++ b/apps/carbon/app/modules/parts/ui/Part/PartPreview/PartPreview.tsx@@ -1,12 +1,5 @@import { HStack, Heading, VStack } from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { FaHistory } from "react-icons/fa";import { useRouteData } from "~/hooks";@@ -27,7 +20,9 @@ const PartPreview = () => {<HStack className="justify-between align-start"><VStack spacing={0}><Heading size="h3">{routeData?.partSummary?.id}</Heading>- <Text color="gray.500">{routeData?.partSummary?.name}</Text>+ <span className="text-muted-foreground">+ {routeData?.partSummary?.name}+ </span></VStack><Button onClick={() => alert("TODO")} leftIcon={<FaHistory />}>View History@@ -41,28 +36,30 @@ const PartPreview = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Replenishment System</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Replenishment System</span>+ <span className="font-bold">{routeData?.partSummary?.replenishmentSystem}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Part Type</Text>- <Text fontWeight="bold">{routeData?.partSummary?.partType}</Text>+ <span className="text-muted-foreground">Part Type</span>+ <span className="font-bold">+ {routeData?.partSummary?.partType}+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Unit of Measure</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Unit of Measure</span>+ <span className="font-bold">{routeData?.partSummary?.unitOfMeasureCode}- </Text>+ </span></Stack></Stack></CardBody>diff --git a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsx b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsxindex 0f39688a04..a22ed4031d 100644--- a/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsx+++ b/apps/carbon/app/modules/parts/ui/PartGroups/PartGroupsTableFilters/PartGroupsTableFilters.tsx@@ -10,7 +10,10 @@ const PartGroupsTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsx b/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsxindex d10055d110..de50e0d62b 100644--- a/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsx+++ b/apps/carbon/app/modules/parts/ui/Parts/PartsTableFilters/PartsTableFilters.tsx@@ -26,7 +26,10 @@ const PartsTableFilters = ({ partGroups }: PartsTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsx b/apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsxindex 38bb5d44f6..258e22423a 100644--- a/apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsx+++ b/apps/carbon/app/modules/parts/ui/Service/ServiceForm/ServiceForm.tsx@@ -1,12 +1,5 @@import { Heading, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { useState } from "react";import { ValidatedForm } from "remix-validated-form";import {@@ -106,10 +99,10 @@ const ServiceForm = ({ initialValues }: ServiceFormProps) => {{isEditing ? "Service Details" : "New Service"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A service is an intangible activity that can be purchased or sold.When a service is purchased, it is accounted for as overhead.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsx b/apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsxindex 74fe204364..9b9016ac64 100644--- a/apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsx+++ b/apps/carbon/app/modules/parts/ui/Service/ServicePreview/ServicePreview.tsx@@ -1,12 +1,5 @@import { HStack, Heading } from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { FaHistory } from "react-icons/fa";import { useRouteData } from "~/hooks";@@ -27,9 +20,9 @@ const ServicePreview = () => {<HStack className="justify-between items-start"><Stack direction="column" spacing={2}><Heading size="h3">{routeData?.service?.name}</Heading>- <Text color="gray.500" noOfLines={1}>+ <p className="text-muted-foreground line-clamp-1">{routeData?.service?.description}- </Text>+ </p></Stack><Button onClick={() => alert("TODO")} leftIcon={<FaHistory />}>View History@@ -43,16 +36,16 @@ const ServicePreview = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Type</Text>- <Text fontWeight="bold">{routeData?.service?.serviceType}</Text>+ <span className="text-muted-foreground">Type</span>+ <span className="font-bold">{routeData?.service?.serviceType}</span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Part Group</Text>- <Text fontWeight="bold">{routeData?.service?.partGroup}</Text>+ <span className="text-muted-foreground">Part Group</span>+ <span className="font-bold">{routeData?.service?.partGroup}</span></Stack></Stack></CardBody>diff --git a/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsx b/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsxindex a03e5a5da5..6597283353 100644--- a/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsx+++ b/apps/carbon/app/modules/parts/ui/Services/ServicesTableFilters/ServicesTableFilters.tsx@@ -26,7 +26,10 @@ const ServicesTableFilters = ({ partGroups }: ServicesTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsx b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsxindex 3614011adf..9da5e5ac10 100644--- a/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsx+++ b/apps/carbon/app/modules/parts/ui/UnitOfMeasure/UnitOfMeasuresTableFilters/UnitOfMeasuresTableFilters.tsx@@ -9,7 +9,10 @@ const UnitOfMeasuresTableFilters = () => {const [params] = useUrlParams();const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderForm/PurchaseOrderForm.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderForm/PurchaseOrderForm.tsxindex 03e53508ea..b6cc572489 100644--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderForm/PurchaseOrderForm.tsx+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderForm/PurchaseOrderForm.tsx@@ -1,12 +1,5 @@import { Heading, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { useState } from "react";import { ValidatedForm } from "remix-validated-form";import {@@ -65,10 +58,10 @@ const PurchaseOrderForm = ({ initialValues }: PurchaseOrderFormProps) => {{isEditing ? "Purchase Order" : "New Purchase Order"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A purchase order contains information about the agreement betweenthe company and a specific supplier for parts and services.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader/PurchaseOrderHeader.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader/PurchaseOrderHeader.tsxindex 9a36708690..02b534b433 100644--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader/PurchaseOrderHeader.tsx+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderHeader/PurchaseOrderHeader.tsx@@ -1,12 +1,5 @@import { Heading, HStack, Menubar, MenubarItem, VStack } from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { useMemo } from "react";import { FaHistory } from "react-icons/fa";@@ -90,9 +83,9 @@ const PurchaseOrderHeader = () => {<Heading size="h3">{routeData?.purchaseOrder?.purchaseOrderId}</Heading>- <Text color="gray.500" fontWeight="normal">+ <span className="text-muted-foreground">{routeData?.purchaseOrder?.supplierName}- </Text>+ </span></Stack><Button onClick={() => alert("TODO")} leftIcon={<FaHistory />}>Supplier Details@@ -106,20 +99,20 @@ const PurchaseOrderHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Total</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Total</span>+ <span className="font-bold">{formatter.format(purchaseOrderTotals?.total ?? 0)}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Order Date</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Order Date</span>+ <span className="font-bold">{routeData?.purchaseOrder?.orderDate}- </Text>+ </span></Stack><Stack@@ -127,18 +120,20 @@ const PurchaseOrderHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Promised Date</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Promised Date</span>+ <span className="font-bold">{routeData?.purchaseOrder?.receiptPromisedDate}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Type</Text>- <Text fontWeight="bold">{routeData?.purchaseOrder?.type}</Text>+ <span className="text-muted-foreground">Type</span>+ <span className="font-bold">+ {routeData?.purchaseOrder?.type}+ </span></Stack>{/*<Stack@@ -146,13 +141,13 @@ const PurchaseOrderHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Subtotal</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Subtotal</span>+ <span className="font-bold">// TODO: this doesn't update when client-side lines are updated{currencyFormatter.format(routeData?.purchaseOrder?.subtotal ?? 0)}- </Text>+ </span></Stack>*/}<Stack@@ -160,7 +155,7 @@ const PurchaseOrderHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Status</Text>+ <span className="text-muted-foreground">Status</span><PurchasingStatus status={routeData?.purchaseOrder?.status} /></Stack></Stack>diff --git a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsxindex f3c748cc8f..98c17d3e56 100644--- a/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsx+++ b/apps/carbon/app/modules/purchasing/ui/PurchaseOrders/PurchaseOrdersTableFilters/PurchaseOrdersTableFilters.tsx@@ -26,7 +26,10 @@ const PurchaseOrdersTableFilters = () => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="search"diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsxindex 0c5acaa28d..33fd8a4b02 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierContacts/SupplierContacts.tsx@@ -1,14 +1,11 @@-import { Heading } from "@carbon/react";+import { Heading, useDisclosure } from "@carbon/react";import {- Box,Button,Card,CardBody,CardHeader,List,ListItem,- Text,- useDisclosure,} from "@chakra-ui/react";import { Link, Outlet, useNavigate, useParams } from "@remix-run/react";import { useCallback, useState } from "react";@@ -103,11 +100,11 @@ const SupplierContacts = ({ contacts }: SupplierContactsProps) => {</CardHeader><CardBody>{isEmpty ? (- <Box w="full" my={8} textAlign="center">- <Text color="gray.500" fontSize="sm">+ <div className="my-8 text-center w-full">+ <p className="text-muted-foreground text-sm">You haven't created any contacts yet.- </Text>- </Box>+ </p>+ </div>) : (<List w="full" spacing={4}>{contacts?.map((contact) => (diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsxindex d7b9d7ee93..b82066bacc 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierForm/SupplierForm.tsx@@ -1,12 +1,5 @@import { Heading, HStack, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { ValidatedForm } from "remix-validated-form";import { Employee, Hidden, Input, Select, Submit } from "~/components/Form";import { usePermissions, useRouteData } from "~/hooks";@@ -56,10 +49,10 @@ const SupplierForm = ({ initialValues }: SupplierFormProps) => {{isEditing ? "Supplier Overview" : "New Supplier"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A supplier is a business or person who sells you parts orservices.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsxindex 8a6c22542c..026c3c117c 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierHeader/SupplierHeader.tsx@@ -1,12 +1,5 @@import { Heading, HStack, VStack } from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { FaHistory } from "react-icons/fa";import { useRouteData } from "~/hooks";@@ -51,39 +44,39 @@ const SupplierHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Type</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Type</span>+ <span className="font-bold">{sharedSupplierData?.supplierTypes?.find((type) => type.id === routeData?.supplier?.supplierTypeId)?.name ?? "--"}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Status</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Status</span>+ <span className="font-bold">{sharedSupplierData?.supplierStatuses?.find((status) =>status.id === routeData?.supplier?.supplierStatusId)?.name ?? "--"}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Payment Terms</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Payment Terms</span>+ <span className="font-bold">{/* // TODO: defaultPaymentTermId */}{sharedSupplierData?.paymentTerms?.find((term) =>term.id === routeData?.supplier?.defaultPaymentTermId)?.name ?? "--"}- </Text>+ </span></Stack></Stack></CardBody>diff --git a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsx b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsxindex e81e28d997..0f384cf881 100644--- a/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Supplier/SupplierLocations/SupplierLocations.tsx@@ -1,14 +1,11 @@-import { Heading } from "@carbon/react";+import { Heading, useDisclosure } from "@carbon/react";import {- Box,Button,Card,CardBody,CardHeader,List,ListItem,- Text,- useDisclosure,} from "@chakra-ui/react";import { Link, Outlet, useNavigate, useParams } from "@remix-run/react";import { useCallback, useState } from "react";@@ -90,11 +87,11 @@ const SupplierLocations = ({ locations }: SupplierLocationsProps) => {</CardHeader><CardBody>{isEmpty ? (- <Box w="full" my={8} textAlign="center">- <Text color="gray.500" fontSize="sm">+ <div className="my-8 text-center w-full">+ <p className="text-muted-foreground text-sm">You haven’t created any locations yet.- </Text>- </Box>+ </p>+ </div>) : (<List w="full" spacing={4}>{locations?.map((location) => (diff --git a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsxindex ee64111329..6e0d798430 100644--- a/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsx+++ b/apps/carbon/app/modules/purchasing/ui/SupplierTypes/SupplierTypesTableFilters/SupplierTypesTableFilters.tsx@@ -10,7 +10,10 @@ const SupplierTypesTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsx b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsxindex 5d3a890db8..4da255673c 100644--- a/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsx+++ b/apps/carbon/app/modules/purchasing/ui/Suppliers/SuppliersTableFilters/SuppliersTableFilters.tsx@@ -32,7 +32,10 @@ const SuppliersTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsxindex 559f986300..90be58c756 100644--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilitiesTableFilters/AbilitiesTableFilters.tsx@@ -10,7 +10,10 @@ const AbilitiesTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsxindex 5ece9f82e1..2e3a2488b6 100644--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoriesTableFilters/AttributeCategoriesTableFilters.tsx@@ -10,7 +10,10 @@ const AttributeCategoriesTableFilters = () => {const [params] = useUrlParams();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsxindex a824615a31..732ab27913 100644--- a/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx+++ b/apps/carbon/app/modules/resources/ui/Attributes/AttributeCategoryDetail/AttributeCategoryDetail.tsx@@ -9,11 +9,8 @@ import {DrawerHeader,DrawerOverlay,IconButton,- List,- ListItem,Tag,TagLabel,- Text,} from "@chakra-ui/react";import { Link, useFetcher } from "@remix-run/react";import { Reorder } from "framer-motion";@@ -123,20 +120,19 @@ const AttributeCategoryDetail = ({</DrawerHeader><DrawerBody>{Array.isArray(attributeCategory?.userAttribute) && (- <List- as={Reorder.Group}+ <Reorder.Groupaxis="y"values={sortOrder}onReorder={onReorder}- spacing={2}+ className="space-y-2">{sortOrder.map((sortId) => {return (- <ListItem+ <Reorder.Itemkey={sortId}as={Reorder.Item}value={sortId}- rounded="lg"+ className="rounded-lg"><HStack><IconButton@@ -144,12 +140,12 @@ const AttributeCategoryDetail = ({icon={<MdOutlineDragIndicator />}variant="ghost"/>- <Text flexGrow={1}>+ <p className="flex-grow">{// @ts-ignoreattributeMap[sortId]?.name}- </Text>+ </p><ButtonisDisabledleftIcon={getIcon(@@ -183,10 +179,10 @@ const AttributeCategoryDetail = ({}/></HStack>- </ListItem>+ </Reorder.Item>);})}- </List>+ </Reorder.Group>)}</DrawerBody><DrawerFooter>diff --git a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsxindex 6f2e1f64eb..9e06097fd7 100644--- a/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Contractors/ContractorsTableFilters/ContractorsTableFilters.tsx@@ -23,7 +23,10 @@ const ContractorsTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsxindex b69e34c0f2..ded1ef1caa 100644--- a/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Departments/DepartmentsTableFilters/DepartmentsTableFilters.tsx@@ -10,7 +10,10 @@ const DepartmentsTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsxindex 6dde74ec53..e1ecc4f539 100644--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsx+++ b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypeDetail/EquipmentTypeDetail.tsx@@ -9,7 +9,6 @@ import {DrawerHeader,DrawerOverlay,MenuItem,- Text,} from "@chakra-ui/react";import { Link } from "@remix-run/react";import { useState } from "react";@@ -78,11 +77,11 @@ const EquipmentTypeDetail = ({return (<HStack key={equipment.id} className="w-full"><VStack spacing={0} className="flex-grow">- <Text fontWeight="bold">{equipment.name}</Text>- <Text fontSize="sm" color="gray.500">+ <span className="font-bold">{equipment.name}</span>+ <span className="text-sm text-muted-foreground">{/* @ts-ignore */}{equipment.location?.name}- </Text>+ </span></VStack><ActionMenu>{renderContextMenu(equipment)}</ActionMenu></HStack>diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsxindex 4cfdb8c4a0..b0c3a50100 100644--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsx+++ b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTable/EquipmentTypesTable.tsx@@ -6,7 +6,6 @@ import {IconButton,Link,MenuItem,- Text,} from "@chakra-ui/react";import { useNavigate } from "@remix-run/react";import type { ColumnDef } from "@tanstack/react-table";@@ -74,9 +73,9 @@ const EquipmentTypesTable = memo(accessorKey: "description",header: "Description",cell: ({ row }) => (- <Text maxW={300} overflow="hidden" textOverflow="ellipsis">+ <span className="max-w-[300px] line-clamp-1">{row.original.description}- </Text>+ </span>),},{diff --git a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsxindex d120d20f2e..8e8e6d658d 100644--- a/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Equipment/EquipmentTypesTableFilters/EquipmentTypesTableFilters.tsx@@ -10,7 +10,10 @@ const EquipmentTypesTableFilters = () => {const [params] = useUrlParams();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsxindex 92fc747560..64a9479f0a 100644--- a/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Holidays/HolidaysTableFilters/HolidaysTableFilters.tsx@@ -19,7 +19,10 @@ const HolidaysTableFilters = ({ years }: HolidaysTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsxindex 93120aca4e..2d5fb46731 100644--- a/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Locations/LocationsTableFilters/LocationsTableFilters.tsx@@ -10,7 +10,10 @@ const LocationsTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsxindex 15ac947964..f2383666b2 100644--- a/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Partners/PartnersTableFilters/PartnersTableFilters.tsx@@ -21,7 +21,10 @@ const PartnersTableFilters = ({ abilities }: PartnersTableFiltersProps) => {})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsx b/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsxindex 9b9a5ee1e9..498b9752ec 100644--- a/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/People/PeopleTableFilters/PeopleTableFilters.tsx@@ -20,7 +20,10 @@ const PeopleTableFilters = ({ employeeTypes }: PeopleTableFiltersProps) => {}));return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsxindex 9a4bc83441..8b19194cb7 100644--- a/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsx+++ b/apps/carbon/app/modules/resources/ui/Person/PersonAbilities/PersonAbilities.tsx@@ -1,7 +1,6 @@import { Heading } from "@carbon/react";import { formatDate } from "@carbon/utils";import {- Box,Card,CardBody,CardHeader,@@ -11,7 +10,6 @@ import {Icon,List,ListItem,- Text,} from "@chakra-ui/react";import { Link } from "@remix-run/react";import type { IconType } from "react-icons";@@ -96,27 +94,26 @@ const PersonAbilities = ({ abilities }: PersonAbilitiesProps) => {<Icon as={icon} w={5} h={5} /></Center><Flex h="full" alignItems="center">- <Text>+ <p>{description}{" "}- <Text- as={Link}- fontWeight="bold"+ <Link+ className="font-bold"to={path.to.employeeAbility(employeeAbility.ability.id,employeeAbility.id)}>{employeeAbility.ability.name}- </Text>- </Text>+ </Link>+ </p></Flex><Flex h="full" alignItems="center">- <Text color="gray.500" fontSize="sm">+ <p className="text-sm text-muted-foreground">{formatDate(employeeAbility.lastTrainingDate, {month: "short",year: "numeric",})}- </Text>+ </p></Flex></Grid></ListItem>@@ -124,9 +121,9 @@ const PersonAbilities = ({ abilities }: PersonAbilitiesProps) => {})}</List>) : (- <Box color="gray.500" p={4} w="full" textAlign="center">+ <div className="text-muted-foreground text-center p-4 w-full">No abilities added- </Box>+ </div>)}</CardBody></Card>diff --git a/apps/carbon/app/modules/resources/ui/Person/PersonHeader/PersonHeader.tsx b/apps/carbon/app/modules/resources/ui/Person/PersonHeader/PersonHeader.tsxindex c91d088a33..8f3edcd4fe 100644--- a/apps/carbon/app/modules/resources/ui/Person/PersonHeader/PersonHeader.tsx+++ b/apps/carbon/app/modules/resources/ui/Person/PersonHeader/PersonHeader.tsx@@ -1,5 +1,5 @@import { Heading, HStack, VStack } from "@carbon/react";-import { Button, Text } from "@chakra-ui/react";+import { Button } from "@chakra-ui/react";import { BsEnvelopeFill } from "react-icons/bs";import { Avatar } from "~/components";import { usePermissions } from "~/hooks";@@ -13,9 +13,7 @@ const PersonHeader = ({ user }: { user: Account }) => {<Avatar size="lg" path={user.avatarUrl} /><VStack spacing={1}><Heading size="h3">{user.fullName}</Heading>- <Text color="gray.500" fontSize="sm">- {user.about}- </Text>+ <p className="text-muted-foreground text-sm">{user.about}</p></VStack></HStack><HStack>diff --git a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsx b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsxindex 3add236547..aa63eefa7f 100644--- a/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/Shifts/ShiftsTableFilters/ShiftsTableFilters.tsx@@ -21,7 +21,10 @@ const ShiftsTableFilters = ({ locations }: ShiftsTableFiltersProps) => {})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsxindex af18683a8d..da909a47ad 100644--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsx+++ b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypeDetail/WorkCellTypeDetail.tsx@@ -9,7 +9,6 @@ import {DrawerHeader,DrawerOverlay,MenuItem,- Text,} from "@chakra-ui/react";import { Link } from "@remix-run/react";import { useState } from "react";@@ -54,7 +53,7 @@ const WorkCellTypeDetail = ({if (!workCell || Array.isArray(workCell)) return null;return (<>- <MenuItem as={Link} to={workCell.id} icon={<BsPencilSquare />}>+ <MenuItem as={Link} to={workCell.id!} icon={<BsPencilSquare />}>Edit Cell</MenuItem><MenuItem onClick={() => onDelete(workCell)} icon={<IoMdTrash />}>@@ -85,11 +84,11 @@ const WorkCellTypeDetail = ({return (<HStack key={workCell.id} className="w-full"><VStack spacing={0} className="flex-grow">- <Text fontWeight="bold">{workCell.name}</Text>- <Text fontSize="sm" color="gray.500">+ <p className="font-bold">{workCell.name}</p>+ <p className="text-muted-foreground text-sm">{workCell.location?.name} /{" "}{workCell.department?.name}- </Text>+ </p></VStack><ActionMenu>{renderContextMenu(workCell)}</ActionMenu></HStack>diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsxindex fbeb46c2e1..a23d91d4c8 100644--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsx+++ b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTable/WorkCellTypesTable.tsx@@ -6,7 +6,6 @@ import {IconButton,Link,MenuItem,- Text,} from "@chakra-ui/react";import { useNavigate } from "@remix-run/react";import type { ColumnDef } from "@tanstack/react-table";@@ -71,9 +70,9 @@ const WorkCellTypesTable = memo(({ data, count }: WorkCellTypesTableProps) => {accessorKey: "description",header: "Description",cell: ({ row }) => (- <Text maxW={300} overflow="hidden" textOverflow="ellipsis">+ <span className="max-w-[300px] line-clamp-1">{row.original.description}- </Text>+ </span>),},{diff --git a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsx b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsxindex fd210a9c3d..65cb71c1d3 100644--- a/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsx+++ b/apps/carbon/app/modules/resources/ui/WorkCells/WorkCellTypesTableFilters/WorkCellTypesTableFilters.tsx@@ -10,7 +10,10 @@ const WorkCellTypesTableFilters = () => {const [params] = useUrlParams();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsxindex f839d559b7..07f3bca41f 100644--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsx+++ b/apps/carbon/app/modules/sales/ui/Customer/CustomerContacts/CustomerContacts.tsx@@ -7,7 +7,6 @@ import {CardHeader,List,ListItem,- Text,useDisclosure,} from "@chakra-ui/react";import { Link, Outlet, useNavigate, useParams } from "@remix-run/react";@@ -93,9 +92,9 @@ const CustomerContacts = ({ contacts }: CustomerContactsProps) => {<CardBody>{isEmpty ? (<Box w="full" my={8} textAlign="center">- <Text color="gray.500" fontSize="sm">+ <p className="text-muted-foreground text-sm">You haven’t created any contacts yet.- </Text>+ </p></Box>) : (<List w="full" spacing={4}>diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsxindex f83a7149e1..725bf8d89b 100644--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsx+++ b/apps/carbon/app/modules/sales/ui/Customer/CustomerForm/CustomerForm.tsx@@ -1,12 +1,5 @@import { Heading, HStack, VStack } from "@carbon/react";-import {- Card,- CardBody,- CardFooter,- CardHeader,- Grid,- Text,-} from "@chakra-ui/react";+import { Card, CardBody, CardFooter, CardHeader, Grid } from "@chakra-ui/react";import { ValidatedForm } from "remix-validated-form";import { Employee, Hidden, Input, Select, Submit } from "~/components/Form";import { usePermissions, useRouteData } from "~/hooks";@@ -56,10 +49,10 @@ const CustomerForm = ({ initialValues }: CustomerFormProps) => {{isEditing ? "Customer Overview" : "New Customer"}</Heading>{!isEditing && (- <Text color="gray.500" fontWeight="normal">+ <p className="text-muted-foreground font-normal">A customer is a business or person who buys your parts orservices.- </Text>+ </p>)}</CardHeader><CardBody>diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsxindex 90734b4a49..a6025e685b 100644--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/Customer/CustomerHeader/CustomerHeader.tsx@@ -1,12 +1,5 @@import { Heading, HStack, VStack } from "@carbon/react";-import {- Button,- Card,- CardBody,- CardHeader,- Stack,- Text,-} from "@chakra-ui/react";+import { Button, Card, CardBody, CardHeader, Stack } from "@chakra-ui/react";import { useParams } from "@remix-run/react";import { FaHistory } from "react-icons/fa";import { useRouteData } from "~/hooks";@@ -50,38 +43,38 @@ const CustomerHeader = () => {alignItems="start"justifyContent="space-between">- <Text color="gray.500">Type</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Type</span>+ <span className="font-bold">{sharedCustomerData?.customerTypes?.find((type) => type.id === routeData?.customer?.customerTypeId)?.name ?? "--"}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Status</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Status</span>+ <span className="font-bold">{sharedCustomerData?.customerStatuses?.find((status) =>status.id === routeData?.customer?.customerStatusId)?.name ?? "--"}- </Text>+ </span></Stack><Stackdirection={["row", "row", "column"]}alignItems="start"justifyContent="space-between">- <Text color="gray.500">Payment Terms</Text>- <Text fontWeight="bold">+ <span className="text-muted-foreground">Payment Terms</span>+ <span className="font-bold">{sharedCustomerData?.paymentTerms?.find((term) =>term.id === routeData?.customer?.defaultPaymentTermId)?.name ?? "--"}- </Text>+ </span></Stack></Stack></CardBody>diff --git a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsx b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsxindex 4ff94a4201..694e7dc3ad 100644--- a/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsx+++ b/apps/carbon/app/modules/sales/ui/Customer/CustomerLocations/CustomerLocations.tsx@@ -1,14 +1,11 @@-import { Heading } from "@carbon/react";+import { Heading, useDisclosure } from "@carbon/react";import {- Box,Button,Card,CardBody,CardHeader,List,ListItem,- Text,- useDisclosure,} from "@chakra-ui/react";import { Link, Outlet, useNavigate, useParams } from "@remix-run/react";import { useCallback, useState } from "react";@@ -78,11 +75,11 @@ const CustomerLocations = ({ locations }: CustomerLocationsProps) => {</CardHeader><CardBody>{isEmpty ? (- <Box w="full" my={8} textAlign="center">- <Text color="gray.500" fontSize="sm">+ <div className="my-8 text-center w-full">+ <p className="text-muted-foreground text-sm">You haven’t created any locations yet.- </Text>- </Box>+ </p>+ </div>) : (<List w="full" spacing={4}>{locations?.map((location) => (diff --git a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsx b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsxindex 217be57096..f675158f8e 100644--- a/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsx+++ b/apps/carbon/app/modules/sales/ui/CustomerTypes/CustomerTypesTableFilters/CustomerTypesTableFilters.tsx@@ -10,7 +10,10 @@ const CustomerTypesTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsx b/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsxindex 5233f0112b..6dbf97492b 100644--- a/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsx+++ b/apps/carbon/app/modules/sales/ui/Customers/CustomersTableFilters/CustomersTableFilters.tsx@@ -31,7 +31,10 @@ const CustomersTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/settings/ui/Sequences/SequencesTableFilters/SequencesTableFilters.tsx b/apps/carbon/app/modules/settings/ui/Sequences/SequencesTableFilters/SequencesTableFilters.tsxindex 7c9e96f239..4e68dcf773 100644--- a/apps/carbon/app/modules/settings/ui/Sequences/SequencesTableFilters/SequencesTableFilters.tsx+++ b/apps/carbon/app/modules/settings/ui/Sequences/SequencesTableFilters/SequencesTableFilters.tsx@@ -3,7 +3,7 @@ import { DebouncedInput } from "~/components/Search";const SequencesTableFilters = () => {return (- <HStack className="px-4 py-3 justify-between border-b w-full">+ <HStack className="px-4 py-3 justify-between border-b border-border w-full"><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/shared/ui/Notes/Notes.tsx b/apps/carbon/app/modules/shared/ui/Notes/Notes.tsxindex d23d1c976b..080c662f4b 100644--- a/apps/carbon/app/modules/shared/ui/Notes/Notes.tsx+++ b/apps/carbon/app/modules/shared/ui/Notes/Notes.tsx@@ -1,6 +1,6 @@import { HStack, HTML, VStack } from "@carbon/react";import { formatTimeAgo } from "@carbon/utils";-import { Button, Grid, Text } from "@chakra-ui/react";+import { Button, Grid } from "@chakra-ui/react";import { Form } from "@remix-run/react";import { Fragment } from "react";import { ValidatedForm } from "remix-validated-form";@@ -44,12 +44,12 @@ const Notes = ({ documentId, notes }: NotesProps) => {<Avatar path={note.user.avatarUrl} /><VStack spacing={1}>{/* @ts-ignore */}- <Text fontWeight="bold">{note.user?.fullName!}</Text>+ <p className="font-bold">{note.user?.fullName!}</p><HTML text={note.note} /><HStack spacing={4}>- <Text color="gray.500">+ <span className="text-muted-foreground">{formatTimeAgo(note.createdAt)}- </Text>+ </span>{/* @ts-ignore */}{user.id === note.user.id && (<Form method="post" action={path.to.deleteNote(note.id)}>@@ -84,7 +84,7 @@ const Notes = ({ documentId, notes }: NotesProps) => {><Hidden name="documentId" value={documentId} /><VStack spacing={3}>- <div className="w-full border rounded-md">+ <div className="w-full border border-border rounded-md"><RichText name="note" minH={160} /></div><div className="flex justify-end w-full">diff --git a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsx b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsxindex 774513187e..12917a9b13 100644--- a/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsx+++ b/apps/carbon/app/modules/users/ui/Customers/CustomerAccountsTableFilters/CustomerAccountsTableFilters.tsx@@ -23,7 +23,10 @@ const CustomerAccountsTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsx b/apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsxindex 87c636edff..9ad24dcc3e 100644--- a/apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsx+++ b/apps/carbon/app/modules/users/ui/DeactivateUsersModal/DeactivateUsersModal.tsx@@ -8,7 +8,6 @@ import {ModalFooter,ModalHeader,ModalOverlay,- Text,} from "@chakra-ui/react";import { ValidatedForm } from "remix-validated-form";import { UserSelect } from "~/components/Selectors";@@ -39,10 +38,10 @@ const DeactivateUsersModal = ({</ModalHeader><ModalCloseButton /><ModalBody>- <Text mb={2}>+ <p className="mb-2">Are you sure you want to deactive{isSingleUser ? " this user" : " these users"}?- </Text>+ </p><UserSelect value={userIds} readOnly isMulti /></ModalBody><ModalFooter>diff --git a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsx b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsxindex 25b09ed2dd..2a389655d8 100644--- a/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsx+++ b/apps/carbon/app/modules/users/ui/EmployeeTypes/EmployeeTypesTableFilters/EmployeeTypesTableFilters.tsx@@ -10,7 +10,10 @@ const EmployeeTypesTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsx b/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsxindex 8d9e6f174c..3766fd1b5c 100644--- a/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsx+++ b/apps/carbon/app/modules/users/ui/Employees/BulkEditPermissionsForm/BulkEditPermissionsForm.tsx@@ -81,7 +81,7 @@ const BulkEditPermissions = ({defaultValues={{ userIds }}><VStack spacing={4}>- <div className="border p-4 w-full rounded-lg">+ <div className="border border-border p-4 w-full rounded-lg"><Radiosname="editType"label="Type of Permission Update"diff --git a/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsx b/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsxindex bdc397e3b3..32107da18b 100644--- a/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsx+++ b/apps/carbon/app/modules/users/ui/Employees/EmployeesTableFilters/EmployeesTableFilters.tsx@@ -23,7 +23,10 @@ const EmployeesTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsx b/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsxindex 65dc9acba8..6aad53da36 100644--- a/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsx+++ b/apps/carbon/app/modules/users/ui/Groups/GroupsTableFilters/GroupsTableFilters.tsx@@ -10,7 +10,10 @@ const GroupsTableFilters = () => {const permissions = usePermissions();return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsx b/apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsxindex fdd90fa5e8..01ba7bc1de 100644--- a/apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsx+++ b/apps/carbon/app/modules/users/ui/ResendInviteModal/ResendInviteModal.tsx@@ -8,7 +8,6 @@ import {ModalFooter,ModalHeader,ModalOverlay,- Text,} from "@chakra-ui/react";import { useFetcher } from "@remix-run/react";import { ValidatedForm } from "remix-validated-form";@@ -39,10 +38,10 @@ const ResendInviteModal = ({</ModalHeader><ModalCloseButton /><ModalBody>- <Text mb={2}>+ <p className="mb-2">Are you sure you want to resend an invite to{isSingleUser ? " this user" : " these users"}?- </Text>+ </p><UserSelect value={userIds} readOnly isMulti /></ModalBody><ModalFooter>diff --git a/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTableFilters/SupplierAccountsTableFilters.tsx b/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTableFilters/SupplierAccountsTableFilters.tsxindex c8a80034d2..bb23561498 100644--- a/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTableFilters/SupplierAccountsTableFilters.tsx+++ b/apps/carbon/app/modules/users/ui/Suppliers/SupplierAccountsTableFilters/SupplierAccountsTableFilters.tsx@@ -23,7 +23,10 @@ const SupplierAccountsTableFilters = ({})) ?? [];return (- <HStack className="px-4 py-3 justify-between border-b w-full" spacing={4}>+ <HStack+ className="px-4 py-3 justify-between border-b border-border w-full"+ spacing={4}+ ><HStack><DebouncedInputparam="name"diff --git a/apps/carbon/app/routes/x+/resources+/ability.$abilityId.tsx b/apps/carbon/app/routes/x+/resources+/ability.$abilityId.tsxindex c60f96508c..8262539ea7 100644--- a/apps/carbon/app/routes/x+/resources+/ability.$abilityId.tsx+++ b/apps/carbon/app/routes/x+/resources+/ability.$abilityId.tsx@@ -7,7 +7,6 @@ import {NumberInput,NumberInputField,NumberInputStepper,- Text,} from "@chakra-ui/react";import type { ActionFunctionArgs, LoaderFunctionArgs } from "@remix-run/node";import { json, redirect } from "@remix-run/node";@@ -209,7 +208,7 @@ export default function AbilitiesRoute() {)}<HStack>- <Text fontSize="sm">Weeks Shadowing:</Text>+ <span className="text-sm">Weeks Shadowing:</span><NumberInputmaxW="100px"size="sm"@@ -224,7 +223,7 @@ export default function AbilitiesRoute() {<NumberDecrementStepper /></NumberInputStepper></NumberInput>- <Text fontSize="sm">Weeks to Learn:</Text>+ <span className="text-sm">Weeks to Learn:</span><NumberInputmaxW="100px"size="sm"diff --git a/packages/react/src/Menu/Menubar.tsx b/packages/react/src/Menu/Menubar.tsxindex 231bf47d4a..fdb6a79a0c 100644--- a/packages/react/src/Menu/Menubar.tsx+++ b/packages/react/src/Menu/Menubar.tsx@@ -1,21 +1,18 @@import type { ButtonProps, MenuButtonProps } from "@chakra-ui/react";import { Button, MenuButton } from "@chakra-ui/react";+import type { ComponentProps } from "react";import { forwardRef } from "react";import { MdExpandMore } from "react-icons/md";-import type { HStackProps } from "~/HStack";-import { HStack } from "~/HStack";-const Menubar = forwardRef<HTMLDivElement, HStackProps>(+const Menubar = forwardRef<HTMLDivElement, ComponentProps<"div">>(({ children, ...props }, ref) => {return (- <HStack- ref={ref}+ <div{...props}- className="items-center bg-background border rounded-md shadow-sm justify-start p-1 w-full"- spacing={1}+ className="flex items-center bg-background border border-border rounded-md shadow-sm justify-start p-1 w-full space-x-1">{children}- </HStack>+ </div>);});