chore(deps): update dependency react-styleguidist to v11#339
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency react-styleguidist to v11#339renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
|
71a17ef to
799df3d
Compare
|
799df3d to
e7a7d5a
Compare
|
e7a7d5a to
eb5e160
Compare
|
eb5e160 to
704a376
Compare
|
704a376 to
f234f88
Compare
|
f234f88 to
808e67c
Compare
|
808e67c to
f9a584d
Compare
|
f9a584d to
35fe021
Compare
|
35fe021 to
bfb3ca5
Compare
|
bfb3ca5 to
7074fce
Compare
|
7074fce to
c728409
Compare
|
c728409 to
32f4751
Compare
|
32f4751 to
a10116f
Compare
|
a10116f to
5c9c756
Compare
|
d8c56f9 to
c587153
Compare
|
c587153 to
22730f9
Compare
|
22730f9 to
a98596c
Compare
|
a98596c to
2ea7273
Compare
|
2ea7273 to
bf1c86b
Compare
|
bf1c86b to
f4b7f3b
Compare
|
f4b7f3b to
169ed95
Compare
|
ba19936 to
6ccecf3
Compare
169ed95 to
25f28a2
Compare
|
25f28a2 to
459d965
Compare
|
459d965 to
dd82722
Compare
|
|
6 similar comments
|
|
|
|
|
|
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.0.6->^11.0.0Release Notes
styleguidist/react-styleguidist
v11.2.0Compare Source
Features
v11.1.8Compare Source
Bug Fixes
is-directory, usefsmodule directly (#1897) (77a2a2e)v11.1.7Compare Source
Bug Fixes
v11.1.6Compare Source
Bug Fixes
v11.1.5Compare Source
Bug Fixes
v11.1.4Compare Source
Bug Fixes
textfont size from the theme (#1717) (9c2ca5b)v11.1.3Compare Source
Bug Fixes
pagePerSection(#1715) (3e2ff01), closes #1702v11.1.2Compare Source
Bug Fixes
v11.1.1Compare Source
Bug Fixes
v11.1.0Compare Source
Features
expandoption for sections and allow custom root section options (#1689) (3ab6f8d)v11.0.11Compare Source
Bug Fixes
v11.0.10Compare Source
Bug Fixes
v11.0.9Compare Source
Bug Fixes
v11.0.8Compare Source
Fix
v11.0.7Compare Source
Fix
v11.0.6Compare Source
chore
Chore
Docs
Fix
v11.0.5Compare Source
fix
Fix
v11.0.4Compare Source
Fix
v11.0.3Compare Source
Fix
v11.0.2Compare Source
Docs
Fix
v11.0.1Compare Source
chore
Chore
Fix
v11.0.0Compare Source
Breaking changes
TypeScript is supported out of the box
We’ve upgraded react-docgen to 5.0.0, which adds TypeScript support out of the box. The are some limitations, so you may still need react-docgen-typescript — see docs for more details.
(#1500, #1354 by @thecodejack)
Fenced code blocks in Markdown with tags
typescript,tsandtsxare rendered as an interactive playground. Use thestaticmodifier to render only the source code.(#1543 by @mitsuruog)
Prefer default exports over named exports
When your component has both default and named exports, Styleguidist will use the default export. This is a bug fix but may break some style guides.
(#1504 by @Lazyuki)
Remove initialState/setState/state
Use React’s
useStatehook instead:(#1501 by @thecodejack)
Drop Node.js 8 support
The minimum supported version on Node.js is 10.
(#1545)
New features
v10.6.2Compare Source
Fix
v10.6.1Compare Source
Build
Fix
v10.6.0Compare Source
New
v10.5.0Compare Source
Docs
New
v10.4.2Compare Source
Build
fix
Fix
v10.4.1Compare Source
Fix
v10.4.0Compare Source
Build
chore
Docs
New
v10.3.2Compare Source
Fix
v10.3.1Compare Source
Fix
v10.3.0Compare Source
Bug fixes
New features
v10.2.1Compare Source
Build
Chore
Docs
Fix
v10.2.0Compare Source
New
--portcommand line option to change the dev server port (#1460, fixes #936) (9e744d5), closes #936v10.1.0Compare Source
New
Modifier to add whitespace between example components (#1456 by @apennell, fixes #841) (4e0bd70)
Let users to be able to add padding between example components without
adding manual styling to their example code. This adds the
paddedmodifier optionto the Playground that adds padding between each example component in that block.
v10.0.1Compare Source
Fix
v10.0.0Compare Source
👋 Support Styleguidist on Open Collective 👋
Mostly code cleanup (use official React Context API, remove deprecated React APIs and patterns, etc.) and dependencies updates.
#1355 by @tienpham94, #1440 by @J-Kallunki, #1453 by @sapegin
Breaking changes
v9.2.0Compare Source
New features
minimizeoption to disable JavaScript compression (#1442, #1443 by @kopax)v9.1.16Compare Source
v9.1.15Compare Source
v9.1.14Compare Source
Fixed: Single sections can contain only sections (#1414)
If a section contains only one subsection, Styleguidist will try to optimize. It will make the section disappear and show its components instead. If this section only contain sections, no components, it should optimize to sections and not to components.
v9.1.13Compare Source
Fixed: Highlighting currently selected page on sidebar broken with sections (#1405)
Fixes #1375
v9.1.12Compare Source
Fixed: Disable HTML minification (#1402)
Fixes #1189
v9.1.11Compare Source
Fixed: Fix incorrect component name capitalization (#1388)
Fixes #1381
It is happening in a case when react-docgen (any propsParser) is failed and we are trying to guess displayName based on file path. We capitalized every case in the string instead of just words separated by
-started with small letter. So, by mistakeButtonTSin file name becomesButtonTsdisplay name for component when we expectButtonTSUse [startCase]:(https://lodash.com/docs/4.17.11#startCase) and then remove spaces which covers most our cases likemy-buttonTS => MyButtonTSv9.1.10Compare Source
Fixed: Encode sublinks in URLs to fix broken routes (#1389)
Follow up of #1332. This appears to have fixed the top level section link, but any sub-links within that section are still unencoded and result in "Page not found".
v9.1.9Compare Source
Fixed: Add .wasm and .mjs to default extensions in webpack config (#1386)
Fixes #1385
v9.1.8Compare Source
Fixed: Replace 'walkes' with 'estree-walker' (#1349)
Because walkes has LGPL-3 license.
Fixes #1210
v9.1.7Compare Source
Fixed: Encode section pages URLs if a section name has special symbols (#1384)
Closes #1332
v9.1.6Compare Source
Fixed: Fix named export for example components (#1380)
Closes #1281
v9.1.5Compare Source
Fixed: to make async/await work by default (#1379)
Add transforms: { asyncAwait: false } for default compilerConfig to make async/await work by default. Bublé doesn't have transform for async/await so they raise an error if asyncAwait transformation in configuration is not false (true by default) since bublé v0.9.7.
Closes #1371
v9.1.4Compare Source
Fixed: Add .ts and .tsx to default extensions in webpack config
#750
v9.1.3Compare Source
v9.1.2Compare Source
Fixed: A build should't break when assetsDir is an array (#1367)
copy-webpack-plugin is not allowed
fromto be as an array. If we still want to usefromand support array format for assetsDir, then we should pass array of objects{from: ...}to the plugin.Closes #1320
v9.1.1Compare Source
Fixed: Section anchors shouldn't conflict with component anchors (#1364)
Prefix section anchors with
section-.Closes #1342
v9.1.0Compare Source
New features
Support React Hooks in examples
You can now use hooks in the examples, like the
useStatehook:(#1353 by @eragon512)
Bug fixes
getExampleFilenameshould use default example if file does not exist (#1362) by @mendrew, closes #1338v9.0.9Compare Source
Fixed: Correctly render sections with href in sidebar (#1346)
Closes #1141
v9.0.8Compare Source
Fixed: Allow code base color to be customized with theme config (#1335)
theme.color.codeBasepropertyv9.0.7Compare Source
v9.0.6Compare Source
Fixed: Add output.publicPath option to webpack config to make Create React App happy
Fix #1247
v9.0.5Compare Source
v9.0.4Compare Source
Fixed: Allow trailing comma in named imports in examples (#1296)
Fixes #1295
v9.0.3Compare Source
Fixed: Resolve path of component files (#1305)
Closes #1246
v9.0.2Compare Source
Fixed: Fix broken Node API
mainfield in package.json should point to babelified scriptCloses #1291 #1293
Fixed: Correctly pass key/anchor to config error messages
messageand not passed as a separte field, otherwise the consumer will have to do extra work to show it.anchorfield on StyleguidistError class.Closes #1292 #1293
Fixed: Update clipboard-copy (#1302)
Closes #1290
v9.0.1Compare Source
Fixed: Fix kleur is not a function error (#1285)
Closes #1284
v9.0.0Compare Source
👋 Support Styleguidist on Open Collective 👋
New features and breaking changes
Do not put components into global namespace
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 onwindow). You need to explicitly import any other component.Current component (like
Buttonin 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:Or you can explicitly import everything, to make examples easier to copy into your app code:
require()statements are still supported.(#1116), #1075, #325 by @sapegin)
Import statements in the editor
You can also define aliases to make your imports more realistic:
In this example
rsg-exampleis an alias defined with the moduleAliases config option.(#1142, #1076, #1109, #1074 by @sapegin)
New editor and syntax highlighting
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:
editorConfigandhighlightTheme(already deprecated) options were removed.(#1054 #987 by @sapegin)
Drop React 15 support
React 16.3 is the minimum supported version.
Bug fixes
element
element
Changes since 9.0.0-beta4
Migrating from 8.x to 9.x
highlightThemeoreditorConfig.themeoptions withthemeoption:We don’t have predefined themes anymore, you can customize colors as you wish using the theme config option:
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.