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
Michael Shilman
953c516eb8
v3.4.0-rc.1
2018-03-13 19:40:40 +09:00
Hypnosphi
9f3abbad21
Make peerDependencies loose again (see https://github.com/lerna/lerna/issues/1018 )
2018-03-10 22:59:49 +02:00
Hypnosphi
c51d0de054
Use exact versions for cross-dependencies between our own packages
2018-03-10 22:46:42 +02:00
Mohamed Shaaban
c07ac21359
Fix broken storybook website link in viewport
2018-03-09 00:31:48 +01:00
Michael Shilman
67243d9d55
v3.4.0-rc.0
2018-03-08 12:03:25 +09:00
Dependencies.io Bot
617a3c81a6
Update prop-types from 15.6.0 to 15.6.1 in addons/viewport
2018-02-27 16:41:43 +00:00
Hypnosphi
def1e04dbb
Cleanup dependencies
2018-02-25 03:53:03 +03:00
Michael Shilman
d3e7b73635
v3.4.0-alpha.9
2018-02-22 17:45:03 +09:00
igor
ac89c6e8ed
Use full url to the ADDONS_SUPPORT.md
2018-02-21 16:17:02 +02:00
igor
f7f39ef066
Point addon/framework support to the ADDONS_SUPPORT.md
2018-02-21 15:41:32 +02:00
Hypnosphi
e5b73a3d73
Stop ignoring a11y rules
2018-02-17 22:33:31 +03:00
Hypnosphi
398ff2639e
eslint: remove unused disable directives
2018-02-17 20:35:37 +03:00
Michael Shilman
9bb049afbe
v3.4.0-alpha.8
2018-02-11 14:56:54 +08:00
Michael Shilman
d5355cac75
v3.4.0-alpha.7
2018-02-03 11:54:40 +09:00
Norbert de Langen
77c5491186
Merge branch 'master' into ndelangen/add-dirname
...
# Conflicts:
# examples/angular-cli/package.json
# examples/cra-kitchen-sink/package.json
# examples/official-storybook/package.json
# examples/polymer-cli/package.json
# lib/components/package.json
# lib/ui/package.json
2018-01-30 18:09:32 +01:00
Michael Shilman
5c882ceecd
v3.4.0-alpha.6
2018-01-27 16:15:53 +09:00
Norbert de Langen
99eb4382e5
RENAME babel-plugin-paths to paths.macro && SORT package.json
2018-01-23 17:40:00 +01:00
Michael Shilman
2da1faf419
v3.4.0-alpha.5
2018-01-19 21:50:54 +09:00
Michael Shilman
85e2e59183
v3.4.0-alpha.4
2018-01-13 18:32:28 +05:30
Michael Shilman
56abd09768
v3.4.0-alpha.3
2018-01-13 18:09:59 +05:30
Michael Shilman
3201005157
v3.4.0-alpha.1
2018-01-10 12:37:29 +05:30
Olena Sovyn
0c85dd70aa
fix link to preview of viewport addon
2018-01-09 13:57:02 +02:00
Michael Shilman
d8d955cbbc
v3.4.0-alpha.0
2018-01-07 21:32:57 +05:30
Michael Shilman
3abdbb6528
v3.3.4
2018-01-07 18:23:40 +05:30
Michael Shilman
02a69e0b1b
v3.3.3
2017-12-28 22:34:34 +05:30
Filipp Riabchun
97d49eddb5
Merge branch 'master' into eslint-imports
2017-12-28 14:02:14 +03:00
Michael Shilman
fbe50ffb46
v3.3.2
2017-12-28 12:10:49 +09:00