785 Commits

Author SHA1 Message Date
Muhammed Thanish
08294a79f5 Update dist 2016-10-07 11:38:18 +05:30
Muhammed Thanish
34702ff7c3 Merge pull request #536 from kadirahq/repo-info
Export git repo info on dev mode
2016-10-07 11:36:16 +05:30
Muhammed Thanish
8284e99b77 Export git repo info on dev mode 2016-10-07 11:01:24 +05:30
Muhammed Thanish
9692562f35 2.23.0 v2.23.0 2016-10-06 11:33:27 +05:30
Muhammed Thanish
9c3dfc2a82 Update CHANGELOG 2016-10-06 11:33:20 +05:30
Muhammed Thanish
39c75c0e69 Update dist 2016-10-06 11:31:11 +05:30
Muhammed Thanish
8af4a14062 Merge pull request #535 from kadirahq/remove-local-db
Remove local db from react-storybook
2016-10-06 11:22:57 +05:30
Muhammed Thanish
b8ff533802 Add a warning message and exit
It's possible someone's using this feature so
give a helpful message and exit instead of crashing
2016-10-06 11:14:07 +05:30
Muhammed Thanish
77aeba0bb8 Remove local db from react-storybook 2016-10-06 10:47:36 +05:30
Arunoda Susiripala
d39b1989d7 Update CHANGELOG.md 2016-10-05 20:58:41 +05:30
Arunoda Susiripala
0a3b78c610 2.22.0 v2.22.0 2016-10-05 20:56:29 +05:30
Arunoda Susiripala
4e8352f69e Add better error message when there's no React element in the story. (#534)
* Add better error message when there's no story.
We may not get a story due to some user errors.
We can them suggest what's happening to the user.

