From ffbc90d0c9b9dc15d0c2f327a669d9385fce9590 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 6 May 2021 15:32:02 +0800 Subject: ... --- FrontEnd/package-lock.json | 22 +++++++++++----------- FrontEnd/package.json | 2 +- FrontEnd/src/app/views/center/TimelineBoard.tsx | 2 +- FrontEnd/src/app/views/center/center.sass | 2 +- FrontEnd/src/app/views/common/AppBar.tsx | 6 +++--- FrontEnd/src/app/views/common/FullPage.tsx | 2 +- FrontEnd/src/app/views/common/LoadingButton.tsx | 2 +- FrontEnd/src/app/views/common/SearchInput.tsx | 6 +++--- FrontEnd/src/app/views/common/TabPages.tsx | 2 +- FrontEnd/src/app/views/home/TimelineListView.tsx | 2 +- FrontEnd/src/app/views/search/index.tsx | 6 +++--- FrontEnd/src/app/views/settings/index.tsx | 2 +- .../app/views/timeline-common/MarkdownPostEdit.tsx | 2 +- .../timeline-common/TimelinePageCardTemplate.tsx | 6 +++--- .../app/views/timeline-common/TimelinePostView.tsx | 6 +++--- FrontEnd/src/app/views/timeline/TimelineCard.tsx | 6 +++--- FrontEnd/src/app/views/user/UserCard.tsx | 4 ++-- 17 files changed, 40 insertions(+), 40 deletions(-) diff --git a/FrontEnd/package-lock.json b/FrontEnd/package-lock.json index 43cd2ac6..c58f8eef 100644 --- a/FrontEnd/package-lock.json +++ b/FrontEnd/package-lock.json @@ -19,7 +19,7 @@ "lodash": "^4.17.21", "pepjs": "^0.5.3", "react": "^17.0.1", - "react-bootstrap": "^1.5.2", + "react-bootstrap": "^2.0.0-alpha.1", "react-dom": "^17.0.2", "react-i18next": "^11.8.15", "react-inlinesvg": "^2.3.0", @@ -10910,9 +10910,9 @@ } }, "node_modules/react-bootstrap": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.5.2.tgz", - "integrity": "sha512-mGKPY5+lLd7Vtkx2VFivoRkPT4xAHazuFfIhJLTEgHlDfIUSePn7qrmpZe5gXH9zvHV0RsBaQ9cLfXjxnZrOpA==", + "version": "2.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.0.0-alpha.1.tgz", + "integrity": "sha512-zoIGDzgcBoGiKd/0Rgh5SRyvqgH5OJPMEtXp+1v4Ek8gZDVSPZf58Oy4yhXs30pw4HKBS0s4yzJZcGMFKq3Yuw==", "dependencies": { "@babel/runtime": "^7.13.8", "@restart/context": "^2.1.4", @@ -10920,7 +10920,7 @@ "@types/classnames": "^2.2.10", "@types/invariant": "^2.2.33", "@types/prop-types": "^15.7.3", - "@types/react": ">=16.9.35", + "@types/react": ">=16.14.4", "@types/react-transition-group": "^4.4.1", "@types/warning": "^3.0.0", "classnames": "^2.2.6", @@ -10934,8 +10934,8 @@ "warning": "^4.0.3" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "react": ">=16.14.0", + "react-dom": ">=16.14.0" } }, "node_modules/react-dom": { @@ -22135,9 +22135,9 @@ } }, "react-bootstrap": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.5.2.tgz", - "integrity": "sha512-mGKPY5+lLd7Vtkx2VFivoRkPT4xAHazuFfIhJLTEgHlDfIUSePn7qrmpZe5gXH9zvHV0RsBaQ9cLfXjxnZrOpA==", + "version": "2.0.0-alpha.1", + "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-2.0.0-alpha.1.tgz", + "integrity": "sha512-zoIGDzgcBoGiKd/0Rgh5SRyvqgH5OJPMEtXp+1v4Ek8gZDVSPZf58Oy4yhXs30pw4HKBS0s4yzJZcGMFKq3Yuw==", "requires": { "@babel/runtime": "^7.13.8", "@restart/context": "^2.1.4", @@ -22145,7 +22145,7 @@ "@types/classnames": "^2.2.10", "@types/invariant": "^2.2.33", "@types/prop-types": "^15.7.3", - "@types/react": ">=16.9.35", + "@types/react": ">=16.14.4", "@types/react-transition-group": "^4.4.1", "@types/warning": "^3.0.0", "classnames": "^2.2.6", diff --git a/FrontEnd/package.json b/FrontEnd/package.json index eb851d3a..dd1fb6c0 100644 --- a/FrontEnd/package.json +++ b/FrontEnd/package.json @@ -17,7 +17,7 @@ "lodash": "^4.17.21", "pepjs": "^0.5.3", "react": "^17.0.1", - "react-bootstrap": "^1.5.2", + "react-bootstrap": "^2.0.0-alpha.1", "react-dom": "^17.0.2", "react-i18next": "^11.8.15", "react-inlinesvg": "^2.3.0", diff --git a/FrontEnd/src/app/views/center/TimelineBoard.tsx b/FrontEnd/src/app/views/center/TimelineBoard.tsx index e0511422..35249f66 100644 --- a/FrontEnd/src/app/views/center/TimelineBoard.tsx +++ b/FrontEnd/src/app/views/center/TimelineBoard.tsx @@ -47,7 +47,7 @@ const TimelineBoardItem: React.FC = ({ )} {title} - {name} + {name} {actions != null ? (
diff --git a/FrontEnd/src/app/views/center/center.sass b/FrontEnd/src/app/views/center/center.sass index 4b86f241..c0dfb9c0 100644 --- a/FrontEnd/src/app/views/center/center.sass +++ b/FrontEnd/src/app/views/center/center.sass @@ -23,7 +23,7 @@ .icon height: 1.3em color: black - @extend .mr-2 + @extend .me-2 &:hover background: $gray-300 .right diff --git a/FrontEnd/src/app/views/common/AppBar.tsx b/FrontEnd/src/app/views/common/AppBar.tsx index 4b165427..939f0175 100644 --- a/FrontEnd/src/app/views/common/AppBar.tsx +++ b/FrontEnd/src/app/views/common/AppBar.tsx @@ -38,7 +38,7 @@ const AppBar: React.FC = (_) => { -
- + ); diff --git a/FrontEnd/src/app/views/search/index.tsx b/FrontEnd/src/app/views/search/index.tsx index 8401f26c..966ca666 100644 --- a/FrontEnd/src/app/views/search/index.tsx +++ b/FrontEnd/src/app/views/search/index.tsx @@ -23,16 +23,16 @@ const TimelineSearchResultItemView: React.FC<{

{timeline.title} - {timeline.name} + {timeline.name}

{timeline.owner.nickname} - + @{timeline.owner.username}
diff --git a/FrontEnd/src/app/views/settings/index.tsx b/FrontEnd/src/app/views/settings/index.tsx index bc3b55a4..04a2777a 100644 --- a/FrontEnd/src/app/views/settings/index.tsx +++ b/FrontEnd/src/app/views/settings/index.tsx @@ -93,7 +93,7 @@ const SettingsPage: React.FC = (_) => { {t("settings.languageSecondary")} - + = ({ ) : ( <> { if (canLeave) { diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx index ad9b7ede..be0c536b 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx @@ -54,7 +54,7 @@ const TimelinePageCardTemplate: React.FC = ({ = ({ { getHttpBookmarkClient() @@ -94,7 +94,7 @@ const TimelinePageCardTemplate: React.FC = ({ /> ) : null} setDialog("member")} /> {manageItems != null ? ( diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx index 295ee3b9..e9c75de7 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx @@ -63,15 +63,15 @@ const TimelinePostView: React.FC = (props) => { /> ) : null}
- + - {post.author.nickname} + {post.author.nickname} {new Date(post.time).toLocaleTimeString()} diff --git a/FrontEnd/src/app/views/timeline/TimelineCard.tsx b/FrontEnd/src/app/views/timeline/TimelineCard.tsx index 2a9bcfc8..f2aca579 100644 --- a/FrontEnd/src/app/views/timeline/TimelineCard.tsx +++ b/FrontEnd/src/app/views/timeline/TimelineCard.tsx @@ -20,15 +20,15 @@ const TimelineCard: React.FC = (props) => { <>

{timeline.title} - {timeline.name} + {timeline.name}

{timeline.owner.nickname} - + @{timeline.owner.username}
diff --git a/FrontEnd/src/app/views/user/UserCard.tsx b/FrontEnd/src/app/views/user/UserCard.tsx index 552f5ced..067366e0 100644 --- a/FrontEnd/src/app/views/user/UserCard.tsx +++ b/FrontEnd/src/app/views/user/UserCard.tsx @@ -18,12 +18,12 @@ const UserCard: React.FC = (props) => { <>

{timeline.title} - {timeline.name} + {timeline.name}

{timeline.owner.nickname}
-- cgit v1.2.3