Skip to content

Commit

Permalink
Merge branch 'next' into pr/Spy-Seth/6655
Browse files Browse the repository at this point in the history
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/notes/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/ondevice-knobs/package.json
#	addons/ondevice-notes/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	lib/addons/package.json
#	lib/api/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/router/package.json
#	lib/ui/package.json
#	yarn.lock
  • Loading branch information
ndelangen committed May 6, 2019
2 parents 6b19049 + 57e8528 commit a2f9242
Show file tree
Hide file tree
Showing 184 changed files with 1,494 additions and 950 deletions.
2 changes: 1 addition & 1 deletion .github/automention.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'app: angular': ['kroeder', 'igor-dv']
'app: angular': ['kroeder', 'igor-dv', 'MaximSagan']
'app: ember': ['gabrielcsapo']
'app: html': ['Hypnosphi']
'app: marko': ['nm123github']
Expand Down
1 change: 0 additions & 1 deletion .teamcity/OpenSourceProjects_Storybook/Project.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ object Project : Project({
buildType(OpenSourceProjects_Storybook_Examples)
buildType(OpenSourceProjects_Storybook_Docs)
buildType(OpenSourceProjects_Storybook_Build_2)
buildType(OpenSourceProjects_Storybook_CliTest)
buildType(OpenSourceProjects_Storybook_Test)
buildType(OpenSourceProjects_Storybook_Lint)
buildType(OpenSourceProjects_Storybook_Lint_Warnings)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,5 @@ object OpenSourceProjects_Storybook_Build_2 : BuildType({
onDependencyCancel = FailureAction.ADD_PROBLEM
}
}
dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_CliTest) {
snapshot {
onDependencyCancel = FailureAction.ADD_PROBLEM
}
}
}
})

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetr
enum class StorybookApp(val appName: String, val exampleDir: String, val merged: Boolean = true) {
CRA("CRA", "cra-kitchen-sink"),
CRA_TS("CRA TS", "cra-ts-kitchen-sink"),
CRA_REACT15("CRA REACT15", "cra-react15", false),
VUE("Vue", "vue-kitchen-sink"),
ANGULAR("Angular", "angular-cli"),
POLYMER("Polymer", "polymer-cli"),
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions ADDONS_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

| | [React](app/react)|[React Native](app/react-native)|[Vue](app/vue)|[Angular](app/angular)| [Polymer](app/polymer)| [Mithril](app/mithril)| [HTML](app/html)| [Marko](app/marko)| [Svelte](app/svelte)| [Riot](app/riot)| [Ember](app/ember)| [Preact](app/preact)|
| ----------- |:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|
|[a11y](addons/a11y) |+| |+|+|+|+|+|+| | |+|+|
|[actions](addons/actions) |+|+|+|+|+|+|+|+|+|+|+|+|
|[a11y](addons/a11y) |+| |+|+|+|+|+|+|+|+|+|+|
|[actions](addons/actions) |+|+*|+|+|+|+|+|+|+|+|+|+|
|[backgrounds](addons/backgrounds) |+|*|+|+|+|+|+|+|+|+|+|+|
|[centered](addons/centered) |+| |+|+| |+|+| |+| |+|+|
|[contexts](addons/contexts) |+| |+| | | | | | | | |+|
Expand Down
75 changes: 57 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,84 @@
## 5.1.0-alpha.39 (May 2, 2019)

### Features

- React-native: Ondevice actions ([#6594](https://github.com/storybooks/storybook/pull/6594))
- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybooks/storybook/pull/6603))

### Bug Fixes

- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412))

## 5.1.0-alpha.38 (May 2, 2019)

Failed publish

## 5.1.0-alpha.37 (May 1, 2019)

### Bug Fixes

- Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688))
- Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669))
- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))

### Maintenance

- CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695))

## 5.0.11 (April 28, 2019)

### Bug Fixes

- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybooks/storybook/pull/5868))
- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybooks/storybook/pull/6598))
- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybooks/storybook/pull/6535))

### Maintenance

- UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353))

## 5.1.0-alpha.36 (April 27, 2019)

### Features

* Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660))
* Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346))
- Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660))
- Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346))

### Bug Fixes

* CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))
- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629))

### Dependency Upgrades

* [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647))
- [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647))

## 5.1.0-alpha.35 (April 27, 2019)

### Features

* Addon-notes: use @storybook/router <Link> to render links in notes ([#6398](https://github.com/storybooks/storybook/pull/6398))
* Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybooks/storybook/pull/6484))
* Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybooks/storybook/pull/6632))
* Addon-a11y: Design enhancements ([#6563](https://github.com/storybooks/storybook/pull/6563))
- Addon-notes: use @storybook/router <Link> to render links in notes ([#6398](https://github.com/storybooks/storybook/pull/6398))
- Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybooks/storybook/pull/6484))
- Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybooks/storybook/pull/6632))
- Addon-a11y: Design enhancements ([#6563](https://github.com/storybooks/storybook/pull/6563))

### Bug Fixes

* UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybooks/storybook/pull/6241))
* Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybooks/storybook/pull/6650))
* Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybooks/storybook/pull/6607))
* UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybooks/storybook/pull/6578))
- UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybooks/storybook/pull/6241))
- Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybooks/storybook/pull/6650))
- Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybooks/storybook/pull/6607))
- UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybooks/storybook/pull/6578))

