lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
1 year ago
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
1 year ago
二货爱吃白萝卜
5ea9ea8e6a
fix: DatePicker PurePanel placement ( #41901 )
* fix: DatePicker PurePanel placement
* chore: fix type
2 years ago
二货爱吃白萝卜
308f486d58
feat: DatePicker & Calendar export generate function directly ( #41773 )
* feat: DatePicker.gen support
* test: update snapshot
* docs: update docs
2 years ago
MadCcc
853283b7e4
docs: DatePicker design tab ( #40745 )
* docs: DatePicker design tab
* docs: add design demo
* docs: add anchor for design demo
* docs: init g6
* docs: behavior map
* test: fix test cov
* docs: behavior map comp
* docs: add map title
* docs: fix ssr
* docs: update demo
* docs: optimize copy ux
* docs: update demo
* chore: code clean
2 years ago
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
二货机器人
1bf275fa9a
feat: Picker support PureRender ( #36458 )
* feat: Picker support PureRender
* test: update snapshot
* fix: timepicker wrapper
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
3 years ago
二货机器人
5556ab585f
chore: Add DatePicker related interface ts export ( #20900 )
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
zombieJ
04111fb40e
Support date format in locale ( #14340 )
* use locale format
* remove monthFormat
* use locale format
* add test case
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
Wei Zhu
1b3118e1dc
Use week year
Fix #9463
7 years ago
Wei Zhu
6ea33da9f8
Don't use ISO week ( #9025 )
https://en.wikipedia.org/wiki/ISO_week_date
fix #9021
7 years ago
Wei Zhu
0bb531aca6
Refactor DatePicker types
7 years ago
ascoders
9bf76ff76a
fix: add props define - onPanelChange in DatePicker.RangePicker
7 years ago
ziyi.hzy
3ce9188056
fix: add props define - mode in DatePicker.RangePicker
7 years ago
Flynn
071149cfbb
feature:add onCalendarChange for RangePicker ( #8355 )
* feature:add onCalendarChange for RangePicker
The event trigger when start time or end time is changing, which is useful for districting range user can select.
* Update index.zh-CN.md
update doc
* Update index.zh-CN.md
* Update index.zh-CN.md
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
778758944
4e726fdfd7
修复disabledTime interface定义错误 ( #7740 )
7 years ago
Henri Normak
36a54a8a8c
Expose renderDate function for DatePicker ( #7710 )
* Expose renderDate function for Calendar dates
* Use the original prop name
7 years ago
偏右
f3911b3707
Feat week picker ( #7404 )
* New Component WeekPicker
close #212
* Add WeexPicker in API doc
* update snapshot
* Add test cases
* update snapshot
7 years ago
柚子男
6d06f2f4b4
fix lint
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
newraina
e560cb26c3
fix dataPicker onOk type definition ( #6619 )
8 years ago
Benjy Cui
1920d9af46
chore: update details for #6584
8 years ago
Alexander
9131a79377
chore: add className prop to DatePicker ( #6584 )
* Add className to DatePicker
* Add className to MonthPicker and RangePicker
8 years ago
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
close #6122 , close #5188
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
Benjy Cui
174c3b7d62
docs: MonthPicker doesn't support onOk, close : #5350
8 years ago
afc163
5068343b0c
fix tslint
8 years ago
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
8 years ago
Benjy Cui
38fd7f6feb
chore: improve detail
8 years ago
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
8 years ago
RaoHai
d4269f8f30
fix `format` props of RangePicker
+ close #3808
8 years ago
Benjy Cui
bbef274aae
feat: expose DatePicker[showToday], ref: #3793
8 years ago
feng zhi hao
b6fbc266c5
add declaration in DatePicker ( #3829 )
8 years ago
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
8 years ago
feng zhi hao
0257e02e65
optimize declaration ( #3531 )
8 years ago
feng zhi hao
6bcd489c50
chore: optimize DatePicker`s declaration ( #3468 )
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago