From 66c3639ed45615fe866e99129736c818d7405620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Fri, 10 Jun 2022 17:06:07 +0800 Subject: [PATCH] chore: bump rc-dialog version (#35969) * chore: bump rc-dialog version * chore: trigger * chore: trigger * docs: RM peer conflict demo * chore: bump deps version * chore: bump ver * chore: bump * chore: bump * chore: test * chore: rm peer * chore: clean all peer * chor: bump rc-image --- .github/workflows/preview-build.yml | 2 +- .github/workflows/site-deploy.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/ui.yml | 2 +- .../__snapshots__/demo-extend.test.ts.snap | 107 +++++------------- .../__tests__/__snapshots__/demo.test.ts.snap | 107 +++++------------- components/alert/demo/loop-banner.md | 30 ++--- package.json | 11 +- 8 files changed, 73 insertions(+), 190 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 19a3a7397c..0af77d36c4 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -30,7 +30,7 @@ jobs: key: lock-${{ github.sha }} - name: create package-lock.json - run: npm i --package-lock-only --ignore-scripts --legacy-peer-deps + run: npm i --package-lock-only --ignore-scripts - name: hack for single file run: | diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 030faa4bda..f358c15171 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -22,7 +22,7 @@ jobs: key: lock-${{ github.sha }} - name: create package-lock.json - run: npm i --package-lock-only --ignore-scripts --legacy-peer-deps + run: npm i --package-lock-only --ignore-scripts - name: hack for single file run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85a76bb0f2..48f90107d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: key: lock-${{ github.sha }} - name: create package-lock.json - run: npm i --package-lock-only --ignore-scripts --legacy-peer-deps + run: npm i --package-lock-only --ignore-scripts - name: hack for single file run: | diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 1bd7251ea6..be7cdf6d24 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -28,7 +28,7 @@ jobs: node-version: '16' - name: create package-lock.json - run: npm i --package-lock-only --ignore-scripts --legacy-peer-deps + run: npm i --package-lock-only --ignore-scripts - name: hack for single file run: | diff --git a/components/alert/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/alert/__tests__/__snapshots__/demo-extend.test.ts.snap index fc0e64ba1d..5886b15650 100644 --- a/components/alert/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/alert/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -1323,89 +1323,38 @@ Array [ `; exports[`renders ./components/alert/demo/loop-banner.md extend context correctly 1`] = ` -Array [ - , + + + `; exports[`renders ./components/alert/demo/smooth-closed.md extend context correctly 1`] = ` diff --git a/components/alert/__tests__/__snapshots__/demo.test.ts.snap b/components/alert/__tests__/__snapshots__/demo.test.ts.snap index 8e0d375fe3..b3006dc519 100644 --- a/components/alert/__tests__/__snapshots__/demo.test.ts.snap +++ b/components/alert/__tests__/__snapshots__/demo.test.ts.snap @@ -1323,89 +1323,38 @@ Array [ `; exports[`renders ./components/alert/demo/loop-banner.md correctly 1`] = ` -Array [ - , + + + `; exports[`renders ./components/alert/demo/smooth-closed.md correctly 1`] = ` diff --git a/components/alert/demo/loop-banner.md b/components/alert/demo/loop-banner.md index 5eea875885..02c0b9abac 100644 --- a/components/alert/demo/loop-banner.md +++ b/components/alert/demo/loop-banner.md @@ -17,30 +17,16 @@ Show a loop banner by using with [react-text-loop-next](https://npmjs.com/packag import { Alert } from 'antd'; import React from 'react'; import Marquee from 'react-fast-marquee'; -import { TextLoop } from 'react-text-loop-next'; const App: React.FC = () => ( - <> - -
Notice message one
-
Notice message two
-
Notice message three
-
Notice message four
- - } - /> - - I can be a React component, multiple React components, or just some text. - - } - /> - + + I can be a React component, multiple React components, or just some text. + + } + /> ); export default App; diff --git a/package.json b/package.json index 31e91df281..66ce00c449 100644 --- a/package.json +++ b/package.json @@ -126,11 +126,11 @@ "rc-cascader": "~3.6.0", "rc-checkbox": "~2.3.0", "rc-collapse": "~3.3.0", - "rc-dialog": "~8.8.2", + "rc-dialog": "~8.9.0", "rc-drawer": "~4.4.2", "rc-dropdown": "~4.0.0", "rc-field-form": "~1.26.1", - "rc-image": "~5.6.0", + "rc-image": "~5.7.0", "rc-input": "~0.0.1-alpha.5", "rc-input-number": "~7.3.0", "rc-mentions": "~1.8.0", @@ -159,9 +159,9 @@ "scroll-into-view-if-needed": "^2.2.25" }, "devDependencies": { - "@ant-design/bisheng-plugin": "^3.2.0", + "@ant-design/bisheng-plugin": "^3.3.0-alpha.4", "@ant-design/hitu": "^0.0.0-alpha.13", - "@ant-design/tools": "^15.0.2", + "@ant-design/tools": "^15.0.3", "@docsearch/css": "^3.0.0", "@qixian.cs/github-contributors-list": "^1.0.3", "@stackblitz/sdk": "^1.3.0", @@ -191,7 +191,7 @@ "antd-img-crop": "^4.0.0", "array-move": "^4.0.0", "babel-plugin-add-react-displayname": "^0.0.5", - "bisheng": "^3.5.0", + "bisheng": "^3.7.0-alpha.4", "bisheng-plugin-description": "^0.1.4", "bisheng-plugin-react": "^1.2.0", "bisheng-plugin-toc": "^0.4.4", @@ -272,7 +272,6 @@ "react-router-dom": "^6.0.2", "react-sortable-hoc": "^2.0.0", "react-sticky": "^6.0.3", - "react-text-loop-next": "0.0.3", "react-window": "^1.8.5", "remark": "^14.0.1", "remark-cli": "^10.0.0",