Chore: Moved propTypes to @theatre/core

This commit is contained in:
Aria Minaei 2021-07-02 11:44:07 +02:00
parent 64d955c464
commit 4ac12abb58
11 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
import type {PropTypeConfig_Compound} from '@theatre/shared/propTypes'
import {isPropConfigComposite} from '@theatre/shared/propTypes/utils'
import type {PropTypeConfig_Compound} from '@theatre/core/propTypes'
import {isPropConfigComposite} from '@theatre/shared/src/propTypes/utils'
import type SheetObject from '@theatre/core/sheetObjects/SheetObject'
import {theme} from '@theatre/studio/css'
import {voidFn} from '@theatre/shared/utils'

View file

@ -1,4 +1,4 @@
import type {PropTypeConfig} from '@theatre/shared/propTypes'
import type {PropTypeConfig} from '@theatre/core/propTypes'
import type SheetObject from '@theatre/core/sheetObjects/SheetObject'
import {getPointerParts} from '@theatre/dataverse'
import React from 'react'

View file

@ -1,4 +1,4 @@
import type {PropTypeConfig_Number} from '@theatre/shared/propTypes'
import type {PropTypeConfig_Number} from '@theatre/core/propTypes'
import type SheetObject from '@theatre/core/sheetObjects/SheetObject'
import BasicNumberEditor from '@theatre/studio/uiComponents/BasicNumberEditor'
import useContextMenu from '@theatre/studio/uiComponents/simpleContextMenu/useContextMenu'

View file

@ -3,8 +3,8 @@ import type {
PropTypeConfig,
PropTypeConfig_AllPrimitives,
PropTypeConfig_Compound,
} from '@theatre/shared/propTypes'
import {isPropConfigComposite} from '@theatre/shared/propTypes/utils'
} from '@theatre/core/propTypes'
import {isPropConfigComposite} from '@theatre/shared/src/propTypes/utils'
import type SheetObject from '@theatre/core/sheetObjects/SheetObject'
import type {IPropPathToTrackIdTree} from '@theatre/core/sheetObjects/SheetObjectTemplate'
import type Sheet from '@theatre/core/sheets/Sheet'