Skip to content

Commit 4209d3e

Browse files
Merge branch 'development'
2 parents 348716d + 5ded381 commit 4209d3e

File tree

114 files changed

+390
-912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+390
-912
lines changed

.storybook/components/afterDescription.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useOf } from '@storybook/blocks';
1+
import { useOf } from '@storybook/addon-docs/blocks';
22

33
export function AfterDescription() {
44
const meta = useOf('meta', ['meta']);

.storybook/components/afterPrimary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useOf } from '@storybook/blocks';
1+
import { useOf } from '@storybook/addon-docs/blocks';
22

33
export function AfterPrimary() {
44
const meta = useOf('meta', ['meta']);

.storybook/components/importExample.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { Source } from "@storybook/blocks";
3-
import { useOf } from '@storybook/blocks';
2+
import { Source } from "@storybook/addon-docs/blocks";
3+
import { useOf } from '@storybook/addon-docs/blocks';
44

55
export function ImportExample() {
66
const meta = useOf('meta', ['meta']);

.storybook/main.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ export default ({
1414
"../packages/**/*.stories.@(js|jsx|ts|tsx)"
1515
],
1616
addons: [
17-
"@storybook/addon-themes",
18-
"@storybook/addon-essentials",
19-
"@storybook/addon-docs",
17+
getAbsolutePath("@storybook/addon-themes"),
18+
getAbsolutePath("@storybook/addon-docs")
2019
],
2120
core: {},
2221
staticDirs: ['../static'],

.storybook/manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { create } from '@storybook/theming/create';
2-
import { addons } from '@storybook/manager-api';
1+
import { create } from 'storybook/theming/create';
2+
import { addons } from 'storybook/manager-api';
33

44
const theme = create({
55
base: 'dark',

.storybook/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Title, Description, Primary, ArgTypes, useOf } from "@storybook/blocks";
1+
import { Title, Description, Primary, ArgTypes, useOf } from "@storybook/addon-docs/blocks";
22
import React from "react";
33
import { ImportExample } from "./components/importExample";
44
import { AfterDescription } from "./components/afterDescription";

.storybook/preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { Preview } from "@storybook/react";
1+
import type { Preview } from "@storybook/react-vite";
22
import React from "react";
33
import { withThemeFromJSXProvider } from '@storybook/addon-themes';
4-
import { ThemeProvider } from '@storybook/theming';
4+
import { ThemeProvider } from 'storybook/theming';
55
import { Page } from "./page";
66
import { redirectToStory } from './redirect';
77
import './global.css';

0 commit comments

Comments
 (0)