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

feat: upgrade react-slick #48093

Merged
merged 4 commits into from Mar 27, 2024
Merged

feat: upgrade react-slick #48093

merged 4 commits into from Mar 27, 2024

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Mar 26, 2024

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

更新上游:ant-design/react-slick#110

📝 Changelog

Language Changelog
🇺🇸 English Fix Carousel several bugs by upgrading react-slick changes and renewing TS type.
🇨🇳 Chinese Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

stackblitz bot commented Mar 26, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented Mar 26, 2024

Preview is ready

Copy link
Contributor

github-actions bot commented Mar 26, 2024

👁 Visual Regression Report for PR #48093 Passed ✅

🎯 Target branch: feature (e5849fc)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link
Contributor

github-actions bot commented Mar 26, 2024

size-limit report 📦

Path Size
./dist/antd.min.js 335.21 KB (+90 B 🔺)
./dist/antd-with-locales.min.js 382.12 KB (+238 B 🔺)

package.json Outdated Show resolved Hide resolved
Copy link

codesandbox-ci bot commented Mar 26, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@afc163 afc163 changed the base branch from master to feature March 26, 2024 10:08
@afc163 afc163 marked this pull request as ready for review March 26, 2024 10:10
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f0ba86a) to head (fce01db).
Report is 1 commits behind head on feature.

Additional details and impacted files
@@            Coverage Diff            @@
##           feature    #48093   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          739       739           
  Lines        12699     12699           
  Branches      3339      3339           
=========================================
  Hits         12699     12699           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@li-jia-nan
Copy link
Member

size-limit 大了 200 多是预期的吗?

