Skip to content

Commit

Permalink
fix: RangePicker missing arrow (ant-design#49333)
Browse files Browse the repository at this point in the history
* bump rc-picker

* chore: update snapshot

* chore: update snapshot

* fix: arrow style

* fix: arrow transition style

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* fix: rtl style

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* fix rtl style

* chore: update snapshot

* fix rtl style

* Update package.json

Signed-off-by: afc163 <afc163@gmail.com>

* Update package.json

Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
  • Loading branch information
2 people authored and madocto committed Sep 11, 2024
1 parent ec28f9d commit 4f90329
Show file tree
Hide file tree
Showing 21 changed files with 2,521 additions and 345 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13276,7 +13276,7 @@ exports[`ConfigProvider components DatePicker RangePicker configProvider 1`] = `
</div>
<div
class="config-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="config-picker-suffix"
Expand Down Expand Up @@ -13366,7 +13366,7 @@ exports[`ConfigProvider components DatePicker RangePicker configProvider compone
</div>
<div
class="config-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="config-picker-suffix"
Expand Down Expand Up @@ -13454,7 +13454,7 @@ exports[`ConfigProvider components DatePicker RangePicker configProvider compone
</div>
<div
class="config-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="config-picker-suffix"
Expand Down Expand Up @@ -13542,7 +13542,7 @@ exports[`ConfigProvider components DatePicker RangePicker configProvider compone
</div>
<div
class="config-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="config-picker-suffix"
Expand Down Expand Up @@ -13630,7 +13630,7 @@ exports[`ConfigProvider components DatePicker RangePicker configProvider compone
</div>
<div
class="config-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="config-picker-suffix"
Expand Down Expand Up @@ -13718,7 +13718,7 @@ exports[`ConfigProvider components DatePicker RangePicker normal 1`] = `
</div>
<div
class="ant-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="ant-picker-suffix"
Expand Down Expand Up @@ -13806,7 +13806,7 @@ exports[`ConfigProvider components DatePicker RangePicker prefixCls 1`] = `
</div>
<div
class="prefix-RangePicker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="prefix-RangePicker-suffix"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ Array [
class="ant-picker-header"
>
<button
aria-label="super-prev-year"
class="ant-picker-header-super-prev-btn"
tabindex="-1"
type="button"
Expand All @@ -98,6 +99,7 @@ Array [
/>
</button>
<button
aria-label="prev-year"
class="ant-picker-header-prev-btn"
tabindex="-1"
type="button"
Expand All @@ -110,13 +112,15 @@ Array [
class="ant-picker-header-view"
>
<button
aria-label="month panel"
class="ant-picker-month-btn"
tabindex="-1"
type="button"
>
јан
</button>
<button
aria-label="year panel"
class="ant-picker-year-btn"
tabindex="-1"
type="button"
Expand All @@ -125,6 +129,7 @@ Array [
</button>
</div>
<button
aria-label="next-year"
class="ant-picker-header-next-btn"
tabindex="-1"
type="button"
Expand All @@ -134,6 +139,7 @@ Array [
/>
</button>
<button
aria-label="super-next-year"
class="ant-picker-header-super-next-btn"
tabindex="-1"
type="button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports[`RangePicker customize separator 1`] = `
</div>
<div
class="ant-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px;"
/>
<span
class="ant-picker-suffix"
Expand Down Expand Up @@ -122,7 +122,7 @@ Array [
</div>
<div
class="ant-picker-active-bar"
style="position: absolute; width: 0px; left: 0px;"
style="position: absolute; width: 0px; inset-inline-start: 0;"
/>
<span
class="ant-picker-suffix"
Expand Down Expand Up @@ -157,7 +157,7 @@ Array [
>
<div
class="ant-picker-range-arrow"
style="left: 0px;"
style="inset-inline-start: 0;"
/>
<div
class="ant-picker-panel-container ant-picker-date-panel-container"
Expand Down Expand Up @@ -194,6 +194,7 @@ Array [
class="ant-picker-header"
>
<button
aria-label="super-prev-year"
class="ant-picker-header-super-prev-btn"
tabindex="-1"
type="button"
Expand All @@ -203,6 +204,7 @@ Array [
/>
</button>
<button
aria-label="prev-year"
class="ant-picker-header-prev-btn"
tabindex="-1"
type="button"
Expand All @@ -215,13 +217,15 @@ Array [
class="ant-picker-header-view"
>
<button
aria-label="month panel"
class="ant-picker-month-btn"
tabindex="-1"
type="button"
>
Sep
</button>
<button
aria-label="year panel"
class="ant-picker-year-btn"
tabindex="-1"
type="button"
Expand All @@ -230,6 +234,7 @@ Array [
</button>
</div>
<button
aria-label="next-year"
class="ant-picker-header-next-btn"
style="visibility: hidden;"
tabindex="-1"
Expand All @@ -240,6 +245,7 @@ Array [
/>
</button>
<button
aria-label="super-next-year"
class="ant-picker-header-super-next-btn"
style="visibility: hidden;"
tabindex="-1"
Expand Down Expand Up @@ -730,6 +736,7 @@ Array [
class="ant-picker-header"
>
<button
aria-label="super-prev-year"
class="ant-picker-header-super-prev-btn"
style="visibility: hidden;"
tabindex="-1"
Expand All @@ -740,6 +747,7 @@ Array [
/>
</button>
<button
aria-label="prev-year"
class="ant-picker-header-prev-btn"
style="visibility: hidden;"
tabindex="-1"
Expand All @@ -753,13 +761,15 @@ Array [
class="ant-picker-header-view"
>
<button
aria-label="month panel"
class="ant-picker-month-btn"
tabindex="-1"
type="button"
>
Oct
</button>
<button
aria-label="year panel"
class="ant-picker-year-btn"
tabindex="-1"
type="button"
Expand All @@ -768,6 +778,7 @@ Array [
</button>
</div>
<button
aria-label="next-year"
class="ant-picker-header-next-btn"
tabindex="-1"
type="button"
Expand All @@ -777,6 +788,7 @@ Array [
/>
</button>
<button
aria-label="super-next-year"
class="ant-picker-header-super-next-btn"
tabindex="-1"
type="button"
Expand Down
Loading

0 comments on commit 4f90329

Please sign in to comment.