Muhammad Sohaib Raza
5191b85b96
refactor: button ( #40077 )
* fix: type updated from any, and comments removed #15930
* refactor: removed unnecessary comments, created helper for button
* fix: cleanupTimer
* fix: import fixed
* Update components/button/button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/dropdown/dropdown-button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden ( #40071 )
* test: add case
* fix: fix the error of missing custom icon className
* test: add case
* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode
* test: update snapshot
* Revert "fix: fix the error of missing custom icon className"
This reverts commit 71c79a3f75
.
* test: update case
* fix: fix the error of missing custom icon className
2 years ago
dongfang
0dc7815599
fix: missing css code in demo code preview ( #39471 )
* fix: missing demo style in windows
* fix: missing css code in demo preview
* fix: change TabPane to tabs items
* fix: change cn why-open url
2 years ago
Wuxh
5f40fe874b
fix: dropdown menu style issue ( #39904 )
* fix: dropdown menu item in danger
Disable dropdown menu item when type is equal to danger
increase disabled CSS specificity
remove unnecessary changes
fix: remove reordering functions
Remove reordering functions by increasing `disable` class on line 350 CSS specificity
Revert "fix: remove reordering functions "
This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.
* chore: update style
* chore: update demo
ref: https://github.com/ant-design/ant-design/issues/39322
* test: update snapshot
Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2 years ago
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode ( #39859 )
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style ( #39626 )
* fix: Optimize the custom-dropdown demo style
* chore: Using the token variable
2 years ago
lijianan
120db80c25
type: Button type optimization ( #39533 )
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2 years ago
Amumu
ca5b9a6ae0
docs: `CN` it. ( #39519 )
2 years ago
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs ( #39290 )
* docs: remove v3 to v4 migration docs
* update
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2 years ago
二货爱吃白萝卜
fe60528e84
fix: Dropdown sub-menu missing motion ( #39235 )
* chore: fix dropdown motion miss
* fix: dropdown missing motion & site check
2 years ago
Dave
337703d550
refactor(type): replace interface with type for export component ( #39060 )
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact ( #38870 )
* fix: context issues for Space.Compact
* test: update snapshots
2 years ago
章鱼怪
ee3b94fcfc
fix: Dropdown.Button's dropdownRender is not executed ( #38862 )
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
MadCcc
0162d2e2d8
feat: change transiton to mid duration ( #38648 )
2 years ago
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
MadCcc
fab90b09f4
docs: fix site issue ( #38552 )
* docs: put an example loading component
* fix: site issue
* fix: site issue
* feat: add loading
* feat: alert
* docs: rm ReactDOM.render in md
* docs: use style tag
* chore: update snapshot
* Revert "docs: use style tag"
This reverts commit 1f75a99f8c
.
* docs: update demo
* chore: update demo
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2 years ago
lijianan
5ef12dfaa5
chore: fix typo ( #38568 )
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
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case ( #38454 )
2 years ago
lijianan
fe9ac7b936
fix: incorrect warning ( #38446 )
2 years ago
二货机器人
3bc6bbd6d9
chore: fix ts def
2 years ago
黑雨
b0850139f2
[new component] Next tour ( #37867 )
* feat: init
* feat: update
* feat: upate
* feat: update
* feat: update
* feat: init
* feat: init
* feat: init
* feat: update
* feat: update
* feat: update
* feat: update rc-tour
* feat: init component
* feat: init component
* chore: update pck
* doc: update doc
* doc: update reviewer
* doc: update reviewer
* doc: update reviewer
* feat: update reviewer
* feat: update reviewer
* feat: update doc
* feat: update deme
* feat: update demo doc
* feat: update demo
* feat: update demo
* feat: update style
* feat: update dom & style
* feat: update dome
* feat: update dome
* docs: update demo
* feat: update doc
* feat: update dome
* feat: add locale
* doc: update locale
* doc: add test
* feat: add test case
* feat: add test case
* feat: update package
* feat: update ts
* feat: update ts
* feat: update snapshots
* feat: update demo
* feat: update demo
* feat: update demo
* feat: edit maxSize
* feat: edit maxSize
* feat: update lint
* feat: update lint
* feat: update style reviewer
* feat: update style
* feat: merge next
* feat: add locale
* feat: reset bundleSize
* feat: change maxSize
* feat: update test coverage
* feat: update test coverage
* feat: add type
* chore: simplify en locale
* feat: update
* feat: update test snap
* docs: demo update
* chore: adjust style
* chore: adjust style
* chore: bump rc-tour
* Update package.json
* feat: update package
* feat: update package
* feat: update cover
* docs: update api
* docs: update overview snap
* feat: update token
* feat: delete repeat ts
* feat: remove finishButtonProps
* chore: update demo
* feat: tour style
* test: fix lint
* chore: code clean
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MadCcc <1075746765@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
JarvisArt
4522340700
docs: fix the steps docs layout ( #38277 )
* docs: update dropdown wrong word
* docs: update breadcrumb wrong word
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
hms181231
30d2a24898
test: Update Dropdown test case ( #38144 )
2 years ago
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button ( #38090 )
* feat: use Space.Compact for Dropdown.Button
* test: update button demo tests
* test: update config-provider demo tests
* fix: deps-lint-skip for dropdown
* fix: lint issue
2 years ago
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement ( #37971 )
2 years ago
MadCcc
2471bf88aa
test: fix test
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
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
* fix: delete defaultprops
* fix: delete defaultprops
2 years ago
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2 years ago
lijianan
3588ae82c1
type: strong type ( #37805 )
2 years ago
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2 years ago
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure ( #37624 )
* fix: PurePanel width measure
* test: Update snapshot
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
2 years ago
MadCcc
83447e5b2c
feat: arrow offset ( #37527 )
* feat: arrow margin
* feat: dropdown arrow offset
* chore: code clean
2 years ago
MadCcc
0a0f0e8a41
feat: v5 dropdown style ( #37491 )
* feat: v5 dropdown style
* feat: TimePicer item radius
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
8e328d0ae2
feat: focus outline ( #37483 )
* feat: focus outline
* feat: add tree focus
2 years ago
MadCcc
229d0d81b7
feat: v5 hover ( #37433 )
* feat: v5 hover
* feat: breadcrumb margin
* feat: badge hover
* feat: v5 error
* fix: badge ribbon corner
2 years ago