@li-jia-nan li-jia-nan mentioned this pull request Mar 26, 2024
20 tasks
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/@ant-design/colors@7.0.2, npm/@ant-design/compatible@5.1.2, npm/@ant-design/cssinjs@1.18.5, npm/@ant-design/happy-work-theme@1.0.0, npm/@ant-design/icons@5.3.5, npm/@ant-design/react-slick@1.0.2, npm/@ant-design/tools@18.0.2, npm/@antv/g6@4.8.24, npm/@babel/eslint-plugin@7.23.5, npm/@biomejs/biome@1.6.3, npm/@ctrl/tinycolor@3.6.1, npm/@dnd-kit/core@6.1.0, npm/@dnd-kit/modifiers@7.0.0, npm/@dnd-kit/sortable@8.0.0, npm/@dnd-kit/utilities@3.2.2, npm/@emotion/react@11.11.4, npm/@emotion/server@11.11.0, npm/@ianvs/prettier-plugin-sort-imports@4.2.1, npm/@madccc/duplicate-package-checker-webpack-plugin@1.0.0, npm/@qixian.cs/github-contributors-list@2.0.1, npm/@rc-component/color-picker@1.5.3, npm/@rc-component/mutate-observer@1.1.0, npm/@rc-component/tour@1.14.2, npm/@rc-component/trigger@2.0.0, npm/@size-limit/file@11.1.2, npm/@stackblitz/sdk@1.9.0, npm/@testing-library/dom@9.3.4, npm/@testing-library/jest-dom@6.4.2, npm/@testing-library/react@14.2.2, npm/@testing-library/user-event@14.5.2, npm/@types/ali-oss@6.16.11, npm/@types/gtag.js@0.0.19, npm/@types/http-server@0.12.4, npm/@types/inquirer@9.0.7, npm/@types/isomorphic-fetch@0.0.39, npm/@types/jest-axe@3.5.9, npm/@types/jest-environment-puppeteer@5.0.6, npm/@types/jest-image-snapshot@6.4.0, npm/@types/jest@29.5.12, npm/@types/jquery@3.5.29, npm/@types/jsdom@21.1.6, npm/@types/pixelmatch@5.2.6, npm/@types/pngjs@6.0.4, npm/@types/prismjs@1.26.3, npm/@types/progress@2.0.7, npm/@types/react-copy-to-clipboard@5.0.7, npm/@types/react-dom@18.2.22, npm/@types/react-highlight-words@0.16.7, npm/@types/react-resizable@3.0.7, npm/@types/tar@6.1.11, npm/@types/throttle-debounce@5.0.2, npm/@types/warning@3.0.3, npm/@typescript-eslint/eslint-plugin@7.4.0, npm/@typescript-eslint/parser@7.4.0, npm/ali-oss@6.20.0, npm/antd-img-crop@4.21.0, npm/antd-style@3.6.2, npm/antd-token-previewer@2.0.8, npm/chalk@4.1.2, npm/circular-dependency-plugin@5.2.2, npm/copy-to-clipboard@3.3.3, npm/cross-fetch@4.0.0, npm/crypto@1.0.1, npm/dekko@0.2.1, npm/dumi-plugin-color-chunk@1.1.0, npm/dumi@2.3.0-beta.8, npm/esbuild-loader@4.1.0, npm/eslint-import-resolver-typescript@3.6.1, npm/eslint-plugin-compat@4.2.0, npm/eslint-plugin-import@2.29.1, npm/eslint-plugin-jest@27.9.0, npm/eslint-plugin-jsx-a11y@6.8.0, npm/eslint-plugin-lodash@7.4.0, npm/eslint-plugin-markdown@4.0.1, npm/eslint-plugin-react@7.34.1, npm/eslint-plugin-unicorn@51.0.1, npm/eslint@8.57.0, npm/fetch-jsonp@1.3.0, npm/fs-extra@11.2.0, npm/gh-pages@6.1.1, npm/glob@10.3.10, npm/html2sketch@1.0.2, npm/http-server@14.1.1, npm/inquirer@9.2.16, npm/is-ci@3.0.1, npm/isomorphic-fetch@3.0.0, npm/jest-axe@8.0.0, npm/jest-canvas-mock@2.5.2, npm/jest-environment-jsdom@29.7.0, npm/jest-environment-node@29.7.0, npm/jest-image-snapshot@6.4.0, npm/jest-puppeteer@10.0.1, npm/jest@29.7.0, npm/jquery@3.7.1, npm/jsdom@24.0.0, npm/jsonml-to-react-element@1.1.11, npm/jsonml.js@0.1.0, npm/lint-staged@15.2.2, npm/lunar-typescript@1.7.5, npm/mockdate@3.0.5, npm/node-fetch@3.3.2, npm/node-notifier@10.0.1, npm/open@10.1.0, npm/pixelmatch@5.3.0, npm/pngjs@7.0.0, npm/prettier-plugin-jsdoc@1.3.0, npm/prettier@3.2.5, npm/pretty-format@29.7.0, npm/puppeteer@22.6.1, npm/qrcode.react@3.1.0, npm/qs@6.12.0, npm/rc-cascader@3.24.0, npm/rc-checkbox@3.2.0, npm/rc-collapse@3.7.3, npm/rc-dialog@9.4.0, npm/rc-drawer@7.1.0, npm/rc-dropdown@4.2.0, npm/rc-field-form@1.42.1, npm/rc-footer@0.6.8, npm/rc-image@7.6.0, npm/rc-input-number@9.0.0, npm/rc-input@1.4.5, npm/rc-mentions@2.11.1, npm/rc-menu@9.13.0, npm/rc-motion@2.9.0, npm/rc-notification@5.4.0, npm/rc-pagination@4.0.4, npm/rc-picker@4.3.0, npm/rc-progress@4.0.0, npm/rc-rate@2.12.0, npm/rc-resize-observer@1.4.0, npm/rc-segmented@2.3.0, npm/rc-select@14.13.0, npm/rc-slider@10.5.0, npm/rc-steps@6.0.1, npm/rc-switch@4.1.0, npm/rc-table@7.43.1, npm/rc-tabs@14.1.1, npm/rc-textarea@1.6.3, npm/rc-tooltip@6.2.0, npm/rc-tree-select@5.19.0, npm/rc-tree@5.8.5, npm/rc-tween-one@3.0.6, npm/rc-upload@4.5.2, npm/rc-util@5.39.1, npm/rc-virtual-list@3.11.4, npm/react-copy-to-clipboard@5.1.0, npm/react-countup@6.5.3, npm/react-dom@18.2.0, npm/react-draggable@4.4.6, npm/react-fast-marquee@1.6.4, npm/react-highlight-words@0.20.0, npm/react-infinite-scroll-component@6.1.0, npm/react-intersection-observer@9.8.1, npm/react-resizable@3.0.5, npm/react-router-dom@6.22.3, npm/react-sticky-box@2.0.5, npm/remark-cli@12.0.0, npm/remark-gfm@4.0.0, npm/remark-html@16.0.1, npm/remark-lint-no-undefined-references@4.2.1, npm/remark-lint@9.1.2, npm/remark-preset-lint-recommended@6.1.3, npm/remark@15.0.1, npm/runes2@1.1.4, npm/scroll-into-view-if-needed@3.1.0, npm/sharp@0.33.3, npm/simple-git@3.23.0, npm/size-limit@11.1.2, npm/stylelint-config-rational-order@0.1.2, npm/stylelint-config-standard@36.0.0, npm/stylelint-prettier@5.0.0, npm/sylvanas@0.6.1, npm/tar@6.2.1, npm/terser@5.29.2, npm/throttle-debounce@5.0.0, npm/tsx@4.7.1, npm/typedoc@0.25.12, npm/vanilla-jsoneditor@0.23.0, npm/vanilla-tilt@1.8.1, npm/webpack-bundle-analyzer@4.10.1, npm/webpack@5.91.0, npm/xhr-mock@2.5.1

View full report↗︎

