EYHN
702c03539f
fix(core): fix member list fallback size ( #8133 )
2024-09-06 02:38:30 +00:00
EYHN
74cd175d37
feat(core): invoice service ( #8124 )
2024-09-05 23:56:58 +08:00
akumatus
9cbe416c2c
feat(core): shape editor settings ( #8122 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">录屏2024-09-05 21.20.31.mov</video>
2024-09-05 15:24:37 +00:00
EYHN
f4db4058f8
feat(core): make permission and invoice offline available ( #8123 )
2024-09-05 15:11:27 +00:00
JimmFly
8be67dce82
fix(core): remove joined workspace icon from current worksapce card ( #8117 )
...
close PD-1669
2024-09-05 14:58:29 +00:00
fundon
017e89f458
fix(core): should be bound to the correct object ( #8121 )
...
<img width="795" alt="Screenshot 2024-09-05 at 18 05 35" src="https://github.com/user-attachments/assets/46f277e9-9be6-4f71-b765-fc442a3a9c64 ">
2024-09-05 14:46:04 +00:00
pengx17
d3f50a2e38
feat(core): expose skip login button to web ( #8115 )
...

Allow user skip login page on client
2024-09-05 14:33:22 +00:00
JimmFly
d0010a1d11
chore: add i18n support for ai confirm modal ( #8116 )
2024-09-05 14:20:40 +00:00
JimmFly
10fe79a9a8
chore: remove deprecated admin panel ( #8120 )
2024-09-05 14:07:34 +00:00
akumatus
4bbb94c32d
feat(core): bump blocksuite ( #8114 )
2024-09-05 13:54:56 +00:00
JimmFly
5083fe3cfd
feat(core): update i18n resources ( #8119 )
2024-09-05 12:37:06 +00:00
fundon
de1a51bf7c
fix(core): should open a new tab with parameters ( #8118 )
...
Closes [AF-1343](https://linear.app/affine-design/issue/AF-1343/点击-center-peek-右侧的按钮时,应该携带参数 )
2024-09-05 10:30:39 +00:00
pengx17
7621758c76
fix(electron): tune offline mode filter ( #8113 )
2024-09-05 10:08:56 +00:00
JimmFly
5c67f98e90
fix(admin): nav bar incorrectly active state ( #7870 )
2024-09-05 09:35:22 +00:00
pengx17
d5ecf503c2
fix(mobile): journal button should not show for edgeless ( #8110 )
2024-09-05 09:16:26 +00:00
pengx17
2a2a969394
feat(mobile): add share button ( #8109 )
2024-09-05 09:16:25 +00:00
EYHN
691bfed185
feat(core): selector for editorSetting hooks ( #8108 )
2024-09-05 08:44:11 +00:00
JimmFly
3837c84791
feat(core): temporarily add page mode editor settings to appearance settings ( #8090 )
...
Will remove it when editor settings is released.

2024-09-05 08:30:01 +00:00
fundon
059030fbeb
fix(core): link generation for selected blocks ( #8087 )
...
Closes [BS-1321](https://linear.app/affine-design/issue/BS-1321/copy-link-to-selected-block )
https://github.com/user-attachments/assets/6102fc7f-9551-4dd4-83b1-758dd0a946f0
2024-09-05 07:47:40 +00:00
akumatus
19a7d1eb92
feat(core): observe editor settings change and update edgeless editor ( #8105 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">录屏2024-09-05 14.32.41.mov</video>
2024-09-05 07:30:20 +00:00
JimmFly
f452414952
fix(core): hide the footer that blocks the toolbar in shared page ( #8091 )
...
close PD-1405 CLOUD-64
https://github.com/user-attachments/assets/f6ed2dfc-d238-41d8-abaf-684193a080ff
2024-09-05 07:14:23 +00:00
CatsJuice
03c2051926
feat(component): startScopedViewTranstion func to support scoped view transition ( #8093 )
...
AF-1293
2024-09-05 06:45:29 +00:00
CatsJuice
73dd1d3326
fix(mobile): fixed all docs header, remove doc card tags layout strategy ( #8104 )
...
close AF-1326
2024-09-05 06:29:18 +00:00
renovate
24acce2eac
chore: bump up @blocksuite/icons version to v2.1.67 ( #8006 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://redirect.github.com/toeverything/icons ) | [`2.1.66` -> `2.1.67`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.66/2.1.67 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.67`](8842286f0a...4bdeb1d0ae )
[Compare Source](8842286f0a...4bdeb1d0ae )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-09-05 05:41:33 +00:00
Yifeng Wang
b711b087c5
docs: add electron build troubleshooting ( #8102 )
2024-09-05 13:39:01 +08:00
fundon
2bdf8c6ef3
chore(core): track copy block to link action ( #8056 )
...
part of [BS-1254](https://linear.app/affine-design/issue/BS-1254/增加-block-reference-的埋点 )
2024-09-05 03:21:25 +00:00
akumatus
5f3dd867ad
feat(core): support snapshot preview in editor settings ( #8094 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">录屏2024-09-04 22.26.47.mov</video>
2024-09-05 02:58:54 +00:00
pengx17
b680c1839b
fix(core): edit tag should not jump to its detail ( #8070 )
...
fix AF-1324
2024-09-05 02:46:07 +00:00
pengx17
1cac2f6ccd
feat(core): add journal navigation tracking ( #8046 )
...
fix AF-1314
2024-09-05 02:31:58 +00:00
CatsJuice
06552a1120
fix(mobile): explorer node touch optimization ( #8101 )
...
close AF-1338
2024-09-05 02:18:28 +00:00
pengx17
93ae724c66
chore(electron): downgrade electron to v31 ( #8095 )
...
fix AF-1337
it seems the way how we load web worker file in electron no longer works.
created an upstream issue in https://github.com/electron/electron/issues/43556
2024-09-05 01:30:26 +00:00
pengx17
989e8830f7
fix(mobile): workspace selector not close on click outside ( #8096 )
2024-09-04 16:57:57 +00:00
pengx17
0ae5673aaa
feat(electron): add offline mode ( #8086 )
...
fix AF-1334
It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250
implemented using an in-house solution.
When turned on:

2024-09-04 10:46:43 +00:00
CatsJuice
51bc40d2a8
fix(mobile): header will be clipped when modal opened and page scrolled ( #8079 )
...
close AF-1332
This issue is caused by radix, it will set `overflow: hidden` to body when modal opened. And header is implemented with `position: sticky`.
> **why not use `position: fixed` for header?**
>
> We need to handle `padding-top` manually to avoid content covered by header.
2024-09-04 09:36:18 +00:00
EYHN
2524491bd1
fix(env): is mobile flag ( #8005 )
...
only 'mobile' entry has isMobile = true flag
2024-09-04 09:21:36 +00:00
JimmFly
f688c057eb
feat(core): impl AI switch ( #8018 )
...
close PD-1658
https://github.com/user-attachments/assets/2f3d1d26-1879-4d95-b80c-7c0965cefbd0
2024-09-04 08:44:05 +00:00
EYHN
eb16c273ee
feat(core): apply default doc mode setting ( #8083 )
2024-09-04 08:31:36 +00:00
EYHN
01b2339173
refactor(core): better block link ( #8082 )
2024-09-04 08:13:22 +00:00
EYHN
2799e8cd43
fix(electron): fix ci ( #8085 )
2024-09-04 08:00:09 +00:00
EYHN
fb64bc7e55
feat(core): indexer upgrade ( #8062 )
2024-09-04 07:31:03 +00:00
EYHN
51f3566bec
fix(core): fix menu bugs ( #8074 )
2024-09-04 07:19:09 +00:00
pengx17
01e6370dd2
fix(electron): use CTRL+= to zoom in on windows ( #8081 )
...
fix AF-1291
2024-09-04 04:23:55 +00:00
pengx17
2ac803c73f
feat(mobile): sign in page ( #8039 )
...
fix AF-1237
2024-09-04 03:58:54 +00:00
CatsJuice
0d6f468385
fix(component): nested modal view-transition support ( #8073 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">CleanShot 2024-09-03 at 18.36.17.mp4</video>
2024-09-04 01:29:22 +00:00
CatsJuice
ec3b97d069
fix(component): replace storybook-dark-mode with globalTypes toolbar impl ( #8066 )
2024-09-03 15:18:24 +00:00
pengx17
7dde509970
fix(core): page info modal styles ( #8067 )
2024-09-03 12:46:37 +00:00
Saul-Mirone
681f4561fb
chore: bump bs ( #8071 )
2024-09-03 12:12:59 +00:00
pengx17
d00f86c3ce
fix(core): handle modal overlay click event correctly ( #8063 )
...
1. overlay click + hide is brought back. this is because modal (ormobile menu)'s `onPointerDownOutside` is bound to document.body. Code in e58af08f63/packages/frontend/core/src/modules/explorer/views/tree/node.tsx (L353-L356) will stop the event from bubbling to the document element.
2. when Menu's set to modal=true, the parent is set to pointer-events: none as well. changed menu to modal false instead.

2024-09-03 12:00:00 +00:00
pengx17
ae3b13bfb4
fix(electron): only the active view should respond to CMD+N ( #8068 )
2024-09-03 11:48:06 +00:00
renovate
4595df9b0e
chore: bump up react-day-picker version to v9 ( #7559 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-day-picker](https://daypicker.dev ) ([source](https://redirect.github.com/gpbl/react-day-picker )) | [`^8.10.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/react-day-picker/8.10.1/9.0.8 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>gpbl/react-day-picker (react-day-picker)</summary>
### [`v9.0.8`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.8 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.7...v9.0.8 )
This release fixes a regression in v9.0.7 affecting range mode.
#### What's Changed
- fix: update the displayed month only if start/end month change by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2358 ](https://redirect.github.com/gpbl/react-day-picker/pull/2358 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.7...v9.0.8
### [`v9.0.7`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.7 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.6...v9.0.7 )
This release improves compatibility with v8 and fix an issue with the calendar navigation.
#### What's Changed
- fix: update calendar state when `startMonth` or `endMonth` change by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2343 ](https://redirect.github.com/gpbl/react-day-picker/pull/2343 )
- feat: allow partial locales, export `defaultLocale` by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2348 ](https://redirect.github.com/gpbl/react-day-picker/pull/2348 )
- feat: allow `undefined` as initially selected value, as it was in v8 by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2341 ](https://redirect.github.com/gpbl/react-day-picker/pull/2341 )
- docs: changed class name `calendar` to `root` in the examples by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2347 ](https://redirect.github.com/gpbl/react-day-picker/pull/2347 )
- docs: replaced deprecated props by [@​josephmarkus](https://redirect.github.com/josephmarkus ) in [https://github.com/gpbl/react-day-picker/pull/2336 ](https://redirect.github.com/gpbl/react-day-picker/pull/2336 )\*
#### New Contributors
- [@​josephmarkus](https://redirect.github.com/josephmarkus ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2336 ](https://redirect.github.com/gpbl/react-day-picker/pull/2336 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.6...v9.0.7
### [`v9.0.6`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.6 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.5...v9.0.6 )
This release addresses the failed import of the common-js module for some app builder and add new `data-` attributes to help the integration with Tailwind. Thanks for your feedback!
#### What's Changed
- fix(build): add package.json to dist/cjs module by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2330 ](https://redirect.github.com/gpbl/react-day-picker/pull/2330 )
- feat: add new data-attributes to the day cells by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2331 ](https://redirect.github.com/gpbl/react-day-picker/pull/2331 )
#### New Contributors
- [@​lesleh](https://redirect.github.com/lesleh ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2329 ](https://redirect.github.com/gpbl/react-day-picker/pull/2329 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.5...v9.0.6
### [`v9.0.5`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.5 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.4...v9.0.5 )
This release improves the range mode behavior (see the [updated docs](https://daypicker.dev/docs/selection-modes#range-mode )) and address some styling issues.
#### What's Changed
- fix: improved range mode to work with min / required props by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2326 ](https://redirect.github.com/gpbl/react-day-picker/pull/2326 )
- fix(style): typo in css rdp-hidden module css breaking CSS builds by [@​ayuhito](https://redirect.github.com/ayuhito ) in [https://github.com/gpbl/react-day-picker/pull/2307 ](https://redirect.github.com/gpbl/react-day-picker/pull/2307 )
- fix(style): borders grid are not collapsed by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2323 ](https://redirect.github.com/gpbl/react-day-picker/pull/2323 )
- fix(style): week numbers are now centered by [@​gpbl](https://redirect.github.com/gpbl ) in c919ad829c
#### New Contributors
- [@​ayuhito](https://redirect.github.com/ayuhito ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2307 ](https://redirect.github.com/gpbl/react-day-picker/pull/2307 )
- [@​rishabh-ink](https://redirect.github.com/rishabh-ink ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2311 ](https://redirect.github.com/gpbl/react-day-picker/pull/2311 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.4...v9.0.5
### [`v9.0.4`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.4 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.3...v9.0.4 )
This release fixes some bugs and improves compatibility with v8.10. Thanks for your feedback and patience! 🤖
#### What's Changed
- fix(css): typo in `.rdp-range_end` by [@​AlessioDP](https://redirect.github.com/AlessioDP ) in [https://github.com/gpbl/react-day-picker/pull/2298 ](https://redirect.github.com/gpbl/react-day-picker/pull/2298 )
- fix(css): dropdown is transparent in Windows OS by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2300 ](https://redirect.github.com/gpbl/react-day-picker/pull/2300 )
- fix: `endMonth` date not working as expected by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2301 ](https://redirect.github.com/gpbl/react-day-picker/pull/2301 )
- feat: added back `onDayMouseEnter` and `onDayMouseLeave` by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2304 ](https://redirect.github.com/gpbl/react-day-picker/pull/2304 )
#### New Contributors
- [@​AlessioDP](https://redirect.github.com/AlessioDP ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2298 ](https://redirect.github.com/gpbl/react-day-picker/pull/2298 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.3...v9.0.4
### [`v9.0.3`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.3 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.2...v9.0.3 )
This release fixes two issues found with the grid style and the range mode.
#### What's Changed
- fix: alignment of grid elements by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2294 ](https://redirect.github.com/gpbl/react-day-picker/pull/2294 )
- fix: range mode not updating when selected prop changes by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2295 ](https://redirect.github.com/gpbl/react-day-picker/pull/2295 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.2...v9.0.3
### [`v9.0.2`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.2 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.1...v9.0.2 )
This update improves backward compatibility with v8.10.1 for range selection mode.
#### What's Changed
- feat: add `excludeDisabled` prop for range mode by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2290 ](https://redirect.github.com/gpbl/react-day-picker/pull/2290 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.1...v9.0.2
### [`v9.0.1`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.1 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.0...v9.0.1 )
This update improves backward compatibility with v8.10.1.
#### What's Changed
- fix: prop types not being correctly interpreted by TS by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2283 ](https://redirect.github.com/gpbl/react-day-picker/pull/2283 )
- feat: add `DeprecatedUI` enum by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2284 ](https://redirect.github.com/gpbl/react-day-picker/pull/2284 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.0...v9.0.1
### [`v9.0.0`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.0 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v8.10.1...v9.0.0 )
DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.
- See the updated docs at https://daypicker.dev and the [upgrading Guide](https://daypicker.dev/upgrading ) for more details.
##### Install the Latest Version
```bash
npm install react-day-picker@latest
```
#### What’s New
- Moved `date-fns` from peer dependencies to dependencies.
- Added support for [UTC dates](https://daypicker.dev/docs/localization#utc-dates ) and [Jalali Calendar](https://daypicker.dev/docs/localization#jalali-calendar ).
- [Enhanced accessibility](https://daypicker.dev/docs/accessibility ) to better comply with [WCAG 2.1](https://www.w3.org/TR/WCAG21/ ) recommendations.
- [Simplified styles](https://daypicker.dev/docs/styling ) and new CSS variables for easier customization.
- Improved selection logic for [range mode](https://daypicker.dev/docs/selection-modes.mdx ).
- New `dropdown-years` and `dropdown-months` caption layouts.
- New `hideWeekdayRow` and `hideNavigation` props.
- Updated for a complete [custom components](https://daypicker.dev/guides/custom-components ) support.
- Improved typings and props for better compatibility in TypeScript `strict` mode.
#### Breaking Changes
While we tried to keep the API as stable as possible, some breaking changes were necessary to improve the library:
- The updated ARIA labels could require new translations or updated unit tests selectors.
- Custom CSS styles will likely break, due to the updated CSS classes and simplified styles.
- Custom Components have new API and may break.
- Some typings have been renamed or deprecated.
- The `useInput` hook has been removed. See [Input fields](https://daypicker.dev/guides/input-fields ) guide for more details.
- `onWeekNumberClick` has been removed. Use a custom component to handle week number clicks.
- The updated build system to ESM and CommonJS could break some custom bundler.
##### Upgrading Guide
We prepared a [Upgrading guide](https://daypicker.dev/upgrading ) for help upgrading your app to v9. We welcome [feedback](https://redirect.github.com/gpbl/react-day-picker/discussions ) about the upgrade process, to ensure it's smooth for everyone.
#### Compatibility
DayPicker v9 is compatible with React 16.8+.
#### Get Support and Report Issues
Get support, report issues, and provide feedback on the [Discussion forums](https://redirect.github.com/gpbl/react-day-picker/discussions ). Thanks.
#### New Contributors
- [@​grzegorzpokorski](https://redirect.github.com/grzegorzpokorski ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2124 ](https://redirect.github.com/gpbl/react-day-picker/pull/2124 )
- [@​zaaakher](https://redirect.github.com/zaaakher ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2137 ](https://redirect.github.com/gpbl/react-day-picker/pull/2137 )
- [@​ArthurGoupil](https://redirect.github.com/ArthurGoupil ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2230 ](https://redirect.github.com/gpbl/react-day-picker/pull/2230 )
- [@​johnnysedh3lllo](https://redirect.github.com/johnnysedh3lllo ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2252 ](https://redirect.github.com/gpbl/react-day-picker/pull/2252 )
- [@​xardit](https://redirect.github.com/xardit ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2254 ](https://redirect.github.com/gpbl/react-day-picker/pull/2254 )
- [@​dave-meyer](https://redirect.github.com/dave-meyer ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2231 ](https://redirect.github.com/gpbl/react-day-picker/pull/2231 )
- [@​benasher44](https://redirect.github.com/benasher44 ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2249 ](https://redirect.github.com/gpbl/react-day-picker/pull/2249 )
- [@​RyanCavanaugh](https://redirect.github.com/RyanCavanaugh ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2275 ](https://redirect.github.com/gpbl/react-day-picker/pull/2275 )
- [@​kesoji](https://redirect.github.com/kesoji ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2281 ](https://redirect.github.com/gpbl/react-day-picker/pull/2281 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjU5LjIiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-09-03 10:28:42 +00:00