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): upgrade Infima to 0.2.0-alpha.10 #2729

Merged
merged 2 commits into from
May 10, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ function BlogListPaginator(props) {
aria-label="Blog list page navigation"
className="my-5 col col-xl-4 offset-xl-4 col-xs-6">
<ul className="pagination justify-content-between">
<li className="page-item">
<li className="pagination__item">
{previousPage && (
<Link className="page-link rounded-pill" to={previousPage}>
Older
</Link>
)}
</li>
<li className="page-item">
<li className="pagination__item">
{nextPage && (
<Link className="page-link rounded-pill" to={nextPage}>
Newer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ function BlogPostPaginator(props) {
return (
<nav aria-label="Blog post page navigation" className="my-5">
<ul className="pagination justify-content-between">
<li className="page-item">
<li className="pagination__item">
{prevItem && (
<Link className="page-link rounded-pill" to={prevItem.permalink}>
&laquo; {prevItem.title}
</Link>
)}
</li>
<li className="page-item">
<li className="pagination__item">
{nextItem && (
<Link className="page-link rounded-pill" to={nextItem.permalink}>
{nextItem.title} &raquo;
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@mdx-js/react": "^1.5.8",
"classnames": "^2.2.6",
"clipboard": "^2.0.6",
"infima": "0.2.0-alpha.9",
"infima": "0.2.0-alpha.10",
"parse-numeric-range": "^0.0.2",
"prism-react-renderer": "^1.1.0",
"prismjs": "^1.20.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ function BlogListPaginator(props) {
<div className="pagination-nav__item">
{previousPage && (
<Link className="pagination-nav__link" to={previousPage}>
<h4 className="pagination-nav__link--label">
&laquo; Newer Entries
</h4>
<h4 className="pagination-nav__label">&laquo; Newer Entries</h4>
</Link>
)}
</div>
<div className="pagination-nav__item pagination-nav__item--next">
{nextPage && (
<Link className="pagination-nav__link" to={nextPage}>
<h4 className="pagination-nav__link--label">
Older Entries &raquo;
</h4>
<h4 className="pagination-nav__label">Older Entries &raquo;</h4>
</Link>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ function BlogPostPaginator(props) {
<div className="pagination-nav__item">
{prevItem && (
<Link className="pagination-nav__link" to={prevItem.permalink}>
<div className="pagination-nav__link--sublabel">Previous Post</div>
<div className="pagination-nav__link--label">
<div className="pagination-nav__sublabel">Previous Post</div>
<div className="pagination-nav__label">
&laquo; {prevItem.title}
</div>
</Link>
Expand All @@ -26,8 +26,8 @@ function BlogPostPaginator(props) {
<div className="pagination-nav__item pagination-nav__item--next">
{nextItem && (
<Link className="pagination-nav__link" to={nextItem.permalink}>
<div className="pagination-nav__link--sublabel">Next Post</div>
<div className="pagination-nav__link--label">
<div className="pagination-nav__sublabel">Next Post</div>
<div className="pagination-nav__label">
{nextItem.title} &raquo;
</div>
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ function DocPaginator(props) {
<Link
className="pagination-nav__link"
to={metadata.previous.permalink}>
<div className="pagination-nav__link--sublabel">Previous</div>
<div className="pagination-nav__link--label">
<div className="pagination-nav__sublabel">Previous</div>
<div className="pagination-nav__label">
&laquo; {metadata.previous.title}
</div>
</Link>
Expand All @@ -28,8 +28,8 @@ function DocPaginator(props) {
<div className="pagination-nav__item pagination-nav__item--next">
{metadata.next && (
<Link className="pagination-nav__link" to={metadata.next.permalink}>
<div className="pagination-nav__link--sublabel">Next</div>
<div className="pagination-nav__link--label">
<div className="pagination-nav__sublabel">Next</div>
<div className="pagination-nav__label">
{metadata.next.title} &raquo;
</div>
</Link>
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-theme-classic/src/theme/Tabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function Tabs(props) {
role="tab"
tabIndex="0"
aria-selected={selectedValue === value}
className={classnames('tab-item', styles.tabItem, {
'tab-item--active': selectedValue === value,
className={classnames('tabs__item', styles.tabItem, {
'tabs__item--active': selectedValue === value,
})}
key={value}
ref={(tabControl) => tabRefs.push(tabControl)}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8691,10 +8691,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==

infima@0.2.0-alpha.9:
version "0.2.0-alpha.9"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.9.tgz#2eea70b1571c8f55847e3f305ebd10814d2d09cf"
integrity sha512-EXsGm6WhsabOangUkHyTx1qfKJdHF3Q9na/hJe387ytOkWu/phwjsA7T/C6b2KeRTdZl/DO1tFZsFc2+Qnif7A==
infima@0.2.0-alpha.10:
version "0.2.0-alpha.10"
resolved "https://registry.yarnpkg.com/infima/-/infima-0.2.0-alpha.10.tgz#935aab3e7991fe746a942849f0e62f70c5be09e9"
integrity sha512-6Q+KXPhV8mve76segJpmdspV7pmRdKfK5mHllew+mjtRuQxDUivd3oaZjdIe6Y8SSCammnJqJox3orpSnc7QDQ==

inflight@^1.0.4:
version "1.0.6"
Expand Down