二货爱吃白萝卜
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
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2 years ago
Zheeeng
e91d25622b
chore: signatures for tests ( #37949 )
* fix: signatures for tests
* fix: remove unused
* fix: test cases
* fix: test cases
2 years ago
MadCcc
f521805955
chore: disable jest/no-standalone-expect ( #36942 )
2 years ago
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log ( #36220 )
* chore: fix eslint warning
* chore: fix bisheng log
* Update basic.md
2 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
Amumu
5903f40724
chore: lock eslint-plugin-react ( #34214 )
* Revert "test: disabled react/jsx-key"
This reverts commit 7d64967d63
.
* chore: lock eslint-plugin-react@7.28.0
3 years ago
afc163
7d64967d63
test: disabled react/jsx-key
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]
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>
3 years ago
二货机器人
282b7c8575
feat: Cascader support multiple mode ( #31936 )
* chore: Update cascader version
* chore: replace cascader
* chore: default allowClear
* chore: Update docs
* test: Back of part
* test: More snapshot
* test: more and more
* test: Failed of defaultValue
* test: all basic test case
* test: All snapshot
* chore: Update cascader
* chore: disable react/jsx-no-bind
* chore: fix lint
* chore: fix less order
* chore: fix deps
* docs: Update multiple demo
* docs: Add multiple example
* test: Update snapshot
* test: update snapshot
3 years ago
Amumu
98ba4038c1
chore: add eslint-plugin-compat ( #29885 )
* chore: dd eslint-plugin-compat
* update browserslist
* update browserslist
* fix lint: lint:demo rules
* update @ant-design/tools
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
偏右
5098ca8b60
chore: upgrade @ant-design/tools ( #28583 )
* chore: upgrade @ant-design/tools
* Update package.json
* upgrade eslint-plugin-unicorn
* upgrade eslint-plugin-unicorn
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
afc163
0de1358924
test: ✅ fix eslint jest rules
4 years ago
07akioni
fbc10c4f0b
fix: ci lint error ( #25828 )
4 years ago
afc163
88f7de7090
✅ fix eslint
4 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
Eric Wang
64cb9584ce
fix: include tests in type check ( #23452 )
* fix: include tests in type check
* Do lint *.md
* Improve types in tests
5 years ago
Eric Wang
9a43e439b3
chore: Use override instead of env to control eslint on markdown ( #23454 )
5 years ago
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
5 years ago
骗你是小猫咪
f259be818c
chore: add react-hook eslint plugin ( #22368 )
5 years ago
二货机器人
3080611883
feat: Notification support hooks for context ( #21275 )
* use promise for getInstance
* passing hooks
* hooks support
* move hooks out of fiel
* adjust style
* update snapshot
* fix test & add test case
* update hooks test
* fix style lint
* update doc
* update demo desc & eslitn rules
* fix lint
* docs add faq
* fix less
5 years ago
zombiej
c96186d13b
clean up eslintrc
5 years ago
xiaohuoni
b97e9cb6d4
import/extensions:0
5 years ago
二货机器人
407a41a142
feat: New Picker ( #20023 )
* init generate
* basic style
* basic panel style
* update mode panel style
* update style
* generate More picker
* default clear icon
* chore: Update separator type
* feat: Add ranged start & end className
* update range style
* Add transition effect
* support size config
* adjust range style
* chore: Auto fill time by showTime
* auto set time by format
* update disabled style
* update seperator style
* ranges style
* support extra footer style
* remove useless test case
part is not usable anymore
part is already tested in rc-picker
* init calendar
* all demos
* fix calendar basic test
* fix time-picker test case
* update snapshot
* fix tooltip test case & lint
* fix locale & style lint
* fix compile
* fix style
* fix style lint
* fix calendar style
* update rc-picker version
* adjust style
* move picker placeholder into locale file
* update snapshot
* add hover style
* update picker version
* fix icon position & style
* update picker version
* update deps for pading
* fix: align of suffix
* feat: Year & Month support range effect
* adjust range style to support up-down placement
* update rc-picker
* update range picker style
* adjust extra footer line style
* update snapshot
* fix: Locale error
* fix: style lint
* fix: add missing button style deps
* update test case
* fix firefox additional white line style issue
* rollback demo
* fix ff additional blue color
* docs: Remove placeholder in demo
* rangepicker ranges is tag now
* connect start / end background color with picker range
* update deps
* update deps for fixing blur text issue
* hide start-end demo
* range hover style update
* hover range with ranged value
* black magic of inner hover style
* hover style of range adjust
* fix css select miss hit on DatePicker
* remove one eslint rule
* fade range hovered color
* week should alway not show the cell selection
* update style of selection
* update snapshot
* fix style
* add margin back
* update rc-picker deps
* update date & time picker & form style
* fix disabled demo & update form style
* update docs about allowEmpty
* hide arrow in time range picker
* add hover & focused style
* fix lint
* fix style & update snapshot
* raise disabled selector proirity
* fix disabled today border color
* extra footer provides an bottom line
* time picker hover support transition background
* add padding style
* fix Firefox not correct calculate inline-flex
* fix style
* fix week picker missing today border color
* rm useless padding
* Force padding to 0
* test coverage
* dedup eslint rule
* adjust logic to imporve coverage
* fix render cell logic
5 years ago
xiaohuoni
d0d521fc63
import/extensions:0
5 years ago
damon.chen
cba968f9dc
chore: fix RangePicker value and onChange definition ( #20015 )
5 years ago
afc163
c083d13fc4
✅ fix test cases
5 years ago
afc163
47dee4c7d7
✅ fix eslint problems
5 years ago
afc163
67cebf6da6
💄 fix eslint error
5 years ago
LaySent
be5760d8ef
fix: eslint issue of gtag not defined ( #18517 )
5 years ago
afc163
760853e239
💄 eslint for all
5 years ago
afc163
d07b298ae4
✅ Fix eslint errors
5 years ago
afc163
2bddeef1e5
🆙 upgrade eslint-config-airbnb
5 years ago
orzyyyy
44d110c0db
feat: add extend from prettier/react
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
orzyyyy
3bfebcaf11
fix: specify version of react for warning
5 years ago
orzyyyy
ce124a36f8
perf: check typescript with eslint
5 years ago
afc163
b780070351
💄 prittier all files
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
3612144c6d
site: avoid hash jump in demo
7 years ago
Benjy Cui
9d7d70becd
docs: should not use ref for wrapped form, close : #9598 ( #9685 )
7 years ago
jljsj
44a7837784
re alt
7 years ago