From 26567b2dfe25aa905a95b92859d2126278fe5af4 Mon Sep 17 00:00:00 2001 From: oli-hivemq Date: Wed, 4 Sep 2024 14:00:53 +0200 Subject: [PATCH] bump: ui-theme version --- .storybook/chakraTheme.ts | 9 ++------- package.json | 4 ++-- pnpm-lock.yaml | 9 +++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.storybook/chakraTheme.ts b/.storybook/chakraTheme.ts index ab4edd3..7888059 100644 --- a/.storybook/chakraTheme.ts +++ b/.storybook/chakraTheme.ts @@ -1,11 +1,6 @@ // Theming with Chakra UI is based on the Styled System Theme Specification // Extend the theme to include custom colors, fonts, etc import { extendTheme } from "@chakra-ui/react"; -import { colors, components, fonts, styles } from "@hivemq/ui-theme"; +import { theme } from "@hivemq/ui-theme"; -export const chakraTheme = extendTheme({ - styles, - fonts, - colors, - components, -}); +export const chakraTheme = extendTheme(theme); diff --git a/package.json b/package.json index 22ad3fe..4926785 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@emotion/styled": "^11.12.0", "@fontsource/raleway": "^5.0.19", "@fontsource/roboto": "^5.0.13", - "@hivemq/ui-theme": "^0.2.1", + "@hivemq/ui-theme": "^0.4.1", "@radix-ui/react-slot": "^1.1.0", "@storybook/addon-a11y": "^8.2.6", "@storybook/addon-essentials": "^8.2.4", @@ -87,7 +87,7 @@ "@chakra-ui/styled-system": "^2.9.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@hivemq/ui-theme": "^0.5.0", + "@hivemq/ui-theme": "^0.4.1", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fbc1ea5..3ae6bbc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ devDependencies: specifier: ^5.0.13 version: 5.0.13 '@hivemq/ui-theme': - specifier: ^0.2.1 - version: 0.2.1(@chakra-ui/anatomy@2.2.2)(@chakra-ui/react@2.8.2)(@chakra-ui/theme-tools@2.1.2) + specifier: ^0.4.1 + version: 0.4.1(@chakra-ui/anatomy@2.2.2)(@chakra-ui/react@2.8.2)(@chakra-ui/theme-tools@2.1.2) '@radix-ui/react-slot': specifier: ^1.1.0 version: 1.1.0(@types/react@18.3.3)(react@18.3.1) @@ -3456,8 +3456,9 @@ packages: resolution: {integrity: sha512-j61DHjsdUCKMXSdNLTOxcG701FWnF0jcqNNQi2iPCDxU8seN/sMxeh62dC++UiagCWq9ghTypX+Pcy7kX+QOeQ==} dev: true - /@hivemq/ui-theme@0.2.1(@chakra-ui/anatomy@2.2.2)(@chakra-ui/react@2.8.2)(@chakra-ui/theme-tools@2.1.2): - resolution: {integrity: sha512-Oai9a8JO6nZnmGydJAJuNJIQ4RonoDvXYw5bdfBkjae8niqAYtZmYquDxeM9EaBUfpeR+0CM8UbMoJwjkhF97w==, tarball: https://npm.pkg.github.com/download/@hivemq/ui-theme/0.2.1/ad62f77a935a8ee485ff3d26541b1b094c735b2e} + /@hivemq/ui-theme@0.4.1(@chakra-ui/anatomy@2.2.2)(@chakra-ui/react@2.8.2)(@chakra-ui/theme-tools@2.1.2): + resolution: {integrity: sha512-/FIYzUrmY6OLt/a/q4XHtBhQT3/SfJZfBPCV4xlfDPEtcdw7W1yOx872nMaTzWaT4UgLAEt/YP1JUhjNNwh6FA==, tarball: https://npm.pkg.github.com/download/@hivemq/ui-theme/0.4.1/554fc28a94effa0beb32aebe4797203a988df8f0} + engines: {node: '20', pnpm: '9'} peerDependencies: '@chakra-ui/anatomy': ^2.2.2 '@chakra-ui/react': ^2.8.2