Norbert de Langen
c49dff9983
CLEANUP remove redundant dependencies
2018-06-02 02:14:58 +02:00
Norbert de Langen
1ded5f9eec
FIX unittest && FIX snapshots
2018-06-02 02:01:54 +02:00
Norbert de Langen
370b56f06d
REMOVE unneeded components
2018-06-02 01:59:59 +02:00
Norbert de Langen
44a8c36fba
ADD displayNames to styled components to improve debugging & snapshots
2018-06-02 01:59:00 +02:00
Norbert de Langen
cc68e66c52
theme viewport
2018-06-02 00:06:58 +02:00
Norbert de Langen
2a49259d62
Merge branch 'master' into feature/theming
2018-05-28 00:07:30 +02:00
Michael Shilman
6a1f5e4675
v4.0.0-alpha.8
2018-05-26 18:47:25 -07:00
Hypnosphi
49d6a2efdf
Fix lint
2018-05-25 23:25:05 +03:00
Norbert de Langen
b45b078997
Merge branch 'master' into feature/theming
...
# Conflicts:
# lib/components/src/layout/__snapshots__/index.stories.storyshot
2018-05-22 23:09:21 +02:00
Norbert de Langen
ee4a416422
REFACTOR consolidate Tabs component && CHANGE registerAddon api to include a active
prop
2018-05-22 22:26:39 +02:00
Mohamed Shaaban
3c13771fdc
Update viewport documentation
2018-05-20 16:57:42 +02:00
Mohamed Shaaban
72918111cd
Use makeDecorator to create withViewport
2018-05-20 16:57:41 +02:00
Norbert de Langen
43279a3076
Merge branch 'master' into feature/more-components
2018-05-18 13:38:51 +02:00
Michael Shilman
008414bc47
v4.0.0-alpha.7
2018-05-17 16:02:57 -07:00
Norbert de Langen
de48f96384
FIX snaphots & tests & linting
2018-05-16 23:55:45 +02:00
Norbert de Langen
c6b2b6ca57
Merge branch 'master' into feature/more-components
2018-05-16 22:03:31 +02:00
Norbert de Langen
09e3d8e766
REFACTOR viewport addon to use emotion for styling && FIX overflow of viewport addon
2018-05-16 20:22:43 +02:00
Norbert de Langen
359f12ce8f
Merge branch 'master' into feature/more-components
...
# Conflicts:
# addons/knobs/src/components/Panel.js
# addons/knobs/src/react/WrapStory.js
2018-05-16 08:44:55 +02:00
Hypnosphi
da9990e8a0
Update storyshot
2018-05-16 01:06:59 +03:00
Norbert de Langen
5eec2c8689
FIX styling issue in storysource addon && CLEANUP && ADD emotion-theming
2018-05-15 23:52:57 +02:00
Hypnosphi
7b1907946a
Merge remote-tracking branch 'origin/master' into generic-addon-decorators
...
# Conflicts:
# addons/viewport/package.json
2018-05-13 01:27:33 +03:00
Michael Shilman
369e7204a6
v4.0.0-alpha.6
2018-05-12 13:32:30 -07:00
Michael Shilman
ca8d96d6d5
v4.0.0-alpha.5
2018-05-12 13:26:33 -07:00
Hypnosphi
06101efd97
Generic addon-viewport decorator
2018-05-12 22:22:43 +03:00
Michael Shilman
f2a30fae10
v4.0.0-alpha.4
2018-04-27 12:44:14 -07:00
Michael Shilman
35eb0e31db
v4.0.0-alpha.3
2018-04-17 16:50:42 -07:00
Mohamed Shaaban
33a38ef619
viewport-addon: configure => configureViewport
2018-04-14 18:33:48 +02:00
Michael Shilman
aa2801023a
v4.0.0-alpha.2
2018-04-10 17:40:16 -07:00
Hypnosphi
88c99a2d24
Enforce addons store being a singleton by storing it in global variable
2018-04-08 22:00:34 +03:00
Mohamed Shaaban
fe7ca9d374
Scroll preview panel for non-percentage heights
2018-04-03 01:06:10 +02:00
Hypnosphi
a92d25ec9b
Replace deprecated React methods in rest of the places
2018-04-01 01:13:46 +03:00
Michael Shilman
53da20b82a
v4.0.0-alpha.1
2018-03-29 08:27:45 -07:00
Michael Shilman
c53f30c0e0
v4.0.0-alpha.0
2018-03-28 22:33:07 -07:00
Hypnosphi
a0b6eea992
Run prettier
2018-03-29 06:38:03 +03:00
Mohamed Shaaban
0242e1dd0b
Update Viewport documentation
...
- withViewport decorator
- Viewport component
- Viewport model definition
2018-03-28 22:01:49 +02:00
Mohamed Shaaban
8bdafacde9
Add device type for each viewport
2018-03-28 22:01:48 +02:00
Mohamed Shaaban
2a1263c2be
Emit/call event/callback when viewport changes
2018-03-28 22:01:48 +02:00
Mohamed Shaaban
fe87edf589
Debounce setStoryDefaultViewport to prevent flickering
2018-03-28 22:01:48 +02:00
Mohamed Shaaban
3467e0befb
Unify setting default viewport and drop unset
2018-03-28 22:01:48 +02:00
Mohamed Shaaban
5fca8602bb
Move withViewport and Viewport to separate files
2018-03-28 22:01:48 +02:00
Mohamed Shaaban
d3046596ba
Allow setting custom default viewport per story
...
Fix linting issues
2018-03-20 00:51:41 +01:00
Mohamed Shaaban
8a0d5b49a5
Update viewport addon documentation
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
5a2c5a024c
Register all channel listeners on componentDidMount
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
39ca2b14a8
Add responsive viewport and make it default
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
9b1370f3d6
Add support to configure viewport addon
...
- By default, viewport addon is reading both initial viewports' set and default viewport from
`INITIAL_VIEWPORTS` and `DEFAULT_VIEWPORT` respectively which are exported by the addon
- `configure` function is exported which accepts an object with `defaultViewport` and `viewports`
- Change the default viewport by setting `defaultViewport` property to the key of the viewport (e.g. `configure({ defaultViewport: 'iphone5' })`)
- Replace the entire viewports by setting brand new viewports to `viewports` property (e.g. `configure({ viewports: { brandNewDevice: { ... } } })`)
- Add custom viewports by first merging both the `INITIAL_VIEWPORTS` and your custom viewports, and then pass the result as `viewports` to configure function
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
7ad2e8cc9f
Decouple initial viewports from SelectViewport component
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
e2daecf4b4
Move addon IDs to shared directory
2018-03-20 00:50:22 +01:00
Mohamed Shaaban
28f75ecffb
Move manager related files to manager directory
2018-03-20 00:50:22 +01:00
Michael Shilman
cf1a984f9e
v3.4.0-rc.3
2018-03-19 16:03:10 -07:00
Michael Shilman
bf6c69a258
v3.4.0-rc.2
2018-03-13 19:59:14 +09:00