Migrated repository
Go to file
800c3fcbdb
feat(table-filter): support custom Empty (#49613)
* fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)

* 修复自定义全局组件,过滤里面没有生效

* 新增测试用例

* 重新提交测试用例

* 测试用例添加断言判断

* update Table.filter.test.tsx

* commit snapshot

* update Table.filter.test.tsx

* update Table.filter.test.tsx

* update Table.filter.test.tsx

(cherry picked from commit 7790934b0b)

* chore: update case

* feat(table-filter): support custom Empty

* chore(type): improve TS type definition (#49602)

(cherry picked from commit a15fcfa1dc)

* fixup! feat(table-filter): support custom Empty

* Squashed commit of the following:

commit 1b9706f22d
Merge: e76e386966 cc54bef826
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Jun 26 10:10:48 2024 +0000

    chore: auto merge branches (#49609)

    chore: sync master to feature

commit cc54bef826
Author: 照明胧 <25151442+mmmml-zhao@users.noreply.github.com>
Date:   Wed Jun 26 14:19:22 2024 +0800

    fix: The emptyText field of the table (#49599)

    * fix: The emptyText field of the table
    when emptyText is null

    * test: update test case(#49599)

commit ff7fea18f3
Author: afc163 <afc163@gmail.com>
Date:   Wed Jun 26 12:40:24 2024 +0800

    Revert "bug: fix-table-bug ref filters" (#49600)

    This reverts commit 7790934b0b.

commit a15fcfa1dc
Author: 红 <wxh1220@gmail.com>
Date:   Wed Jun 26 12:40:11 2024 +0800

    chore(type): improve TS type definition (#49602)

commit 9ce5cbcf64
Author: Andrey <aaa144855@gmail.com>
Date:   Wed Jun 26 06:05:39 2024 +0300

    fix: remove redundant transformations in ```UploadList```, which led to decrease in performance (#49598)

    * fix: remove unnecessary transformations for upload list with previews

    * chore: revert miss convert

    ---------

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

commit 4145305b16
Author: MadCcc <madccc@foxmail.com>
Date:   Tue Jun 25 16:59:30 2024 +0800

    docs: fix site FOUC (#49595)

commit 44e96b7b06
Author: enhongchen <106970098+enhongchen@users.noreply.github.com>
Date:   Tue Jun 25 14:24:14 2024 +0800

    docs: Update use-with-rsbuild.zh-CN.md (#49592)

    https://ant.design/docs/react/use-with-rsbuild-cn?theme=happy-work#%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96

    Signed-off-by: enhongchen <106970098+enhongchen@users.noreply.github.com>

commit 6a0af781d1
Author: 红 <wxh1220@gmail.com>
Date:   Tue Jun 25 13:34:28 2024 +0800

    chore: improve tabs demo (#49590)

    ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm

commit 7127603b76
Author: Tantatorn Suksangwarn <timefear007@gmail.com>
Date:   Tue Jun 25 12:32:59 2024 +0700

    fix: add missing Thai translations (#49588)

commit 7790934b0b
Author: duqigit <916475145@qq.com>
Date:   Tue Jun 25 10:44:43 2024 +0800

    fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)

    * 修复自定义全局组件,过滤里面没有生效

    * 新增测试用例

    * 重新提交测试用例

    * 测试用例添加断言判断

    * update Table.filter.test.tsx

    * commit snapshot

    * update Table.filter.test.tsx

    * update Table.filter.test.tsx

    * update Table.filter.test.tsx

commit b09913db06
Author: lijianan <574980606@qq.com>
Date:   Tue Jun 25 10:42:19 2024 +0800

    test: update test case code (#49585)

commit b420c57354
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jun 25 10:39:47 2024 +0800

    chore(deps): bump oven-sh/setup-bun from 1 to 2 (#49578)

    Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2.
    - [Release notes](https://github.com/oven-sh/setup-bun/releases)
    - [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2)

    ---
    updated-dependencies:
    - dependency-name: oven-sh/setup-bun
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit a81603d720
Author: afc163 <afc163@gmail.com>
Date:   Mon Jun 24 13:33:56 2024 +0800

    docs: fix nav menu cannot click (#49569)

* chore: remove

* test: add more unit test

* chore: lint

* chore: fix legacy16 bug

* chore: update logic

* test: update unit test

---------

Co-authored-by: duqigit <916475145@qq.com>
2024-07-01 17:47:59 +08:00
.dumi fix: dom crash with ssr hydrate error (#49576) 2024-06-28 10:26:05 +08:00
.github chore: add pkg.pr.new (#49647) 2024-06-29 11:27:56 +08:00
.husky
alias
components feat(table-filter): support custom Empty (#49613) 2024-07-01 17:47:59 +08:00
docs docs: Update use-with-rsbuild.zh-CN.md (#49592) 2024-06-25 14:24:14 +08:00
scripts chore: ignore generate-token-meta warning (#49637) 2024-06-28 15:02:59 +08:00
tests refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
typings
.antd-tools.config.js
.depslintrc.js
.dockerignore
.dumirc.ts fix: dom crash with ssr hydrate error (#49576) 2024-06-28 10:26:05 +08:00
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.gitpod.yml
.jest.image.js
.jest.js
.jest.node.js
.jest.site.js
.lintstagedrc.json refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
.ncurc.js
.npmignore
.npmrc
.prettierignore refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
.prettierrc
.remarkrc.js
.surgeignore
biome.json refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
BUG_VERSIONS.json docs(): release 5.18.3 (#49491) 2024-06-19 13:31:19 +08:00
CHANGELOG.en-US.md docs(): release 5.18.3 (#49491) 2024-06-19 13:31:19 +08:00
CHANGELOG.zh-CN.md docs(): release 5.18.3 (#49491) 2024-06-19 13:31:19 +08:00
CNAME
CODE_OF_CONDUCT.md
contributors.json chore: update contributors.json (#49560) 2024-06-23 12:23:48 +08:00
index-style-only.js refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
index-with-locales.js
index.js
jest-puppeteer.config.js
LICENSE
mako.config.json fix: dom crash with ssr hydrate error (#49576) 2024-06-28 10:26:05 +08:00
package.json Merge branch 'feature' into master 2024-06-30 08:56:53 -07:00
README-zh_CN.md docs: sync README-zh_CN (#48817) 2024-05-08 08:00:33 +08:00
README.md refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
renovate.json
SECURITY.md
tsconfig-old-react.json
tsconfig.json
webpack.config.js

Ant Design

An enterprise-class UI design language and React UI library.

CI status codecov NPM version NPM downloads

FOSSA Status

Follow Twitter Renovate status dumi Issues need help

Changelog · Report Bug · Request Feature · English · 中文

Features

  • 🌈 Enterprise-class UI designed for web applications.
  • 📦 A set of high-quality React components out of the box.
  • 🛡 Written in TypeScript with predictable static types.
  • ⚙️ Whole package of design resources and development tools.
  • 🌍 Internationalization support for dozens of languages.
  • 🎨 Powerful theme customization based on CSS-in-JS.

🖥 Environment Support

  • Modern browsers
  • Server-side Rendering
  • Electron
Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
Edge last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm install antd
yarn add antd
pnpm add antd

🔨 Usage

import { Button, DatePicker } from 'antd';

export default () => (
  <>
    <Button type="primary">PRESS ME</Button>
    <DatePicker placeholder="select date" />
  </>
);

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or use opensumi.run, a free online pure front-end dev environemt.

opensumi.run

Or clone locally:

$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

🤝 Contributing PRs Welcome

Top Contributors of ant-design/ant-design - Last 28 days Performance Stats of ant-design/ant-design - Last 28 days
New participants of ant-design - past 28 days

Let's build a better antd together.

We warmly invite contributions from everyone. Before you get started, please take a moment to review our Contributing Guide. Feel free to share your ideas through Pull Requests or GitHub Issues. If you're interested in enhancing our codebase, explore the Development Instructions and enjoy your coding journey! :)

For collaborators, adhere to our Pull Request Principle and utilize our Pull Request Template when creating a Pull Request.

Let's fund issues in this repository

❤️ Sponsors and Backers