Open greenkeeper[bot] opened 5 years ago
devDependency
react-styleguidist was updated from 7.3.6
to 8.0.5
.devDependency
react-styleguidist was updated from 7.3.6
to 8.0.6
.devDependency
react-styleguidist was updated from 7.3.6
to 9.0.0
.Update to this version instead π
Finally weβve fixed one of the oldest and weirdest issues. Style guide components are no longer accessible on window
. Only the current component is accessible in the example context (not on window
). You need to explicitly import any other component.
Current component (like Button
Β in this example) is always accessible by its name in the example code. If you want to use other components, you need to explicitly import them:
import Placeholder from '../Placeholder'
;<Button>
<Placeholder />
</Button>
Or you can explicitly import everything, to make examples easier to copy into your app code:
import React from 'react'
import Button from 'rsg-example/components/Button'
import Placeholder from 'rsg-example/components/Placeholder'
;<Button>
<Placeholder />
</Button>
require()
Β statements are still supported.
(#1116), #1075, #325 by @sapegin)
You can also define aliases to make your imports more realistic:
// ```jsx inside Markdown
import React from 'react'
import Button from 'rsg-example/components/Button'
import Placeholder from 'rsg-example/components/Placeholder'
In this example rsg-example
is an alias defined with the moduleAliases config option.
(#1142, #1076, #1109, #1074 by @sapegin)
Weβve replaced CodeMirror with react-simple-code-editor and now using Prism for code highlighting in static examples (instead of Highlight.js) and inside the editor. So code look the same everywhere in Styleguidist. Weβve also removed code splitting because react-simple-code-editor is so small and we can include it in the main bundle (8 KB vs 57 KB).
There are some breaking changes in the config:
editorConfig
and highlightTheme
(already deprecated)Β options were removed.React 16.3 is the minimum supported version.
// ```jsx inside ButtonGroup.md - 8.x
// All style guide component are accessible globally
;<ButtonGroup>
<Button>Eins</Button>
<Button>Zwei</Button>
<Button>Polizei</Button>
</ButtonGroup>
// ```jsx inside ButtonGroup.md - 8.x
// Only the current (ButtonGroup) component is accessible
import Button from './Button'
;<ButtonGroup>
<Button>Eins</Button>
<Button>Zwei</Button>
<Button>Polizei</Button>
</ButtonGroup>
highlightTheme
Β or editorConfig.theme
options with theme
option:We donβt have predefined themes anymore, you can customize colors as you wish using the theme config option:
// styleguide.config.js
module.exports = {
theme: {
color: {
codeComment: '#6d6d6d',
codePunctuation: '#999',
codeProperty: '#905',
codeDeleted: '#905',
codeString: '#690',
codeInserted: '#690',
codeOperator: '#9a6e3a',
codeKeyword: '#1673b1',
codeFunction: '#DD4A68',
codeVariable: '#e90'
}
}
}
The new version differs by 128 commits.
8c2e2a1
9.0.0
d2511ca
Chore: Run npm audit fix on examples
38b4507
Chore: Remove Open Collective postinstall banner because it doesn't work anyway π€
2f00a59
Chore: Update deps
2f36348
Docs: Fix a few broken links to repo code in docs (#1272)
7630f10
Docs: (Hopefully) fix Markdown π€―
75c393b
Chore: Fix typos in comments (#1275)
c83d2c9
Fix: Upgrade react-group to v3 (#1270)
0ecaaf5
Docs: Update react-native example (#1260)
1c68615
Docs: Fix link (#1258)
63a3a47
Fix: Change some dependencies to smaller alternatives (#1248)
8554a3d
Fix: Support webpack configs from react-scripts > 2.1.1 (#1241)
4818ffe
Docs: Fix webpack CSS loader example (#1245)
d52a42e
Chore: update webpack-dev-server due to vulnerability (#1244)
14ba635
Fix: Incorrect current section highlighting on partial match (#1239)
There are 128 commits in total.
See the full diff
devDependency
react-styleguidist was updated from 7.3.6
to 9.0.1
.devDependency
react-styleguidist was updated from 7.3.6
to 9.0.2
.Update to this version instead π
Fixed: Fix broken Node API
main
field in package.json should point to babelified script
Fixed: Correctly pass key/anchor to config error messages
message
and not passed as a separte field, otherwise the consumer will have to do extra work to show it.anchor
Β field on StyleguidistError class.The new version differs by 6 commits.
e3af40e
Merge branch 'master' of github.com:styleguidist/react-styleguidist
74f7810
Fix: Fix broken Node API
168b0e4
Fix: Correctly pass key/anchor to config error messages
6a95750
Fix: Update clipboard-copy (#1302)
2bea3d6
Chore: Set version number for semantic-release
78b9378
Docs: Fix order and TOC
See the full diff
devDependency
react-styleguidist was updated from 7.3.6
to 9.0.3
.devDependency
react-styleguidist was updated from 7.3.6
to 9.0.4
.Update to this version instead π
devDependency
react-styleguidist was updated from 7.3.6
to 9.0.5
.Update to this version instead π
devDependency
react-styleguidist was updated from 7.3.6
to 9.0.6
.Update to this version instead π
Fixed: Add output.publicPath option to webpack config to make Create React App happy
Fix #1247
devDependency
react-styleguidist was updated from 7.3.6
to 9.0.7
.devDependency
react-styleguidist was updated from 7.3.6
to 9.0.8
.devDependency
react-styleguidist was updated from 7.3.6
to 9.0.9
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.0
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.1
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.2
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.3
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.4
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.5
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.6
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.7
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.8
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.9
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.10
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.11
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.12
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.13
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.14
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.15
.devDependency
react-styleguidist was updated from 7.3.6
to 9.1.16
.devDependency
react-styleguidist was updated from 7.3.6
to 9.2.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.0.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.0.1
.devDependency
react-styleguidist was updated from 7.3.6
to 10.1.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.2.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.2.1
.devDependency
react-styleguidist was updated from 7.3.6
to 10.3.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.3.1
.devDependency
react-styleguidist was updated from 7.3.6
to 10.3.2
.devDependency
react-styleguidist was updated from 7.3.6
to 10.4.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.4.1
.devDependency
react-styleguidist was updated from 7.3.6
to 10.6.0
.devDependency
react-styleguidist was updated from 7.3.6
to 10.6.2
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.0
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.1
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.2
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.3
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.4
.devDependency
react-styleguidist was updated from 7.3.6
to 11.0.5
.π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
devDependency
react-styleguidist was updated from 7.3.6
to 11.0.6
.π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
devDependency
react-styleguidist was updated from 7.3.6
to 11.0.7
.
The devDependency react-styleguidist was updated from
7.3.6
to8.0.4
.This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v8.0.4
Commits
The new version differs by 24 commits.
6639684
Fix: Highlight currently selected page on sidebar (#1195)
3aa6ff1
Docs: Fix pagePerSection example code syntax (#1197)
0848675
Fix: Use aliased import to allow for custom ReactExample (#1190)
e59671d
Fix: Support Component/index.js in the default getExampleFilename (#1185)
56af350
Fix: Upgrade markdown-to-jsx
5911c68
Docs: Add docz to other projects section (#1184)
8e79531
Changelog: π
96d28f2
Chore: Update deps
52c7017
Docs: Mention that we ignore webpack TerserPlugin
8b7cb42
Feat: UglifyJsPlugin βΒ TerserPlugin
4f91451
Test: Update snapshots
dc6f718
Test: Update tests
ffd8adb
Fix: Fix webpack warnings
621c2c6
Feat: Drop webpack 3 support (#1023)
608c582
Docs: Update CRA example to CRA 2
There are 24 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: