叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
Rick Zhou
f931158674
fix: dont use document.body as slider's popup container ( #28865 )
* dont use document.body as slider's popup container
when getPopupContainer is not defined, it should rely on rc-tooltip's default behavior instead of forcing it to use document.body
* fix: dont use document.body as slider's popup container
4 years ago
偏右
d614b4c885
feat( 🆕 ): Slider supports range.draggableTrack ( #28592 )
close #25517
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
xrk
b173b5b8f5
fix: sliderProps typeScript define ( #27033 )
* fix: sliderProps typeScript define
* update rc-slider
* update
* update
4 years ago
Lim Shang Yi
08ca032550
fix: missing autoFocus prop in Slider. Fixes #26982 ( #26995 )
4 years ago
Lim Shang Yi
ef3aabdf7d
fix: Slider step prop not accepting null value ( #26984 )
* Fixes #26976 since rc-slider allows step to be null
* Fixes #26976 since rc-slider allows step to be null
* test: Slider step prop should not crash with undefined value
4 years ago
Kermit Xuan
006abe5e92
chore(slider): optimize type definition ( #26884 )
4 years ago
xrkffgg
2e463e76b8
fix: add export handleStyle/trackStyle ( #26160 )
4 years ago
lihqi
2a18b55a8d
fix: Slider tooltip visible abnormal ( #25945 )
4 years ago
xrkffgg
309f63ae1d
fix: slider default tooltipplacement in rtl ( #25909 )
4 years ago
CornerSkyless
6d5c3fe953
fix: slider typescript definition gets type warning in onChange ( #25358 )
* fix: slider typescript definition gets type warning in onChange
* test: add slider value type test
4 years ago
Jurriaan BW
4347eda0fe
fixed typedef of Slider value ( #24652 )
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
Tom Xu
8cdf1c017a
fix: ConfigProvider getPopupContainer invalid ( #23594 )
* fix: ConfigProvider getPopupContainer invalid
* slider getPopupContainer
* Create container.test.js
* Update container.test.js
5 years ago
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook ( #23474 )
* refactor(slider): rewrite with hook
* improve test
* Revert "improve test"
This reverts commit 48cd83d0cc
.
* improve test
* improve test 2
5 years ago
Phoenix Eliot
ebdf9110fd
Fix order of operations for tooltipPlacement ( #22772 )
tooltipPlacement was broken by a6c207d9dd
.
The grouping of this term was getting parsed as `(tooltipPlacement || vertical) ? 'right' : 'top'`, which was incorrect.
5 years ago
二货机器人
4e270e1873
fix: null value tooltip ( #22482 )
5 years ago
Wendell
a6c207d9dd
fix: fix vertical handle position ( #22135 )
* fix: fix vertical handle position
* 💄 make tooltip right for vertical slider
* fix: fix style and bump rc-slider
5 years ago
二货机器人
c5a40fc683
fix: Slider Tooltip not follow handler ( #20699 )
* fix: Slider Tooltip not follow handler
* force align only when tooltip visible
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
偏右
0ec7fa84d0
🐛 Fix Slider tooltip not aligned center ( #20016 )
close #20014
5 years ago
Jack
326484465f
fix: type interface SliderProps ( #19713 )
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
ztplz
d6c926d536
Fix typescript compile error ( #16816 )
6 years ago
ztplz
9793e30969
Fix the problem that the Slider's Tooltip is in the incorrect position when use modal ( #16717 )
* Fix incorrect position of tooltip when use slider
* Remove useless comment
* Reduce code
* Update
* getTooltipPopupContainer default to body
* Public Slider's ref
* Add docs
* Update docs
6 years ago
Alberto Marchetti
28b14c9c0d
Allow users to define where tooltips should appear on slider marks ( #16641 )
6 years ago
Sam Lanning
2f0580d08b
[chore] simplify condition to remove useless conditional
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
15770c527d
🐛 fix slider blur function, close #13439
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
frezc
6313220551
[type] add style to SliderProps
6 years ago
zy410419243
fa7452ed23
when tooltipVisible is true, tooltip should show always, or should never show
6 years ago
Wei Zhu
25f51cdd64
Add focus() and blur() for Slider
7 years ago
Wei Zhu
b647078baa
Fix implicit any for Select Slider Spin Switch
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
David Schneider
a5c3a6c930
In SliderProps type definition, replace `void` types with `null`. ( #8102 )
With TypeScript compiler option ‘strictNullChecks’ enabled, the value `null` cannot be assigned to type `void`. This means, for instance, that it’s impossible to pass a `null` value for prop `step`. I don’t expect that substituting `null` for `void` in these type definitions should cause anyone difficulty; because these are optional props, a consumer of this component should be able to pass `null` or `undefined` safely, whether or not the compiler is using strict null checks.
7 years ago
afc163
b216a44b28
Fix Slider typings, close #7532
7 years ago
slientcloud
e43c8012ad
chore: support slider aira ( #6301 )
8 years ago
Benjy Cui
1f844c1048
fix: Slider's Tooltip should not blink, close : #5003
8 years ago
Benjy Cui
89d77b2354
deps: upgrade rc-slider, ref: #4719
8 years ago
Rex
93128d1481
feat: add slider vertical style ( #4473 )
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
672ebecf47
deps: upgrade dependencies ( #3017 )
* deps: upgrade dependencies
* fix: backward compatibility
* fix: replace cross with close
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
Benjy Cui
77e47c5807
refactor: add interface ( #2638 )
8 years ago