Skip to content

Commit

Permalink
fix: upgrade rc-tooltip lint fail (ant-design#19408)
Browse files Browse the repository at this point in the history
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
  • Loading branch information
shaodahong authored Dec 5, 2019
1 parent 6a70d31 commit 114fdd9
Show file tree
Hide file tree
Showing 23 changed files with 1,320 additions and 1,575 deletions.
1,497 changes: 737 additions & 760 deletions components/cascader/__tests__/__snapshots__/index.test.js.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9132,7 +9132,8 @@ exports[`ConfigProvider components Popconfirm configProvider 1`] = `
</span>
<div>
<div
class="config-popover config-popover-placement-top "
class="config-popover"
style="opacity:0"
>
<div
class="config-popover-content"
Expand Down Expand Up @@ -9213,7 +9214,8 @@ exports[`ConfigProvider components Popconfirm normal 1`] = `
</span>
<div>
<div
class="ant-popover ant-popover-placement-top "
class="ant-popover"
style="opacity:0"
>
<div
class="ant-popover-content"
Expand Down Expand Up @@ -9294,7 +9296,8 @@ exports[`ConfigProvider components Popconfirm prefixCls 1`] = `
</span>
<div>
<div
class="prefix-Popconfirm prefix-Popconfirm-placement-top "
class="prefix-Popconfirm"
style="opacity:0"
>
<div
class="prefix-Popconfirm-content"
Expand Down Expand Up @@ -9375,7 +9378,8 @@ exports[`ConfigProvider components Popover configProvider 1`] = `
</span>
<div>
<div
class="config-popover config-popover-placement-top "
class="config-popover"
style="opacity:0"
>
<div
class="config-popover-content"
Expand Down Expand Up @@ -9408,7 +9412,8 @@ exports[`ConfigProvider components Popover normal 1`] = `
</span>
<div>
<div
class="ant-popover ant-popover-placement-top "
class="ant-popover"
style="opacity:0"
>
<div
class="ant-popover-content"
Expand Down Expand Up @@ -9441,7 +9446,8 @@ exports[`ConfigProvider components Popover prefixCls 1`] = `
</span>
<div>
<div
class="prefix-Popover prefix-Popover-placement-top "
class="prefix-Popover"
style="opacity:0"
>
<div
class="prefix-Popover-content"
Expand Down Expand Up @@ -10656,7 +10662,8 @@ exports[`ConfigProvider components Select configProvider 1`] = `
</div>
<div>
<div
class="config-select-dropdown config-select-dropdown-placement-bottomLeft "
class="config-select-dropdown"
style="opacity:0"
>
<div>
<div
Expand Down Expand Up @@ -10773,7 +10780,8 @@ exports[`ConfigProvider components Select normal 1`] = `
</div>
<div>
<div
class="ant-select-dropdown ant-select-dropdown-placement-bottomLeft "
class="ant-select-dropdown"
style="opacity:0"
>
<div>
<div
Expand Down Expand Up @@ -10890,7 +10898,8 @@ exports[`ConfigProvider components Select prefixCls 1`] = `
</div>
<div>
<div
class="prefix-Select-dropdown prefix-Select-dropdown-placement-bottomLeft "
class="prefix-Select-dropdown"
style="opacity:0"
>
<div>
<div
Expand Down Expand Up @@ -11087,7 +11096,8 @@ exports[`ConfigProvider components Slider configProvider 1`] = `
/>
<div>
<div
class="config-tooltip config-slider-tooltip config-tooltip-placement-top "
class="config-tooltip config-slider-tooltip"
style="opacity:0"
>
<div
class="config-tooltip-content"
Expand Down Expand Up @@ -11136,7 +11146,8 @@ exports[`ConfigProvider components Slider normal 1`] = `
/>
<div>
<div
class="ant-tooltip ant-slider-tooltip ant-tooltip-placement-top "
class="ant-tooltip ant-slider-tooltip"
style="opacity:0"
>
<div
class="ant-tooltip-content"
Expand Down Expand Up @@ -11185,7 +11196,8 @@ exports[`ConfigProvider components Slider prefixCls 1`] = `
/>
<div>
<div
class="prefix-Slider-tooltip prefix-Slider-tooltip prefix-Slider-tooltip-placement-top "
class="prefix-Slider-tooltip prefix-Slider-tooltip"
style="opacity:0"
>
<div
class="prefix-Slider-tooltip-content"
Expand Down Expand Up @@ -11622,8 +11634,8 @@ exports[`ConfigProvider components Table configProvider 1`] = `
</span>
<div>
<div
class="config-dropdown config-dropdown-placement-bottomRight "
style="visibility:hidden"
class="config-dropdown"
style="opacity:0"
>
<div
class="config-table-filter-dropdown"
Expand Down Expand Up @@ -11958,8 +11970,8 @@ exports[`ConfigProvider components Table normal 1`] = `
</span>
<div>
<div
class="ant-dropdown ant-dropdown-placement-bottomRight "
style="visibility:hidden"
class="ant-dropdown"
style="opacity:0"
>
<div
class="ant-table-filter-dropdown"
Expand Down Expand Up @@ -12294,8 +12306,8 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
</span>
<div>
<div
class="ant-dropdown ant-dropdown-placement-bottomRight "
style="visibility:hidden"
class="ant-dropdown"
style="opacity:0"
>
<div
class="prefix-Table-filter-dropdown"
Expand Down Expand Up @@ -12987,7 +12999,8 @@ Array [
</span>,
<div>
<div
class="config-time-picker-panel config-time-picker-panel-column-3 config-time-picker-panel-placement-bottomLeft "
class="config-time-picker-panel config-time-picker-panel-column-3"
style="opacity:0"
>
<div
class="config-time-picker-panel-inner"
Expand Down Expand Up @@ -14079,7 +14092,8 @@ Array [
</span>,
<div>
<div
class="ant-time-picker-panel ant-time-picker-panel-column-3 ant-time-picker-panel-placement-bottomLeft "
class="ant-time-picker-panel ant-time-picker-panel-column-3"
style="opacity:0"
>
<div
class="ant-time-picker-panel-inner"
Expand Down Expand Up @@ -15171,7 +15185,8 @@ Array [
</span>,
<div>
<div
class="prefix-TimePicker-panel prefix-TimePicker-panel-column-3 prefix-TimePicker-panel-placement-bottomLeft "
class="prefix-TimePicker-panel prefix-TimePicker-panel-column-3"
style="opacity:0"
>
<div
class="prefix-TimePicker-panel-inner"
Expand Down Expand Up @@ -16296,7 +16311,8 @@ Array [
</span>,
<div>
<div
class="config-tooltip config-tooltip-placement-top "
class="config-tooltip"
style="opacity:0"
>
<div
class="config-tooltip-content"
Expand Down Expand Up @@ -16325,7 +16341,8 @@ Array [
</span>,
<div>
<div
class="ant-tooltip ant-tooltip-placement-top "
class="ant-tooltip"
style="opacity:0"
>
<div
class="ant-tooltip-content"
Expand Down Expand Up @@ -16354,7 +16371,8 @@ Array [
</span>,
<div>
<div
class="prefix-Tooltip prefix-Tooltip-placement-top "
class="prefix-Tooltip"
style="opacity:0"
>
<div
class="prefix-Tooltip-content"
Expand Down Expand Up @@ -17448,7 +17466,8 @@ exports[`ConfigProvider components TreeSelect configProvider 1`] = `
</div>
<div>
<div
class="config-select-dropdown config-tree-select-dropdown config-select-dropdown-placement-bottomLeft "
class="config-select-dropdown config-tree-select-dropdown"
style="opacity:0"
>
<div>
<div>
Expand Down Expand Up @@ -17558,7 +17577,8 @@ exports[`ConfigProvider components TreeSelect normal 1`] = `
</div>
<div>
<div
class="ant-select-dropdown ant-tree-select-dropdown ant-select-dropdown-placement-bottomLeft "
class="ant-select-dropdown ant-tree-select-dropdown"
style="opacity:0"
>
<div>
<div>
Expand Down Expand Up @@ -17668,7 +17688,8 @@ exports[`ConfigProvider components TreeSelect prefixCls 1`] = `
</div>
<div>
<div
class="prefix-TreeSelect-dropdown prefix-TreeSelect-dropdown prefix-TreeSelect-dropdown-placement-bottomLeft "
class="prefix-TreeSelect-dropdown prefix-TreeSelect-dropdown"
style="opacity:0"
>
<div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ exports[`DatePicker prop locale should works 1`] = `
<span
class="ant-calendar-picker"
>
<div
style=""
>
<div>
<input
class="ant-calendar-picker-input ant-input"
placeholder="Избери дата"
Expand Down Expand Up @@ -92,8 +90,8 @@ exports[`DatePicker prop locale should works 1`] = `
</div>
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft slide-up-appear"
style="left: -999px; top: -1002px;"
class="ant-calendar-picker-container"
style="opacity: 0;"
>
<div
class="ant-calendar"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ exports[`RangePicker customize separator 1`] = `
exports[`RangePicker show month panel according to value 1`] = `
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft "
class="ant-calendar-picker-container"
style="opacity:0"
>
<div
class="ant-calendar-time ant-calendar ant-calendar-range"
Expand Down Expand Up @@ -1559,7 +1560,8 @@ exports[`RangePicker show month panel according to value 1`] = `
exports[`RangePicker switch to corresponding month panel when click presetted ranges 1`] = `
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft "
class="ant-calendar-picker-container"
style="opacity:0"
>
<div
class="ant-calendar-time ant-calendar-range-with-ranges ant-calendar ant-calendar-range"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
exports[`WeekPicker should support dateRender 1`] = `
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft "
class="ant-calendar-picker-container"
style="opacity:0"
>
<div
class="ant-calendar ant-calendar-week-number"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
exports[`MonthPicker and WeekPicker render MonthPicker 1`] = `
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft "
class="ant-calendar-picker-container"
style="opacity:0"
>
<div
class="ant-calendar ant-calendar-month ant-calendar-month-calendar"
Expand Down Expand Up @@ -267,7 +268,8 @@ exports[`MonthPicker and WeekPicker render MonthPicker 1`] = `
exports[`MonthPicker and WeekPicker render WeekPicker 1`] = `
<div>
<div
class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft "
class="ant-calendar-picker-container"
style="opacity:0"
>
<div
class="ant-calendar ant-calendar-week-number"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ exports[`List.pagination should change page size work 2`] = `
>
<div
class="ant-select-selector"
style=""
>
<span
class="ant-select-selection-search"
Expand Down Expand Up @@ -365,8 +364,8 @@ exports[`List.pagination should change page size work 2`] = `
</div>
<div>
<div
class="ant-select-dropdown ant-select-dropdown-placement-bottomLeft ant-select-dropdown-hidden"
style="width: 0px; left: -999px; top: -995px;"
class="ant-select-dropdown"
style="width: 0px;"
>
<div>
<div
Expand Down
Loading

0 comments on commit 114fdd9

Please sign in to comment.