File tree 5 files changed +10
-20
lines changed
5 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 34
34
"postpack" : " clean-package restore"
35
35
},
36
36
"peerDependencies" : {
37
- "@nextui-org/system" : " >=2.4.0 " ,
38
- "@nextui-org/theme" : " >=2.4.0 " ,
37
+ "@nextui-org/system" : " >=2.4.3 " ,
38
+ "@nextui-org/theme" : " >=2.4.5 " ,
39
39
"react" : " >=18 || >=19.0.0-rc.0" ,
40
40
"react-dom" : " >=18 || >=19.0.0-rc.0"
41
41
},
Original file line number Diff line number Diff line change 34
34
"postpack" : " clean-package restore"
35
35
},
36
36
"peerDependencies" : {
37
- "@nextui-org/system" : " >=2.4.0 " ,
38
- "@nextui-org/theme" : " >=2.4.0 " ,
37
+ "@nextui-org/system" : " >=2.4.3 " ,
38
+ "@nextui-org/theme" : " >=2.4.5 " ,
39
39
"framer-motion" : " >=11.5.6 || >=12.0.0-alpha.1" ,
40
40
"react" : " >=18 || >=19.0.0-rc.0" ,
41
41
"react-dom" : " >=18 || >=19.0.0-rc.0"
Original file line number Diff line number Diff line change @@ -10,12 +10,7 @@ import type {ValueBase} from "@react-types/shared";
10
10
import { dataAttr } from "@nextui-org/shared-utils" ;
11
11
import { dateInput , DatePickerVariantProps } from "@nextui-org/theme" ;
12
12
import { useCallback } from "react" ;
13
- import {
14
- HTMLNextUIProps ,
15
- mapPropsVariants ,
16
- useLabelPlacement ,
17
- useProviderContext ,
18
- } from "@nextui-org/system" ;
13
+ import { HTMLNextUIProps , mapPropsVariants , useProviderContext } from "@nextui-org/system" ;
19
14
import { mergeProps } from "@react-aria/utils" ;
20
15
import { useDOMRef } from "@nextui-org/react-utils" ;
21
16
import { useLocalizedStringFormatter } from "@react-aria/i18n" ;
@@ -239,15 +234,10 @@ export function useDatePickerBase<T extends DateValue>(originalProps: UseDatePic
239
234
"data-invalid" : dataAttr ( originalProps ?. isInvalid ) ,
240
235
} as DateInputProps ;
241
236
242
- const labelPlacement = useLabelPlacement ( {
243
- labelPlacement : originalProps . labelPlacement ,
244
- label,
245
- } ) ;
246
-
247
237
const timeInputProps = {
248
238
...userTimeInputProps ,
249
239
size : "sm" ,
250
- labelPlacement,
240
+ labelPlacement : "outside-left" ,
251
241
label : userTimeInputProps ?. label || stringFormatter . format ( "time" ) ,
252
242
placeholderValue : timePlaceholder ,
253
243
hourCycle : props . hourCycle ,
Original file line number Diff line number Diff line change 36
36
"peerDependencies" : {
37
37
"react" : " >=18 || >=19.0.0-rc.0" ,
38
38
"react-dom" : " >=18 || >=19.0.0-rc.0" ,
39
- "@nextui-org/theme " : " >=2.4.0 " ,
40
- "@nextui-org/system " : " >=2.4.0 "
39
+ "@nextui-org/system " : " >=2.4.3 " ,
40
+ "@nextui-org/theme " : " >=2.4.5 "
41
41
},
42
42
"dependencies" : {
43
43
"@nextui-org/form" : " workspace:*" ,
Original file line number Diff line number Diff line change 34
34
"postpack" : " clean-package restore"
35
35
},
36
36
"peerDependencies" : {
37
- "@nextui-org/system" : " >=2.4.0 " ,
38
- "@nextui-org/theme" : " >=2.4.0 " ,
37
+ "@nextui-org/system" : " >=2.4.3 " ,
38
+ "@nextui-org/theme" : " >=2.4.5 " ,
39
39
"framer-motion" : " >=11.5.6 || >=12.0.0-alpha.1" ,
40
40
"react" : " >=18 || >=19.0.0-rc.0" ,
41
41
"react-dom" : " >=18 || >=19.0.0-rc.0"
You can’t perform that action at this time.
0 commit comments