chore(*): rename devui to redux-devtools-ui (#868)

This commit is contained in:
Nathan Bierema 2021-09-18 10:00:58 -04:00 committed by GitHub
parent 7c9579c141
commit 17314ccf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
183 changed files with 92 additions and 92 deletions

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button, Container, Divider, Toolbar } from 'devui'; import { Button, Container, Divider, Toolbar } from '@redux-devtools/ui';
import SliderMonitor from '@redux-devtools/app/lib/containers/monitors/Slider'; import SliderMonitor from '@redux-devtools/app/lib/containers/monitors/Slider';
import { liftedDispatch, getReport } from '@redux-devtools/app/lib/actions'; import { liftedDispatch, getReport } from '@redux-devtools/app/lib/actions';
import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances'; import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Container, Notification } from 'devui'; import { Container, Notification } from '@redux-devtools/ui';
import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances'; import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances';
import Settings from '@redux-devtools/app/lib/components/Settings'; import Settings from '@redux-devtools/app/lib/components/Settings';
import Header from '@redux-devtools/app/lib/components/Header'; import Header from '@redux-devtools/app/lib/components/Header';

View File

@ -1,3 +0,0 @@
# DevUI
WIP

View File

@ -45,9 +45,9 @@
"@redux-devtools/log-monitor": "^2.3.0", "@redux-devtools/log-monitor": "^2.3.0",
"@redux-devtools/rtk-query-monitor": "^1.0.0", "@redux-devtools/rtk-query-monitor": "^1.0.0",
"@redux-devtools/slider-monitor": "^2.0.0-8", "@redux-devtools/slider-monitor": "^2.0.0-8",
"@redux-devtools/ui": "^1.0.0-9",
"@reduxjs/toolkit": "^1.6.1", "@reduxjs/toolkit": "^1.6.1",
"d3-state-visualizer": "^1.4.0", "d3-state-visualizer": "^1.4.0",
"devui": "^1.0.0-9",
"javascript-stringify": "^2.1.0", "javascript-stringify": "^2.1.0",
"jsan": "^3.1.13", "jsan": "^3.1.13",
"jsondiffpatch": "^0.4.1", "jsondiffpatch": "^0.4.1",

View File

@ -1,4 +1,4 @@
import { Scheme, Theme } from 'devui'; import { Scheme, Theme } from '@redux-devtools/ui';
import { AuthStates, States } from 'socketcluster-client/lib/scclientsocket'; import { AuthStates, States } from 'socketcluster-client/lib/scclientsocket';
import { import {
CHANGE_SECTION, CHANGE_SECTION,

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Button, Toolbar, Divider } from 'devui'; import { Button, Toolbar, Divider } from '@redux-devtools/ui';
import { MdSave } from 'react-icons/md'; import { MdSave } from 'react-icons/md';
import ExportButton from './buttons/ExportButton'; import ExportButton from './buttons/ExportButton';
import ImportButton from './buttons/ImportButton'; import ImportButton from './buttons/ImportButton';

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Tabs, Toolbar, Button, Divider } from 'devui'; import { Tabs, Toolbar, Button, Divider } from '@redux-devtools/ui';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { GoBook } from 'react-icons/go'; import { GoBook } from 'react-icons/go';
import { IoMdText } from 'react-icons/io'; import { IoMdText } from 'react-icons/io';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Select } from 'devui'; import { Select } from '@redux-devtools/ui';
import { selectInstance } from '../actions'; import { selectInstance } from '../actions';
import { StoreState } from '../reducers'; import { StoreState } from '../reducers';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Tabs } from 'devui'; import { Tabs } from '@redux-devtools/ui';
import { monitors } from '../utils/getMonitor'; import { monitors } from '../utils/getMonitor';
import { selectMonitor } from '../actions'; import { selectMonitor } from '../actions';
import { StoreState } from '../reducers'; import { StoreState } from '../reducers';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Container, Form } from 'devui'; import { Container, Form } from '@redux-devtools/ui';
import { import {
JSONSchema7Definition, JSONSchema7Definition,
JSONSchema7Type, JSONSchema7Type,

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Container, Form } from 'devui'; import { Container, Form } from '@redux-devtools/ui';
import { listSchemes, listThemes } from 'devui/lib/utils/theme'; import { listSchemes, listThemes } from '@redux-devtools/ui/lib/utils/theme';
import { changeTheme } from '../../actions'; import { changeTheme } from '../../actions';
import { StoreState } from '../../reducers'; import { StoreState } from '../../reducers';

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Tabs } from 'devui'; import { Tabs } from '@redux-devtools/ui';
import Connection from './Connection'; import Connection from './Connection';
import Themes from './Themes'; import Themes from './Themes';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { ActionCreators, LiftedAction } from '@redux-devtools/core'; import { ActionCreators, LiftedAction } from '@redux-devtools/core';
import { Button, Toolbar, Divider } from 'devui'; import { Button, Toolbar, Divider } from '@redux-devtools/ui';
import { Action } from 'redux'; import { Action } from 'redux';
import RecordButton from './buttons/RecordButton'; import RecordButton from './buttons/RecordButton';
import PersistButton from './buttons/PersistButton'; import PersistButton from './buttons/PersistButton';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { FaTerminal } from 'react-icons/fa'; import { FaTerminal } from 'react-icons/fa';
import { toggleDispatcher } from '../../actions'; import { toggleDispatcher } from '../../actions';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { TiDownload } from 'react-icons/ti'; import { TiDownload } from 'react-icons/ti';
import { exportState } from '../../actions'; import { exportState } from '../../actions';

View File

@ -1,6 +1,6 @@
import React, { ChangeEventHandler, Component, RefCallback } from 'react'; import React, { ChangeEventHandler, Component, RefCallback } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { TiUpload } from 'react-icons/ti'; import { TiUpload } from 'react-icons/ti';
import { importState } from '../../actions'; import { importState } from '../../actions';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { IoIosLock } from 'react-icons/io'; import { IoIosLock } from 'react-icons/io';
import { lockChanges, StoreAction } from '../../actions'; import { lockChanges, StoreAction } from '../../actions';
import { Dispatch } from 'redux'; import { Dispatch } from 'redux';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { FaThumbtack } from 'react-icons/fa'; import { FaThumbtack } from 'react-icons/fa';
import { togglePersist } from '../../actions'; import { togglePersist } from '../../actions';
import { StoreState } from '../../reducers'; import { StoreState } from '../../reducers';

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { MdPrint } from 'react-icons/md'; import { MdPrint } from 'react-icons/md';
export default class PrintButton extends Component { export default class PrintButton extends Component {

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { MdFiberManualRecord } from 'react-icons/md'; import { MdFiberManualRecord } from 'react-icons/md';
import { pauseRecording, StoreAction } from '../../actions'; import { pauseRecording, StoreAction } from '../../actions';
import { Dispatch } from 'redux'; import { Dispatch } from 'redux';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { MdAvTimer } from 'react-icons/md'; import { MdAvTimer } from 'react-icons/md';
import { toggleSlider } from '../../actions'; import { toggleSlider } from '../../actions';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Button } from 'devui'; import { Button } from '@redux-devtools/ui';
import { TiArrowSync } from 'react-icons/ti'; import { TiArrowSync } from 'react-icons/ti';
import { toggleSync } from '../../actions'; import { toggleSync } from '../../actions';
import { StoreState } from '../../reducers'; import { StoreState } from '../../reducers';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Container } from 'devui'; import { Container } from '@redux-devtools/ui';
import SliderMonitor from './monitors/Slider'; import SliderMonitor from './monitors/Slider';
import { liftedDispatch, getReport } from '../actions'; import { liftedDispatch, getReport } from '../actions';
import { getActiveInstance } from '../reducers/instances'; import { getActiveInstance } from '../reducers/instances';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Container, Notification } from 'devui'; import { Container, Notification } from '@redux-devtools/ui';
import { clearNotification } from '../actions'; import { clearNotification } from '../actions';
import Header from '../components/Header'; import Header from '../components/Header';
import Actions from '../containers/Actions'; import Actions from '../containers/Actions';

View File

