Skip to content

Commit

Permalink
Updated to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegurado committed Oct 30, 2023
1 parent 48822f2 commit 8231d5d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@michijs/storybook-utils",
"license": "MIT",
"version": "7.0.5",
"version": "7.5.2",
"description": "Utilities for the Michijs Storybook template",
"files": [
"dist/"
Expand All @@ -23,11 +23,11 @@
"web-components"
],
"devDependencies": {
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"peerDependencies": {
"@storybook/theming": "7.0.5",
"@storybook/types": "7.0.5",
"@michijs/michijs": "1.1.7"
"@storybook/theming": "7.5.2",
"@storybook/types": "7.5.2",
"@michijs/michijs": "2.0.0-beta.2"
}
}
8 changes: 4 additions & 4 deletions src/stories/bind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import {
FragmentJSXElement,
FunctionJSXElement,
ObjectJSXElement,
declareCssVariables,
createStyleSheet,
useCssVariablesDeclaration,
useStyleSheet,
} from "@michijs/michijs";
import { themes } from "@storybook/theming";

const cssVariables = declareCssVariables<{
const cssVariables = useCssVariablesDeclaration<{
storybookTextColor: string;
storybookBackground: string;
}>();

const documentStyle = createStyleSheet({
const documentStyle = useStyleSheet({
body: {
padding: "0 !important",
color: cssVariables.storybookTextColor.var(),
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"ES2021"
],
"outDir": "dist",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "node",
"module": "ESNext",
"target": "es2019",
"noUnusedLocals": false,
"noUnusedParameters": false,
Expand Down

0 comments on commit 8231d5d

Please sign in to comment.