Commit Graph

1843 Commits

Author SHA1 Message Date
二货爱吃白萝卜
628968f460
feat: Tabs support items (#36889)
* refactor: Using items

* docs: replace with items

* docs: deprecated demo

* test: Update snapshot

* docs: simple basic demo

* test: coverage
2022-08-05 10:49:08 +08:00
lijianan
a9f0123966
refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent (#36876)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting
2022-08-04 10:04:37 +08:00
lijianan
4fc00ececb
fix: strong type (#36868)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type
2022-08-03 15:42:25 +08:00
lijianan
01087b2571
refactor: rewrite header and footer by FunctionComponent (#36851)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent
2022-08-03 11:19:53 +08:00
MadCcc
c0411d70d8
chore: dev config (#36240) 2022-06-27 10:43:39 +08:00
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log (#36220)
* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md
2022-06-24 16:40:48 +08:00
Ryan Cavanaugh
726dd859a8
Fix breaks (#36186)
* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value
2022-06-23 10:39:05 +08:00
MadCcc
764069b202
docs: update demo code (#35695)
* docs: update demo code

* chore: increase bundle size

* Revert "chore: increase bundle size"

This reverts commit 1c75e5ab5a.
2022-05-24 22:53:17 +08:00
afc163
b4ae9202ed chore: fix LGTM 2022-05-11 13:52:34 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
0f63293a21
fix: dev broken (#35453) 2022-05-09 20:54:42 +08:00
MadCcc
b5699cc735
chore: optimze LGTM (#35443)
* chore: optimze LGTM

* chore: type
2022-05-09 20:48:12 +08:00
MadCcc
c897728eb8
docs: update demo template (#35440) 2022-05-09 16:23:07 +08:00
MadCcc
8b682a5662
chore: split chunks (#35222)
* chore: split chunks

* chore: update bisheng version

* chore: split @ant-design/icon

* chore: code clean

* chore: test

* chore: split moment

* chore: code clean
2022-05-08 09:48:30 +08:00
MadCcc
11e2ce6c01
docs: update mirror link (#35424)
* docs: update mirror link

* feat: add modal

* feat: add icon

* chore: code clean

* feat: text

* fix: cancel btn
2022-05-07 22:37:50 +08:00
afc163
9a59018580 chore: change menu icon in site 2022-05-07 17:39:51 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
afc163
206e6dd138 docs: reverse React 18 demo 2022-05-05 16:40:49 +08:00
afc163
cf993989bc
site: tweak theme button margin of site footer (#35192) 2022-04-23 21:23:23 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
二货机器人
3de8030e10
docs: site wrap with strict mode (#34895)
* docs: site wrap with strict mode

* chore: bump bisheng
2022-04-07 14:10:49 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
afc163
dd13e806b2
chore: minify themes css (#34824) 2022-04-01 14:29:06 +08:00
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() (#34498)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-15 10:41:12 +08:00
github-actions[bot]
2d194ecd0a
chore: auto merge branchs (#34209)
chore: merge master into feature
2022-02-25 10:52:16 +00:00
李瀚
c2423b50a8
fix: Overview page EditableProTable link error (#34181) 2022-02-24 10:54:57 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +08:00
afc163
eecf0da7e4 chore: fix ts error in site 2022-02-23 17:08:39 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
803be5d121
chore: auto merge branchs (#33764)
chore: merge master into feature
2022-01-19 06:28:19 +00:00
二货机器人
ac89fd5a9d
docs: guide of theme dev (#33756) 2022-01-18 22:36:13 +08:00
afc163
2ae15a6de2 test: fix lint 2022-01-18 12:11:14 +08:00
afc163
b75bfd071d docs: remove v4 release qrcode 2022-01-18 11:31:07 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center (#33658)
* feat: add pointAtCenter prop for dropdown

* feat: dropdown support arrow pointing at center

* chore: code clean

* chore: use getPlacements in tooltip

* feat: dropdown support 'top' and 'bottom'

* chore: update snapshot

* chore: move placements to util folder

* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated

* test: update snapshot

* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
陈帅
0eedd0ba7e
docs: add ProComponents cards (#33647)
* merge

* merge

* docs: add ProComponents cards

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-01-11 10:51:45 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
zombiej
dd1670a3b4 chore: merge master 2021-11-26 15:19:31 +08:00
二货机器人
90bfbe2a62
Merge pull request #33045 from ant-design/opt-theme
chore: Speed up site build preview speed
2021-11-26 15:07:02 +08:00
zombiej
ea5bb0fa65 chore: speed up site build mode 2021-11-26 14:42:27 +08:00
zombiej
142bda852f chore: opt of theme gen 2021-11-26 14:13:47 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824)
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0

Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases)
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* chore: code style

* memoize-one

* add comment

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* improve useMemo deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
afc163
c1b1d8c3c4 chore: fix eslint 2021-11-25 10:05:17 +08:00
二货机器人
b926c535ea
docs: site build script update (#32984)
* chore: rm color-less

* refactor: MV theme to variable

* docs: fix header

* chore: clean up

* chore: enable esbuild
2021-11-23 18:57:59 +08:00
afc163
ed08303cd6
chore: fix site in IE11 (#32868)
* chore: fix site in IE11

* chore: fix site in IE11

* chore: fix site in IE11

* chore: fix site in IE11
2021-11-16 13:12:54 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
X-Jagger
ecc54dda83
fix: codepen demo error using hooks (#32766) 2021-11-08 11:04:01 +08:00
afc163
afb271c0b3 chore: improve overview card style 2021-11-01 16:16:23 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 (#32501)
* chore(deps): update dependency eslint to v8

* fix eslint errors

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 11:19:14 +08:00