Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(calendar): add custom cell content to Calendar #3554

Open
wants to merge 28 commits into
base: canary
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a24b443
feat(calendar): add custom cell content
1amageek Jun 24, 2024
487be5e
refactor(calendar-cell): add useRef hook to improve performance
1amageek Jun 24, 2024
7a0fa5c
refactor: improve CalendarCell by destructuring props and adding type…
1amageek Jun 25, 2024
a449568
test(calendar): add test for custom cell content in Calendar and Rang…
1amageek Jun 25, 2024
0218de1
chore: add changeset for custom cell content feature in Calendar and …
1amageek Jun 25, 2024
4d40ddd
refactor: use shared template component for custom cell content in ca…
1amageek Jun 29, 2024
c0f2b34
feat: add calendar width and custom cell templates for calendar and r…
1amageek Jul 25, 2024
448ab55
feat(calendar): add renderCellContent prop for custom cell content
1amageek Jul 25, 2024
9445d2b
feat(calendar): move renderCellContent to context
1amageek Nov 22, 2024
930d4af
feat(calendar): add cell components and context management
1amageek Nov 23, 2024
9fc7840
feat(calendar): implement custom cell content rendering
1amageek Nov 23, 2024
b327e40
feat(docs): add custom cell content examples for calendar components
1amageek Nov 23, 2024
b2fcf12
fix(theme): correct typo in calendar cellBody height class
1amageek Nov 23, 2024
39dd82c
Merge branch 'canary' into canary
1amageek Nov 23, 2024
0f22c26
feat(calendar): add day of week calculation to CalendarCell component
1amageek Nov 23, 2024
2ae85a9
refactor(calendar): improve calendar cell components and remove unuse…
1amageek Nov 23, 2024
01b3ba2
feat(calendar): update components to use CalendarCellHeader
1amageek Nov 23, 2024
874af0b
refactor(theme): update gridBodyRow styles for better spacing
1amageek Nov 23, 2024
e814634
refactor(calendar): integrate CalendarCellHeader into calendar cell c…
1amageek Nov 23, 2024
24ccded
feat(calendar): add support for custom cell content in calendar compo…
1amageek Nov 23, 2024
1cd1d21
feat(calendar): add role and aria-label to birthday events
1amageek Nov 27, 2024
8902936
feat(calendar): add calendar cell components and context support
1amageek Dec 7, 2024
84a85d7
feat(calendar): add calendar cell components and context support
1amageek Dec 7, 2024
deb9dfc
ci(changesets): version packages
jrgarciadev Dec 7, 2024
7dd0840
Merge pull request #1 from 1amageek/changeset-release/canary
1amageek Dec 7, 2024
60892c4
Add support for custom cell content in Calendar components
1amageek Dec 7, 2024
5e2da7c
Merge branch 'canary' into canary
1amageek Dec 7, 2024
215eb51
Merge branch 'canary' of https://github.com/nextui-org/nextui into ca…
1amageek Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci(changesets): version packages
  • Loading branch information
jrgarciadev committed Dec 7, 2024
commit deb9dfcdd56083cccc4c0a7597d657041ad5158d
5 changes: 0 additions & 5 deletions .changeset/popular-seals-appear.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/components/calendar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nextui-org/calendar

## 2.3.0

### Minor Changes

- [`0218de1`](https://github.com/nextui-org/nextui/commit/0218de16f0831a7fee14065352b3284aa52c39c3) Thanks [@1amageek](https://github.com/1amageek)! - Added the `renderCellContent` prop to the `Calendar` and `RangeCalendar` components, allowing developers to specify custom content for each calendar cell. Updated the existing tests and added new test cases to cover the custom cell content functionality.

## 2.2.2

### Patch Changes
2 changes: 1 addition & 1 deletion packages/components/calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nextui-org/calendar",
"version": "2.2.2",
"version": "2.3.0",
"description": "A calendar displays one or more date grids and allows users to select a single date.",
"keywords": [
"calendar"
7 changes: 7 additions & 0 deletions packages/components/date-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @nextui-org/date-picker

## 2.3.3

### Patch Changes

- Updated dependencies [[`0218de1`](https://github.com/nextui-org/nextui/commit/0218de16f0831a7fee14065352b3284aa52c39c3)]:
- @nextui-org/calendar@2.3.0

## 2.3.2

### Patch Changes
2 changes: 1 addition & 1 deletion packages/components/date-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nextui-org/date-picker",
"version": "2.3.2",
"version": "2.3.3",
"description": "A date picker combines a DateInput and a Calendar popover to allow users to enter or select a date and time value.",
"keywords": [
"date-picker"
8 changes: 8 additions & 0 deletions packages/core/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @nextui-org/react

## 2.6.4

### Patch Changes

- Updated dependencies [[`0218de1`](https://github.com/nextui-org/nextui/commit/0218de16f0831a7fee14065352b3284aa52c39c3)]:
- @nextui-org/calendar@2.3.0
- @nextui-org/date-picker@2.3.3

## 2.6.3

### Patch Changes
2 changes: 1 addition & 1 deletion packages/core/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nextui-org/react",
"version": "2.6.3",
"version": "2.6.4",
"description": "🚀 Beautiful and modern React UI library.",
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",