afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago
lijianan
d292257e47
chore: type optimization ( #38460 )
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
MadCcc
9f88c1238a
feat: token update ( #38314 )
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
MadCcc
0b8c112193
feat: token wireframe ( #37507 )
* feat: wireframe token
* feat: token wireframe
* feat: wireframe steps
* feat: wireframe table
* feat: wireframe modal
* feat: wireframe popover
* chore: update token collect
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
6c06792bfd
feat: v5 timeline ( #37465 )
2 years ago
lijianan
c34caad24c
test: js => ts ( #37392 )
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2 years ago
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2 years ago
MadCcc
8e4f1c6836
refactor: token update ( #36279 )
* refactor: token update
* chore: add js doc
* test: fix lint
* test: update test
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
MadCcc
9f2b08c700
refactor: timeline full token ( #35686 )
* refactor: timeline full token
* chore: code clean
* chore: code
* fix: custom head padding
3 years ago
Zack Chang
042c718976
test: refactor test cases of Timeline with testing library ( #35654 )
* test: refactor test cases of TimeLine
* fix: lint errors
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
3 years ago
LuZhenJie1999
a5e9547b26
feat: add cssinjs of timeline ( #34980 )
* feat: add cssinjs of timeline
* fix: fix cr problems
* chore: revert unreteated code
* chore: revert unreteated code
* chore: clean code
Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
3 years ago
二货机器人
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
3 years ago
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
3 years ago
YuTao
ed47a8e1ea
docs(module:timeline): fix typo ( #34389 )
* docs(module:timeline): fix typo
* docs(module:timeline): fix typo
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
MadCcc
a38b1e4ca5
fix: custom color should work on antd icons ( #33951 )
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
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>
3 years ago
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>
3 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
Eugene Matvejev
dda1f2b09c
refactor: <Timeline/> move defaultProps into single destructuring ( #28094 )
4 years ago
Eugene Matvejev
2cc6b0ca05
refactor: optimize <Timeline/> bundle size ( #28095 )
* refactor: optimize <Timeline/> bundle size
* refactor: fix typo in <Timeline />
* refactor: fix typescript warning in <Timeline />
* Update Timeline.tsx
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
Eugene Matvejev
683eec118b
chore: make < TimelineItem /> a bit lighter, drop unneeded omit.js and defaultProps ( #27961 )
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
Tom Xu
b5dc079228
chore: improve code style ( #27266 )
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
4 years ago
Tom Xu
514cc062be
chore: fix timeline TimelineItemProps typo ( #27001 )
* chore: fix timeline TimelineItemProps typo
* Update Timeline.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
* Update TimelineItem.tsx
Co-authored-by: Olivier Louvignes <olivier@mgcrea.io>
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
xrkffgg
b423a09233
docs: format api timeline/tooltip/tree ( #25377 )
4 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
Tom Xu
3d355fde08
refactor(timeline): rewrite with hook ( #23631 )
* refactor(timeline): rewrite with hook
* add test
* Revert "add test"
This reverts commit 39540589d7
.
* Update TimelineItem.tsx
* Update TimelineItem.tsx
* fix lint
5 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations ( #22686 )
5 years ago
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
5 years ago