a75a3b22b6
fix(studio): align PITR calendar dates in the first week ( #47806 )
...
## What
Fixes misaligned day cells in the PITR calendar widget for the first
week of the month.
## Why
The PITR calendar draws a \`border\` on each day cell via
\`classNames.day\`. The day \`<td>\` has no explicit width, so
\`box-sizing: border-box\` doesn't apply and the 1px borders add to its
size (36px → 38px), while the weekday header cells stay pinned at
\`w-9\` (36px). Bordered day cells therefore drift right of their
headers, which is most visible in the first partial week where
unbordered leading cells sit flush next to the wider bordered ones.
## How
Pin each day cell to a fixed \`w-9 box-border\` so the border is drawn
inside the 36px box, and let the day button fill the cell (\`w-full\`).
Column pitch now matches the weekday headers regardless of border state.
Class-only change, no logic touched.
Closes FE-3886
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Style**
* Improved calendar day cell sizing and layout for more consistent
rendering.
* Ensured day buttons use full-width styling where applicable, while
preserving existing hover, border, background, and corner behavior.
* **Documentation**
* Added documentation for “Calendar with disabled days,” including a new
interactive preview.
* **New Features**
* Introduced a calendar example demonstrating disabled-day behavior with
mid-week month start and restricted date selection.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2026-07-10 11:40:33 +01:00
..
2026-05-19 17:04:00 +02:00
2026-07-03 10:14:12 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-05-08 07:59:35 +00:00
2024-05-24 09:21:41 +00:00
2026-06-16 23:59:58 +02:00
2026-02-27 16:23:08 +11:00
2026-05-08 07:59:35 +00:00
2024-05-24 09:21:41 +00:00
2026-05-15 14:55:37 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2024-09-30 21:41:26 +02:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 10:14:12 +10:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-07-10 11:40:33 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-08-30 16:51:05 +08:00
2024-08-30 16:51:05 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2026-04-27 11:07:06 +02:00
2026-04-27 11:07:06 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-04-27 11:07:06 +02:00
2026-05-15 15:29:16 +10:00
2026-05-22 18:24:17 +10:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-05-20 15:45:32 +02:00
2026-05-20 15:45:32 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-06-16 23:59:58 +02:00
2026-05-15 15:09:25 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2025-12-15 10:44:08 +00:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2025-12-15 10:44:08 +00:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2026-03-31 09:14:56 +02:00
2026-03-31 09:14:56 +02:00
2025-10-16 13:44:40 +11:00
2026-06-16 23:59:58 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 15:00:43 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2025-12-11 13:38:26 +11:00
2026-03-26 15:27:35 +01:00
2026-03-26 15:27:35 +01:00
2024-07-12 11:32:20 +02:00
2026-04-27 11:07:06 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-05-15 14:55:37 +02:00
2026-04-27 11:07:06 +02:00
2026-04-30 10:53:24 +00:00
2026-05-15 14:55:37 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-30 09:23:17 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-17 16:00:34 +02:00
2026-06-17 16:00:34 +02:00
2026-06-16 23:59:58 +02:00
2024-05-24 09:40:15 +00:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2024-10-31 00:55:08 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 14:55:37 +02:00
2026-05-15 14:55:37 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2024-10-01 11:29:37 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-04-08 09:42:55 -06:00
2026-05-15 15:55:33 +02:00
2025-12-10 13:10:18 +00:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2024-05-23 17:39:56 +08:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2024-10-25 15:43:15 +02:00
2026-06-16 23:59:58 +02:00
2025-02-11 10:40:51 +08:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2026-05-15 15:55:33 +02:00
2024-10-25 15:43:15 +02:00
2025-10-08 10:18:43 +11:00
2025-10-08 10:18:43 +11:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2025-11-11 04:02:30 +00:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 15:00:43 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-06-16 23:59:58 +02:00
2026-05-21 09:16:14 +10:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-01-21 10:18:15 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2024-05-23 17:44:45 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:44:45 +02:00
2026-06-16 23:59:58 +02:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2026-05-15 16:39:57 +02:00
2026-06-16 23:59:58 +02:00
2026-05-15 16:39:57 +02:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-05-15 15:55:33 +02:00
2026-06-24 14:14:47 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2025-12-11 13:38:26 +11:00
2025-12-11 13:38:26 +11:00
2026-06-16 23:59:58 +02:00
2026-01-20 03:24:10 +00:00
2026-02-05 13:54:10 +01:00
2026-07-06 15:29:16 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-06-24 14:14:47 +02:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:09:25 +02:00
2026-05-15 15:09:25 +02:00
2025-12-02 14:18:21 +00:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00