* Fix a slight typo.
2016-10-05 20:55:23 +05:30
Arunoda Susiripala
615a7229c7 Set a color to the Storybook URL in the console. (#533)
This shows user to see the URL clearly.
2016-10-05 19:26:51 +05:30
Arunoda Susiripala
28856d6f0a Update CHANGELOG.md 2016-10-05 13:51:42 +05:30
Arunoda Susiripala
97d17f6aae 2.21.0 v2.21.0 2016-10-05 13:48:55 +05:30
Muhammed Thanish
1cc0a386ef Update postmsg channel (#519)
It appears that postMessage throws an error when used with objects with methods.
Release `v1.0.3` encodes data before sending over postMessage.
2016-10-05 13:44:57 +05:30
Arunoda Susiripala
8cc1ff1604 CRA's PUBLIC_URL support (#529)
* Bug fix: Copy static content to the root of the export dir.
c

* Add support to PUBLIC_URL env variable.
2016-10-05 13:44:38 +05:30
Arunoda Susiripala
359df9a763 Add support to NODE_PATH when looking at modules. (#528)
This goes with the CRA's NODE_PATH support.
2016-10-04 19:31:10 +05:30
Arunoda Susiripala
19c2b49f6b Update webpack config to add more audio related static assests. (#527) 2016-10-04 19:00:46 +05:30
Arunoda Susiripala
19e4db044a Use babel-preset-react-app preset as the default preset. (#526)
* Use babel-preset-react-app preset as the default preset.

* Fix lint issues.
2016-10-04 18:49:04 +05:30
Muhammed Thanish
52c78177fb Merge pull request #504 from jmfrancois/patch-1
doc: remove known issues broken link
2016-09-28 15:44:06 +05:30
Jean-Michel FRANCOIS
a98249361c doc: remove known issues broken link 2016-09-28 12:09:33 +02:00
Muhammed Thanish
cd0c9c44fe 2.20.1 v2.20.1 2016-09-28 15:03:41 +05:30
Muhammed Thanish
afb840c90e Update CHANGELOG 2016-09-28 15:03:35 +05:30
Muhammed Thanish
0d44b298c0 Update dist 2016-09-28 15:03:25 +05:30
Muhammed Thanish
62b6e7090c Merge pull request #503 from kadirahq/fix-incorrect-host-bug
Prefix config environment variables
2016-09-28 15:02:00 +05:30
Muhammed Thanish
7958c12134 Prefix config environment variables
Vairables like HOSTNAME have other values
which can cause unexpected errors. Fixes #502
2016-09-28 14:56:18 +05:30
Muhammed Thanish
c46a341556 Merge pull request #499 from kadirahq/story-order-hmr
Keep kind order when disposing them
2016-09-27 18:11:44 +05:30
Muhammed Thanish
31b7f83349 Keep kind order 2016-09-27 16:27:41 +05:30
Muhammed Thanish
6de3937cf6 2.20.0 v2.20.0 2016-09-27 15:30:33 +05:30
Muhammed Thanish
a7e752c6dd Update CHANGELOG 2016-09-27 15:30:18 +05:30
Muhammed Thanish
9acc78b26f Update dist 2016-09-27 15:28:50 +05:30
Muhammed Thanish
5cc3942857 Merge pull request #498 from kadirahq/postmsg
Use the postmsg channel
2016-09-27 15:26:58 +05:30
Muhammed Thanish
5da9188fba Use the element id to select the iframe 2016-09-27 15:05:56 +05:30
Muhammed Thanish
22c7c19f71 Use the postmsg channel 2016-09-27 14:36:20 +05:30
Muhammed Thanish
32e3f82887 Merge pull request #497 from kadirahq/dynamic-panel-title
Support dynamic panel titles
2016-09-27 10:07:01 +05:30
Muhammed Thanish
205cb99250 Support dynamic panel titles 2016-09-27 10:00:16 +05:30
Muhammed Thanish
3d6984311e 2.19.0 v2.19.0 2016-09-26 11:53:32 +05:30
Muhammed Thanish
7fbb0b754a Update CHANGELOG 2016-09-26 11:53:24 +05:30
Muhammed Thanish
27a0bbf922 Merge pull request #494 from kadirahq/layout-options
Update package.json
2016-09-26 11:51:03 +05:30
Muhammed Thanish
6b204c4ae8 Update package.json
Update storybook-ui to support setting layout options with api
2016-09-26 11:44:02 +05:30
Nikolay
c026b65168 Update typings (#493)
* add typings for `linkTo` addon

* action must return `any` since it brakes typings chain

So, having such example leads to the typescript error 
`error TS2322: Type 'Function' is not assignable to type '(newVal: string) => void'.`

```js
interface Props {
    onChange?(newVal: string): void,
}

class ExampleComponent extends Component<Props, void> {
    render() {
        return (
                <input onChange={this.props.onChange}>Hi!</div>
        )
    }
}

storiesOf('Example', module)
        .add('Regular use case', () => (
                <ExampleComponent onChange={action('changed')}/>
        ))
```
2016-09-26 03:48:36 +05:30
Phil Cockfield
97d11fb98a TypeScript Definition Update. (#491)
* Update TypeScript definition to include `addDecorator`.

* Extend StoryDecorator definition to include context.

* Extend StoryDecorator definition to include context.
2016-09-25 13:11:24 +05:30
Muhammed Thanish
33b181a61f 2.18.1 v2.18.1 2016-09-23 16:32:53 +05:30
Muhammed Thanish
c591b711b8 Update CHANGELOG 2016-09-23 16:32:48 +05:30
Muhammed Thanish
198677e341 Update dist 2016-09-23 16:32:13 +05:30
Muhammed Thanish
60417eabd6 Merge pull request #483 from kadirahq/stop-mangling
Stop uglifyjs from mangling names.
2016-09-23 16:30:54 +05:30
Aruna Herath
8604bfb351 Stop uglifyjs from mangling names.
This affects info addon’s source inspection.
2016-09-23 16:17:51 +05:30
Muhammed Thanish
e8713643a3 2.18.0 v2.18.0 2016-09-23 14:03:16 +05:30
Muhammed Thanish
51f3c2532b Update CHANGELOG 2016-09-23 14:03:12 +05:30