Jean-Philippe Roy
1cd694837c
feat: Allow DatePicker/RangePicker Icon Overrides ( #31703 )
* Hoist default values and expose props
* Add new props to the common API docs
* CN Docs
* Apply suggestions from code review
Co-authored-by: Jean-Philippe Roy <jean-philippe.roy@meraki.net>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Lu Yu
4440a181b4
docs: RangePicker type and default value in doc ( #30720 )
* Fix range picker type and default value in doc
* docs: Fix range picker type and default value in doc
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/date-picker/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago
Amumu
a7ae888a90
docs: docs upgrade ( #27367 )
4 years ago
zombiej
07506792fc
docs: Add DatePicker panelRender FAQ
close #27263
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
Kermit Xuan
a733885b50
feat(date-picker): support custom format ( #26845 )
* feat(upload): ✨ support custom format
* test: update demo snapshot
4 years ago
baidumap
3507a01798
fix: 修复disabledTime参数文档 ( #26439 )
* fix: 修复disabledTime参数文档
* fix: 英文版dates -> date
Co-authored-by: jingruoyu <jingruoyu@xiaomi.com>
4 years ago
07akioni
5a08aab0e8
docs: DatePicker demo refactor ( #25913 )
* docs: DatePicker change type demo
* chore: snapshot
* chore
* docs: DatePicker use Space
* chore: snapshot
4 years ago
zombiej
cdefaec190
docs: Update DatePicker docs
4 years ago
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice ( #25768 )
* docs: Update DatePicker docs and add legacy notice
* clean up
* only warning for QuarterPicker
* update docs
* fix lint
* note to warning
4 years ago
Kim Wing Fung
2bbdc2c911
feat: RangePicker onCalendarChange info support ( #25568 )
* Include new parameters for onCalendarChange to match rc-picker v1.12.0
* Use correct highlighting
* Update to rc-picker 1.12.1
* Include version information
* Adjust version information
Co-authored-by: Kim-Wing-Fung <c-kfung@powercosts.com>
4 years ago
二货机器人
a736ab367c
feat: Support panelRender ( #25488 )
4 years ago
xrkffgg
04b728e6f5
docs: format api cascader/datepicker/form ( #25307 )
4 years ago
陈帅
523b74e3b6
merge master into Feature ( #25262 )
* feat: add successColor for Progress (#24655 )
* feat: add successColor for Progress
* feat: update
* fix: update test
* remove snap
* feat: add test case
* refactor success
* feat: adjust styyle
* feat: add DevWarning
* feat: Support rowSelection.dirty (#24718 )
* feat: Support rowSelection.dirty
* rename to reserveKeys
* preserveKeys will keep record also
* to preserveSelectedRowKeys
* feat: add ghost prop for collapse (#24734 )
* feat: add ghost prop for collapse
* doc: version of collapse's ghost prop
* refactor: make ghost collapse's less code to a nested style
* chore: remove redundant codes in ghost collapse's less & doc
* doc: add a background wrapper for ghost collapse demo
* doc: dark-theme wrapper bg-color for ghost collapse demo
* test: update snapshot of ghost collapse
* doc: use softer bg-color on ghost collapse demo
* doc: remove disabled panel in ghost collapse demo
* feat: form instance support getFieldInstance (#24711 )
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
* feat: dropdown support arrow (#23869 )
* feat: dropdown support arrow prop
close #22758
* test: update snapshot
* fix: fix dropdown cls names
* test: update snapshot
* test: update snapshot
* doc: update demo
* test: update demo snapshot
* demo
* fix: snapshot
* chore: change the style of ghost collapse & demo modified (#24762 )
* refactor: reduce content padding in ghost collapse
* doc: remove the wrapper outside ghost collapse
Designer want the demo differs from other demos
* refactor: remove redundant .less code in collapse
* feat: cascader dropdown-render prop (#24812 )
* feat: cascader dropdown-render prop
* fix: update Cascader dropdownRender type annotation
* fix: set rc-cascader semver from ^ to ~
* docs: fix coding style in cascader/custom-dropdown
* feat: 🆕 support Drawer closeIcon (#24842 )
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
* feat: 🆕 Cascader expandIcon (#24865 )
* feat: cascader expandIcon
* fix: snap
* refactor: reduce CSS size (#24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
* feat: add Table onChange an action param (#24697 )
* Working on tests
* created TableAction type
* changed TableActions to tuple
* removed chinese documentation line
* refactor TableActions
* fix documentation
* Moved action into extra param
* minor doc change
* feat: add closeIcon customize tag close (#24885 )
* feat: add closeIcon customize tag close
* docs fix
* update snap
* fix: css name
* update snapshot
* snapshot
* feat: add radio `optionType` api to set radio option type (#24809 )
* feat: radio component
* docs: update md
* fix: snap
* test components
* fix: use optionType
* fix name
* add warning
* fix
* feat: expand rate character (#24903 )
* feat: expand rate character
* fix: demo
* fix: snap
* Update components/rate/index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
* fix
Co-authored-by: 偏右 <afc163@gmail.com>
* Refactor demo code box actions (#24887 )
* refactor: refine the styling of actions part of demo code-box
* fix: lint style
* refactor: move Result children to end (#24945 )
* feat: remove content max-width on dot-step (#24907 )
* feat: add Skeleton-Image (#24805 )
* feat: add Skeleton-Image
* feat: add docs
* fix: adjust skeleton
* feat: adjust Image Component
* feat: rebase
* feat: adjust style
* fix: lint
* feat: remove size
* feat: delete md
* feat: fix style
* ✨ feat: Mentions support autoSize (#24961 )
close #17746
* chore: replace textarea with rc-textarea (#24966 )
* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964 )
* feat: update pagination@2.5.0 and add test case to relative component
* fix: lint
* delete
* feat: add test case for pagination
* adjust test case
* feat: Implement centered prop in Tabs (#24958 )
* Implement centered in Tabs along with its tests and docs
* Fix build error
* Add Chinese translations and remove test case
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
* feat: Add modal style parameter (#24773 )
* add some paramters in default.less
* Update components/style/themes/default.less
Co-authored-by: Amumu <yoyo837@hotmail.com>
* change parameter in compact.less
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* feat: export Tabs addIcon (#25006 )
* feat: export Tabs addIcon
* update snapshot
* feat: showNow on timepicker and datetimepicker (#25032 )
* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035 )
* feat: update rc-picker@1.7.1
* delete
* add
* feat: expand rate support props (#24993 )
* docs: 📝 Add Form.Item hidden in doc (#25108 )
close #25101
* fix: ⌨️ Improve Pagination accessibility issue (#25119 )
* ⌨️ Improve Pagination a11y by fixing a W3C error
https://github.com/react-component/pagination/issues/280
* update snapshot
* 🆙 rc-pagination to 2.4.1
* feat: support triggerSubMenuAction for <Menu /> (#25127 )
* feat(menu): add triggerSubMenuAction for Menu
* feat(menu): test cases
* chore: Adjust picker logic (#25135 )
* chore: update rc-picker 1.10.0 (#25174 )
* feat: table row check strictly (#24931 )
* feat: add checkStrictly on Table.rowSelection
* fix: LGTM warnings
* test: table rowSelection.checkStrictly
* test: add cov [wip]
* refactor: tree.rowSelection.checkStrictly [wip]
* test: table.rowSelection.checkStrictly basic case
* feat: support rowKey on checkStrictly table
* feat: Table checkStrictly support getCheckboxProps
* docs: Table checkStrictly
* chore: typo
* chore: remove useless comment
* chore: update snapshot
* chore: update snapshot
* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback
* docs: typo
* chore
* chore
* fix: expand buttons of leaf rows in tree data are not hidden
* feat: Table warning about rowKey index parameter
* perf: only generate keyEntities when not checkStrictly
* refactor: remove useless parseCheckedKeys
* refactor: get derived selected & half selected keys from selectedRowKeys
* chore: remove env condition stmt
* chore: revert index usage & code formatting
* chore: rerun ci
* docs: table tree-data checkstrictly
* test: update snapshots
* refactor: use useMergedState hook
* chore: rerun ci
* chore: rerun ci 2
* chore: revert selection select all behavior
* refactor: refactor code based on feature
* chore: revert table code format
* chore: revert table code format
* fix: useMemo deps
* fix: useMemo deps
* fix: useMemo deps
* feat: support preserve (#25186 )
* docs: add responsibly order for Col (#25139 )
* feat: add type
* feat: add responsibly order cols
* feat: add docs
* feat: add test case
* fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
4 years ago
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
5 years ago
07akioni
8906dfb549
feat: showNow on timepicker and datetimepicker ( #25032 )
5 years ago
xrkffgg
4e2118cad0
docs: update picker placeholder ( #24861 )
5 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
偏右
a9b95fe63b
docs: 📅 DatePicker change start day of week ( #24605 )
close #5605
close #19229
close #17982
close #3877
close #11552
close #10644
close #12194
5 years ago
二货机器人
c40b291415
feat: RangePicker support info ( #24278 )
5 years ago
偏右
8497e54e39
docs: 📖 keep documentation up to date ( #24184 )
* docs: remove babel-plugin-import from docs
* docs: react-scripts-rewired + customize-cra => craco
* docs: remove babel-plugin-import
* fix remark link
5 years ago
xrkffgg
e26eb5f892
docs: optimize site of rtl ( #23995 )
5 years ago
Tom Xu
f5153ab950
docs: improve style type ( #23700 )
5 years ago
偏右
db97c5788e
chore: add remark lint ( #23457 )
* 💄 Add remark lint for markdown files
* 💄 Add remark lint for markdown files
* 💄 Add remark lint for markdown files
5 years ago
Calin Vlad
4ed2d6a44d
docs: update DatePicker docs to specify correct monthCellRender prop insted of monthCellContentRender ( #22946 )
5 years ago
二货机器人
1e95c6cef0
feat: Quarter picker ( #22468 )
* support quarter picker
* update snapshot
* fix lint
5 years ago
afc163
b33c1d5d88
docs: 📝 onOpenChange argument name
5 years ago
偏右
28c06266d0
docs: 📝 documentation for DatePicker inputReadOnly ( #22024 )
close #20442
close #21831
close #20816
5 years ago
GJ Wang
f78332171e
docs: fix size props ( #21724 )
5 years ago
偏右
06ba40e860
🆕 Add bordered prop ( #21242 )
close #19859
5 years ago
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
5 years ago
偏右
90d819fc6f
docs: 📝 update title to Replace Moment.js ( #20730 )
* 📝 update title to Replace Moment.js
* Update and rename generate-picker.zh-CN.md to replace-moment.zh-CN.md
* 🔗 fix links
5 years ago
陈小聪
014bed6358
docs: generate picker ( #20515 )
* docs: faq How to use dayjs instead of moment
* adjust article position
* add steps and use cases
* change docs
* add bisheng config source
* translate title
* remove customize TimePicker
* simplified document
* Update docs/react/generate-picker.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/react/generate-picker.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* add cra demo
* init demo refer 'Use in TypeScript'
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
407a41a142
feat: New Picker ( #20023 )
* init generate
* basic style
* basic panel style
* update mode panel style
* update style
* generate More picker
* default clear icon
* chore: Update separator type
* feat: Add ranged start & end className
* update range style
* Add transition effect
* support size config
* adjust range style
* chore: Auto fill time by showTime
* auto set time by format
* update disabled style
* update seperator style
* ranges style
* support extra footer style
* remove useless test case
part is not usable anymore
part is already tested in rc-picker
* init calendar
* all demos
* fix calendar basic test
* fix time-picker test case
* update snapshot
* fix tooltip test case & lint
* fix locale & style lint
* fix compile
* fix style
* fix style lint
* fix calendar style
* update rc-picker version
* adjust style
* move picker placeholder into locale file
* update snapshot
* add hover style
* update picker version
* fix icon position & style
* update picker version
* update deps for pading
* fix: align of suffix
* feat: Year & Month support range effect
* adjust range style to support up-down placement
* update rc-picker
* update range picker style
* adjust extra footer line style
* update snapshot
* fix: Locale error
* fix: style lint
* fix: add missing button style deps
* update test case
* fix firefox additional white line style issue
* rollback demo
* fix ff additional blue color
* docs: Remove placeholder in demo
* rangepicker ranges is tag now
* connect start / end background color with picker range
* update deps
* update deps for fixing blur text issue
* hide start-end demo
* range hover style update
* hover range with ranged value
* black magic of inner hover style
* hover style of range adjust
* fix css select miss hit on DatePicker
* remove one eslint rule
* fade range hovered color
* week should alway not show the cell selection
* update style of selection
* update snapshot
* fix style
* add margin back
* update rc-picker deps
* update date & time picker & form style
* fix disabled demo & update form style
* update docs about allowEmpty
* hide arrow in time range picker
* add hover & focused style
* fix lint
* fix style & update snapshot
* raise disabled selector proirity
* fix disabled today border color
* extra footer provides an bottom line
* time picker hover support transition background
* add padding style
* fix Firefox not correct calculate inline-flex
* fix style
* fix week picker missing today border color
* rm useless padding
* Force padding to 0
* test coverage
* dedup eslint rule
* adjust logic to imporve coverage
* fix render cell logic
5 years ago
yehq
0a13af0f2e
doc(DatePicker, cascader): 删除版本信息 ( #19820 )
5 years ago
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx
5 years ago
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
5 years ago
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
5 years ago
susiwen
06eba00e0b
Add FAQ link
5 years ago
susiwen
b710f47996
Add missing FAQ site
5 years ago
偏右
d74c590f17
Update index.zh-CN.md
5 years ago
susiwen
85e483921b
Add missing info in documents
5 years ago
afc163
6295cb4597
📝 Add FAQ for DatePicker/RangePicker mode prop usage
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
Sebastian Busch
4af2b62cb5
fix: Add some missing TypeScript prop definititions and clean up date-picker definitions ( #16342 )
* Add some missing TypeScript prop definitition, clean up date-picker definitions
* use DatePickerMode instead of redundant enumeration of modes
* decade was missing from the list of modes
See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()
* add decade as possible value for mode prop
6 years ago
ztplz
b40c0d3db3
Update DatePicker docs ( #15092 )
6 years ago
zombieJ
5ce7e71007
RangePicker support customize separator ( #15055 )
* support separator
* add version
* fix css
6 years ago