### Maintenance

* UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353))
* Build: tslint, and use eslint for everything ([#6621](https://github.com/storybooks/storybook/pull/6621))
* Build: deploy to local registry ([#6619](https://github.com/storybooks/storybook/pull/6619))
- UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353))
- Build: tslint, and use eslint for everything ([#6621](https://github.com/storybooks/storybook/pull/6621))
- Build: deploy to local registry ([#6619](https://github.com/storybooks/storybook/pull/6619))

### Dependency Upgrades

* Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybooks/storybook/pull/6585))
* Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybooks/storybook/pull/6580))
* Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybooks/storybook/pull/6583))
- Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybooks/storybook/pull/6585))
- Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybooks/storybook/pull/6580))
- Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybooks/storybook/pull/6583))

## 5.1.0-alpha.34 (April 24, 2019)

Expand Down
2 changes: 1 addition & 1 deletion addons/a11y/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This storybook addon can be helpful to make your UI components more accessible.

[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)

![](docs/screenshot.png)
![Screenshot](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/a11y/docs/screenshot.png)

## Getting started

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.36",
"version": "5.1.0-alpha.39",
"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.36",
"@storybook/api": "5.1.0-alpha.36",
"@storybook/client-logger": "5.1.0-alpha.36",
"@storybook/components": "5.1.0-alpha.36",
"@storybook/core-events": "5.1.0-alpha.36",
"@storybook/theming": "5.1.0-alpha.36",
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/api": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"@storybook/components": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"axe-core": "^3.2.2",
"common-tags": "^1.8.0",
"core-js": "^3.0.1",
Expand Down
3 changes: 2 additions & 1 deletion addons/a11y/src/components/A11YPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const Incomplete = styled.span(({ theme }) => ({

const Loader = styled(({ className }) => (
<div className={className}>
<Icon inline icon="sync" status="running" /> Please wait while a11y scan is running ...
<Icon inline icon="sync" status="running" /> Please wait while the accessibility scan is running
...
</div>
))({
display: 'flex',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ exports[`A11YPanel should render loader when it's running 1`] = `
</Svg>
</Icons>
</Styled(Icons)>
Please wait while a11y scan is running ...
Please wait while the accessibility scan is running ...
</div>
</Component>
</Loader>
Expand Down
2 changes: 1 addition & 1 deletion addons/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Storybook Addon Actions can be used to display data received by event handlers i

[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)

![Screenshot](docs/screenshot.png)
![Screenshot](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/actions/docs/screenshot.png)

## Getting Started

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.36",
"version": "5.1.0-alpha.39",
"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.36",
"@storybook/api": "5.1.0-alpha.36",
"@storybook/components": "5.1.0-alpha.36",
"@storybook/core-events": "5.1.0-alpha.36",
"@storybook/theming": "5.1.0-alpha.36",
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/api": "5.1.0-alpha.39",
"@storybook/components": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"core-js": "^3.0.1",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",
Expand Down
1 change: 1 addition & 0 deletions addons/actions/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './constants';
export * from './models';
export * from './preview';

if (module && module.hot && module.hot.decline) {
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.36",
"version": "5.1.0-alpha.39",
"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.36",
"@storybook/api": "5.1.0-alpha.36",
"@storybook/client-logger": "5.1.0-alpha.36",
"@storybook/components": "5.1.0-alpha.36",
"@storybook/core-events": "5.1.0-alpha.36",
"@storybook/theming": "5.1.0-alpha.36",
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/api": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"@storybook/components": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"core-js": "^3.0.1",
"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.36",
"version": "5.1.0-alpha.39",
"description": "Storybook decorator to center components",
"keywords": [
"addon",
Expand Down
10 changes: 5 additions & 5 deletions addons/contexts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-contexts",
"version": "5.1.0-alpha.36",
"version": "5.1.0-alpha.39",
"description": "Storybook Addon Contexts",
"keywords": [
"storybook",
Expand Down Expand Up @@ -28,10 +28,10 @@
"dev:check-types": "tsc --noEmit"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.36",
"@storybook/api": "5.1.0-alpha.36",
"@storybook/components": "5.1.0-alpha.36",
"@storybook/core-events": "5.1.0-alpha.36"
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/api": "5.1.0-alpha.39",
"@storybook/components": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39"
},
"peerDependencies": {
"global": "*",
Expand Down
Loading

0 comments on commit a2f9242

Please sign in to comment.