diff --git a/package.json b/package.json index dcff6b6..c9a9669 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "debug": "DEBUG=*,-babel* npm run dev", "dev": "npm run -- build:only -hv", "link-all": "yarn link $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done)", - "postinstall": "patch-package", "repl": "npx flecks repl --rlwrap", "start": "DEBUG=@flecks*,honeybee,-@flecks/core/flecks* npm run dev", "unlink-all": "yarn unlink $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done) && yarn install --force", diff --git a/packages/entity-persea/src/controllers/entity/component.jsx b/packages/entity-persea/src/controllers/entity/component.jsx index 3c7df97..d5ec881 100644 --- a/packages/entity-persea/src/controllers/entity/component.jsx +++ b/packages/entity-persea/src/controllers/entity/component.jsx @@ -5,15 +5,17 @@ import {join} from 'path'; import { PropTypes, React, + useEffect, + useFlecks, + useState, +} from '@flecks/react'; +import {useParams} from '@flecks/react/router'; +import { Tab, Tabs, TabList, TabPanel, - useEffect, - useFlecks, - useParams, - useState, -} from '@flecks/react'; +} from 'react-tabs'; import Traits from './traits'; import View from './view'; diff --git a/packages/entity-persea/src/controllers/entity/traits/index.jsx b/packages/entity-persea/src/controllers/entity/traits/index.jsx index f381aa9..d097b84 100644 --- a/packages/entity-persea/src/controllers/entity/traits/index.jsx +++ b/packages/entity-persea/src/controllers/entity/traits/index.jsx @@ -7,15 +7,17 @@ import {JsonController, useJsonPatcher} from '@avocado/resource-persea'; import { PropTypes, React, - Tab, - Tabs, - TabList, - TabPanel, useFlecks, useRef, useState, } from '@flecks/react'; import difference from 'lodash.difference'; +import { + Tab, + Tabs, + TabList, + TabPanel, +} from 'react-tabs'; import Suggest from './suggest'; diff --git a/packages/entity-persea/src/index.js b/packages/entity-persea/src/index.js index a009a31..baa5f33 100644 --- a/packages/entity-persea/src/index.js +++ b/packages/entity-persea/src/index.js @@ -1,4 +1,4 @@ -import {Flecks, Hooks} from '@flecks/react'; +import {Flecks, Hooks} from '@flecks/core'; import EntityController from './controllers/entity'; diff --git a/packages/physics-persea/src/traits/emitter/particle.jsx b/packages/physics-persea/src/traits/emitter/particle.jsx index 2fefc21..cbcfb33 100644 --- a/packages/physics-persea/src/traits/emitter/particle.jsx +++ b/packages/physics-persea/src/traits/emitter/particle.jsx @@ -37,6 +37,7 @@ const Particle = ({ }} />
+ {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */} + {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}