Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

♻️ Migrate Select to Base UI (#2610)

Luke Vella9ec7b867dee3
diff --git a/apps/landing/src/app/[locale]/(main)/footer.tsx b/apps/landing/src/app/[locale]/(main)/footer.tsx
index 5172f4491..1e5dadb9a 100644
--- a/apps/landing/src/app/[locale]/(main)/footer.tsx
+++ b/apps/landing/src/app/[locale]/(main)/footer.tsx
@@ -28,8 +28,13 @@ const LanguageSelect = () => {
const { i18n } = useTranslation();
return (
<Select
+ items={languages}
value={i18n.language}
onValueChange={(newLocale) => {
+ if (!newLocale) {
+ return;
+ }
+
const isLocalizedPath = supportedLngs.some((lng) =>
pathname?.startsWith(`/${lng}`),
);
diff --git a/apps/web/package.json b/apps/web/package.json
index b36e65191..684e5319b 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -32,7 +32,6 @@
"@next/env": "16.2.6",
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
- "@radix-ui/react-select": "^2.2.2",
"@radix-ui/react-slot": "^1.1.2",
"@rallly/billing": "workspace:*",
"@rallly/database": "workspace:*",
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.json
index 031cecc76..9767bf9c8 100644
--- a/apps/web/public/locales/en/app.json
+++ b/apps/web/public/locales/en/app.json
@@ -174,8 +174,6 @@
"deleteAccountDialogTitle": "Delete Account",
"deleteAccountInstruction": "Please confirm your email address to delete your account",
"deleteDate": "Delete date",
- "deletedPoll": "Deleted poll",
- "deletedPollInfo": "This poll doesn't exist anymore.",
"deletedSpaceSuccess": "Space has been permanently deleted",
"deleteEventTypeDescription": "<b>{name}</b> will be hidden from creation pickers. This cannot be undone.",
"deleteEventTypeError": "Failed to delete event type",
@@ -653,6 +651,7 @@
"themeLight": "Light",
"themeSystem": "System",
"timeFormat": "Time format",
+ "timePickerSelectTime": "Select time",
"timeZone": "Time zone",
"timezoneInputPlaceholder": "Search timezone…",
"timeZoneMismatchDialogMessage": "It looks like you are in <b>{currentTimeZone}</b> but your timezone is set to <b>{homeTimeZone}</b>. Do you want to update it?",
diff --git a/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx b/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx
index bd186b904..4a7a0940f 100644
--- a/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx
+++ b/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx
@@ -42,8 +42,28 @@ export function DefaultCalendarSelect() {
return (
<Select
+ items={{
+ [NONE_VALUE]: (
+ <Trans
+ i18nKey="defaultCalendarNone"
+ defaults="No calendar selected"
+ />
+ ),
+ ...Object.fromEntries(
+ (connections ?? []).flatMap((connection) =>
+ connection.providerCalendars.map((calendar) => [
+ calendar.id,
+ calendar.name,
+ ]),
+ ),
+ ),
+ }}
defaultValue={defaultCalendar?.defaultDestinationCalendarId ?? NONE_VALUE}
- onValueChange={onValueChange}
+ onValueChange={(value) => {
+ if (value) {
+ onValueChange(value);
+ }
+ }}
disabled={setDefaultCalendar.isPending}
>
<SelectTrigger>
diff --git a/apps/web/src/app/[locale]/(space)/settings/members/components/invite-member-dialog.tsx b/apps/web/src/app/[locale]/(space)/settings/members/components/invite-member-dialog.tsx
index 22524c831..c127c1418 100644
--- a/apps/web/src/app/[locale]/(space)/settings/members/components/invite-member-dialog.tsx
+++ b/apps/web/src/app/[locale]/(space)/settings/members/components/invite-member-dialog.tsx
@@ -185,7 +185,18 @@ export function InviteMemberForm({ onSuccess }: { onSuccess?: () => void }) {
</Tooltip>
</div>
<FormControl>
- <Select onValueChange={field.onChange} value={field.value}>
+ <Select
+ items={Object.values(memberRoleSchema.enum).map((role) => ({
+ value: role,
+ label: <SpaceRole role={role} />,
+ }))}
+ onValueChange={(value) => {
+ if (value) {
+ field.onChange(value);
+ }
+ }}
+ value={field.value}
+ >
<SelectTrigger className="w-full">
<SelectValue
placeholder={t("rolePlaceholder", {
diff --git a/apps/web/src/app/[locale]/(space)/settings/preferences/components/date-time-preferences.tsx b/apps/web/src/app/[locale]/(space)/settings/preferences/components/date-time-preferences.tsx
index 2dbdf9eac..b5713774b 100644
--- a/apps/web/src/app/[locale]/(space)/settings/preferences/components/date-time-preferences.tsx
+++ b/apps/web/src/app/[locale]/(space)/settings/preferences/components/date-time-preferences.tsx
@@ -112,24 +112,31 @@ export const DateTimePreferences = ({
control={form.control}
name="weekStart"
render={({ field }) => {
+ const options = weekdays().map(({ day, label }) => ({
+ value: day.toString(),
+ label,
+ }));
return (
<FormItem>
<FormLabel>
<Trans i18nKey="startOfWeek" />
</FormLabel>
<Select
+ items={options}
value={field.value.toString()}
onValueChange={(value) => {
- field.onChange(Number.parseInt(value, 10));
+ if (value) {
+ field.onChange(Number.parseInt(value, 10));
+ }
}}
>
<SelectTrigger className="w-fit min-w-32">
<SelectValue />
</SelectTrigger>
<SelectContent>
- {weekdays().map(({ day, label }) => (
- <SelectItem key={day} value={day.toString()}>
- {label}
+ {options.map((option) => (
+ <SelectItem key={option.value} value={option.value}>
+ {option.label}
</SelectItem>
))}
</SelectContent>
diff --git a/apps/web/src/app/[locale]/control-panel/settings/instance-settings-form.tsx b/apps/web/src/app/[locale]/control-panel/settings/instance-settings-form.tsx
index 5b8b99e9f..e0c9136f2 100644
--- a/apps/web/src/app/[locale]/control-panel/settings/instance-settings-form.tsx
+++ b/apps/web/src/app/[locale]/control-panel/settings/instance-settings-form.tsx
@@ -61,8 +61,16 @@ export function InstanceSettingsForm({
</p>
</div>
<Select
+ items={{
+ enabled: <Trans i18nKey="enabled" defaults="Enabled" />,
+ disabled: <Trans i18nKey="disabled" defaults="Disabled" />,
+ }}
value={disableUserRegistration ? "disabled" : "enabled"}
- onValueChange={handleChange}
+ onValueChange={(value) => {
+ if (value) {
+ handleChange(value);
+ }
+ }}
disabled={!isRegistrationEnabled}
>
<SelectTrigger id="userRegistration" className="w-32">
diff --git a/apps/web/src/components/forms/poll-options-form/month-calendar/time-picker.tsx b/apps/web/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
index e5ac63286..a83036f0c 100644
--- a/apps/web/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
+++ b/apps/web/src/components/forms/poll-options-form/month-calendar/time-picker.tsx
@@ -7,6 +7,7 @@ import {
} from "@rallly/ui/select";
import * as React from "react";
+import { useTranslation } from "@/i18n/client";
import { useDateTime, useDateTimeConfig } from "@/lib/datetime/client";
import { formatDateTime } from "@/lib/datetime/format";
import { dayjs } from "@/lib/dayjs";
@@ -26,6 +27,7 @@ const TimePicker: React.FunctionComponent<TimePickerProps> = ({
}) => {
const { locale, timeFormat } = useDateTimeConfig();
const { formatDuration } = useDateTime();
+ const { t } = useTranslation();
const [open, setOpen] = React.useState(false);
// The form works in naive local times, so options format in the system zone.
@@ -70,7 +72,26 @@ const TimePicker: React.FunctionComponent<TimePickerProps> = ({
onOpenChange={setOpen}
>
<SelectTrigger className={className}>
- <SelectValue placeholder="Select time" />
+ <SelectValue
+ placeholder={t("timePickerSelectTime", {
+ defaultValue: "Select time",
+ })}
+ >
+ {(selected: string | null | undefined) =>
+ selected ? (
+ <div className="flex items-center gap-2">
+ <span>{formatTime(selected)}</span>
+ {after ? (
+ <span className="text-muted-foreground text-sm">
+ {formatDuration(dayjs(selected).diff(after, "minute"))}
+ </span>
+ ) : null}
+ </div>
+ ) : (
+ t("timePickerSelectTime", { defaultValue: "Select time" })
+ )
+ }
+ </SelectValue>
</SelectTrigger>
<SelectContent>
{open ? (
diff --git a/apps/web/src/components/member-selector.tsx b/apps/web/src/components/member-selector.tsx
index 85f5b7ada..f0fac8539 100644
--- a/apps/web/src/components/member-selector.tsx
+++ b/apps/web/src/components/member-selector.tsx
@@ -42,36 +42,53 @@ export function MemberSelector({ members }: MemberSelectorProps) {
});
};
+ const options = [
+ {
+ value: "all",
+ label: (
+ <div className="flex items-center gap-2">
+ <Icon>
+ <UsersIcon />
+ </Icon>
+ <span>
+ <Trans i18nKey="allMembers" defaults="All Members" />
+ </span>
+ </div>
+ ),
+ },
+ ...members.map((member) => ({
+ value: member.userId,
+ label: (
+ <div className="flex items-center gap-2">
+ <OptimizedAvatarImage
+ size="sm"
+ name={member.name}
+ src={member.image}
+ />
+ <span>{member.name}</span>
+ </div>
+ ),
+ })),
+ ];
+
return (
<Select
+ items={options}
value={optimisticMember}
- onValueChange={handleMemberChange}
+ onValueChange={(memberId) => {
+ if (memberId) {
+ handleMemberChange(memberId);
+ }
+ }}
disabled={isPending}
>
<SelectTrigger className="min-w-48">
<SelectValue />
</SelectTrigger>
<SelectContent>
- <SelectItem value="all">
- <div className="flex items-center gap-2">
- <Icon>
- <UsersIcon />
- </Icon>
- <span>
- <Trans i18nKey="allMembers" defaults="All Members" />
- </span>
- </div>
- </SelectItem>
- {members.map((member) => (
- <SelectItem key={member.userId} value={member.userId}>
- <div className="flex items-center gap-2">
- <OptimizedAvatarImage
- size="sm"
- name={member.name}
- src={member.image}
- />
- <span>{member.name}</span>
- </div>
+ {options.map((option) => (
+ <SelectItem key={option.value} value={option.value}>
+ {option.label}
</SelectItem>
))}
</SelectContent>
diff --git a/apps/web/src/components/poll/language-selector.tsx b/apps/web/src/components/poll/language-selector.tsx
index 2526fc4c1..cb6db7cbb 100644
--- a/apps/web/src/components/poll/language-selector.tsx
+++ b/apps/web/src/components/poll/language-selector.tsx
@@ -15,7 +15,15 @@ export const LanguageSelect: React.FunctionComponent<{
onChange?: (language: string) => void;
}> = ({ className, value, onChange }) => {
return (
- <Select value={value} onValueChange={onChange}>
+ <Select
+ items={languages}
+ value={value}
+ onValueChange={(language) => {
+ if (language) {
+ onChange?.(language);
+ }
+ }}
+ >
<SelectTrigger className={className}>
<Icon>
<LanguagesIcon />
diff --git a/apps/web/src/components/poll/mobile-poll.tsx b/apps/web/src/components/poll/mobile-poll.tsx
index f2b93b883..26818343e 100644
--- a/apps/web/src/components/poll/mobile-poll.tsx
+++ b/apps/web/src/components/poll/mobile-poll.tsx
@@ -59,16 +59,57 @@ const MobilePoll: React.FunctionComponent = () => {
const isEditing = votingForm.watch("mode") !== "view";
+ const participantOptions = [
+ {
+ value: "all",
+ label: (
+ <div className="flex items-center gap-x-2.5">
+ <div>
+ <Icon>
+ <UsersIcon />
+ </Icon>
+ </div>
+ <span>
+ {t("allParticipants", {
+ defaultValue: "All Participants",
+ })}
+ </span>
+ </div>
+ ),
+ },
+ ...visibleParticipants.map((participant) => ({
+ value: participant.id,
+ label: (
+ <Participant>
+ <OptimizedAvatarImage
+ name={participant.name}
+ src={participant.image ?? undefined}
+ size="sm"
+ />
+ <ParticipantName>{participant.name}</ParticipantName>
+ {session.ownsObject(participant) && (
+ <Badge>
+ <Trans i18nKey="you" />
+ </Badge>
+ )}
+ </Participant>
+ ),
+ })),
+ ];
+
return (
<Card>
<div className="flex flex-col space-y-2 border-b p-2">
<div className="flex gap-x-2.5">
{selectedParticipantId || !isEditing ? (
<Select
+ items={participantOptions}
defaultValue="all"
value={selectedParticipantId}
onValueChange={(participantId) => {
- votingForm.setValue("participantId", participantId);
+ if (participantId) {
+ votingForm.setValue("participantId", participantId);
+ }
}}
disabled={isEditing}
>
@@ -76,35 +117,9 @@ const MobilePoll: React.FunctionComponent = () => {
<SelectValue />
</SelectTrigger>
<SelectContent>
- <SelectItem value="all">
- <div className="flex items-center gap-x-2.5">
- <div>
- <Icon>
- <UsersIcon />
- </Icon>
- </div>
- <span>
- {t("allParticipants", {
- defaultValue: "All Participants",
- })}
- </span>
- </div>
- </SelectItem>
- {visibleParticipants.map((participant) => (
- <SelectItem key={participant.id} value={participant.id}>
- <Participant>
- <OptimizedAvatarImage
- name={participant.name}
- src={participant.image ?? undefined}
- size="sm"
- />
- <ParticipantName>{participant.name}</ParticipantName>
- {session.ownsObject(participant) && (
- <Badge>
- <Trans i18nKey="you" />
- </Badge>
- )}
- </Participant>
+ {participantOptions.map((option) => (
+ <SelectItem key={option.value} value={option.value}>
+ {option.label}
</SelectItem>
))}
</SelectContent>
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 656632618..7bde616a1 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -23,7 +23,6 @@
"@radix-ui/react-dropdown-menu": "^2.0.4",
"@radix-ui/react-popover": "^1.0.5",
"@radix-ui/react-portal": "^1.1.6",
- "@radix-ui/react-select": "^2.2.2",
"@radix-ui/react-slot": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.8",
"@rallly/languages": "workspace:*",
diff --git a/packages/ui/src/select.tsx b/packages/ui/src/select.tsx
index 2e5fb7169..81f7c156d 100644
--- a/packages/ui/src/select.tsx
+++ b/packages/ui/src/select.tsx
@@ -1,129 +1,134 @@
"use client";
-import * as SelectPrimitive from "@radix-ui/react-select";
+import { Select as SelectPrimitive } from "@base-ui/react/select";
import { CheckIcon, ChevronsUpDownIcon } from "lucide-react";
-import * as React from "react";
import { buttonVariants } from "./button-variants";
import { Icon } from "./icon";
import { cn } from "./lib/utils";
-const Select = SelectPrimitive.Root;
+function Select<Value, Multiple extends boolean | undefined = false>(
+ props: SelectPrimitive.Root.Props<Value, Multiple>,
+) {
+ return <SelectPrimitive.Root {...props} />;
+}
-const SelectGroup = SelectPrimitive.Group;
+function SelectGroup(props: SelectPrimitive.Group.Props) {
+ return <SelectPrimitive.Group data-slot="select-group" {...props} />;
+}
-const SelectValue = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Value>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>
->(({ ...props }, ref) => {
+function SelectValue(props: SelectPrimitive.Value.Props) {
return (
<div className="flex w-full items-center justify-between gap-x-2.5">
- <SelectPrimitive.Value {...props} ref={ref} />
- <SelectPrimitive.Icon asChild>
- <ChevronsUpDownIcon className="size-4 opacity-50" />
- </SelectPrimitive.Icon>
+ <SelectPrimitive.Value data-slot="select-value" {...props} />
+ <SelectPrimitive.Icon
+ render={<ChevronsUpDownIcon className="size-4 opacity-50" />}
+ />
</div>
);
-});
-SelectValue.displayName = SelectPrimitive.Value.displayName;
+}
-const SelectTrigger = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Trigger>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
->(({ className, children, ...props }, ref) => (
- <SelectPrimitive.Trigger
- ref={ref}
- className={cn(
- buttonVariants({ variant: "default" }),
- "shadow-none",
- className,
- )}
- {...props}
- >
- {children}
- </SelectPrimitive.Trigger>
-));
-SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
-
-const SelectContent = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Content>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>
->(({ className, children, position = "popper", ...props }, ref) => (
- <SelectPrimitive.Portal>
- <SelectPrimitive.Content
- ref={ref}
+function SelectTrigger({
+ className,
+ children,
+ ...props
+}: SelectPrimitive.Trigger.Props) {
+ return (
+ <SelectPrimitive.Trigger
+ data-slot="select-trigger"
className={cn(
- "relative z-50 max-h-[300px] min-w-32 animate-in overflow-hidden rounded-xl border border-popover-border bg-popover shadow-sm",
- position === "popper" && "translate-y-1",
+ buttonVariants({ variant: "default" }),
+ "shadow-none",
className,
)}
- position={position}
{...props}
>
- <SelectPrimitive.Viewport
- className={cn(
- "p-1",
- position === "popper" &&
- "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)",
- )}
+ {children}
+ </SelectPrimitive.Trigger>
+ );
+}
+
+function SelectContent({
+ className,
+ children,
+ ...props
+}: SelectPrimitive.Popup.Props) {
+ return (
+ <SelectPrimitive.Portal>
+ <SelectPrimitive.Positioner
+ alignItemWithTrigger={false}
+ sideOffset={4}
+ className="isolate z-50"
>
- {children}
- </SelectPrimitive.Viewport>
- </SelectPrimitive.Content>
- </SelectPrimitive.Portal>
-));
-SelectContent.displayName = SelectPrimitive.Content.displayName;
+ <SelectPrimitive.Popup
+ data-slot="select-content"
+ className={cn(
+ "relative z-50 max-h-[300px] w-full min-w-[max(--spacing(32),var(--anchor-width))] animate-in overflow-y-auto rounded-xl border border-popover-border bg-popover p-1 shadow-sm",
+ className,
+ )}
+ {...props}
+ >
+ {children}
+ </SelectPrimitive.Popup>
+ </SelectPrimitive.Positioner>
+ </SelectPrimitive.Portal>
+ );
+}
-const SelectLabel = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Label>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.Label
- ref={ref}
- className={cn(
- "px-2 py-1.5 font-semibold text-muted-foreground text-xs",
- className,
- )}
- {...props}
- />
-));
-SelectLabel.displayName = SelectPrimitive.Label.displayName;
+function SelectLabel({
+ className,
+ ...props
+}: SelectPrimitive.GroupLabel.Props) {
+ return (
+ <SelectPrimitive.GroupLabel
+ data-slot="select-label"
+ className={cn(
+ "px-2 py-1.5 font-semibold text-muted-foreground text-xs",
+ className,
+ )}
+ {...props}
+ />
+ );
+}
-const SelectItem = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Item>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>
->(({ className, children, ...props }, ref) => (
- <SelectPrimitive.Item
- ref={ref}
- className={cn(
- "relative flex w-full cursor-default select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden focus:bg-popover-accent focus:ring-1 focus:ring-black/5 focus:ring-inset data-disabled:pointer-events-none data-disabled:opacity-50 dark:focus:ring-white/5",
- className,
- )}
- {...props}
- >
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
- <SelectPrimitive.ItemIndicator>
- <Icon>
- <CheckIcon className="size-4" />
- </Icon>
- </SelectPrimitive.ItemIndicator>
- </span>
- <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
- </SelectPrimitive.Item>
-));
-SelectItem.displayName = SelectPrimitive.Item.displayName;
+function SelectItem({
+ className,
+ children,
+ ...props
+}: SelectPrimitive.Item.Props) {
+ return (
+ <SelectPrimitive.Item
+ data-slot="select-item"
+ className={cn(
+ "relative flex w-full cursor-default select-none items-center rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden data-disabled:pointer-events-none data-highlighted:bg-popover-accent data-disabled:opacity-50 data-highlighted:ring-1 data-highlighted:ring-black/5 data-highlighted:ring-inset dark:data-highlighted:ring-white/5",
+ className,
+ )}
+ {...props}
+ >
+ <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <SelectPrimitive.ItemIndicator>
+ <Icon>
+ <CheckIcon className="size-4" />
+ </Icon>
+ </SelectPrimitive.ItemIndicator>
+ </span>
+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
+ </SelectPrimitive.Item>
+ );
+}
-const SelectSeparator = React.forwardRef<
- React.ComponentRef<typeof SelectPrimitive.Separator>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.Separator
- ref={ref}
- className={cn("-mx-1 my-1 h-px bg-muted", className)}
- {...props}
- />
-));
-SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
+function SelectSeparator({
+ className,
+ ...props
+}: SelectPrimitive.Separator.Props) {
+ return (
+ <SelectPrimitive.Separator
+ data-slot="select-separator"
+ className={cn("-mx-1 my-1 h-px bg-muted", className)}
+ {...props}
+ />
+ );
+}
export {
Select,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d20eebf11..f8d688859 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -228,9 +228,6 @@ importers:
'@prisma/client':
specifier: ^7.8.0
- '@radix-ui/react-select':
- specifier: ^2.2.2
'@radix-ui/react-slot':
specifier: ^1.1.2
version: 1.2.4(@types/[email protected])([email protected])
@@ -776,9 +773,6 @@ importers:
'@radix-ui/react-portal':
specifier: ^1.1.6
- '@radix-ui/react-select':
- specifier: ^2.2.2
'@radix-ui/react-slot':
specifier: ^1.1.2
version: 1.2.4(@types/[email protected])([email protected])
@@ -3488,9 +3482,6 @@ packages:
engines: {node: '>=18'}
hasBin: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}
-
'@radix-ui/[email protected]':
resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
@@ -3769,19 +3760,6 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==}
- peerDependencies:
- '@types/react': '*'
- '@types/react-dom': '*'
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
- peerDependenciesMeta:
- '@types/react':
- optional: true
- '@types/react-dom':
- optional: true
-
'@radix-ui/[email protected]':
resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==}
peerDependencies:
@@ -14794,8 +14772,6 @@ snapshots:
- react-native-b4a
- supports-color
- '@radix-ui/[email protected]': {}
-
'@radix-ui/[email protected]': {}
@@ -15080,35 +15056,6 @@ snapshots:
'@types/react': 19.2.13
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@radix-ui/number': 1.1.1
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- aria-hidden: 1.2.6
- react: 19.2.6
- react-dom: 19.2.6([email protected])
- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
- optionalDependencies:
- '@types/react': 19.2.13
- '@types/react-dom': 19.2.3(@types/[email protected])
-
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])