@nextui-org/calendar
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -1201,3 +1201,2 @@ "use client"; | ||
var import_shared_utils2 = require("@nextui-org/shared-utils"); | ||
var import_react18 = require("react"); | ||
@@ -1301,17 +1300,3 @@ // src/calendar-cell.tsx | ||
const weeksInMonth = (0, import_date2.getWeeksInMonth)(startDate, locale); | ||
const { | ||
state: stateProp, | ||
slots, | ||
weekdayStyle, | ||
isHeaderExpanded, | ||
disableAnimation, | ||
classNames | ||
} = useCalendarContext(); | ||
const [state, setState] = (0, import_react18.useState)(() => stateProp); | ||
(0, import_react18.useEffect)(() => { | ||
if (isHeaderExpanded) { | ||
return; | ||
} | ||
setState(stateProp); | ||
}, [stateProp, isHeaderExpanded]); | ||
const { state, slots, weekdayStyle, isHeaderExpanded, disableAnimation, classNames } = useCalendarContext(); | ||
const { gridProps, headerProps, weekDays } = (0, import_calendar2.useCalendarGrid)( | ||
@@ -1318,0 +1303,0 @@ { |
{ | ||
"name": "@nextui-org/calendar", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "A calendar displays one or more date grids and allows users to select a single date.", | ||
@@ -54,3 +54,3 @@ "keywords": [ | ||
"@nextui-org/use-aria-button": "2.0.7", | ||
"@nextui-org/button": "2.0.30" | ||
"@nextui-org/button": "2.0.31" | ||
}, | ||
@@ -57,0 +57,0 @@ "clean-package": "../../../clean-package.config.json", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1450792
35556
+ Added@nextui-org/button@2.0.31(transitive)
+ Added@nextui-org/ripple@2.0.28(transitive)
- Removed@nextui-org/button@2.0.30(transitive)
- Removed@nextui-org/ripple@2.0.27(transitive)
Updated@nextui-org/button@2.0.31