Skip to content

Commit f47d2c7

Browse files
authored
chore: sb9 (#2452)
1 parent 0eb6217 commit f47d2c7

File tree

118 files changed

+570
-740
lines changed

Some content is hidden

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

118 files changed

+570
-740
lines changed

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { svg } from './favicon'
44
const config: StorybookConfig = {
55
staticDirs: ['./public'],
66
stories: ['./stories/**/*.stories.{ts,tsx}'],
7-
addons: ['@storybook/addon-essentials', '@chromatic-com/storybook'],
7+
addons: ['@chromatic-com/storybook', '@storybook/addon-docs'],
88

99
// Favicon (inline svg https://stackoverflow.com/questions/66935329/use-inline-svg-as-favicon)
1010
managerHead: (head) => `

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addons } from '@storybook/manager-api'
1+
import { addons } from 'storybook/manager-api'
22
import theme from './theme'
33

44
addons.setConfig({

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import type { Preview } from '@storybook/react'
2+
import type { Preview } from '@storybook/react-vite'
33

44
import './index.css'
55

.storybook/stories/AccumulativeShadows.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as THREE from 'three'
22
import * as React from 'react'
33
import { ComponentProps } from 'react'
44
import { FlakesTexture } from 'three-stdlib'
5-
import { Meta, StoryObj } from '@storybook/react'
5+
import { Meta, StoryObj } from '@storybook/react-vite'
66

77
import { Setup } from '../Setup'
88

.storybook/stories/Adaptive.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { ComponentProps, Suspense } from 'react'
22
import { Vector3, type Material, type Mesh } from 'three'
3-
import { Meta, StoryObj } from '@storybook/react'
3+
import { Meta, StoryObj } from '@storybook/react-vite'
44

55
import { Setup } from '../Setup'
66

.storybook/stories/ArcballControls.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createPortal, useFrame } from '@react-three/fiber'
22
import React, { ComponentProps, useRef, useState } from 'react'
3-
import { Meta, StoryObj } from '@storybook/react'
3+
import { Meta, StoryObj } from '@storybook/react-vite'
44

55
import { Setup } from '../Setup'
66
import { ArcballControls, Box, PerspectiveCamera, Plane, useFBO } from '../../src'

.storybook/stories/BBAnchor.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react'
22
import { ComponentProps } from 'react'
33
import * as THREE from 'three'
4-
import { Meta, StoryObj } from '@storybook/react'
4+
import { Meta, StoryObj } from '@storybook/react-vite'
55

66
import { Setup } from '../Setup'
77

.storybook/stories/Billboard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import { Vector3 } from 'three'
3-
import { Meta, StoryObj } from '@storybook/react'
3+
import { Meta, StoryObj } from '@storybook/react-vite'
44

55
import { Setup } from '../Setup'
66

.storybook/stories/Bvh.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react'
2-
import { Meta, StoryObj } from '@storybook/react'
2+
import { Meta, StoryObj } from '@storybook/react-vite'
33

44
import { Setup } from '../Setup'
55
import { MeshBVHHelper } from 'three-mesh-bvh'

.storybook/stories/CameraControls.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createPortal, useFrame } from '@react-three/fiber'
22
import React, { ComponentProps, useRef, useState } from 'react'
33
import * as THREE from 'three'
4-
import { Meta, StoryObj } from '@storybook/react'
4+
import { Meta, StoryObj } from '@storybook/react-vite'
55

66
import { Setup } from '../Setup'
77
import { Box, CameraControls, PerspectiveCamera, Plane, useFBO } from '../../src'

0 commit comments

Comments
 (0)