MadCcc
732d71661d
Merge branch 'feature' into master-merge-feature
2025-02-10 10:36:37 +08:00
thinkasany
d0f68b4847
chore: improve warning for calendar ( #52723 )
2025-02-10 10:31:24 +08:00
二货爱吃白萝卜
3800e8d5ff
refactor: useComponentConfig for batch component ( #52586 )
...
* refactor: hooks of context
* refactor: hooks of context
2025-01-26 12:35:26 +08:00
afc163
f96dacd712
feat: Calendar support showWeek prop ( #52072 )
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
👁️ Visual Regression Persist Start / test image (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
2024-12-20 23:13:45 +08:00
Lansana Diomande
37abf776f4
fix(Calendar): make Calendar locale overriding locale from ConfigProvider ( #50236 )
...
Co-authored-by: Lansana DIOMANDE <lansana.diomande@cartier.comm>
2024-08-07 23:12:32 +08:00
lijianan
fe3378f644
type: code optimization ( #49864 )
...
* type: code optimization
* fix: fix
2024-07-15 09:21:54 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker ( #46982 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: demo update
* docs: update demo
* docs: min & max date
* test: update snapshot
* docs: add order
* chore: update deps
* test: update snapshot
* test: update snapshot
* chore: adjust style
* chore: clean up style
* test: update snapshot
* chore: fix comment
* chore: update align
* chore: bump rc-picker
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
二货爱吃白萝卜
19fd98978d
Revert "refactor: New Picker interactive" ( #46981 )
2024-01-15 16:28:45 +08:00
二货爱吃白萝卜
fe314589ed
refactor: New Picker interactive ( #46685 )
...
* chore: init
* chore: link picker
* chore: move files
* chore: update style
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: clesn up useless types
* chore: update types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: fix types
* chore: update style
* chore: clean up
* chore: update types
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* fix: format
* chore: update deps
* chore: feature merge master (#46794 )
* fix: Fix typo s/Notificaiton/Notification/ (#46775 )
* docs: supplement form preserve field description (#46788 )
close https://github.com/ant-design/ant-design/issues/46773
* docs: tweak changelog drawer width in small screen (#46791 )
* docs: Update compatible-style.zh-CN.md (#46790 )
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
* chore: update locale size
* chore: lock dumi
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
* test: update snapshot
* test: update snapshot
* chore: bump version
* chore: update limit
* test: update snapshot
* docs: update 7 days sample
* chore: rm useless style
* chore: clean up style
* docs: add buddihist era demo
* refactor: interface
* chore: add multiple types
* docs: add demo
* chore: init style
* chore: init style
* chore: fill style
* chore: fill style
* chore: style
* chore: size of it
* chore: size style
* docs: add align demo
* docs: needConfirm
* chore: fix showWeek style
* test: update snapshot
* chore: fix ts
* chore: fix ts
* chore: fix ts
* chore: fix ts
* fix: week style
* docs: update dayjs note
* fix: style missing
* chore: fix footer extra style missing
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
---------
Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-15 15:41:40 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
红果汁
625184a306
feat: Calendar support cssVar ( #45835 )
...
* feat: calendar support cssvar
* fix: calc priority
* Update components/calendar/generateCalendar.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>
---------
Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 11:37:07 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
JiaQi
09c0840a6b
feat: ConfigProvider support Calendar className and style properties ( #43385 )
2023-07-06 09:38:21 +08:00
Hector Ayala
5bbd13d2c8
Fix calendar internal select source type ( #42459 )
...
* fix: pass panelMode as source type to internal select trigger
* test: add test case for triggering select source with panelMode
* test: update test to pass correct value to check
* test: fix passing value to test
* test: update test in proper select.test file
* test: update test case
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-05-22 18:48:28 +08:00
二货爱吃白萝卜
71fc54e53a
feat: Calendar onSelect
support info.source
param ( #42432 )
...
* test: add test case
* test: add test case
* docs: update api
* docs: faq update
2023-05-17 21:18:51 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Amumu
bf9eff66d7
chore: merge feature into master ( #41598 )
...
* 🦄 ️ refactor(DatePicker,Calendar): dateRender,monthRender => cellRender (#41584 )
* refactor: dateRender => cellRender
* feat: update snapshots
* feat: update snapshots
* docs: update docs
* docs: update docs
* docs: update docs
* docs: update docs
* feat: update test case
* docs: update docs
* feat: optimize code
* feat: optimize code
* feat: update test case
* feat: update test case
* test: fix lint error (#41596 ) (#41600 )
* test: fix lint error
* chore: fix lint
---------
* feat: Picker luxon support (#41580 )
* chore: add luxon english documentation
* chore: add draft chinese documentation
This documentation was auto-generated based on the english version so it is only a rough draft and will most likely need to be refined.
* fix: improve documentation phrasing
---------
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: Sylvain Boulade <sboulade@gmail.com>
2023-04-03 11:21:24 +08:00
lijianan
f6c235462e
chore: Remove locale-provider ( #41289 )
...
* chore: rm locale-receiver
* chore: export useLocale in locale
* chore: comment
* chore: rm locale-provider dir
* docs: rm locale-provider in migration document
* chore: fix regexp
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
...
* refactoring: rewrite useLocale return
* rename
* revert name
2023-02-24 10:51:59 +08:00
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
...
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
2023-02-22 18:18:26 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
...
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2022-12-09 15:04:08 +08:00
afc163
aae35a4d3c
perf(bundlesize): remove lodash padStart/padEnd ( #39040 )
2022-11-28 00:20:50 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
...
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
2022-10-01 22:17:14 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
Dunqing
77cad90c08
refactor: Calendar cssinjs ( #34835 )
...
* refactor: to cssinjs
* fix: css logical properties
* refactor: use mergeTokens handle customize token
* refactor: export genPanelStyle
* feat: add picker panel style
* fix: remove unused token
* refactor: replace arrowWidth with sizePopupArrow
* fix: add fixme
* fix: type error
* fix: remove arrowWidth
* fix: add fixme
* fix: remove comment
* fix: add fixme
* chore: code style
* test: fix lint
* test: fix lint
Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 20:07:40 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
c75e59faf1
chore: rm useless console
2022-05-06 18:52:01 +08:00
zombiej
2290144b25
test: update test case
2022-05-01 17:50:10 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
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>
2020-12-09 17:12:32 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
zhangchen
22fdd41732
fix: Calendar validRange prevents disabledDate ( #25626 )
...
* fix: Calendar validRange prevents disabledDate
* update: code style
* fix: 25606
* update: useCallback mergedDisabledDate
* update: useCallback mergedDisabledDate
* add: test case
2020-07-21 16:29:27 +08:00
二货机器人
d4aca5f343
fix: Cal onPanelChange ( #24695 )
...
* simple code
* add test case
* patch
2020-06-02 21:26:52 +08:00
xrkffgg
f467df5fe2
feat: add rtl calendar ( #23394 )
2020-04-21 15:29:36 +08:00
二货机器人
4794bae529
fix: Calendar missing style ( #23081 )
2020-04-09 15:44:22 +08:00
二货机器人
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
2019-12-11 23:32:19 +08:00