├── .editorconfig ├── .eslintrc.js ├── .fatherrc.ts ├── .github └── workflows │ └── react-component-ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .umirc.ts ├── LICENSE ├── README.md ├── docs ├── demo │ ├── Comment.md │ ├── Form.md │ └── Theme.md └── examples │ ├── Comment.tsx │ ├── Form.tsx │ └── Theme.tsx ├── jest.config.js ├── now.json ├── package.json ├── src ├── CompatibleConsumer.tsx ├── _util │ ├── types.ts │ ├── upgradeMessage.ts │ └── warning.ts ├── comment │ ├── index.tsx │ └── style │ │ └── index.tsx ├── form │ ├── Form.tsx │ ├── FormItem.tsx │ ├── constants.tsx │ ├── context.ts │ ├── index.tsx │ ├── interface.ts │ └── style │ │ ├── feedback.tsx │ │ ├── index.less │ │ ├── index.tsx │ │ ├── layout.tsx │ │ ├── mixin.less │ │ └── mixin.tsx ├── icon │ ├── index.tsx │ └── utils.ts ├── index.tsx └── theme │ ├── convertLegacyToken.ts │ ├── dark.ts │ ├── default.ts │ ├── genColorMapToken.ts │ └── index.ts ├── tests ├── Comment.test.tsx ├── Form.test.tsx ├── Icon.test.tsx ├── __mocks__ │ ├── rc-trigger.js │ └── rc-virtual-list.js ├── __snapshots__ │ ├── Comment.test.tsx.snap │ ├── Form.test.tsx.snap │ └── Icon.test.tsx.snap ├── less.test.tsx └── setupAfterEnv.ts ├── tsconfig.json └── typings.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.fatherrc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.fatherrc.ts -------------------------------------------------------------------------------- /.github/workflows/react-component-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.github/workflows/react-component-ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.prettierrc -------------------------------------------------------------------------------- /.umirc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/.umirc.ts -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/README.md -------------------------------------------------------------------------------- /docs/demo/Comment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/docs/demo/Comment.md -------------------------------------------------------------------------------- /docs/demo/Form.md: -------------------------------------------------------------------------------- 1 | ## Form 2 | 3 | 4 | -------------------------------------------------------------------------------- /docs/demo/Theme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/docs/demo/Theme.md -------------------------------------------------------------------------------- /docs/examples/Comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/docs/examples/Comment.tsx -------------------------------------------------------------------------------- /docs/examples/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/docs/examples/Form.tsx -------------------------------------------------------------------------------- /docs/examples/Theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/docs/examples/Theme.tsx -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/jest.config.js -------------------------------------------------------------------------------- /now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/now.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/package.json -------------------------------------------------------------------------------- /src/CompatibleConsumer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/CompatibleConsumer.tsx -------------------------------------------------------------------------------- /src/_util/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/_util/types.ts -------------------------------------------------------------------------------- /src/_util/upgradeMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/_util/upgradeMessage.ts -------------------------------------------------------------------------------- /src/_util/warning.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/_util/warning.ts -------------------------------------------------------------------------------- /src/comment/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/comment/index.tsx -------------------------------------------------------------------------------- /src/comment/style/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/comment/style/index.tsx -------------------------------------------------------------------------------- /src/form/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/Form.tsx -------------------------------------------------------------------------------- /src/form/FormItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/FormItem.tsx -------------------------------------------------------------------------------- /src/form/constants.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/constants.tsx -------------------------------------------------------------------------------- /src/form/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/context.ts -------------------------------------------------------------------------------- /src/form/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/index.tsx -------------------------------------------------------------------------------- /src/form/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/interface.ts -------------------------------------------------------------------------------- /src/form/style/feedback.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/feedback.tsx -------------------------------------------------------------------------------- /src/form/style/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/index.less -------------------------------------------------------------------------------- /src/form/style/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/index.tsx -------------------------------------------------------------------------------- /src/form/style/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/layout.tsx -------------------------------------------------------------------------------- /src/form/style/mixin.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/mixin.less -------------------------------------------------------------------------------- /src/form/style/mixin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/form/style/mixin.tsx -------------------------------------------------------------------------------- /src/icon/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/icon/index.tsx -------------------------------------------------------------------------------- /src/icon/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/icon/utils.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/theme/convertLegacyToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/theme/convertLegacyToken.ts -------------------------------------------------------------------------------- /src/theme/dark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/theme/dark.ts -------------------------------------------------------------------------------- /src/theme/default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/theme/default.ts -------------------------------------------------------------------------------- /src/theme/genColorMapToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/theme/genColorMapToken.ts -------------------------------------------------------------------------------- /src/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/src/theme/index.ts -------------------------------------------------------------------------------- /tests/Comment.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/Comment.test.tsx -------------------------------------------------------------------------------- /tests/Form.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/Form.test.tsx -------------------------------------------------------------------------------- /tests/Icon.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/Icon.test.tsx -------------------------------------------------------------------------------- /tests/__mocks__/rc-trigger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/__mocks__/rc-trigger.js -------------------------------------------------------------------------------- /tests/__mocks__/rc-virtual-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/__mocks__/rc-virtual-list.js -------------------------------------------------------------------------------- /tests/__snapshots__/Comment.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/__snapshots__/Comment.test.tsx.snap -------------------------------------------------------------------------------- /tests/__snapshots__/Form.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/__snapshots__/Form.test.tsx.snap -------------------------------------------------------------------------------- /tests/__snapshots__/Icon.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/__snapshots__/Icon.test.tsx.snap -------------------------------------------------------------------------------- /tests/less.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tests/less.test.tsx -------------------------------------------------------------------------------- /tests/setupAfterEnv.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design/compatible/HEAD/typings.d.ts --------------------------------------------------------------------------------