Amumu
39adae8e5c
chore: bump @rc-component/trigger & update snapshot ( #41287 )
* chore: bump @rc-component/trigger & update snapshot
* test: try fix ci
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
lijianan
c1ee787c68
fix: eslint error fix ( #37630 )
* fix: eslint error fix
* chore: update rc-input-number
2 years ago
clean99
82a971a433
test: refactor alert tests ( #36954 )
* add userEvent dependence
* Alert(test): refactor closable test with userEvent and more precise expect api
* Alert(test): remove duplicate test of closable
* Alert(test): remove duplicate test of closable
* Alert(test): refactor attributes setting tests
* Alert(test): refactor ErrorBoundary tests
* Alert(test): refactor ErrorBoundary tests
* Alert(test): refactor ErrorBoundary tests
* Alert(test): refactor Popconfirm tests
* Alert(test): refactor icon test
* Alert(test): refactor tooltip test
* Alert(test): remove useless descible for perventing nesting
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
社长长
990a602636
test: Replace alert part test with testing lib ( #35736 )
Co-authored-by: chenkan1 <chenkan1@huya.com>
3 years ago
xrkffgg
499ee6c691
test: fix Alert test ( #33167 )
* text: fix Alert test
* test: style
* test: up snap
* test: up
3 years ago
元凛
97fd6d5b03
Revert "test: fix test error"
This reverts commit 3881e5d787
.
3 years ago
xrkffgg
3881e5d787
test: fix test error
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
3 years ago
chen-jingjie
1ca290eb27
feat(Alert): Custom closeIcon ( #32345 )
Co-authored-by: chenjingjie <chenjingjie@coding.net>
3 years ago
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 ( #32444 )
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.7.0 to 25.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.7.0...v25.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors and warnings
* fix rc-slider version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
afc163
0f47b50df0
fix: Alert message could be nullable ( #32057 )
* fix: Alert message could be nullable
close #32047
* update snapshot
3 years ago
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 ( #27268 )
#26136
4 years ago
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout ( #25892 )
* feat: Add action in Alert and replace with flexbox layout
* update
* update test
* doc
* Revert "update"
This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.
* Update index.less
* Update index.less
* update test
* Update index.test.tsx.snap
* @alert-closable-padding-right
* Update index.less
* correct top of icon
* correct top of close icon
* fix @alert-closable-padding-right
* update
* doc
* Update components/alert/demo/action.md
Co-authored-by: 偏右 <afc163@gmail.com>
* Remove duplicate css
* Simplify styles of close-icon
* font size of close icon
* update test
* update test
* Remove unused less var
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
07akioni
cec7744b2c
refactor: Alert use CSSMotion ( #26115 )
* refactor: Alert use CSSMotion
* chore
* test: remove afterClose case
4 years ago
Eric Wang
8b9a005c1f
chore: use ts-expect-error ( #24378 )
5 years ago
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook ( #23699 )
* refactor(tooltip): rewrite with hook
* fix lint
* fix
* fix test
* fix
* fix test
* refactor(tooltip): rewrite with hook
* fix lint
* fix test
* Update SliderTooltip.tsx
* Update tooltip.test.js
* Update index.test.js
5 years ago
偏右
2beb28518c
test: ✅ Alert and AutoComplete test coverage ( #24004 )
* 🔨 refactor demo code style
* refactor alert code and fix test cov
* add test case for AutoComplete
* fix test
5 years ago
Tom Xu
48ee1a68c6
refactor(popconfirm): rewrite with hook ( #23536 )
* refactor(popconfirm): rewrite with hook
* fix lint
5 years ago
Eric Wang
800871166c
chore: Transform alert test to typescript ( #23495 )
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
偏右
b4da5cba48
🐛 Fix Alert cannot work with Tooltip ( #22594 )
close #22579
5 years ago
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
偏右
05c2f92b69
⚠️ Add Alert.ErrorBoundary ( #19923 )
⚡ support ErrorBoundary message and description
5 years ago
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
5 years ago
vagusX
6841e059b7
feat: add waring for props#iconType in component Alert ( #18046 )
5 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
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
Pass data and aria props to the alert div.
add wrapProps to ModalProps
7 years ago
afc163
8c2f99fd3e
test alert
7 years ago