Renamed @theatre/dataverse-react to @theatre/react

This commit is contained in:
Aria Minaei 2021-09-05 23:07:02 +02:00
parent 69a12440ca
commit 1452c9ebbe
60 changed files with 80 additions and 80 deletions

View file

@ -44,7 +44,7 @@
},
"dependencies": {
"@react-three/drei": "^7.3.1",
"@theatre/dataverse-react": "workspace:*",
"@theatre/react": "workspace:*",
"lodash-es": "^4.17.21",
"polished": "^4.1.3",
"react-icons": "^4.2.0",

View file

@ -23,7 +23,7 @@ import {
import type {IconType} from 'react-icons'
import studio from '@theatre/studio'
import {useSelected} from './useSelected'
import {useVal} from '@theatre/dataverse-react'
import {useVal} from '@theatre/react'
import {getEditorSheetObject} from './editorStuff'
export interface EditableProxyProps {

View file

@ -18,7 +18,7 @@ import studio from '@theatre/studio'
import type {ISheetObject} from '@theatre/core'
import type {$FixMe} from '../types'
import {useSelected} from './useSelected'
import {useVal} from '@theatre/dataverse-react'
import {useVal} from '@theatre/react'
import useInvalidate from './useInvalidate'
import {getEditorSheetObject} from './editorStuff'

View file

@ -7,7 +7,7 @@ import shallow from 'zustand/shallow'
import root from 'react-shadow/styled-components'
import ProxyManager from './ProxyManager'
import studio, {ToolbarIconButton} from '@theatre/studio'
import {useVal} from '@theatre/dataverse-react'
import {useVal} from '@theatre/react'
import styled, {createGlobalStyle, StyleSheetManager} from 'styled-components'
import {IoCameraReverseOutline} from 'react-icons/all'
import type {ISheet} from '@theatre/core'

View file

@ -2,7 +2,7 @@ import type {VFC} from 'react'
import React from 'react'
import {IoCameraOutline} from 'react-icons/all'
import studio, {ToolbarIconButton} from '@theatre/studio'
import {useVal} from '@theatre/dataverse-react'
import {useVal} from '@theatre/react'
import TransformControlsModeSelect from './TransformControlsModeSelect'
import ViewportShadingSelect from './ViewportShadingSelect'
import TransformControlsSpaceSelect from './TransformControlsSpaceSelect'

View file

@ -1,5 +1,5 @@
{
"name": "@theatre/dataverse-react",
"name": "@theatre/react",
"version": "0.4.0-dev.14",
"license": "Apache-2.0",
"author": {
@ -10,7 +10,7 @@
"repository": {
"type": "git",
"url": "https://github.com/AriaMinaei/theatre",
"directory": "packages/dataverse-react"
"directory": "packages/react"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",