@mantine/dates
Advanced tools
Comparing version 7.2.1 to 7.2.2
@@ -125,2 +125,3 @@ 'use client'; | ||
]); | ||
const [dropdownOpened, setDropdownOpened] = React.useState(false); | ||
const { calendarProps, others } = pickCalendarLevelsProps.pickCalendarProps(rest); | ||
@@ -156,6 +157,6 @@ const ctx = useDatesContext.useDatesContext(); | ||
}, [ctx.getLocale(locale)]); | ||
const [dropdownOpened, setDropdownOpened] = React.useState(false); | ||
const handleInputChange = (event) => { | ||
const val = event.currentTarget.value; | ||
setInputValue(val); | ||
setDropdownOpened(true); | ||
if (val.trim() === "" && clearable) { | ||
@@ -162,0 +163,0 @@ setValue(null); |
{ | ||
"name": "@mantine/dates", | ||
"description": "Calendars, date and time pickers based on Mantine components", | ||
"version": "7.2.1", | ||
"version": "7.2.2", | ||
"main": "./cjs/index.js", | ||
@@ -48,4 +48,4 @@ "types": "./lib/index.d.ts", | ||
"peerDependencies": { | ||
"@mantine/core": "7.2.1", | ||
"@mantine/hooks": "7.2.1", | ||
"@mantine/core": "7.2.2", | ||
"@mantine/hooks": "7.2.2", | ||
"dayjs": "^1.10.5", | ||
@@ -52,0 +52,0 @@ "react": "^18.2.0", |
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 not supported yet
1191451
12062