Skip to content

Commit

Permalink
chore: updating peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
macci001 committed Dec 12, 2024
1 parent db5d31c commit 1a0a128
Show file tree
Hide file tree
Showing 47 changed files with 85 additions and 95 deletions.
4 changes: 2 additions & 2 deletions packages/components/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/aria-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/chip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-icons": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/date-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/components/date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
14 changes: 2 additions & 12 deletions packages/components/date-picker/src/use-date-picker-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ import type {ValueBase} from "@react-types/shared";
import {dataAttr} from "@nextui-org/shared-utils";
import {dateInput, DatePickerVariantProps} from "@nextui-org/theme";
import {useCallback} from "react";
import {
HTMLNextUIProps,
mapPropsVariants,
useLabelPlacement,
useProviderContext,
} from "@nextui-org/system";
import {HTMLNextUIProps, mapPropsVariants, useProviderContext} from "@nextui-org/system";
import {mergeProps} from "@react-aria/utils";
import {useDOMRef} from "@nextui-org/react-utils";
import {useLocalizedStringFormatter} from "@react-aria/i18n";
Expand Down Expand Up @@ -239,15 +234,10 @@ export function useDatePickerBase<T extends DateValue>(originalProps: UseDatePic
"data-invalid": dataAttr(originalProps?.isInvalid),
} as DateInputProps;

const labelPlacement = useLabelPlacement({
labelPlacement: originalProps.labelPlacement,
label,
});

const timeInputProps = {
...userTimeInputProps,
size: "sm",
labelPlacement,
labelPlacement: "outside-left",
label: userTimeInputProps?.label || stringFormatter.format("time"),
placeholderValue: timePlaceholder,
hourCycle: props.hourCycle,
Expand Down
2 changes: 1 addition & 1 deletion packages/components/divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"react": ">=18",
"react-dom": ">=18"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/components/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/input-otp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/kbd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/listbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/aria-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/divider": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/use-disclosure": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/ripple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/scroll-shadow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
"@nextui-org/theme": ">=2.4.3",
"@nextui-org/system": ">=2.4.5"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.5",
"@nextui-org/theme": ">=2.4.3",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
Loading

0 comments on commit 1a0a128

Please sign in to comment.