Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(v2): update infima #4370

Merged
merged 3 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/react-toggle": "^4.0.2",
"clsx": "^1.1.1",
"copy-text-to-clipboard": "^3.0.0",
"infima": "0.2.0-alpha.19",
"infima": "0.2.0-alpha.20",
"joi": "^17.4.0",
"lodash": "^4.17.20",
"parse-numeric-range": "^1.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ function BlogListPage(props: Props): JSX.Element {
}}>
<div className="container margin-vert--lg">
<div className="row">
<div className="col col--2">
<div className="col col--3">
<BlogSidebar sidebar={sidebar} />
</div>
<main className="col col--8">
<main className="col col--7">
{items.map(({content: BlogPostContent}) => (
<BlogPostItem
key={BlogPostContent.metadata.permalink}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ function BlogPostPage(props: Props): JSX.Element {
{BlogPostContents && (
<div className="container margin-vert--lg">
<div className="row">
<div className="col col--2">
<div className="col col--3">
<BlogSidebar sidebar={sidebar} />
</div>
<main className="col col--8">
<main className="col col--7">
<BlogPostItem
frontMatter={frontMatter}
metadata={metadata}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ function BlogTagsListPage(props: Props): JSX.Element {
}}>
<div className="container margin-vert--lg">
<div className="row">
<div className="col col--2">
<div className="col col--3">
<BlogSidebar sidebar={sidebar} />
</div>
<main className="col col--8">
<main className="col col--7">
<h1>
<Translate
id="theme.tags.tagsPageTitle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ function BlogTagsPostPage(props: Props): JSX.Element {
}}>
<div className="container margin-vert--lg">
<div className="row">
<div className="col col--2">
<div className="col col--3">
<BlogSidebar sidebar={sidebar} />
</div>
<main className="col col--8">
<main className="col col--7">
<h1>
<BlogTagsPostPageTitle count={count} tagName={tagName} />
</h1>
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-theme-classic/src/theme/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ function Navbar(): JSX.Element {
<div className="navbar__inner">
<div className="navbar__items">
{items != null && items.length !== 0 && (
<div
<button
aria-label="Navigation bar toggle"
className="navbar__toggle"
role="button"
type="button"
tabIndex={0}
onClick={showSidebar}
onKeyDown={showSidebar}>
<IconMenu />
</div>
</button>
)}
<Logo
className="navbar__brand"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@
.navbarHidden {
transform: translate3d(0, calc(var(--ifm-navbar-height) * -1), 0);
}

/* Fix it in new version of Infima */
:global(.navbar__toggle) {
color: inherit;
}
15 changes: 5 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3466,16 +3466,11 @@
"@types/node" "*"
"@types/webpack" "*"

"@types/lodash@^4.14.168":
"@types/lodash@^4.14.168", "@types/lodash@^4.14.53":
version "4.14.168"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008"
integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==

"@types/lodash@^4.14.53":
version "4.14.149"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440"
integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ==

"@types/mdast@^3.0.0":
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.3.tgz#2d7d671b1cd1ea3deb306ea75036c2a0407d2deb"
Expand Down Expand Up @@ -10862,10 +10857,10 @@ infer-owner@^1.0.3, infer-owner@^1.0.4:
resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467"
integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==

[email protected].19:
version "0.2.0-alpha.19"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.19.tgz#037dbb0b03e3aff00fb9b5e39f360b22645da6d6"
integrity sha512-3ZWyljOy6xNbOsEXJ2wecj3yXtL2vno4PbAEekTQxsSt6fu4kIOnleZH8RSW9ZLbWnaAokZgoJsAZZk3dI4hcg==
[email protected].20:
version "0.2.0-alpha.20"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.20.tgz#e99f70095e8d16a3333b561772eb9bf891211d3f"
integrity sha512-HSAyIW4/iMq85dJC8PircFA530yEsxqSK/3lXjhSZY+4dms84Izi6sKGdl5V0mDxVaikjAt1oexITtj8T4B0KQ==

inflight@^1.0.4:
version "1.0.6"
Expand Down