Skip to content

Commit

Permalink
Merge branch 'next' into dependabot/npm_and_yarn/simplebar-react-0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Mar 25, 2019
2 parents 5c37603 + 6a1bebc commit dc89f3f
Show file tree
Hide file tree
Showing 92 changed files with 768 additions and 459 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
## 5.0.5 (March 25, 2019)

Bump version number (same as 5.0.4, but need to make this `latest` again!)

## 3.4.12 (March 24, 2019)

### Bug Fixes

* UI: Workaround broken treebeard animations ([#6249](https://github.com/storybooks/storybook/pull/6249))

## 5.0.4 (March 24, 2019)

### Bug Fixes

* UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybooks/storybook/pull/6238))
* CLI: Fix stories regexp in config.js ([#6180](https://github.com/storybooks/storybook/pull/6180))
* Accessibilty: Add missing button titles ([#6124](https://github.com/storybooks/storybook/pull/6124))
* React: Fix forked CRA support on Windows ([#6236](https://github.com/storybooks/storybook/pull/6236))
* Addon-knkobs: Fix color type button z-index ([#6203](https://github.com/storybooks/storybook/pull/6203))
* Angular: Fix typo in demo example ([#6193](https://github.com/storybooks/storybook/pull/6193))
* Addon-Info: Restore fonts and color styling ([#6186](https://github.com/storybooks/storybook/pull/6186))
* Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybooks/storybook/pull/6159))
* Core: Add core-js as a dep to client-api ([#6209](https://github.com/storybooks/storybook/pull/6209))
* React: Fix logging in cra-config ([#6245](https://github.com/storybooks/storybook/pull/6245))

## 4.1.16 (March 24, 2019)

### Bug Fixes

* UI: Workaround broken treebeard animations ([#6249](https://github.com/storybooks/storybook/pull/6249))

## 4.1.15 (March 24, 2019)

NPM publish failed

## 5.1.0-alpha.13 (March 23, 2019)

### Features

* Svelte: add svelte cli generator ([#6132](https://github.com/storybooks/storybook/pull/6132))

### Bug Fixes

* Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybooks/storybook/pull/6159))
* React: Fix forked CRA support on Windows ([#6236](https://github.com/storybooks/storybook/pull/6236))
* UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybooks/storybook/pull/6238))

## 5.1.0-alpha.12 (March 22, 2019)

### Bug Fixes
Expand Down Expand Up @@ -51,6 +98,16 @@
* Bump ember-cli from 3.7.1 to 3.8.1 ([#6142](https://github.com/storybooks/storybook/pull/6142))
* Bump markdown-to-jsx from 6.9.1 to 6.9.3 ([#6139](https://github.com/storybooks/storybook/pull/6139))

## 5.0.3 (March 18, 2019)

### Bug Fixes

* Accessibility: Add missing button titles ([#6124](https://github.com/storybooks/storybook/pull/6124))

### Maintenance

* UI: Make update notifications much less aggressive ([#6143](https://github.com/storybooks/storybook/pull/6143))

## 5.1.0-alpha.9 (March 18, 2019)

### Maintenance
Expand Down
14 changes: 7 additions & 7 deletions addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
Expand All @@ -26,12 +26,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/api": "5.1.0-alpha.12",
"@storybook/client-logger": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/api": "5.1.0-alpha.13",
"@storybook/client-logger": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"axe-core": "^3.2.2",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
Expand Down
12 changes: 6 additions & 6 deletions addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"
Expand All @@ -21,11 +21,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/api": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/api": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",
Expand Down
14 changes: 7 additions & 7 deletions addons/backgrounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
Expand All @@ -25,12 +25,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/api": "5.1.0-alpha.12",
"@storybook/client-logger": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/api": "5.1.0-alpha.13",
"@storybook/client-logger": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"memoizerific": "^1.11.3",
"react": "^16.8.4",
Expand Down
2 changes: 1 addition & 1 deletion addons/centered/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-centered",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Storybook decorator to center components",
"keywords": [
"addon",
Expand Down
10 changes: 5 additions & 5 deletions addons/cssresources/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-cssresources",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "A storybook addon to switch between css resources at runtime for your story",
"keywords": [
"addon",
Expand All @@ -25,10 +25,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/api": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/api": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"global": "^4.3.2",
"react": "^16.8.4"
Expand Down
8 changes: 4 additions & 4 deletions addons/events/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-events",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Add events to your Storybook stories.",
"keywords": [
"addon",
Expand All @@ -24,9 +24,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"format-json": "^1.0.3",
"prop-types": "^15.7.2",
Expand Down
6 changes: 3 additions & 3 deletions addons/google-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-google-analytics",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Storybook addon for google analytics",
"keywords": [
"addon",
Expand All @@ -20,8 +20,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"global": "^4.3.2",
"react-ga": "^2.5.7"
Expand Down
2 changes: 1 addition & 1 deletion addons/graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-graphql",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Storybook addon to display the GraphiQL IDE",
"keywords": [
"addon",
Expand Down
10 changes: 5 additions & 5 deletions addons/info/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-info",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "A Storybook addon to show additional information for your stories.",
"keywords": [
"addon",
Expand All @@ -22,10 +22,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/client-logger": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/client-logger": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"global": "^4.3.2",
"marksy": "^6.1.0",
Expand Down
10 changes: 5 additions & 5 deletions addons/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
Expand Down Expand Up @@ -28,10 +28,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"core-js": "^2.6.5",
"global": "^4.3.2",
"prop-types": "^15.7.2",
Expand Down
10 changes: 5 additions & 5 deletions addons/knobs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-knobs",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Storybook Addon Prop Editor Component",
"keywords": [
"addon",
Expand All @@ -22,10 +22,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/components": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/theming": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/components": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/theming": "5.1.0-alpha.13",
"copy-to-clipboard": "^3.0.8",
"core-js": "^2.6.5",
"escape-html": "^1.0.3",
Expand Down
8 changes: 7 additions & 1 deletion addons/knobs/src/components/types/Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ import { polyfill } from 'react-lifecycles-compat';
import { Form } from '@storybook/components';

class ObjectType extends Component {
state = {
value: {},
failed: false,
json: '',
};

static getDerivedStateFromProps(props, state) {
if (!state || !deepEqual(props.knob.value, state.json)) {
if (!deepEqual(props.knob.value, state.json)) {
try {
return {
value: JSON.stringify(props.knob.value, null, 2),
Expand Down
10 changes: 5 additions & 5 deletions addons/links/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "5.1.0-alpha.12",
"version": "5.1.0-alpha.13",
"description": "Story Links addon for storybook",
"keywords": [
"addon",
Expand All @@ -17,14 +17,14 @@
},
"license": "MIT",
"main": "dist/index.js",
"jsnext:main": "src/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.12",
"@storybook/core-events": "5.1.0-alpha.12",
"@storybook/router": "5.1.0-alpha.12",
"@storybook/addons": "5.1.0-alpha.13",
"@storybook/core-events": "5.1.0-alpha.13",
"@storybook/router": "5.1.0-alpha.13",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"global": "^4.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ export const ADDON_ID = 'storybook/links';

export default {
NAVIGATE: `${ADDON_ID}/navigate`,
REQUEST: `${ADDON_ID}/request`,
RECEIVE: `${ADDON_ID}/receive`,
};
2 changes: 1 addition & 1 deletion addons/links/src/index.js → addons/links/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { linkTo, hrefTo, withLinks } from './preview';

let hasWarned = false;

export function LinkTo() {
export function LinkTo(): null {
if (!hasWarned) {
// eslint-disable-next-line no-console
console.error(stripIndents`
Expand Down
File renamed without changes.
Loading

0 comments on commit dc89f3f

Please sign in to comment.