@ -6,7 +6,7 @@ import getMonitor from '../utils/getMonitor';
import { InitMonitorAction } from '../actions'; import { InitMonitorAction } from '../actions';
import { Features, State } from '../reducers/instances'; import { Features, State } from '../reducers/instances';
import { MonitorStateMonitorState } from '../reducers/monitor'; import { MonitorStateMonitorState } from '../reducers/monitor';
import { ThemeFromProvider } from 'devui'; import { ThemeFromProvider } from '@redux-devtools/ui';
interface Props { interface Props {
monitor: string; monitor: string;

View File

@ -2,7 +2,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { Button, Select, Editor, Toolbar } from 'devui'; import { Button, Select, Editor, Toolbar } from '@redux-devtools/ui';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { dispatchRemotely } from '../../actions'; import { dispatchRemotely } from '../../actions';
import { Options } from '../../reducers/instances'; import { Options } from '../../reducers/instances';

View File

@ -4,7 +4,7 @@ import { withTheme } from 'styled-components';
import { InputOptions, NodeWithId, tree } from 'd3-state-visualizer'; import { InputOptions, NodeWithId, tree } from 'd3-state-visualizer';
import { getPath } from '../ChartMonitorWrapper'; import { getPath } from '../ChartMonitorWrapper';
import { updateMonitorState } from '../../../actions'; import { updateMonitorState } from '../../../actions';
import { ThemeFromProvider } from 'devui'; import { ThemeFromProvider } from '@redux-devtools/ui';
const style = { const style = {
width: '100%', width: '100%',

View File

@ -1,5 +1,5 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Editor } from 'devui'; import { Editor } from '@redux-devtools/ui';
import { stringify } from 'javascript-stringify'; import { stringify } from 'javascript-stringify';
interface Props { interface Props {

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect, ResolveThunks } from 'react-redux'; import { connect, ResolveThunks } from 'react-redux';
import { Tab, Tabs } from 'devui'; import { Tab, Tabs } from '@redux-devtools/ui';
import { TabComponentProps } from '@redux-devtools/inspector-monitor'; import { TabComponentProps } from '@redux-devtools/inspector-monitor';
import { Action } from 'redux'; import { Action } from 'redux';
import StateTree from '@redux-devtools/inspector-monitor/lib/tabs/StateTab'; import StateTree from '@redux-devtools/inspector-monitor/lib/tabs/StateTab';

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Delta, formatters } from 'jsondiffpatch'; import { Delta, formatters } from 'jsondiffpatch';
import styled from 'styled-components'; import styled from 'styled-components';
import { effects } from 'devui'; import { effects } from '@redux-devtools/ui';
export const StyledContainer = styled.div` export const StyledContainer = styled.div`
.jsondiffpatch-delta { .jsondiffpatch-delta {

View File

@ -3,7 +3,7 @@ import styled, { withTheme } from 'styled-components';
import SliderMonitor from '@redux-devtools/slider-monitor'; import SliderMonitor from '@redux-devtools/slider-monitor';
import { LiftedAction } from '@redux-devtools/core'; import { LiftedAction } from '@redux-devtools/core';
import { Action } from 'redux'; import { Action } from 'redux';
import { ThemeFromProvider } from 'devui'; import { ThemeFromProvider } from '@redux-devtools/ui';
import { State } from '../../reducers/instances'; import { State } from '../../reducers/instances';
const SliderWrapper = styled.div` const SliderWrapper = styled.div`

View File

@ -1,4 +1,4 @@
import { Scheme, Theme } from 'devui'; import { Scheme, Theme } from '@redux-devtools/ui';
import { CHANGE_THEME } from '../constants/actionTypes'; import { CHANGE_THEME } from '../constants/actionTypes';
import { StoreAction } from '../actions'; import { StoreAction } from '../actions';

View File

@ -1,6 +1,6 @@
import React, { CSSProperties } from 'react'; import React, { CSSProperties } from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Button, Toolbar, Spacer } from 'devui'; import { Button, Toolbar, Spacer } from '@redux-devtools/ui';
import { push as pushRoute } from 'connected-react-router'; import { push as pushRoute } from 'connected-react-router';
import pkg from '../../../package.json'; import pkg from '../../../package.json';
import getOptions from './getOptions'; import getOptions from './getOptions';

View File

@ -1,7 +1,7 @@
import 'devui/lib/presets'; import '@redux-devtools/ui/lib/presets';
import React from 'react'; import React from 'react';
import { render } from 'react-dom'; import { render } from 'react-dom';
import { Container } from 'devui'; import { Container } from '@redux-devtools/ui';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import { import {
createStore, createStore,

View File

@ -43,8 +43,8 @@
"prepublishOnly": "npm run clean && npm run build" "prepublishOnly": "npm run clean && npm run build"
}, },
"dependencies": { "dependencies": {
"@redux-devtools/ui": "^1.0.0-9",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"devui": "^1.0.0-9",
"es6template": "^1.0.5", "es6template": "^1.0.5",
"javascript-stringify": "^2.1.0", "javascript-stringify": "^2.1.0",
"jsan": "^3.1.13", "jsan": "^3.1.13",

View File

@ -4,7 +4,7 @@ import objectPath from 'object-path';
import jsan from 'jsan'; import jsan from 'jsan';
import diff, { Event } from 'simple-diff'; import diff, { Event } from 'simple-diff';
import es6template from 'es6template'; import es6template from 'es6template';
import { Editor } from 'devui'; import { Editor } from '@redux-devtools/ui';
import { TabComponentProps } from '@redux-devtools/inspector-monitor'; import { TabComponentProps } from '@redux-devtools/inspector-monitor';
import { Action } from 'redux'; import { Action } from 'redux';
import { AssertionLocals, DispatcherLocals, WrapLocals } from './types'; import { AssertionLocals, DispatcherLocals, WrapLocals } from './types';

View File

@ -7,7 +7,7 @@ import {
Select, Select,
Notification, Notification,
Dialog, Dialog,
} from 'devui'; } from '@redux-devtools/ui';
import { MdAdd } from 'react-icons/md'; import { MdAdd } from 'react-icons/md';
import { MdEdit } from 'react-icons/md'; import { MdEdit } from 'react-icons/md';
import { Action } from 'redux'; import { Action } from 'redux';

View File

@ -46,9 +46,9 @@
}, },
"dependencies": { "dependencies": {
"@redux-devtools/dock-monitor": "^1.4.0", "@redux-devtools/dock-monitor": "^1.4.0",
"@redux-devtools/ui": "^1.0.0-9",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"@types/redux-devtools-themes": "^1.0.0", "@types/redux-devtools-themes": "^1.0.0",
"devui": "^1.0.0-9",
"lodash.debounce": "^4.0.8", "lodash.debounce": "^4.0.8",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react-json-tree": "^0.15.0", "react-json-tree": "^0.15.0",

View File

@ -1,7 +1,7 @@
import React, { ReactNode, FormEvent, MouseEvent, ChangeEvent } from 'react'; import React, { ReactNode, FormEvent, MouseEvent, ChangeEvent } from 'react';
import { QueryFormValues } from '../types'; import { QueryFormValues } from '../types';
import { StyleUtilsContext } from '../styles/createStylingFromTheme'; import { StyleUtilsContext } from '../styles/createStylingFromTheme';
import { Select } from 'devui'; import { Select } from '@redux-devtools/ui';
import { SelectOption } from '../types'; import { SelectOption } from '../types';
import debounce from 'lodash.debounce'; import debounce from 'lodash.debounce';
import { sortQueryOptions, QueryComparators } from '../utils/comparators'; import { sortQueryOptions, QueryComparators } from '../utils/comparators';

View File

@ -31,9 +31,9 @@
"prepublishOnly": "npm run clean && npm run build" "prepublishOnly": "npm run clean && npm run build"
}, },
"dependencies": { "dependencies": {
"@redux-devtools/ui": "^1.0.0-9",
"@types/prop-types": "^15.7.4", "@types/prop-types": "^15.7.4",
"@types/redux-devtools-themes": "^1.0.0", "@types/redux-devtools-themes": "^1.0.0",
"devui": "^1.0.0-9",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"redux-devtools-themes": "^1.0.0" "redux-devtools-themes": "^1.0.0"
}, },

View File

@ -1,7 +1,7 @@
import React, { Component, PureComponent } from 'react'; import React, { Component, PureComponent } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Base16Theme } from 'redux-devtools-themes'; import { Base16Theme } from 'redux-devtools-themes';
import Button from 'devui/lib/Button'; import Button from '@redux-devtools/ui/lib/Button';
interface Props { interface Props {
theme: Base16Theme; theme: Base16Theme;

View File

@ -8,10 +8,10 @@ import {
LiftedAction, LiftedAction,
LiftedState, LiftedState,
} from '@redux-devtools/core'; } from '@redux-devtools/core';
import { Toolbar, Divider } from 'devui/lib/Toolbar'; import { Toolbar, Divider } from '@redux-devtools/ui/lib/Toolbar';
import Slider from 'devui/lib/Slider'; import Slider from '@redux-devtools/ui/lib/Slider';
import Button from 'devui/lib/Button'; import Button from '@redux-devtools/ui/lib/Button';
import SegmentedControl from 'devui/lib/SegmentedControl'; import SegmentedControl from '@redux-devtools/ui/lib/SegmentedControl';
import reducer from './reducers'; import reducer from './reducers';
import SliderButton from './SliderButton'; import SliderButton from './SliderButton';

View File

View File

@ -0,0 +1,3 @@
# Redux DevTools UI
WIP

View File

@ -1,8 +1,8 @@
{ {
"name": "devui", "name": "@redux-devtools/ui",
"version": "1.0.0-9", "version": "1.0.0-9",
"description": "Reusable React components for building DevTools monitors and apps.", "description": "Reusable React components for building DevTools monitors and apps.",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/devui", "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-ui",
"bugs": { "bugs": {
"url": "https://github.com/reduxjs/redux-devtools/issues" "url": "https://github.com/reduxjs/redux-devtools/issues"
}, },

Some files were not shown because too many files have changed in this diff Show More