12133 Commits

Author SHA1 Message Date
Sebastian Werner
293f0909aa
Added Webpack DotEnv Plugin after Universal DotEnv into Webpack configs so that we pass all environment variables to transpilation. This reduces the PR to just adding universal-dotenv before it is being processed by the normal DotEnv plugin. Hopfully fixes builds. 2018-06-27 12:18:45 +02:00
Sebastian Werner
df226c714d
Updated deps 2018-06-27 11:39:09 +02:00
Sebastian Werner
ef28ee4806
Added missing dotenv dep 2018-06-27 11:39:09 +02:00
Sebastian Werner
3566d609a4
Updated lock file 2018-06-27 11:39:09 +02:00
Sebastian Werner
58c76e1a4d
Replaced dotenv.config() with more advanced universal-dotenv init phase. 2018-06-27 11:39:09 +02:00
Sebastian Werner
bedc4ac684
Cleaned up old dotenv packages. These are not required anymore. 2018-06-27 11:39:09 +02:00
Sebastian Werner
358baca093
Replaced other missing areas of old DotEnv usage. Thanks for the hint. Obvious oversight. 2018-06-27 11:39:08 +02:00
Sebastian Werner
75f7134f11
Replaced 'dotenv-webpack' with 'universal-dotenv' to support multiple .env.* files like in CRA. 2018-06-27 11:39:08 +02:00
Hypnosphi
f04e044a79 Teamcity: Build for svelte 2018-06-26 19:26:29 +02:00
Filipp Riabchun
8b741d6fbb
Merge pull request #3796 from nm123github/welcome_component
make welcome component work correctly
2018-06-26 20:16:16 +03:00
Neville Mehta
3279207510 update welcome in test/marko 2018-06-25 22:48:25 -07:00
Neville Mehta
5f775a8591 make welcome a component 2018-06-25 22:37:47 -07:00
pavel.sher
2d7985f34b TeamCity change in 'Open-source projects / Storybook' project: 'Build' build configuration settings were updated 2018-06-21 14:43:13 +00:00
Michael Shilman
1d7f50d6ee 4.0.0-alpha.10 snapshots 2018-06-21 22:14:57 +08:00
Michael Shilman
4e70f9d192 v4.0.0-alpha.10 v4.0.0-alpha.10 2018-06-21 21:48:49 +08:00
Michael Shilman
50fe722c25 4.0.0-alpha.10 changelog 2018-06-21 21:31:38 +08:00
Michael Shilman
e88f61d193 3.4.8 changelog 2018-06-21 21:27:15 +08:00
Hypnosphi
6cb6187d72 Revert "Teamcity: DSL update"
This reverts commit b765ed1
2018-06-21 11:25:58 +03:00
Hypnosphi
b765ed1fff Teamcity: DSL update 2018-06-21 11:18:59 +03:00
Hypnosphi
7cea21ec61 Teamcity: lower artifacts threshold 2018-06-21 11:09:08 +03:00
Hypnosphi
fa943ab089 Teamcity: add missing imports 2018-06-21 10:59:49 +03:00
Hypnosphi
e63310dcf0 Update snapshots 2018-06-21 10:52:18 +03:00
Hypnosphi
78c1c02c16 Teamcity: add retry logic 2018-06-21 10:50:01 +03:00
Filipp Riabchun
90689ad65e
Merge pull request #3779 from stefanKuijers/3728
3728 | update storyshots readme to include updating your moduleFileEx…
2018-06-21 10:26:11 +03:00
filipp.riabchun
c422d07b80 TeamCity change in 'Open-source projects / Storybook' project: triggers of 'Build' build configuration were updated 2018-06-21 07:13:51 +00:00
Stefan Kuijers
81af7caf13 3728 | update storyshots readme to include updating your moduleFileExtensions 2018-06-20 14:24:40 +02:00
Wei-Wei Wu
8757938b41
Merge pull request #3775 from paradoxxxzero/number-knob-fix
[addon-knobs] Allow number knob to be empty
2018-06-20 01:05:47 -07:00
Igor
3f0f9883fa
Merge pull request #3774 from echoulen/master
Add styled-components theme addon
2018-06-20 10:48:49 +03:00
Florian Mounier
85e4955f9a Allow number knob to be empty (returns null instead of 0).
Prevent uncontrolled to controlled warning when defaulting to null (or undefined).
2018-06-19 16:23:46 +02:00
carlos
547825c937 README.md: Add styled-components theme addon 2018-06-19 18:28:27 +08:00
Norbert de Langen
cc5de350f4
Merge pull request #3772 from storybooks/dd/docgen
Improvements to Info Docgen parsing
2018-06-19 09:59:49 +02:00
Daniel Duan
85c739c599 random snapshot update 2018-06-18 14:55:34 -04:00
Daniel Duan
3826098d66 upgrade docgen version 2018-06-18 11:25:43 -04:00
Filipp Riabchun
5468468fd5
Merge pull request #3757 from storybooks/storyshots-remove-require-context
Storyshots - Replace require_context.js with babel-plugin-require-context-hook
2018-06-16 17:35:43 +03:00
igor-dv
34a4a080a8 Merge remote-tracking branch 'origin/master' into storyshots-remove-require-context 2018-06-16 16:46:14 +03:00
Hypnosphi
b169f1374d Update storyshots 2018-06-16 16:40:53 +03:00
igor-dv
0690120f8f Remove unneeded exports 2018-06-16 15:45:03 +03:00
Hypnosphi
261108bf96 TeamCity: add Hyperapp build 2018-06-16 15:36:36 +03:00
Hypnosphi
0d8f6b8cf3 TeamCity: add Hyperapp build 2018-06-16 15:35:14 +03:00
Filipp Riabchun
12b41f1caf
Merge pull request #3735 from sam-at-work/fix-centered-addon-ie11
Fix centered addon for IE11
2018-06-16 15:23:14 +03:00
Filipp Riabchun
4808e01969
Merge pull request #3749 from mizx/master
Updated addon docs, removed deprecated Viewport component
2018-06-16 15:09:51 +03:00
Norbert de Langen
12ee50b29f
Merge pull request #3761 from jfsiii/patch-1
Display functions as variables not invocations
2018-06-15 12:18:40 +02:00
John Schulz
be6791693c
Display functions as variables not invocations
Given this story

```jsx
import { storiesOf } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import Component from '.'

const logClick = action('clicked')

storiesOf('Component', module)
  .add('plain', () =>
    <Component onClick={logClick}>Hello Button</Component>
  )
```

the add-on currently displays

```jsx
<Component onClick={logClick()}>Hello Button</Component>
```

which isn't accurate and makes the "copy" feature less useful. This PR will output:

```jsx
<Component onClick={logClick}>Hello Button</Component>
```

which matches the story
2018-06-13 18:03:43 -07:00
Sam Grace
f0b7885f2a update snapshots 2018-06-13 12:13:58 +01:00
Sam Grace
500f2db096 Fix centered addon for IE11 2018-06-13 12:13:58 +01:00
igor-dv
9ccbb5d5fa Improve READMEs 2018-06-13 09:27:30 +03:00
igor-dv
251eb0dd6c Add docs to README.md and MIGRATION.md 2018-06-13 01:47:16 +03:00
igor-dv
a967f8160f Extract ensureOptionsDefaults 2018-06-13 01:09:51 +03:00
igor-dv
2a992bac2e Replace require_context.js with babel-plugin-require-context-hook 2018-06-12 21:50:13 +03:00
Igor
86f37ebb14
Merge pull request #3747 from storybooks/storyshots-advanced-config
Storyshots advanced config options
2018-06-12 21:35:46 +03:00