Skip to content

Commit

Permalink
Revert "feat: upgrade rc-slider, support keyboard accessibility"
Browse files Browse the repository at this point in the history
This reverts commit ef339a3.
  • Loading branch information
yesmeck committed Jul 30, 2017
1 parent a6037d6 commit 551807c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
1 change: 0 additions & 1 deletion components/form/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,6 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down
2 changes: 0 additions & 2 deletions components/grid/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:20%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -616,7 +615,6 @@ exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:40%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down
22 changes: 0 additions & 22 deletions components/slider/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:30%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand All @@ -50,7 +49,6 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:20%;"
tabindex="0"
/>
<div
aria-disabled="false"
Expand All @@ -60,7 +58,6 @@ exports[`renders ./components/slider/demo/basic.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:50%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -101,7 +98,6 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:30%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand All @@ -128,7 +124,6 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:20%;"
tabindex="0"
/>
<div
aria-disabled="false"
Expand All @@ -138,7 +133,6 @@ exports[`renders ./components/slider/demo/event.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:50%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -175,7 +169,6 @@ exports[`renders ./components/slider/demo/icon-slider.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -216,7 +209,6 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -303,7 +295,6 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -409,7 +400,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -480,7 +470,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="left:26%;"
tabindex="0"
/>
<div
aria-disabled="false"
Expand All @@ -490,7 +479,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="left:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -564,7 +552,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -638,7 +625,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -712,7 +698,6 @@ exports[`renders ./components/slider/demo/mark.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -771,7 +756,6 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand All @@ -798,7 +782,6 @@ exports[`renders ./components/slider/demo/tip-formatter.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="left:0%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -835,7 +818,6 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-handle"
role="slider"
style="bottom:30%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -866,7 +848,6 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="bottom:20%;"
tabindex="0"
/>
<div
aria-disabled="false"
Expand All @@ -876,7 +857,6 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="bottom:50%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down Expand Up @@ -924,7 +904,6 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-1"
role="slider"
style="bottom:26%;"
tabindex="0"
/>
<div
aria-disabled="false"
Expand All @@ -934,7 +913,6 @@ exports[`renders ./components/slider/demo/vertical.md correctly 1`] = `
class="ant-slider-handle ant-slider-handle-2"
role="slider"
style="bottom:37%;"
tabindex="0"
/>
<div
class="ant-slider-mark"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"rc-progress": "~2.1.2",
"rc-rate": "~2.1.1",
"rc-select": "~6.8.6",
"rc-slider": "~8.3.0",
"rc-slider": "~8.2.0",
"rc-steps": "~2.5.1",
"rc-switch": "~1.5.1",
"rc-table": "~5.4.0",
Expand Down

0 comments on commit 551807c

Please sign in to comment.