Merge branch 'master' into extension-integration

This commit is contained in:
Nathan Bierema 2021-06-12 10:51:29 -04:00
commit 476a1e2e43
76 changed files with 779 additions and 329 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
github: Methuselah96

View File

@ -1,6 +1,6 @@
## Remote monitoring
By installing [`redux-devtools-cli`](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli#usage), starting the server server and launching the Redux DevTools app (`redux-devtools --open`), you can connect any remote application, even not javascript. There are some integrations for javascript like [remote-redux-devtools](https://github.com/zalmoxisus/remote-redux-devtools) and [remotedev](https://github.com/zalmoxisus/remotedev), but the plan is to deprecate them and support it out of the box from the extension without a websocket server. It is more useful for non-js apps.
By installing [`@redux-devtools/cli`](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli#usage), starting the server server and launching the Redux DevTools app (`redux-devtools --open`), you can connect any remote application, even not javascript. There are some integrations for javascript like [remote-redux-devtools](https://github.com/zalmoxisus/remote-redux-devtools) and [remotedev](https://github.com/zalmoxisus/remotedev), but the plan is to deprecate them and support it out of the box from the extension without a websocket server. It is more useful for non-js apps.
### WebSocket Clients

View File

@ -2,7 +2,7 @@
## Browser Extension
If you dont want to bother with installing Redux DevTools and integrating it into your project, consider using [Redux DevTools Extension](https://github.com/zalmoxisus/redux-devtools-extension) for Chrome and Firefox. It provides access to the most popular monitors, is easy to configure to filter actions, and doesnt require installing any packages.
If you dont want to bother with installing Redux DevTools and integrating it into your project, consider using [Redux DevTools Extension](https://github.com/reduxjs/redux-devtools/tree/master/extension) for Chrome and Firefox. It provides access to the most popular monitors, is easy to configure to filter actions, and doesnt require installing any packages.
## Manual Integration
@ -12,14 +12,14 @@ Its more steps, but you will have full control over monitors and their config
### Installation
```
npm install --save-dev redux-devtools
npm install --save-dev @redux-devtools/core
```
Youll also likely want to install some monitors:
```
npm install --save-dev redux-devtools-log-monitor
npm install --save-dev redux-devtools-dock-monitor
npm install --save-dev @redux-devtools/log-monitor
npm install --save-dev @redux-devtools/dock-monitor
```
### Usage
@ -34,11 +34,11 @@ Somewhere in your project, create a `DevTools` component by passing a `monitor`
import React from 'react';
// Exported from redux-devtools
import { createDevTools } from 'redux-devtools';
import { createDevTools } from '@redux-devtools/core';
// Monitors are separate packages, and you can make a custom one
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
import LogMonitor from '@redux-devtools/log-monitor';
import DockMonitor from '@redux-devtools/dock-monitor';
// createDevTools takes a monitor and produces a DevTools component
const DevTools = createDevTools(
@ -113,7 +113,7 @@ If youd like, you may add another store enhancer called `persistState()`. It
```js
// ...
import { persistState } from 'redux-devtools';
import { persistState } from '@redux-devtools/core';
const enhancer = compose(
// Middleware you want to use in development:
@ -190,7 +190,7 @@ export default function configureStore(initialState) {
```js
import { createStore, applyMiddleware, compose } from 'redux';
import { persistState } from 'redux-devtools';
import { persistState } from '@redux-devtools/core';
import rootReducer from '../reducers';
import DevTools from '../containers/DevTools';

View File

@ -1,6 +1,6 @@
{
"name": "remotedev-redux-devtools-extension",
"version": "2.17.1",
"version": "2.17.2",
"description": "Redux Developer Tools for debugging application state changes.",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/extension",
"license": "MIT",
@ -17,8 +17,8 @@
"build:examples": "babel-node examples/buildAll.js",
"precompress:extension": "npm run lint && npm run test:app && npm run build:extension && npm run test:chrome && npm run test:electron",
"precompress:firefox": "npm run lint && npm run build:firefox && npm run test:app",
"compress:extension": "cd build/extension && bestzip ../extension.zip",
"compress:firefox": "cd build/firefox && bestzip ../firefox.zip",
"compress:extension": "bestzip build/extension.zip build/extension",
"compress:firefox": "bestzip build/extension.zip build/extension",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "npm run docs:prepare && gitbook build",
@ -27,7 +27,7 @@
"clean": "rimraf build/ && rimraf dev/",
"test:app": "cross-env BABEL_ENV=test jest test/app",
"test:chrome": "jest test/chrome",
"test:electron": "jest test/electron && rimraf test/electron/tmp",
"test:electron": "jest test/electron",
"test": "npm run test:app && npm run build:extension && npm run test:chrome && npm run test:electron"
},
"dependencies": {
@ -64,7 +64,7 @@
"chromedriver": "^91.0.0",
"copy-webpack-plugin": "^6.3.1",
"cross-env": "^7.0.2",
"electron": "^2.0.2",
"electron": "^13.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"eslint": "^7.6.0",
@ -81,10 +81,9 @@
"react-transform-catch-errors": "^1.0.0",
"react-transform-hmr": "^1.0.1",
"rimraf": "^3.0.2",
"selenium-webdriver": "^3.0.1",
"selenium-webdriver": "^3.6.0",
"sinon-chrome": "^1.1.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^1.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
}

View File

@ -87,6 +87,6 @@ if (window.isElectron) {
};
}
if (isFirefox) {
if (isFirefox || window.isElectron) {
chrome.storage.sync = chrome.storage.local;
}

View File

@ -1,5 +1,5 @@
{
"version": "2.17.1",
"version": "2.17.2",
"name": "Redux DevTools",
"short_name": "Redux DevTools",
"description": "Redux DevTools for debugging application's state changes.",
@ -63,7 +63,6 @@
"permissions": [
"notifications",
"contextMenus",
"tabs",
"storage",
"file:///*",
"http://*/*",

View File

@ -5,7 +5,8 @@ import chromedriver from 'chromedriver';
import { switchMonitorTests, delay } from '../utils/e2e';
const port = 9515;
const devPanelPath = 'chrome-extension://redux-devtools/devpanel.html';
const devPanelPath =
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/window.html';
describe('DevTools panel for Electron', function () {
beforeAll(async () => {
@ -30,8 +31,19 @@ describe('DevTools panel for Electron', function () {
});
it('should open Redux DevTools tab', async () => {
if (!(await this.driver.getCurrentUrl()).startsWith('devtools')) {
const originalWindow = await this.driver.getWindowHandle();
const windows = await this.driver.getAllWindowHandles();
for (const window of windows) {
if (window === originalWindow) continue;
await this.driver.switchTo().window(window);
if ((await this.driver.getCurrentUrl()).startsWith('devtools')) {
break;
}
}
}
expect(await this.driver.getCurrentUrl()).toMatch(
/chrome-devtools:\/\/devtools\/bundled\/inspector.html/
/devtools:\/\/devtools\/bundled\/devtools_app.html/
);
await this.driver.manage().timeouts().pageLoadTimeout(5000);
@ -42,19 +54,22 @@ describe('DevTools panel for Electron', function () {
if (attempts === 0) {
return callback('Redux panel not found');
}
if (UI.inspectorView) {
const tabs = UI.inspectorView._tabbedPane._tabs;
const idList = tabs.map((tab) => tab.id);
const reduxPanelId = 'chrome-extension://redux-devtoolsRedux';
const reduxPanelId =
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
if (idList.indexOf(reduxPanelId) !== -1) {
UI.inspectorView.showPanel(reduxPanelId);
return callback(reduxPanelId);
}
}
attempts--;
setTimeout(showReduxPanel, 500);
}
showReduxPanel();
});
expect(id).toBe('chrome-extension://redux-devtoolsRedux');
expect(id).toBe('chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux');
const className = await this.driver
.findElement(webdriver.By.className(id))

View File

@ -1,18 +1,21 @@
const path = require('path');
const { app, BrowserWindow } = require('electron');
app.setPath('userData', path.join(__dirname, '../tmp'));
const { app, BrowserWindow, session } = require('electron');
app.on('window-all-closed', app.quit);
app.on('ready', () => {
BrowserWindow.addDevToolsExtension(
path.join(__dirname, '../../../build/extension')
app.whenReady().then(async () => {
await session.defaultSession.loadExtension(
path.join(__dirname, '../../../build/extension'),
{ allowFileAccess: true }
);
const mainWindow = new BrowserWindow({
width: 150,
height: 100,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
},
});
mainWindow.loadURL(`file://${__dirname}/index.html`);
mainWindow.openDevTools({ mode: 'detach' });
mainWindow.loadFile('index.html');
mainWindow.webContents.openDevTools({ mode: 'detach' });
});

View File

@ -1,6 +1,5 @@
import path from 'path';
import webpack from 'webpack';
import TerserPlugin from 'terser-webpack-plugin';
import CopyPlugin from 'copy-webpack-plugin';
const extpath = path.join(__dirname, '../src/browser/extension/');
@ -55,18 +54,7 @@ const baseConfig = (params) => ({
: []
),
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
output: {
comments: false,
},
},
// sourceMap: true,
cache: true,
parallel: true,
}),
],
minimize: false,
},
performance: {
hints: false,

View File

@ -27,6 +27,7 @@
"eslint-plugin-react": "^7.20.5",
"file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^5.1.0",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.3.0",
"jest": "^26.2.2",
"lerna": "^3.22.1",
@ -42,6 +43,7 @@
"ts-jest": "^26.2.0",
"ts-node": "^9.0.0",
"typescript": "^3.9.7",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.4.0](https://github.com/reduxjs/redux-devtools/compare/d3-state-visualizer@1.3.4...d3-state-visualizer@1.4.0) (2021-03-06)
### Features
- **d3-state-visualizer:** convert example to TypeScript ([#641](https://github.com/reduxjs/redux-devtools/issues/641)) ([300b60a](https://github.com/reduxjs/redux-devtools/commit/300b60a8b1f92a6d7c78510a1bea304490aa23be))
- **d3-state-visualizer:** convert to TypeScript ([#640](https://github.com/reduxjs/redux-devtools/issues/640)) ([0c78a5a](https://github.com/reduxjs/redux-devtools/commit/0c78a5a9a76ee7eff37dcd8e39272d98c03e0869))
- **redux-devtools-chart-monitor:** convert to TypeScript ([#642](https://github.com/reduxjs/redux-devtools/issues/642)) ([761baba](https://github.com/reduxjs/redux-devtools/commit/761baba0aa0f4dc672f8771f4b12bed3863557f7))
## [1.3.4](https://github.com/reduxjs/redux-devtools/compare/d3-state-visualizer@1.3.3...d3-state-visualizer@1.3.4) (2020-09-07)
**Note:** Version bump only for package d3-state-visualizer

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.1.0](https://github.com/reduxjs/redux-devtools/compare/d3-state-visualizer-tree-example@0.0.2...d3-state-visualizer-tree-example@0.1.0) (2021-03-06)
### Features
- **d3-state-visualizer:** convert example to TypeScript ([#641](https://github.com/reduxjs/redux-devtools/issues/641)) ([300b60a](https://github.com/reduxjs/redux-devtools/commit/300b60a8b1f92a6d7c78510a1bea304490aa23be))
## [0.0.2](https://github.com/reduxjs/redux-devtools/compare/d3-state-visualizer-tree-example@0.0.1...d3-state-visualizer-tree-example@0.0.2) (2020-09-07)
**Note:** Version bump only for package d3-state-visualizer-tree-example

View File

@ -1,6 +1,6 @@
{
"name": "d3-state-visualizer-tree-example",
"version": "0.0.2",
"version": "0.1.0",
"description": "Visualize your app state as a tree",
"keywords": [
"d3",
@ -21,8 +21,8 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"dependencies": {
"d3-state-visualizer": "^1.3.4",
"map2tree": "^1.4.2"
"d3-state-visualizer": "^1.4.0",
"map2tree": "^1.5.0"
},
"private": true
}

View File

@ -1,6 +1,6 @@
{
"name": "d3-state-visualizer",
"version": "1.3.4",
"version": "1.4.0",
"description": "Visualize your app state with a range of reusable charts",
"keywords": [
"d3",
@ -43,9 +43,9 @@
"dependencies": {
"@types/d3": "^3.5.43",
"d3": "^3.5.17",
"d3tooltip": "^1.2.3",
"d3tooltip": "^1.3.0",
"deepmerge": "^4.2.2",
"map2tree": "^1.4.2",
"map2tree": "^1.5.0",
"ramda": "^0.27.1"
},
"devDependencies": {

View File

@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.3.0](https://github.com/reduxjs/redux-devtools/compare/d3tooltip@1.2.3...d3tooltip@1.3.0) (2021-03-06)
### Features
- **d3-state-visualizer:** convert to TypeScript ([#640](https://github.com/reduxjs/redux-devtools/issues/640)) ([0c78a5a](https://github.com/reduxjs/redux-devtools/commit/0c78a5a9a76ee7eff37dcd8e39272d98c03e0869))
- **d3tooltip:** convert to TypeScript ([#639](https://github.com/reduxjs/redux-devtools/issues/639)) ([3b580da](https://github.com/reduxjs/redux-devtools/commit/3b580dad4cb36abc395f9be139b2c3f94e872d87))
## 1.2.3 (2020-08-14)
**Note:** Version bump only for package d3tooltip

View File

@ -1,6 +1,6 @@
{
"name": "d3tooltip",
"version": "1.2.3",
"version": "1.3.0",
"description": "A highly configurable tooltip for d3",
"keywords": [
"d3",

View File

@ -3,6 +3,32 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-9](https://github.com/reduxjs/redux-devtools/compare/devui@1.0.0-8...devui@1.0.0-9) (2021-06-11)
### Bug Fixes
- fix Select types and usages ([#724](https://github.com/reduxjs/redux-devtools/issues/724)) ([07e409d](https://github.com/reduxjs/redux-devtools/commit/07e409de6a1c3d362929d854542df0c1d74ce18e))
- **devui:** clean up after fixing UI bugs ([#728](https://github.com/reduxjs/redux-devtools/issues/728)) ([dbc08ab](https://github.com/reduxjs/redux-devtools/commit/dbc08ab1b4d6d7d8b77af9cece9e9b329a95b31e))
- **devui:** Fix buggy UI behaviors with redux-devtools-app ([#709](https://github.com/reduxjs/redux-devtools/issues/709)) ([ed25a72](https://github.com/reduxjs/redux-devtools/commit/ed25a72e99d56c2141175cd0cb4306353e65e6ad))
- **devui:** fix Select widget in Form ([#722](https://github.com/reduxjs/redux-devtools/issues/722)) ([a8d99ee](https://github.com/reduxjs/redux-devtools/commit/a8d99ee424b48974314b8b94e1b93f84924b4352))
- **devui:** fix style of Select ([#721](https://github.com/reduxjs/redux-devtools/issues/721)) ([bb72311](https://github.com/reduxjs/redux-devtools/commit/bb72311e1ccb7a0425a02a1d9271c8534fcd90e0))
# [1.0.0-8](https://github.com/reduxjs/redux-devtools/compare/devui@1.0.0-7...devui@1.0.0-8) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# [1.0.0-7](https://github.com/reduxjs/redux-devtools/compare/devui@1.0.0-6...devui@1.0.0-7) (2021-03-06)
### Bug Fixes
- **redux-devtools-test-generator:** fix devui's Select component ([#637](https://github.com/reduxjs/redux-devtools/issues/637)) ([f9f15a4](https://github.com/reduxjs/redux-devtools/commit/f9f15a41defab9c9ce6ba7491f75a7ce69aae152))
### Features
- **redux-devtools-slider-monitor:** convert to TypeScript ([#631](https://github.com/reduxjs/redux-devtools/issues/631)) ([8991732](https://github.com/reduxjs/redux-devtools/commit/89917320e5ecf33dc3625b05daa1e9fe120a783d))
# [1.0.0-6](https://github.com/reduxjs/redux-devtools/compare/devui@1.0.0-5...devui@1.0.0-6) (2020-09-07)
**Note:** Version bump only for package devui

View File

@ -1,6 +1,6 @@
{
"name": "devui",
"version": "1.0.0-6",
"version": "1.0.0-9",
"description": "Reusable React components for building DevTools monitors and apps.",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/devui",
"bugs": {
@ -40,7 +40,7 @@
"@types/base16": "^1.0.2",
"@types/codemirror": "^0.0.97",
"@types/prop-types": "^15.7.3",
"@types/react-select": "^3.0.19",
"@types/react-select": "^3.1.2",
"@types/redux-devtools-themes": "^1.0.0",
"@types/simple-element-resize-detector": "^1.3.0",
"@types/styled-components": "^5.1.2",
@ -68,6 +68,6 @@
"react-is": "^16.13.1"
},
"peerDependencies": {
"react": "^16.3.0"
"react": "^16.3.0 || ^17.0.0"
}
}

View File

@ -6,6 +6,7 @@ export const MainContainerWrapper = styled.div`
height: 100%;
width: 100%;
flex-flow: column nowrap;
overflow: auto;
background-color: ${(props) => color(props.theme.base00, 'lighten', 0.03)};
color: ${(props) => props.theme.base07};
font-size: 12px;
@ -30,7 +31,7 @@ export const MainContainerWrapper = styled.div`
flex-grow: 1;
display: flex;
flex-flow: column nowrap;
height: 100%;
overflow: auto;
> div {
flex-grow: 1;
@ -43,4 +44,5 @@ export const ContainerWrapper = styled.div`
height: 100%;
width: 100%;
flex-flow: column nowrap;
overflow: auto;
`;

View File

@ -4,8 +4,26 @@ import Select from '../Select';
import Slider from '../Slider';
/* eslint-disable react/prop-types */
const SelectWidget: Widget = ({ options, ...rest }) => (
<Select options={options.enumOptions} {...rest} />
const SelectWidget: Widget = ({
options,
onChange,
value,
onBlur,
defaultValue,
tabIndex,
onFocus,
...rest
}) => (
<Select<{ label: string; value: string }>
options={options.enumOptions as { label: string; value: string }[]}
onChange={(option) => {
onChange(option?.value);
}}
value={(options.enumOptions as { label: string; value: string }[]).find(
(option) => option.value === value
)}
{...rest}
/>
);
const RangeWidget: Widget = (({

View File

@ -22,7 +22,10 @@ export default {
component: Select,
};
type TemplateArgs = Omit<SelectProps, 'value'> & { value: string };
type TemplateArgs = Omit<
SelectProps<{ value: string; label: string }, boolean>,
'value'
> & { value: string };
// eslint-disable-next-line react/prop-types
const Template: Story<TemplateArgs> = ({ value, ...args }) => (

View File

@ -1,17 +1,26 @@
import React, { PureComponent, Component } from 'react';
import React, { PureComponent, Component, ReactElement } from 'react';
import PropTypes from 'prop-types';
import ReactSelect, { Props as ReactSelectProps } from 'react-select';
import ReactSelect, {
NamedProps as ReactSelectProps,
OptionTypeBase,
} from 'react-select';
import createThemedComponent from '../utils/createThemedComponent';
import { Theme } from '../themes/default';
export interface SelectProps extends Omit<ReactSelectProps, 'theme'> {
export interface SelectProps<
Option extends OptionTypeBase = OptionTypeBase,
IsMulti extends boolean = false
> extends Omit<ReactSelectProps<Option, IsMulti>, 'theme'> {
theme: Theme;
}
/**
* Wrapper around [React Select](https://github.com/JedWatson/react-select).
*/
export class Select extends (PureComponent || Component)<SelectProps> {
export class Select<
Option extends OptionTypeBase = OptionTypeBase,
IsMulti extends boolean = false
> extends (PureComponent || Component)<SelectProps<Option, IsMulti>> {
render() {
return (
<ReactSelect
@ -44,6 +53,18 @@ export class Select extends (PureComponent || Component)<SelectProps> {
controlHeight: this.props.theme.inputHeight,
},
})}
styles={{
container: (base) => ({
...base,
flexGrow: 1,
}),
control: (base, props) => ({
...base,
backgroundColor: props.isDisabled
? props.theme.colors.neutral10
: props.theme.colors.neutral5,
}),
}}
/>
);
}
@ -60,4 +81,20 @@ export class Select extends (PureComponent || Component)<SelectProps> {
};
}
export default createThemedComponent(Select);
export interface ExternalSelectProps<
Option extends OptionTypeBase = OptionTypeBase,
IsMulti extends boolean = false
> extends Omit<ReactSelectProps<Option, IsMulti>, 'theme'> {
theme?: Theme;
}
type SelectComponent = <
Option extends OptionTypeBase = OptionTypeBase,
IsMulti extends boolean = false
>(
props: ExternalSelectProps<Option, IsMulti>
) => ReactElement;
export default createThemedComponent(Select) as SelectComponent & {
theme?: Theme;
};

View File

@ -15,21 +15,9 @@ export interface TabsProps<P> {
}
export default class Tabs<P> extends Component<TabsProps<P>> {
constructor(props: TabsProps<P>) {
super(props);
this.updateTabs(props);
}
tabsHeader?: ReactButtonElement[];
SelectedComponent?: React.ComponentType<P>;
selector?: () => P;
UNSAFE_componentWillReceiveProps(nextProps: TabsProps<P>) {
if (nextProps.selected !== this.props.selected) {
this.updateTabs(nextProps);
}
}
onMouseUp: React.MouseEventHandler<HTMLButtonElement> = (e) => {
e.currentTarget.blur();
};
@ -38,11 +26,11 @@ export default class Tabs<P> extends Component<TabsProps<P>> {
this.props.onClick(e.currentTarget.value);
};
updateTabs(props: TabsProps<P>) {
const tabs = props.tabs;
const selected = props.selected;
renderTabs() {
const tabs = this.props.tabs;
const selected = this.props.selected;
this.tabsHeader = tabs.map((tab, i) => {
return tabs.map((tab, i) => {
let isSelected;
const value = typeof tab.value !== 'undefined' ? tab.value : tab.name;
if (value === selected) {
@ -69,7 +57,7 @@ export default class Tabs<P> extends Component<TabsProps<P>> {
render() {
const tabsHeader = (
<TabsHeader
tabs={this.tabsHeader!}
tabs={this.renderTabs()}
items={this.props.tabs}
main={this.props.main}
collapsible={this.props.collapsible}

View File

@ -24,14 +24,14 @@ describe('Select', function () {
onChange={() => {
// noop
}}
value="one"
menuMaxHeight={20}
clearable
disabled
value={options.filter((option) => option.value === 'one')}
maxMenuHeight={20}
isClearable
isDisabled
isLoading
multi
searchable={false}
openOuterUp
isMulti
isSearchable={false}
menuPlacement="top"
/>
);
expect(renderToJson(wrapper)).toMatchSnapshot();

View File

@ -2,7 +2,7 @@
exports[`Container renders correctly 1`] = `
<div
class="sc-AxjAm XFnbZ"
class="sc-AxjAm eccWTt"
>
Text
</div>

View File

@ -2,7 +2,7 @@
exports[`Select renders correctly 1`] = `
<div
class=" css-2b097c-container"
class=" css-butsr4-container"
>
<div
class=" css-vmgz7k-control"
@ -70,7 +70,7 @@ exports[`Select renders correctly 1`] = `
exports[`Select renders with props 1`] = `
<div
class=" css-2b097c-container"
class=" css-ie73ge-container"
>
<div
class=" css-vmgz7k-control"
@ -79,34 +79,39 @@ exports[`Select renders with props 1`] = `
class=" css-be27w2-ValueContainer"
>
<div
class=" css-1osw1h9-placeholder"
class="css-syqu13-multiValue"
>
Select...
<div
class="css-1lxn4sj"
>
One
</div>
<div
class="css-187dxxn-Input"
class="css-19nhond"
>
<div
class=""
style="display:inline-block"
<svg
aria-hidden="true"
class="css-6q0nyr-Svg"
focusable="false"
height="14"
viewBox="0 0 20 20"
width="14"
>
<path
d="M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
/>
</svg>
</div>
</div>
<input
aria-autocomplete="list"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class="css-62g3xt-dummyInput"
disabled=""
id="react-select-3-input"
spellcheck="false"
style="box-sizing:content-box;width:1px;label:input;background:0;border:0;font-size:inherit;opacity:1;outline:0;padding:0;color:inherit"
readonly=""
tabindex="0"
type="text"
value=""
/>
<div
style="position:absolute;top:0;left:0;visibility:hidden;height:0;overflow:scroll;white-space:pre"
/>
</div>
</div>
</div>
<div
class=" css-1hb7zxy-IndicatorsContainer"
@ -312,6 +317,12 @@ exports[`Select should select another option 1`] = `
},
]
}
styles={
Object {
"container": [Function],
"control": [Function],
}
}
theme={[Function]}
>
<Select
@ -368,7 +379,12 @@ exports[`Select should select another option 1`] = `
pageSize={5}
placeholder="Select..."
screenReaderStatus={[Function]}
styles={Object {}}
styles={
Object {
"container": [Function],
"control": [Function],
}
}
tabIndex="0"
tabSelectsValue={true}
theme={[Function]}
@ -460,7 +476,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -506,6 +525,7 @@ exports[`Select should select another option 1`] = `
Object {
"boxSizing": "border-box",
"direction": null,
"flexGrow": 1,
"label": "container",
"pointerEvents": null,
"position": "relative",
@ -514,7 +534,7 @@ exports[`Select should select another option 1`] = `
onKeyDown={[Function]}
>
<div
className=" css-2b097c-container"
className=" css-butsr4-container"
onKeyDown={[Function]}
>
<Control
@ -605,7 +625,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -758,7 +781,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -884,7 +910,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1112,7 +1141,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1247,7 +1279,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1393,7 +1428,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1585,7 +1623,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1715,7 +1756,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -1867,7 +1911,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -2023,7 +2070,10 @@ exports[`Select should select another option 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -2216,6 +2266,12 @@ exports[`Select shouldn't find any results 1`] = `
},
]
}
styles={
Object {
"container": [Function],
"control": [Function],
}
}
theme={[Function]}
>
<Select
@ -2272,7 +2328,12 @@ exports[`Select shouldn't find any results 1`] = `
pageSize={5}
placeholder="Select..."
screenReaderStatus={[Function]}
styles={Object {}}
styles={
Object {
"container": [Function],
"control": [Function],
}
}
tabIndex="0"
tabSelectsValue={true}
theme={[Function]}
@ -2364,7 +2425,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -2410,6 +2474,7 @@ exports[`Select shouldn't find any results 1`] = `
Object {
"boxSizing": "border-box",
"direction": null,
"flexGrow": 1,
"label": "container",
"pointerEvents": null,
"position": "relative",
@ -2418,7 +2483,7 @@ exports[`Select shouldn't find any results 1`] = `
onKeyDown={[Function]}
>
<div
className=" css-2b097c-container"
className=" css-butsr4-container"
onKeyDown={[Function]}
>
<Control
@ -2509,7 +2574,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -2662,7 +2730,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -2788,7 +2859,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3016,7 +3090,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3151,7 +3228,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3297,7 +3377,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3489,7 +3572,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3619,7 +3705,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3771,7 +3860,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],
@ -3906,7 +3998,10 @@ exports[`Select shouldn't find any results 1`] = `
"pageSize": 5,
"placeholder": "Select...",
"screenReaderStatus": [Function],
"styles": Object {},
"styles": Object {
"container": [Function],
"control": [Function],
},
"tabIndex": "0",
"tabSelectsValue": true,
"theme": [Function],

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.5.0](https://github.com/reduxjs/redux-devtools/compare/map2tree@1.4.2...map2tree@1.5.0) (2021-03-06)
### Features
- **d3-state-visualizer:** convert to TypeScript ([#640](https://github.com/reduxjs/redux-devtools/issues/640)) ([0c78a5a](https://github.com/reduxjs/redux-devtools/commit/0c78a5a9a76ee7eff37dcd8e39272d98c03e0869))
- **d3tooltip:** convert to TypeScript ([#639](https://github.com/reduxjs/redux-devtools/issues/639)) ([3b580da](https://github.com/reduxjs/redux-devtools/commit/3b580dad4cb36abc395f9be139b2c3f94e872d87))
- **map2tree:** convert to TypeScript ([#638](https://github.com/reduxjs/redux-devtools/issues/638)) ([3b027f4](https://github.com/reduxjs/redux-devtools/commit/3b027f400e0e326596eedc2ee17ab45a8383080d))
## 1.4.2 (2020-08-14)
### Bug Fixes

View File

@ -1,6 +1,6 @@
{
"name": "map2tree",
"version": "1.4.2",
"version": "1.5.0",
"description": "Utility for mapping maps to trees",
"keywords": [
"map2tree",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.4.0](https://github.com/reduxjs/redux-devtools/compare/react-dock@0.3.0...react-dock@0.4.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 0.3.0 (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "react-dock",
"version": "0.3.0",
"version": "0.4.0",
"description": "Resizable dockable react component",
"keywords": [
"react",
@ -60,7 +60,7 @@
"styled-components": "^5.1.1"
},
"peerDependencies": {
"@types/react": "^16.3.18",
"react": "^16.3.0"
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0"
}
}

View File

@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.15.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.14.0...react-json-tree@0.15.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# [0.14.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.13.0...react-json-tree@0.14.0) (2021-03-06)
### Bug Fixes
- **react-json-tree:** remove isRequired from `data` prop type ([#685](https://github.com/reduxjs/redux-devtools/issues/685)) ([d76d6c6](https://github.com/reduxjs/redux-devtools/commit/d76d6c678d3b3b304cf53c1b4b1b329e8962f7b0))
### Features
- **react-json-tree:** Add keyPath to getItemString ([#694](https://github.com/reduxjs/redux-devtools/issues/694)) ([85b4b0f](https://github.com/reduxjs/redux-devtools/commit/85b4b0fb04b1d6d95054d5073fa17fa61efc0df3))
# [0.13.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree@0.12.1...react-json-tree@0.13.0) (2020-09-07)
### Bug Fixes

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.2](https://github.com/reduxjs/redux-devtools/compare/react-json-tree-example@1.1.1...react-json-tree-example@1.1.2) (2021-03-06)
**Note:** Version bump only for package react-json-tree-example
## [1.1.1](https://github.com/reduxjs/redux-devtools/compare/react-json-tree-example@1.1.0...react-json-tree-example@1.1.1) (2021-03-06)
**Note:** Version bump only for package react-json-tree-example
# [1.1.0](https://github.com/reduxjs/redux-devtools/compare/react-json-tree-example@1.0.1...react-json-tree-example@1.1.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "react-json-tree-example",
"version": "1.1.0",
"version": "1.1.2",
"description": "React-Json-Tree example",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/react-json-tree/examples",
"bugs": {
@ -24,7 +24,7 @@
"react": "^16.13.1",
"react-base16-styling": "^0.8.0",
"react-dom": "^16.13.1",
"react-json-tree": "^0.13.0"
"react-json-tree": "^0.15.0"
},
"devDependencies": {
"@types/react": "^16.9.46",

View File

@ -1,6 +1,6 @@
{
"name": "react-json-tree",
"version": "0.13.0",
"version": "0.15.0",
"description": "React JSON Viewer Component, Extracted from redux-devtools",
"keywords": [
"react",
@ -57,7 +57,7 @@
"react-test-renderer": "^16.13.1"
},
"peerDependencies": {
"@types/react": "^16.3.18",
"react": "^16.3.0"
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0"
}
}

View File

@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-8](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/app@1.0.0-7...@redux-devtools/app@1.0.0-8) (2021-06-11)
### Bug Fixes
- **app:** fix dependency version of inspector ([#732](https://github.com/reduxjs/redux-devtools/issues/732)) ([30c6971](https://github.com/reduxjs/redux-devtools/commit/30c6971d379c53ec1343a20240b73705751f7445))
# [1.0.0-7](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/app@1.0.0-6...@redux-devtools/app@1.0.0-7) (2021-06-11)
### Bug Fixes
- fix Select types and usages ([#724](https://github.com/reduxjs/redux-devtools/issues/724)) ([07e409d](https://github.com/reduxjs/redux-devtools/commit/07e409de6a1c3d362929d854542df0c1d74ce18e))
- **app:** remove unimplemented reports tab ([#731](https://github.com/reduxjs/redux-devtools/issues/731)) ([c4a8fa2](https://github.com/reduxjs/redux-devtools/commit/c4a8fa286cfe3f30133c2f948164001bd2a618ac))
# [1.0.0-6](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/app@1.0.0-5...@redux-devtools/app@1.0.0-6) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 1.0.0-5 (2021-03-06)
**Note:** Version bump only for package @redux-devtools/app
# [1.0.0-4](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-core@1.0.0-3...redux-devtools-core@1.0.0-4) (2020-09-07)
### Bug Fixes

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/app",
"version": "1.0.0-4",
"version": "1.0.0-8",
"description": "Redux DevTools app",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-app",
"bugs": {
@ -37,15 +37,15 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@redux-devtools/chart-monitor": "^1.7.2",
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/inspector-monitor": "^0.14.0",
"@redux-devtools/inspector-monitor-test-tab": "^0.6.2",
"@redux-devtools/inspector-monitor-trace-tab": "^0.1.3",
"@redux-devtools/log-monitor": "^2.1.0",
"@redux-devtools/slider-monitor": "^2.0.0-5",
"d3-state-visualizer": "^1.3.4",
"devui": "^1.0.0-6",
"@redux-devtools/chart-monitor": "^1.9.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/inspector-monitor": "^1.0.0",
"@redux-devtools/inspector-monitor-test-tab": "^0.7.2",
"@redux-devtools/inspector-monitor-trace-tab": "^0.2.2",
"@redux-devtools/log-monitor": "^2.3.0",
"@redux-devtools/slider-monitor": "^2.0.0-8",
"d3-state-visualizer": "^1.4.0",
"devui": "^1.0.0-9",
"javascript-stringify": "^2.0.1",
"jsan": "^3.1.13",
"jsondiffpatch": "^0.4.1",
@ -61,34 +61,16 @@
"styled-components": "^5.1.1"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@rjsf/core": "^2.4.0",
"@types/json-schema": "^7.0.6",
"@types/socketcluster-client": "^13.0.3",
"babel-loader": "^8.1.0",
"css-loader": "^4.2.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"enzyme-to-json": "^3.5.0",
"file-loader": "^6.0.0",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.3.0",
"jest": "^26.2.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rimraf": "^3.0.2",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-hot-middleware": "^2.25.0"
"react-dom": "^16.13.1"
},
"peerDependencies": {
"react": "^16.3.0"
"react": "^16.3.0 || ^17.0.0"
}
}

View File

@ -7,7 +7,7 @@ import { TiSocialTwitter } from 'react-icons/ti';
import { TiHeartFullOutline } from 'react-icons/ti';
import { changeSection } from '../actions';
const tabs = [{ name: 'Actions' }, { name: 'Reports' }, { name: 'Settings' }];
const tabs = [{ name: 'Actions' }, { name: 'Settings' }];
type DispatchProps = ResolveThunks<typeof actionCreators>;
interface OwnProps {

View File

@ -23,9 +23,10 @@ class InstanceSelector extends Component<Props> {
return (
<Select
options={this.select}
// TODO Where's the type-checking?
onChange={this.props.onSelect}
value={this.props.selected || ''}
onChange={(option) => this.props.onSelect(option!.value)}
value={this.select.find(
(option) => option.value === this.props.selected
)}
/>
);
}

View File

@ -182,9 +182,10 @@ class Dispatcher extends Component<Props, State> {
);
}
let options: { value: string | number; label: string }[] = [
{ value: 'default', label: 'Custom action' },
];
let options: {
value: 'default' | 'actions-help' | number;
label: string;
}[] = [{ value: 'default', label: 'Custom action' }];
if (actionCreators && actionCreators.length > 0) {
options = options.concat(
actionCreators.map(({ name, args }, i) => ({
@ -204,9 +205,12 @@ class Dispatcher extends Component<Props, State> {
{actionElement}
<Toolbar>
<Select
openOuterUp
onChange={this.selectActionCreator}
value={this.state.selected || 'default'}
menuPlacement="top"
onChange={(option) => this.selectActionCreator(option!.value)}
value={
options.find((option) => option.value === this.state.selected) ||
options.find((option) => option.value === 'default')
}
options={options}
/>
<Button onClick={this.dispatchAction} primary={this.state.changed}>

View File

@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.9.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/chart-monitor@1.8.0...@redux-devtools/chart-monitor@1.9.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 1.8.0 (2021-03-06)
### Features
- **redux-devtools-chart-monitor:** convert to TypeScript ([#642](https://github.com/reduxjs/redux-devtools/issues/642)) ([761baba](https://github.com/reduxjs/redux-devtools/commit/761baba0aa0f4dc672f8771f4b12bed3863557f7))
## [1.7.2](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-chart-monitor@1.7.1...redux-devtools-chart-monitor@1.7.2) (2020-09-07)
**Note:** Version bump only for package redux-devtools-chart-monitor

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/chart-monitor",
"version": "1.7.2",
"version": "1.9.0",
"description": "Chart monitor for Redux DevTools",
"keywords": [
"redux",
@ -40,21 +40,21 @@
"dependencies": {
"@types/prop-types": "^15.7.3",
"@types/redux-devtools-themes": "^1.0.0",
"d3-state-visualizer": "^1.3.4",
"d3-state-visualizer": "^1.4.0",
"deepmerge": "^4.2.2",
"prop-types": "^15.7.2",
"redux-devtools-themes": "^1.0.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/core": "^3.9.0",
"@types/react": "^16.9.46",
"react": "^16.13.1",
"redux": "^4.0.5"
},
"peerDependencies": {
"@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-9](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/cli@1.0.0-8...@redux-devtools/cli@1.0.0-9) (2021-06-11)
**Note:** Version bump only for package @redux-devtools/cli
# [1.0.0-8](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/cli@1.0.0-7...@redux-devtools/cli@1.0.0-8) (2021-06-11)
### Bug Fixes
- **cli:** fix starting Electron app ([#729](https://github.com/reduxjs/redux-devtools/issues/729)) ([457a201](https://github.com/reduxjs/redux-devtools/commit/457a201232d96a5c28dbaf3f8a42259a35b2b364))
# [1.0.0-7](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/cli@1.0.0-6...@redux-devtools/cli@1.0.0-7) (2021-04-06)
### Bug Fixes
- **cli:** include dist directory in publish ([#707](https://github.com/reduxjs/redux-devtools/issues/707)) ([95c8c55](https://github.com/reduxjs/redux-devtools/commit/95c8c5520d7ad4d087edcbda2ab500436feffc4a))
# [1.0.0-6](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/cli@1.0.0-5...@redux-devtools/cli@1.0.0-6) (2021-03-06)
**Note:** Version bump only for package @redux-devtools/cli
# 1.0.0-5 (2021-03-06)
### Bug Fixes
- **cli:** resolve dependency issues ([#666](https://github.com/reduxjs/redux-devtools/issues/666)) ([e39e439](https://github.com/reduxjs/redux-devtools/commit/e39e43968b445ecbdcdab515050c5338cadabbe6))
- **redux-devtools-cli:** forward port to spawned electron ([#564](https://github.com/reduxjs/redux-devtools/issues/564)) ([a1c2f06](https://github.com/reduxjs/redux-devtools/commit/a1c2f068b53ad205d448baa86003c3313f7ab2d1))
# [1.0.0-4](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-cli@1.0.0-3...redux-devtools-cli@1.0.0-4) (2020-09-07)
**Note:** Version bump only for package redux-devtools-cli

View File

@ -3,48 +3,23 @@
const { app, BrowserWindow } = require('electron');
const argv = require('minimist')(process.argv.slice(2));
let mainWindow;
function createWindow() {
mainWindow = new BrowserWindow({
const mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
sandbox: true,
webSecurity: true,
},
});
// mainWindow.loadFile('index.html')
mainWindow.loadURL('http://localhost:' + (argv.port ? argv.port : 8000));
// Open the DevTools.
// mainWindow.webContents.openDevTools()
mainWindow.on('closed', function () {
// Dereference the window object, usually you would store windows
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
mainWindow = null;
});
}
app.on('ready', createWindow);
app.on('window-all-closed', function () {
// On macOS it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q
if (process.platform !== 'darwin') {
app.quit();
}
});
app.whenReady().then(() => {
createWindow();
app.on('activate', function () {
// On macOS it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.
if (mainWindow === null) {
createWindow();
}
if (BrowserWindow.getAllWindows().length === 0) createWindow();
});
});
app.on('window-all-closed', function () {
if (process.platform !== 'darwin') app.quit();
});

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/cli",
"version": "1.0.0-4",
"version": "1.0.0-9",
"description": "CLI for remote debugging with Redux DevTools.",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli",
"bugs": {
@ -10,6 +10,7 @@
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
"files": [
"bin",
"dist",
"src",
"app",
"index.js",
@ -41,7 +42,7 @@
"node": ">=10.0.0"
},
"dependencies": {
"@redux-devtools/app": "^1.0.0-4",
"@redux-devtools/app": "^1.0.0-8",
"@types/react": "^16.9.46",
"apollo-server": "^2.18.2",
"apollo-server-express": "^2.18.2",
@ -49,7 +50,7 @@
"chalk": "^4.1.0",
"cors": "^2.8.5",
"cross-spawn": "^7.0.3",
"electron": "^9.2.0",
"electron": "^13.1.1",
"express": "^4.17.1",
"getport": "^0.1.0",
"graphql": "^14.7.0",

View File

@ -9,7 +9,7 @@ export default function openApp(app: boolean | string, options: Options) {
const port = options.port ? `--port=${options.port}` : '';
// eslint-disable-next-line @typescript-eslint/no-var-requires
spawn.sync(require('electron'), [
path.join(__dirname, '..', 'app'),
path.join(__dirname, '..', '..', 'app'),
port,
]);
} catch (error) {

View File

@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.4.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/dock-monitor@1.3.0...@redux-devtools/dock-monitor@1.4.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 1.3.0 (2021-03-06)
### Features
- **redux-devtools:** convert counter example to TypeScript ([#616](https://github.com/reduxjs/redux-devtools/issues/616)) ([f1e3f4f](https://github.com/reduxjs/redux-devtools/commit/f1e3f4f8340dea288de5229006acf9dc1ef1cccf))
- **redux-devtools-dock-monitor:** convert to TypeScript ([#609](https://github.com/reduxjs/redux-devtools/issues/609)) ([b4ec7f8](https://github.com/reduxjs/redux-devtools/commit/b4ec7f86fc165683bd1e8b5ffc3f0690f670642c))
- **redux-devtools-serialize:** convert to TypeScript ([#621](https://github.com/reduxjs/redux-devtools/issues/621)) ([d586f19](https://github.com/reduxjs/redux-devtools/commit/d586f1955a3648883107f8c981ee17eeb4c013a3))
# [1.2.0](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-dock-monitor@1.1.4...redux-devtools-dock-monitor@1.2.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/dock-monitor",
"version": "1.2.0",
"version": "1.4.0",
"description": "A resizable and movable dock for Redux DevTools monitors",
"keywords": [
"redux",
@ -43,10 +43,10 @@
"@types/prop-types": "^15.7.3",
"parse-key": "^0.2.1",
"prop-types": "^15.7.2",
"react-dock": "^0.3.0"
"react-dock": "^0.4.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/core": "^3.9.0",
"@types/parse-key": "^0.2.0",
"@types/react": "^16.9.46",
"react": "^16.13.1",
@ -54,8 +54,8 @@
},
"peerDependencies": {
"@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -0,0 +1,8 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2.13.9 (2021-03-06)
**Note:** Version bump only for package redux-devtools-extension

View File

@ -1,6 +1,6 @@
{
"name": "redux-devtools-extension",
"version": "2.13.8",
"version": "2.13.9",
"description": "Wrappers for Redux DevTools Extension.",
"main": "index.js",
"repository": {

View File

@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.7.2](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-test-tab@0.7.1...@redux-devtools/inspector-monitor-test-tab@0.7.2) (2021-06-11)
### Bug Fixes
- **app:** fix dependency version of inspector ([#732](https://github.com/reduxjs/redux-devtools/issues/732)) ([30c6971](https://github.com/reduxjs/redux-devtools/commit/30c6971d379c53ec1343a20240b73705751f7445))
## [0.7.1](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-test-tab@0.7.0...@redux-devtools/inspector-monitor-test-tab@0.7.1) (2021-06-11)
### Bug Fixes
- fix peer dependencies on inpsector monitor ([#730](https://github.com/reduxjs/redux-devtools/issues/730)) ([0291f5c](https://github.com/reduxjs/redux-devtools/commit/0291f5c95e4340a3b5e30a3efe76a1a1a2bb7f5e))
- fix Select types and usages ([#724](https://github.com/reduxjs/redux-devtools/issues/724)) ([07e409d](https://github.com/reduxjs/redux-devtools/commit/07e409de6a1c3d362929d854542df0c1d74ce18e))
# [0.7.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-test-tab@0.6.3...@redux-devtools/inspector-monitor-test-tab@0.7.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
## 0.6.3 (2021-03-06)
**Note:** Version bump only for package @redux-devtools/inspector-monitor-test-tab
## [0.6.2](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-test-generator@0.6.1...redux-devtools-test-generator@0.6.2) (2020-09-07)
**Note:** Version bump only for package redux-devtools-test-generator

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/inspector-monitor-test-tab",
"version": "0.6.2",
"version": "0.7.2",
"description": "Generate tests for redux devtools.",
"keywords": [
"redux",
@ -44,7 +44,7 @@
},
"dependencies": {
"@types/prop-types": "^15.7.3",
"devui": "^1.0.0-6",
"devui": "^1.0.0-9",
"es6template": "^1.0.5",
"javascript-stringify": "^2.0.1",
"jsan": "^3.1.13",
@ -54,9 +54,9 @@
"simple-diff": "^1.6.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/dock-monitor": "^1.2.0",
"@redux-devtools/inspector-monitor": "^0.14.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/dock-monitor": "^1.4.0",
"@redux-devtools/inspector-monitor": "^1.0.0",
"@types/es6template": "^1.0.0",
"@types/history": "^4.7.7",
"@types/jsan": "^3.1.0",
@ -83,9 +83,9 @@
"seamless-immutable": "^7.1.4"
},
"peerDependencies": {
"@redux-devtools/inspector-monitor": "^0.14.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@redux-devtools/inspector-monitor": "^1.0.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -52,9 +52,9 @@ export default class TestTab<S, A extends Action<unknown>> extends Component<
(this.props.monitorState as { testGenerator?: TestGeneratorMonitorState })
.testGenerator || {};
handleSelectTemplate = (selectedTemplate: Template) => {
handleSelectTemplate = (selectedTemplate: Template | null | undefined) => {
const { templates = getDefaultTemplates() } = this.getPersistedState();
this.updateState({ selected: templates.indexOf(selectedTemplate) });
this.updateState({ selected: templates.indexOf(selectedTemplate!) });
};
handleCloseTip = () => {
@ -133,9 +133,9 @@ export default class TestTab<S, A extends Action<unknown>> extends Component<
<div style={{ flexGrow: 1, zIndex: 100 }}>
<Select
options={templates}
getOptionValue={(template: Template) => template.name}
getOptionLabel={(template: Template) => template.name}
value={templates.filter((template) => template.name === name)}
getOptionValue={(template: Template) => template.name!}
getOptionLabel={(template: Template) => template.name!}
value={templates.find((template) => template.name === name)}
onChange={this.handleSelectTemplate}
/>
</div>

View File

@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-trace-tab@0.2.1...@redux-devtools/inspector-monitor-trace-tab@0.2.2) (2021-06-11)
### Bug Fixes
- **app:** fix dependency version of inspector ([#732](https://github.com/reduxjs/redux-devtools/issues/732)) ([30c6971](https://github.com/reduxjs/redux-devtools/commit/30c6971d379c53ec1343a20240b73705751f7445))
## [0.2.1](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-trace-tab@0.2.0...@redux-devtools/inspector-monitor-trace-tab@0.2.1) (2021-06-11)
### Bug Fixes
- fix peer dependencies on inpsector monitor ([#730](https://github.com/reduxjs/redux-devtools/issues/730)) ([0291f5c](https://github.com/reduxjs/redux-devtools/commit/0291f5c95e4340a3b5e30a3efe76a1a1a2bb7f5e))
# [0.2.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor-trace-tab@0.1.4...@redux-devtools/inspector-monitor-trace-tab@0.2.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
## 0.1.4 (2021-03-06)
**Note:** Version bump only for package @redux-devtools/inspector-monitor-trace-tab
## [0.1.3](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-trace-monitor@0.1.2...redux-devtools-trace-monitor@0.1.3) (2020-09-07)
**Note:** Version bump only for package redux-devtools-trace-monitor

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/inspector-monitor-trace-tab",
"version": "0.1.3",
"version": "0.2.2",
"description": "Submonitor for Redux DevTools inspector to show stack traces.",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-inspector-monitor-trace-tab",
"license": "MIT",
@ -36,8 +36,8 @@
"settle-promise": "^1.0.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/inspector-monitor": "^0.14.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/inspector-monitor": "^1.0.0",
"@types/babel__code-frame": "^7.0.2",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
@ -53,9 +53,9 @@
"redux": "^4.0.5"
},
"peerDependencies": {
"@redux-devtools/inspector-monitor": "^0.14.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@redux-devtools/inspector-monitor": "^1.0.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor@0.15.0...@redux-devtools/inspector-monitor@1.0.0) (2021-06-11)
### Bug Fixes
- **inspector:** fix z-index of tabs ([#723](https://github.com/reduxjs/redux-devtools/issues/723)) ([e747783](https://github.com/reduxjs/redux-devtools/commit/e7477833f05ab0ff8f947a48d97eb3ed87ccb70b))
- **inspector:** move immutable back to dependencies ([#725](https://github.com/reduxjs/redux-devtools/issues/725)) ([fcd73ab](https://github.com/reduxjs/redux-devtools/commit/fcd73ab043062bd3c191fd814f3d912bea6fc675))
# [0.15.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/inspector-monitor@0.14.1...@redux-devtools/inspector-monitor@0.15.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
## 0.14.1 (2021-03-06)
**Note:** Version bump only for package @redux-devtools/inspector-monitor
# [0.14.0](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-inspector@0.13.1...redux-devtools-inspector@0.14.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/inspector-monitor",
"version": "0.14.0",
"version": "1.0.0",
"description": "Redux DevTools Diff Monitor",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-inspector-monitor",
"bugs": {
@ -41,6 +41,7 @@
"@types/prop-types": "^15.7.3",
"dateformat": "^3.0.3",
"hex-rgba": "^1.0.2",
"immutable": "^4.0.0-rc.12",
"javascript-stringify": "^2.0.1",
"jsondiffpatch": "^0.4.1",
"jss": "^10.3.0",
@ -49,12 +50,12 @@
"prop-types": "^15.7.2",
"react-base16-styling": "^0.8.0",
"react-dragula": "^1.1.17",
"react-json-tree": "^0.13.0",
"react-json-tree": "^0.15.0",
"redux-devtools-themes": "^1.0.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/dock-monitor": "^1.2.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/dock-monitor": "^1.4.0",
"@types/dateformat": "^3.0.1",
"@types/hex-rgba": "^1.0.0",
"@types/history": "^4.7.7",
@ -66,7 +67,6 @@
"base16": "^1.0.0",
"connected-react-router": "^6.8.0",
"history": "^4.10.1",
"immutable": "^4.0.0-rc.12",
"lodash.shuffle": "^4.2.0",
"react": "^16.13.1",
"react-bootstrap": "^1.3.0",
@ -79,8 +79,8 @@
},
"peerDependencies": {
"@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -289,7 +289,6 @@ const getSheetFromColorMap = (map: ColorMap) => ({
tabSelector: {
position: 'relative',
'z-index': 1,
display: 'inline-flex',
float: 'right',
},

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.11.0 (2021-03-06)
### Features
- **instrument:** use latest symbol-observable (compatibility with frozen Symbol) ([#660](https://github.com/reduxjs/redux-devtools/issues/660)) ([4d73c3f](https://github.com/reduxjs/redux-devtools/commit/4d73c3f98cb9e3308a1e888213ca4faaec9f1b5e))
- **redux-devtools-instrument:** export type PerformAction ([#614](https://github.com/reduxjs/redux-devtools/issues/614)) ([9e59cfd](https://github.com/reduxjs/redux-devtools/commit/9e59cfdc7d1d0595f0718feaebc0a9bf814b0b63))
- **redux-devtools-serialize:** convert to TypeScript ([#621](https://github.com/reduxjs/redux-devtools/issues/621)) ([d586f19](https://github.com/reduxjs/redux-devtools/commit/d586f1955a3648883107f8c981ee17eeb4c013a3))
# [1.10.0](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-instrument@1.9.7...redux-devtools-instrument@1.10.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/instrument",
"version": "1.10.0",
"version": "1.11.0",
"description": "Redux DevTools instrumentation",
"keywords": [
"redux",

View File

@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.3.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/log-monitor@2.2.0...@redux-devtools/log-monitor@2.3.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 2.2.0 (2021-03-06)
### Bug Fixes
- **cli:** resolve dependency issues ([#666](https://github.com/reduxjs/redux-devtools/issues/666)) ([e39e439](https://github.com/reduxjs/redux-devtools/commit/e39e43968b445ecbdcdab515050c5338cadabbe6))
- **redux-devtools-log-monitor:** update react-json-tree dependency ([#533](https://github.com/reduxjs/redux-devtools/issues/533)) ([5f00930](https://github.com/reduxjs/redux-devtools/commit/5f00930eef78de97aa4a477d054801f93add6070))
### Features
- **d3-state-visualizer:** convert to TypeScript ([#640](https://github.com/reduxjs/redux-devtools/issues/640)) ([0c78a5a](https://github.com/reduxjs/redux-devtools/commit/0c78a5a9a76ee7eff37dcd8e39272d98c03e0869))
- **redux-devtools:** convert counter example to TypeScript ([#616](https://github.com/reduxjs/redux-devtools/issues/616)) ([f1e3f4f](https://github.com/reduxjs/redux-devtools/commit/f1e3f4f8340dea288de5229006acf9dc1ef1cccf))
- **redux-devtools-log-monitor:** convert to TypeScript ([#613](https://github.com/reduxjs/redux-devtools/issues/613)) ([2faa163](https://github.com/reduxjs/redux-devtools/commit/2faa16319b59ece946757af7630ca4ab1264f1f5))
- **redux-devtools-serialize:** convert to TypeScript ([#621](https://github.com/reduxjs/redux-devtools/issues/621)) ([d586f19](https://github.com/reduxjs/redux-devtools/commit/d586f1955a3648883107f8c981ee17eeb4c013a3))
- **redux-devtools-slider-monitor:** convert to TypeScript ([#631](https://github.com/reduxjs/redux-devtools/issues/631)) ([8991732](https://github.com/reduxjs/redux-devtools/commit/89917320e5ecf33dc3625b05daa1e9fe120a783d))
# [2.1.0](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-log-monitor@2.0.1...redux-devtools-log-monitor@2.1.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/log-monitor",
"version": "2.1.0",
"version": "2.3.0",
"description": "The default tree view monitor for Redux DevTools",
"keywords": [
"redux",
@ -45,19 +45,19 @@
"@types/redux-devtools-themes": "^1.0.0",
"lodash.debounce": "^4.0.8",
"prop-types": "^15.7.2",
"react-json-tree": "^0.13.0",
"react-json-tree": "^0.15.0",
"redux-devtools-themes": "^1.0.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/core": "^3.9.0",
"@types/react": "^16.9.46",
"react": "^16.13.1",
"redux": "^4.0.5"
},
"peerDependencies": {
"@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 0.3.0 (2021-03-06)
### Features
- **redux-devtools-serialize:** convert to TypeScript ([#621](https://github.com/reduxjs/redux-devtools/issues/621)) ([d586f19](https://github.com/reduxjs/redux-devtools/commit/d586f1955a3648883107f8c981ee17eeb4c013a3))
# 0.2.0 (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/serialize",
"version": "0.2.0",
"version": "0.3.0",
"description": "Serialize unserializable data and parse it back.",
"keywords": [
"redux",

View File

@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-8](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/slider-monitor@2.0.0-7...@redux-devtools/slider-monitor@2.0.0-8) (2021-06-11)
**Note:** Version bump only for package @redux-devtools/slider-monitor
# [2.0.0-7](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/slider-monitor@2.0.0-6...@redux-devtools/slider-monitor@2.0.0-7) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 2.0.0-6 (2021-03-06)
### Features
- **redux-devtools-slider-monitor:** convert example to TypeScript ([#632](https://github.com/reduxjs/redux-devtools/issues/632)) ([ec75d3a](https://github.com/reduxjs/redux-devtools/commit/ec75d3a4b62d0f4b8d52a739a7727142421cc261))
- **redux-devtools-slider-monitor:** convert to TypeScript ([#631](https://github.com/reduxjs/redux-devtools/issues/631)) ([8991732](https://github.com/reduxjs/redux-devtools/commit/89917320e5ecf33dc3625b05daa1e9fe120a783d))
# [2.0.0-5](https://github.com/reduxjs/redux-devtools/compare/redux-devtools-slider-monitor@2.0.0-4...redux-devtools-slider-monitor@2.0.0-5) (2020-09-07)
**Note:** Version bump only for package redux-devtools-slider-monitor

View File

@ -3,6 +3,21 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.1.2](https://github.com/reduxjs/redux-devtools/compare/slider-todomvc@0.1.1...slider-todomvc@0.1.2) (2021-06-11)
**Note:** Version bump only for package slider-todomvc
## [0.1.1](https://github.com/reduxjs/redux-devtools/compare/slider-todomvc@0.1.0...slider-todomvc@0.1.1) (2021-03-06)
**Note:** Version bump only for package slider-todomvc
# [0.1.0](https://github.com/reduxjs/redux-devtools/compare/slider-todomvc@0.0.2...slider-todomvc@0.1.0) (2021-03-06)
### Features
- **redux-devtools-slider-monitor:** convert example to TypeScript ([#632](https://github.com/reduxjs/redux-devtools/issues/632)) ([ec75d3a](https://github.com/reduxjs/redux-devtools/commit/ec75d3a4b62d0f4b8d52a739a7727142421cc261))
- **redux-devtools-slider-monitor:** convert to TypeScript ([#631](https://github.com/reduxjs/redux-devtools/issues/631)) ([8991732](https://github.com/reduxjs/redux-devtools/commit/89917320e5ecf33dc3625b05daa1e9fe120a783d))
## [0.0.2](https://github.com/calesce/redux-slider-monitor/compare/slider-todomvc@0.0.1...slider-todomvc@0.0.2) (2020-09-07)
**Note:** Version bump only for package slider-todomvc

View File

@ -1,6 +1,6 @@
{
"name": "slider-todomvc",
"version": "0.0.2",
"version": "0.1.2",
"description": "TodoMVC example for redux",
"license": "MIT",
"repository": {
@ -15,10 +15,10 @@
"type-check:watch": "npm run type-check -- --watch"
},
"dependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/dock-monitor": "^1.2.0",
"@redux-devtools/log-monitor": "^2.1.0",
"@redux-devtools/slider-monitor": "^2.0.0-5",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/dock-monitor": "^1.4.0",
"@redux-devtools/log-monitor": "^2.3.0",
"@redux-devtools/slider-monitor": "^2.0.0-8",
"classnames": "^2.2.6",
"react": "^16.13.1",
"react-dom": "^16.13.1",

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/slider-monitor",
"version": "2.0.0-5",
"version": "2.0.0-8",
"description": "A custom monitor for replaying Redux actions that works similarly to a video player",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-slider-monitor",
"bugs": {
@ -33,20 +33,20 @@
"dependencies": {
"@types/prop-types": "^15.7.3",
"@types/redux-devtools-themes": "^1.0.0",
"devui": "^1.0.0-6",
"devui": "^1.0.0-9",
"prop-types": "^15.7.2",
"redux-devtools-themes": "^1.0.0"
},
"devDependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/core": "^3.9.0",
"@types/react": "^16.9.46",
"react": "^16.13.1",
"redux": "^4.0.5"
},
"peerDependencies": {
"@redux-devtools/core": "^3.7.0",
"@types/react": "^16.3.18",
"react": "^16.3.0",
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0",
"redux": "^3.4.0 || ^4.0.0"
}
}

View File

@ -0,0 +1,12 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-6](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/utils@1.0.0-5...@redux-devtools/utils@1.0.0-6) (2021-03-06)
**Note:** Version bump only for package @redux-devtools/utils
# 1.0.0-5 (2021-03-06)
**Note:** Version bump only for package @redux-devtools/utils

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/utils",
"version": "1.0.0-4",
"version": "1.0.0-6",
"description": "Reusable functions of Redux DevTools",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-utils",
"bugs": {
@ -32,8 +32,8 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/serialize": "^0.2.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/serialize": "^0.3.0",
"get-params": "^0.1.2",
"immutable": "^4.0.0-rc.12",
"jsan": "^3.1.13",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.9.0](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/core@3.8.0...@redux-devtools/core@3.9.0) (2021-03-06)
### Features
- update peer dependencies to allow react@^17 ([#703](https://github.com/reduxjs/redux-devtools/issues/703)) ([2aaa9c1](https://github.com/reduxjs/redux-devtools/commit/2aaa9c10a383e3a7ab20b3ab14639781fd7bb2eb))
# 3.8.0 (2021-03-06)
### Bug Fixes
- **redux-devtools:** type MonitorState should extend LiftedState ([#612](https://github.com/reduxjs/redux-devtools/issues/612)) ([47af8c9](https://github.com/reduxjs/redux-devtools/commit/47af8c98ce87fa115d093e2c578a0cd48c058792))
### Features
- **redux-devtools:** add more exported types ([#611](https://github.com/reduxjs/redux-devtools/issues/611)) ([0f51992](https://github.com/reduxjs/redux-devtools/commit/0f51992b0bac12c1334966e8f99a66681bdae8d6))
- **redux-devtools:** convert counter example to TypeScript ([#616](https://github.com/reduxjs/redux-devtools/issues/616)) ([f1e3f4f](https://github.com/reduxjs/redux-devtools/commit/f1e3f4f8340dea288de5229006acf9dc1ef1cccf))
- **redux-devtools:** convert todomvc example to TypeScript ([#618](https://github.com/reduxjs/redux-devtools/issues/618)) ([37191e4](https://github.com/reduxjs/redux-devtools/commit/37191e46e600cd9ac2839f0687efb347fc4ef7c1))
- **redux-devtools:** export more types ([#615](https://github.com/reduxjs/redux-devtools/issues/615)) ([c154405](https://github.com/reduxjs/redux-devtools/commit/c154405c6c2448743040d0d7cfa9e8463b647a14))
- **redux-devtools-slider-monitor:** convert example to TypeScript ([#632](https://github.com/reduxjs/redux-devtools/issues/632)) ([ec75d3a](https://github.com/reduxjs/redux-devtools/commit/ec75d3a4b62d0f4b8d52a739a7727142421cc261))
# 3.6.0 (2020-07-28)
# 3.5.0 (2018-12-21)
# [3.7.0](https://github.com/reduxjs/redux-devtools/compare/redux-devtools@3.6.1...redux-devtools@3.7.0) (2020-09-07)
### Bug Fixes

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.1.2](https://github.com/reduxjs/redux-devtools/compare/counter-redux@0.1.1...counter-redux@0.1.2) (2021-03-06)
**Note:** Version bump only for package counter-redux
## [0.1.1](https://github.com/reduxjs/redux-devtools/compare/counter-redux@0.1.0...counter-redux@0.1.1) (2021-03-06)
**Note:** Version bump only for package counter-redux
# [0.1.0](https://github.com/reduxjs/redux-devtools/compare/counter-redux@0.0.1...counter-redux@0.1.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "counter-redux",
"version": "0.1.0",
"version": "0.1.2",
"description": "Counter example for redux",
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools/examples/counter",
"bugs": {
@ -19,9 +19,9 @@
"type-check:watch": "npm run type-check -- --watch"
},
"dependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/dock-monitor": "^1.2.0",
"@redux-devtools/log-monitor": "^2.1.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/dock-monitor": "^1.4.0",
"@redux-devtools/log-monitor": "^2.3.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",

View File

@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/reduxjs/redux-devtools/compare/todomvc@0.2.0...todomvc@0.2.1) (2021-03-06)
**Note:** Version bump only for package todomvc
# [0.2.0](https://github.com/reduxjs/redux-devtools/compare/todomvc@0.1.0...todomvc@0.2.0) (2021-03-06)
### Features
- **redux-devtools-slider-monitor:** convert example to TypeScript ([#632](https://github.com/reduxjs/redux-devtools/issues/632)) ([ec75d3a](https://github.com/reduxjs/redux-devtools/commit/ec75d3a4b62d0f4b8d52a739a7727142421cc261))
# [0.1.0](https://github.com/reduxjs/redux-devtools/compare/todomvc@0.0.1...todomvc@0.1.0) (2020-09-07)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "todomvc",
"version": "0.1.0",
"version": "0.2.1",
"description": "TodoMVC example for redux",
"keywords": [
"react",
@ -31,9 +31,9 @@
"type-check:watch": "npm run type-check -- --watch"
},
"dependencies": {
"@redux-devtools/core": "^3.7.0",
"@redux-devtools/dock-monitor": "^1.2.0",
"@redux-devtools/log-monitor": "^2.1.0",
"@redux-devtools/core": "^3.9.0",
"@redux-devtools/dock-monitor": "^1.4.0",
"@redux-devtools/log-monitor": "^2.3.0",
"classnames": "^2.2.6",
"prop-types": "^15.7.2",
"react": "^16.13.1",

View File

@ -1,6 +1,6 @@
{
"name": "@redux-devtools/core",
"version": "3.7.0",
"version": "3.9.0",
"description": "Redux DevTools with hot reloading and time travel",
"keywords": [
"redux",
@ -40,7 +40,7 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@redux-devtools/instrument": "^1.10.0",
"@redux-devtools/instrument": "^1.11.0",
"@types/prop-types": "^15.7.3",
"lodash": "^4.17.19",
"prop-types": "^15.7.2"
@ -54,7 +54,7 @@
"redux": "^4.0.5"
},
"peerDependencies": {
"react": "^0.14.9 || ^15.3.0 || ^16.0.0",
"react": "^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0",
"react-redux": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0",
"redux": "^3.5.2 || ^4.0.0"
}

View File

@ -1240,7 +1240,7 @@
"@babel/types" "^7.4.4"
esutils "^2.0.2"
"@babel/preset-react@^7.0.0", "@babel/preset-react@^7.10.4", "@babel/preset-react@^7.8.3", "@babel/preset-react@^7.9.4":
"@babel/preset-react@^7.0.0", "@babel/preset-react@^7.8.3", "@babel/preset-react@^7.9.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.10.4.tgz#92e8a66d816f9911d11d4cc935be67adfc82dbcf"
integrity sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw==
@ -4053,20 +4053,15 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.39.tgz#ce1122758d0608de8303667cebf171f44192629b"
integrity sha512-dJLCxrpQmgyxYGcl0Ae9MTsQgI22qHHcGFj/8VKu7McJA5zQpnuGjoksnxbo1JxSjW/Nahnl13W8MYZf01CZHA==
"@types/node@^12.0.12":
version "12.12.54"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.54.tgz#a4b58d8df3a4677b6c08bfbc94b7ad7a7a5f82d1"
integrity sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==
"@types/node@^14.6.0":
version "14.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499"
integrity sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==
"@types/node@^8.0.24":
version "8.10.66"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.66.tgz#dd035d409df322acc83dff62a602f12a5783bbb3"
integrity sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==
"@types/node@^14.6.2":
version "14.17.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.2.tgz#1e94476db57ec93a372c7f7d29aa5707cfb92339"
integrity sha512-sld7b/xmFum66AAKuz/rp/CUO8+98fMpyQ3SBfzzBNGMd/1iHBTAg9oyAvcYlAj46bpc74r91jSw2iFdnx29nw==
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
@ -4190,10 +4185,10 @@
"@types/history" "*"
"@types/react" "*"
"@types/react-select@^3.0.19":
version "3.0.19"
resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-3.0.19.tgz#f73b04b8113451b0597df8a8315f9bf8ce03eb44"
integrity sha512-d+6qtfFXZeIOAABlVL1e50RZn8ctOABE4tFDxM6KW4lKuXgTTgLVrSik5AX9XjBjV7N80FtS6GTN/WeoXL9Jww==
"@types/react-select@^3.1.2":
version "3.1.2"
resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-3.1.2.tgz#38627df4b49be9b28f800ed72b35d830369a624b"
integrity sha512-ygvR/2FL87R2OLObEWFootYzkvm67LRA+URYEAcBuvKk7IXmdsnIwSGm60cVXGaqkJQHozb2Cy1t94tCYb6rJA==
dependencies:
"@types/react" "*"
"@types/react-dom" "*"
@ -8758,22 +8753,13 @@ electron-to-chromium@^1.3.523:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.526.tgz#0e004899edf75afc172cce1b8189aac5dca646aa"
integrity sha512-HiroW5ZbGwgT8kCnoEO8qnGjoTPzJxduvV/Vv/wH63eo2N6Zj3xT5fmmaSPAPUM05iN9/5fIEkIg3owTtV6QZg==
electron@^2.0.2:
version "2.0.18"
resolved "https://registry.yarnpkg.com/electron/-/electron-2.0.18.tgz#52f1b248c3cc013b5a870094de3b6ba5de313a0f"
integrity sha512-PQRHtFvLxHdJzMMIwTddUtkS+Te/fZIs+PHO+zPmTUTBE76V3Od3WRGzMQwiJHxN679licmCKhJpMyxZfDEVWQ==
dependencies:
"@types/node" "^8.0.24"
electron-download "^3.0.1"
extract-zip "^1.0.3"
electron@^9.2.0:
version "9.2.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-9.2.0.tgz#d9fc8c8c9e5109669c366bd7b9ba83b06095d7a4"
integrity sha512-4ecZ3rcGg//Gk4fAK3Jo61T+uh36JhU6HHR/PTujQqQiBw1g4tNPd4R2hGGth2d+7FkRIs5GdRNef7h64fQEMw==
electron@^13.1.1:
version "13.1.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-13.1.1.tgz#de1ea908bcac2197d7a5a373fb68c0c66043e10e"
integrity sha512-kySSb5CbIkWU2Kd9mf2rpGZC9p1nWhVVNl+CJjuOUGeVPXHbojHvTkDU1iC8AvV28eik3gqHisSJss40Caprog==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
"@types/node" "^14.6.2"
extract-zip "^1.0.3"
element-resize-detector@^1.2.1: