Skip to content

Commit 03e9405

Browse files
committed
chore: updating the dependency
1 parent db5d31c commit 03e9405

File tree

5 files changed

+10
-20
lines changed

5 files changed

+10
-20
lines changed

packages/components/date-input/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"postpack": "clean-package restore"
3535
},
3636
"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",
3939
"react": ">=18 || >=19.0.0-rc.0",
4040
"react-dom": ">=18 || >=19.0.0-rc.0"
4141
},

packages/components/date-picker/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"postpack": "clean-package restore"
3535
},
3636
"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",
3939
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
4040
"react": ">=18 || >=19.0.0-rc.0",
4141
"react-dom": ">=18 || >=19.0.0-rc.0"

packages/components/date-picker/src/use-date-picker-base.ts

+2-12
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ import type {ValueBase} from "@react-types/shared";
1010
import {dataAttr} from "@nextui-org/shared-utils";
1111
import {dateInput, DatePickerVariantProps} from "@nextui-org/theme";
1212
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";
1914
import {mergeProps} from "@react-aria/utils";
2015
import {useDOMRef} from "@nextui-org/react-utils";
2116
import {useLocalizedStringFormatter} from "@react-aria/i18n";
@@ -239,15 +234,10 @@ export function useDatePickerBase<T extends DateValue>(originalProps: UseDatePic
239234
"data-invalid": dataAttr(originalProps?.isInvalid),
240235
} as DateInputProps;
241236

242-
const labelPlacement = useLabelPlacement({
243-
labelPlacement: originalProps.labelPlacement,
244-
label,
245-
});
246-
247237
const timeInputProps = {
248238
...userTimeInputProps,
249239
size: "sm",
250-
labelPlacement,
240+
labelPlacement: "outside-left",
251241
label: userTimeInputProps?.label || stringFormatter.format("time"),
252242
placeholderValue: timePlaceholder,
253243
hourCycle: props.hourCycle,

packages/components/input/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"peerDependencies": {
3737
"react": ">=18 || >=19.0.0-rc.0",
3838
"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"
4141
},
4242
"dependencies": {
4343
"@nextui-org/form": "workspace:*",

packages/components/select/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"postpack": "clean-package restore"
3535
},
3636
"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",
3939
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
4040
"react": ">=18 || >=19.0.0-rc.0",
4141
"react-dom": ">=18 || >=19.0.0-rc.0"

0 commit comments

Comments
 (0)