Update react-native-web-docs dependencies

This commit is contained in:
Nicolas Gallagher
2022-07-03 17:23:15 -07:00
parent f591a7426c
commit c8f6db8bfc
5 changed files with 332 additions and 188 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ module.exports = function (eleventyConfig) {
// https://github.com/valeriangalliat/markdown-it-anchor
.use(markdownAnchor, {
level: [2, 3],
permalink: true,
permalink: markdownAnchor.permalink.headerLink({ safariReaderFix: true }),
// permalinkClass: "direct-link",
permalinkSymbol: '#'
})
+10 -10
View File
@@ -10,19 +10,19 @@
},
"homepage": "https://github.com/necolas/react-native-web",
"devDependencies": {
"@11ty/eleventy": "^1.0.0",
"@11ty/eleventy-navigation": "^0.3.2",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
"csso": "^4.2.0",
"@11ty/eleventy": "^1.0.1",
"@11ty/eleventy-navigation": "^0.3.3",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.1.0",
"csso": "^5.0.3",
"eleventy-plugin-svg-contents": "^0.7.0",
"eleventy-plugin-toc": "^1.1.0",
"eleventy-plugin-toc": "^1.1.5",
"html-minifier": "^4.0.0",
"markdown-it": "^12.3.2",
"markdown-it-anchor": "^7.0.0",
"markdown-it-attrs": "^4.0.0",
"markdown-it": "^13.0.1",
"markdown-it-anchor": "^8.6.4",
"markdown-it-attrs": "^4.1.4",
"markdown-it-container": "^3.0.0",
"markdown-it-emoji": "^2.0.0",
"markdown-it-footnote": "^3.0.2",
"markdown-it-emoji": "^2.0.2",
"markdown-it-footnote": "^3.0.3",
"markdown-it-for-inline": "^0.1.1",
"markdown-it-task-lists": "^2.1.1",
"uglify-es": "^3.3.9"
@@ -31,7 +31,7 @@
}
/* Widescreen */
@media (min-width: 1088px) {
:root {
--docs-font-size: 16px;
@@ -109,7 +109,7 @@ table { border-collapse: collapse; }
a { color: var(--docs-link-color); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--docs-heading-color); }
/**
/**
* Core components
* --------------------------------------------------------
*/
@@ -152,7 +152,7 @@ h1, h2, h3, h4, h5, h6 { color: var(--docs-heading-color); }
display: inline-block;
}
/**
/**
* Website components
* --------------------------------------------------------
*/
@@ -249,7 +249,6 @@ h1, h2, h3, h4, h5, h6 { color: var(--docs-heading-color); }
}
.markdown .header-anchor {
opacity: 0;
text-decoration: none;
}
@@ -366,7 +365,7 @@ h1, h2, h3, h4, h5, h6 { color: var(--docs-heading-color); }
border-radius: 0.375rem;
padding: 0.85em 1.15em;
}
.markdown blockquote {
font-weight: 500;
font-style: italic;
@@ -30,7 +30,7 @@
{% macro codesandbox(path = '/') %}
<iframe
src="https://codesandbox.io/embed/github/necolas/react-native-web/tree/{{ site.packageVersion }}/packages/examples?codemirror=1&fontsize=12&hidedevtools=1&hidenavigation=1&initialpath=/{{ path }}&module=%2Fpages%2F{{ path }}%2Findex.js&theme=light"
src="https://codesandbox.io/embed/github/necolas/react-native-web/tree/{{ site.packageVersion }}/packages/react-native-web-examples?codemirror=1&fontsize=12&hidedevtools=1&hidenavigation=1&initialpath=/{{ path }}&module=%2Fpages%2F{{ path }}%2Findex.js&theme=light"
style="width:100%; height:500px; border:1px solid var(--docs-border-color); border-radius:4px; overflow:hidden;"
title="React Native for Web: {{ path}} examples"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"