chore(packages): use temporary scope name

This commit is contained in:
moklick
2022-08-29 12:08:13 +02:00
parent 8e30df2e82
commit f113cf4e19
30 changed files with 77 additions and 95 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
# @react-flow/controls
# @rctflw/controls
Controls component for React Flow.
## Installation
```sh
npm install @react-flow/controls
npm install @rctflw/controls
```
+5 -5
View File
@@ -1,5 +1,5 @@
{
"name": "@react-flow/controls",
"name": "@rctflw/controls",
"version": "11.0.0-next.0",
"description": "Component to control the viewport of a React Flow instance",
"keywords": [
@@ -13,9 +13,9 @@
"files": [
"dist"
],
"main": "dist/react-flow-controls.cjs.js",
"module": "dist/react-flow-controls.esm.js",
"types": "dist/react-flow-controls.cjs.d.ts",
"main": "dist/rctflw-controls.cjs.js",
"module": "dist/rctflw-controls.esm.js",
"types": "dist/rctflw-controls.cjs.d.ts",
"sideEffects": false,
"license": "MIT",
"repository": {
@@ -28,7 +28,7 @@
},
"dependencies": {
"@babel/runtime": "^7.18.9",
"@react-flow/core": "workspace:*",
"@rctflw/core": "workspace:*",
"classcat": "^5.0.3"
},
"peerDependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
import { memo, FC, useEffect, useState, PropsWithChildren } from 'react';
import cc from 'classcat';
import { useStore, useStoreApi, useReactFlow, ReactFlowState, Panel } from '@react-flow/core';
import { useStore, useStoreApi, useReactFlow, ReactFlowState, Panel } from '@rctflw/core';
import PlusIcon from './Icons/Plus';
import MinusIcon from './Icons/Minus';
+1 -1
View File
@@ -1,5 +1,5 @@
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
import { FitViewOptions, PanelPosition } from '@react-flow/core';
import { FitViewOptions, PanelPosition } from '@rctflw/core';
export interface ControlProps extends HTMLAttributes<HTMLDivElement> {
showZoom?: boolean;