diff --git a/.gitignore b/.gitignore index eff17c1..cc1774d 100644 --- a/.gitignore +++ b/.gitignore @@ -133,3 +133,6 @@ dist .idea storybook-static + +# test results +test-results diff --git a/.npmrc b/.npmrc index 9f7113e..1dbd4f5 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ -//npm.pkg.github.com/:_authToken=${GH_NPM_TOKEN} @hivemq:registry=https://npm.pkg.github.com diff --git a/package.json b/package.json index 0603c66..c2c1f80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hivemq/ui-library", - "version": "1.0.0", + "version": "1.1.0", "type": "module", "main": "./dist/index.es.js", "types": "./dist/index.d.ts", @@ -8,7 +8,9 @@ "types": "./dist/index.d.ts", "module": "./dist/index.es.js" }, - "files": ["dist"], + "files": [ + "dist" + ], "engines": { "node": "20", "pnpm": "9" diff --git a/src/modules/Header/HeaderDivider.tsx b/src/modules/Header/HeaderDivider.tsx index f67d0dc..384e3b5 100644 --- a/src/modules/Header/HeaderDivider.tsx +++ b/src/modules/Header/HeaderDivider.tsx @@ -24,7 +24,7 @@ export function HeaderDivider({ ...props }: HeaderDividerProps) { orientation="vertical" height="auto" borderLeft="2px solid" - borderColor="surface.400" + borderColor="neutrals.700" margin={4} {...props} /> diff --git a/src/modules/Header/HeaderLogo.tsx b/src/modules/Header/HeaderLogo.tsx index 4000182..3462a4c 100644 --- a/src/modules/Header/HeaderLogo.tsx +++ b/src/modules/Header/HeaderLogo.tsx @@ -48,7 +48,7 @@ export const HeaderLogo = forwardRef( pl={2} pr={4} _hover={{ - backgroundColor: 'surface.800', + backgroundColor: 'neutrals.800', }} as={as} ref={ref} @@ -56,7 +56,7 @@ export const HeaderLogo = forwardRef( > {alt} {showHiveMQText && ( - + HiveMQ )} diff --git a/src/modules/Header/HeaderMenuButton.tsx b/src/modules/Header/HeaderMenuButton.tsx index 7bf7d6e..7c337a0 100644 --- a/src/modules/Header/HeaderMenuButton.tsx +++ b/src/modules/Header/HeaderMenuButton.tsx @@ -37,17 +37,17 @@ export const HeaderMenuButton = forwardRef((pro return ( {children} - + ) } diff --git a/src/modules/Header/HeaderMenuContentItem.tsx b/src/modules/Header/HeaderMenuContentItem.tsx index 2a7d4be..fe484f7 100644 --- a/src/modules/Header/HeaderMenuContentItem.tsx +++ b/src/modules/Header/HeaderMenuContentItem.tsx @@ -24,10 +24,10 @@ export const HeaderMenuContentItem = forwardRef {Title} diff --git a/src/modules/Sidebar/SidebarListItem.tsx b/src/modules/Sidebar/SidebarListItem.tsx index f636f62..e2a2666 100644 --- a/src/modules/Sidebar/SidebarListItem.tsx +++ b/src/modules/Sidebar/SidebarListItem.tsx @@ -31,16 +31,17 @@ export const SidebarListItem = forwardRef( as="button" type="button" borderLeft="6px solid" - borderColor={isActive ? 'primary.400' : 'transparent'} + borderColor={isActive ? 'border.border-brand' : 'transparent'} + fontWeight={isActive ? 'border.border-brand' : 'transparent'} textAlign="left" - backgroundColor={isActive ? 'surface.100' : 'transparent'} + backgroundColor={isActive ? 'background.bg-active-hover' : 'transparent'} p={2} pl={4} _hover={{ - backgroundColor: 'surface.200', + backgroundColor: 'background.bg-active-hover', }} _focusVisible={{ - backgroundColor: 'surface.200', + backgroundColor: 'background.bg-active-hover', }} display="block" w="100%" diff --git a/src/modules/Sidebar/SidebarRoot.tsx b/src/modules/Sidebar/SidebarRoot.tsx index 633274b..02aa7e6 100644 --- a/src/modules/Sidebar/SidebarRoot.tsx +++ b/src/modules/Sidebar/SidebarRoot.tsx @@ -31,9 +31,9 @@ export function SidebarRoot({ children, ...props }: React.PropsWithChildren