@afc163 afc163 merged commit 3518631 into feature Mar 27, 2024
108 checks passed
@afc163 afc163 deleted the feat/upgrade-react-slick branch March 27, 2024 05:34
Copy link
Contributor

🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).

🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。

MadCcc added a commit that referenced this pull request Mar 31, 2024
* fix: consistent with the tag component, the processing state uses colorInfo token. (#47695)

Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>

* feat: Notification support aria-* in closable (#47710)

* feat: Notification support aria-* in closable

* feat: optimize code

* Cascader support option render (#47727)

* feat: done

* feat: doc

* feat: improve Transfer `key` type (#47879)

* feat: add Transfer's key type

* docs: update prop

* fix: key type

* fix: cycle dependency

* chore: update size limit (#47903)

Signed-off-by: Amumu <yoyo837@hotmail.com>

* chore: update size limit (#47904)

* feat: add Uzbek(latn) locale (#47899)

* feat: add Uzbek(latn) locale

* size-limit

* Update docs/react/i18n.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>

* feat: support `showSorterTooltip.target` for Table sorters (#47409)

* Added `sorterTooltipTarget` prop for table sorters

* demo updated

* updated snapshot

* updated snapshot

* moved table tooltip target to `showSorterTooltip`

* fix

* updated docs

* empty commit

* updated version in docs

---------

Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>

* feat: CP support FloatButton.Group closeIcon (#47953)

* Typography support collapse (#47264)

* feat: typograohy support collapse

* feat: snap

* feat: test

* feat: 单测不符合预期

* feat: test

* feat: 恢复

* feat: test

* feat: test

* feat: 修改命名

* feat: 代码优化

* feat: 添加控制台提示

* feat: snap

* feat: symbol support function

* feat: snap

* fix: text

* feat: snap

* feat: api 修改

* feat: key 修改

* feat: 去掉参数

* feat: lint

* feat: snap

* feat: test

* feat: use 2

* feat: review

* feat: test

* chore: part of it

* chore: fix auto collapse logic

* feat: 修改 doc 单测

* feat: doc

* test: update testcase

* docs: add more

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* feat: Table support onScroll event (#47986)

* feat: Popover can be closed by ESC when trigger is focus or click (#47928)

* feat:Add keydown event to handle escape

* fix

* fix:use exact same logic with popconfirm

* fix:move same logic from popconfirm to popover

* fix

* fix

* add test

* fix

* fix

* fix

* test size-limit

* fix

* fix popconfirm test

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>

* chore: update size-limit (#48014)

* feat: steps support for circular progress bar (#47940)

* feat: steps support for circular progress bar

* Update components/progress/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/__tests__/index.test.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/demo/circle-steps.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update circle-steps.tsx

* Update components/progress/progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/progress/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

* Update components/progress/demo/circle-steps.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>

* demo: update Progress demo (#48052)

* demo: update Progress demo

* fix: fix

* fix: fix

* fix: fix

* fix: update snap

* chore: update size-limit (#48098)

* feat: add Scrollbar css token (#48109)

* feat: add Scrollbar css token

* docs: update docs

* feat: upgrade react-slick (#48093)

* feat: upgrade react-slick

* test: update snapshots

* test: update snapshots

---------

Co-authored-by: lijianan <574980606@qq.com>

* Revert "feat: add Scrollbar css token (#48109)" (#48115)

This reverts commit d0cc93b.

* feat: Input.OTP component support (#48076)

* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit

* fix: Upload remove margin using flex display (#48091)

* fix: remove upload margin with flex

* fix

* use support not

* fix

* feat: copy support async (#48123)

* feat: copy support async

* feat: add test

* feat: doc

* feat: snap

* feat: add loading

* feat: 恢复 try

* feat: 判断是否是 Error

* feat: throw error

* feat: 为了醋包了饺子

* feat: remove code

* feat: add loading test

* fix: test

* fix: icon import way

* chore: improve test case code

* chore: improve test case code

---------

Co-authored-by: afc163 <afc163@gmail.com>

* feat: Table add `rowHoverable` to disable hover interaction (#48112)

* feat: Tag support aria-* in closable (#47678)

* feat: Tag support aria-* in closable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>

---------

Signed-off-by: pfdgithub <pfdgithub@users.noreply.github.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pfdgithub <pfdgithub@users.noreply.github.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 章鱼怪 <hi.madocto@gmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Alina Andrieieva <emilialina@list.ru>
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Cooper <73218815+CooperHash@users.noreply.github.com>
Co-authored-by: yykoypj <601924094@qq.com>
@MadCcc MadCcc mentioned this pull request Mar 31, 2024
CooperHash pushed a commit to CooperHash/ant-design that referenced this pull request Apr 10, 2024
* feat: upgrade react-slick

* test: update snapshots

* test: update snapshots

---------

Co-authored-by: lijianan <574980606@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants