The Open Standard for Generative UI
Select component (#3)
subhamfd974ea54378
diff --git a/frontend-sdk/packages/react-ui/package.json b/frontend-sdk/packages/react-ui/package.jsonindex 864ebecd3..50e5ee699 100644--- a/frontend-sdk/packages/react-ui/package.json+++ b/frontend-sdk/packages/react-ui/package.json@@ -40,7 +40,11 @@"dependencies": {"@radix-ui/react-aspect-ratio": "^1.1.1","@radix-ui/react-label": "^2.1.1",+<<<<<<< HEAD"@radix-ui/react-slider": "^1.2.2",+=======+ "@radix-ui/react-select": "^2.1.4",+>>>>>>> 4a33974 (Select component (#3))"@storybook/addon-styling-webpack": "^1.0.1","clsx": "^2.0.0","lucide-react": "^0.469.0",diff --git a/frontend-sdk/packages/react-ui/src/components/Select/Select.tsx b/frontend-sdk/packages/react-ui/src/components/Select/Select.tsxnew file mode 100644index 000000000..8852576d5--- /dev/null+++ b/frontend-sdk/packages/react-ui/src/components/Select/Select.tsx@@ -0,0 +1,135 @@+import * as SelectPrimitive from "@radix-ui/react-select";+import clsx from "clsx";+import { Check, ChevronDown } from "lucide-react";+import React, { forwardRef } from "react";++export const Select = SelectPrimitive.Root;++export const SelectGroup = SelectPrimitive.Group;++export const SelectValue = SelectPrimitive.Value;++export interface SelectTriggerProps+ extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> {+ className?: string;+ style?: React.CSSProperties;+ children?: React.ReactNode;+ hideDropdownIcon?: boolean;+ size?: "sm" | "md" | "lg";+}++export const SelectTrigger = forwardRef<+ React.ComponentRef<typeof SelectPrimitive.Trigger>,+ SelectTriggerProps+>(({ className, style, children, hideDropdownIcon, size = "md", ...props }, ref) => (+ <SelectPrimitive.Trigger+ ref={ref}+ className={clsx("crayon-select-trigger", `crayon-select-trigger-${size}`, className)}+ style={style}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ {!hideDropdownIcon && <ChevronDown className="crayon-select-trigger-icon" />}+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+));++export interface SelectContentProps+ extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> {+ className?: string;+ style?: React.CSSProperties;+ children?: React.ReactNode;+ position?: "item-aligned" | "popper";+}++export const SelectContent = forwardRef<+ React.ComponentRef<typeof SelectPrimitive.Content>,+ SelectContentProps+>(({ className, children, position = "popper", ...props }, ref) => (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ ref={ref}+ className={clsx("crayon-select-content", className)}+ position={position}+ {...props}+ >+ <SelectPrimitive.Viewport className="crayon-select-viewport" data-position={position}>+ {children}+ </SelectPrimitive.Viewport>+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+));++export interface SelectLabelProps+ extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label> {+ className?: string;+ style?: React.CSSProperties;+}++export const SelectLabel = forwardRef<+ React.ComponentRef<typeof SelectPrimitive.Label>,+ SelectLabelProps+>(({ className, style, ...props }, ref) => (+ <SelectPrimitive.Label+ ref={ref}+ className={clsx("crayon-select-label", className)}+ style={style}+ {...props}+ />+));++export interface SelectItemProps+ extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {+ className?: string;+ style?: React.CSSProperties;+ children?: React.ReactNode;+ textValue?: string;+ showTick?: boolean;+}++export const SelectItem = forwardRef<+ React.ComponentRef<typeof SelectPrimitive.Item>,+ SelectItemProps+>(({ className, style, children, showTick = true, textValue, ...props }, ref) => (+ <SelectPrimitive.Item+ ref={ref}+ className={clsx(+ "crayon-select-item",+ showTick ? "crayon-select-item--with-tick" : "crayon-select-item--without-tick",+ className,+ )}+ style={style}+ {...props}+ >+ {showTick && (+ <span className="crayon-select-item-check-wrapper">+ <SelectPrimitive.ItemIndicator>+ <Check className="crayon-select-item-check-icon" />+ </SelectPrimitive.ItemIndicator>+ </span>+ )}+ <SelectPrimitive.ItemText className="crayon-select-item-text">+ {children}+ </SelectPrimitive.ItemText>+ {textValue && <span className="crayon-select-item-text-value">{textValue}</span>}+ </SelectPrimitive.Item>+));++export interface SelectSeparatorProps+ extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator> {+ className?: string;+ style?: React.CSSProperties;+}++export const SelectSeparator = forwardRef<+ React.ComponentRef<typeof SelectPrimitive.Separator>,+ SelectSeparatorProps+>(({ className, style, ...props }, ref) => (+ <SelectPrimitive.Separator+ ref={ref}+ className={clsx("crayon-select-separator", className)}+ style={style}+ {...props}+ />+));diff --git a/frontend-sdk/packages/react-ui/src/components/Select/index.ts b/frontend-sdk/packages/react-ui/src/components/Select/index.tsnew file mode 100644index 000000000..b6e8a07c2--- /dev/null+++ b/frontend-sdk/packages/react-ui/src/components/Select/index.ts@@ -0,0 +1 @@+export * from "./Select";diff --git a/frontend-sdk/packages/react-ui/src/components/Select/select.scss b/frontend-sdk/packages/react-ui/src/components/Select/select.scssnew file mode 100644index 000000000..fb2e1b359--- /dev/null+++ b/frontend-sdk/packages/react-ui/src/components/Select/select.scss@@ -0,0 +1,155 @@+@use "sass:map";+@use "../../cssUtils" as cssUtils;++.crayon-select-trigger {+ background-color: map.get(cssUtils.$colors, "fills", "background");+ color: map.get(cssUtils.$colors, "strokes", "primary");+ @include cssUtils.typography(label, default);+ border: 1px solid map.get(cssUtils.$colors, "strokes", "default");+ outline: none;+ display: inline-flex;+ align-items: center;+ justify-content: space-between;++ &:hover {+ background: map.get(cssUtils.$colors, "fills", "container-hover");+ border-color: map.get(cssUtils.$colors, "strokes", "interactive-el");+ color: map.get(cssUtils.$colors, "text", "secondary");+ }++ &:disabled {+ background-color: map.get(cssUtils.$colors, "fills", "sunk");+ color: map.get(cssUtils.$colors, "text", "disabled");+ border-color: map.get(cssUtils.$colors, "text", "disabled");+ cursor: not-allowed;+ }++ &[data-state="open"] {+ border-color: map.get(cssUtils.$colors, "strokes", "interactive-el");+ background-color: map.get(cssUtils.$colors, "fills", "background");+ }+ &[data-placeholder] {+ color: map.get(cssUtils.$colors, "text", "disabled");+ }++ &-sm {+ padding: map.get(cssUtils.$spacing, "2xs") map.get(cssUtils.$spacing, "s");+ border-radius: map.get(cssUtils.$radius, "2xs");+ }+ &-md {+ padding: map.get(cssUtils.$spacing, "xs") map.get(cssUtils.$spacing, "s");+ border-radius: map.get(cssUtils.$radius, "xs");+ }+ &-lg {+ padding: map.get(cssUtils.$spacing, "s");+ border-radius: map.get(cssUtils.$radius, "s");+ }+ &-icon {+ height: 16px;+ width: 16px;+ }+}++.crayon-select-content {+ position: relative;+ z-index: 50;+ max-height: 380px;+ min-width: var(--radix-select-trigger-width);+ overflow: hidden;+ border-radius: map.get(cssUtils.$radius, "m");+ background-color: map.get(cssUtils.$colors, "fills", "background");+ box-shadow: map.get(cssUtils.$shadow, "m");+}++.crayon-select-viewport {+ padding: 4px;++ &[data-position="popper"] {+ width: 100%;+ }+}++.crayon-select-label {+ padding: map.get(cssUtils.$spacing, "xs") map.get(cssUtils.$spacing, "s");+ @include cssUtils.typography(primary, default);+}++.crayon-select-item {+ position: relative;+ display: flex;+ cursor: default;+ user-select: none;+ align-items: center;+ justify-content: space-between;+ border-radius: map.get(cssUtils.$radius, "s");+ padding-top: 6px;+ padding-bottom: 6px;+ @include cssUtils.typography(primary, default);+ color: map.get(cssUtils.$colors, "text", "primary");+ outline: 0;++ // Variants based on showTick+ &--with-tick {+ padding-left: map.get(cssUtils.$spacing, "xs");+ padding-right: map.get(cssUtils.$spacing, "xl");+ }++ &--without-tick {+ padding-left: map.get(cssUtils.$spacing, "xs");+ padding-right: map.get(cssUtils.$spacing, "xl");+ }++ // States+ &[data-disabled] {+ pointer-events: none;+ opacity: 0.5;+ }++ &[data-highlighted] {+ color: map.get(cssUtils.$colors, "text", "highlight");+ }++ &:focus {+ background-color: map.get(cssUtils.$colors, "fills", "sunk");+ color: map.get(cssUtils.$colors, "text", "accent-foreground");+ outline: 1px solid map.get(cssUtils.$colors, "strokes", "sunk");+ outline-offset: -1px;+ }++ &[data-state="checked"] {+ background-color: map.get(cssUtils.$colors, "fills", "sunk");+ outline: 1px solid map.get(cssUtils.$colors, "strokes", "sunk");+ outline-offset: -1px;+ }++ // Check indicator+ &-check-wrapper {+ position: absolute;+ right: 8px;+ height: 14px;+ width: 14px;+ }++ &-check-icon {+ height: 16px;+ width: 16px;+ color: aliceblue;+ }++ // Text content+ &-text {+ flex: 1;+ @include cssUtils.typography(primary, default);+ color: map.get(cssUtils.$colors, "text", "disabled");+ }++ &-value {+ color: map.get(cssUtils.$colors, "text", "secondary");+ }+}++.crayon-select-separator {+ margin: 4px -4px;+ height: 1px;+ border-top: 1px solid map.get(cssUtils.$colors, "strokes", "primary-el");+}diff --git a/frontend-sdk/packages/react-ui/src/components/Select/stories/select.stories.tsx b/frontend-sdk/packages/react-ui/src/components/Select/stories/select.stories.tsxnew file mode 100644index 000000000..96cfdff51--- /dev/null+++ b/frontend-sdk/packages/react-ui/src/components/Select/stories/select.stories.tsx@@ -0,0 +1,59 @@+import type { Meta } from "@storybook/react";+import {+ Select,+ SelectContent,+ SelectGroup,+ SelectItem,+ SelectLabel,+ SelectSeparator,+ SelectTrigger,+ SelectValue,+} from "../Select";+import "../select.scss";++type SelectProps = React.ComponentProps<typeof Select | typeof SelectTrigger>;++const meta: Meta<SelectProps> = {+ title: "Components/Select",+ args: {+ size: "lg",+ },+ argTypes: {+ size: {+ control: { type: "select" },+ options: ["lg", "md", "sm"],+ },+ },+ tags: ["autodocs"],+};++export default meta;++export const SelectDemo = (args: any) => {+ return (+ <Select>+ <SelectTrigger style={{ width: "228px" }} size={args.size}>+ <SelectValue placeholder="Select a fruit" />+ </SelectTrigger>+ <SelectContent>+ <SelectGroup>+ <SelectLabel>Fruits</SelectLabel>+ {/* Use SelectLabel to label the group of options */}+ <SelectItem value="apple">Apple</SelectItem>+ <SelectItem value="banana">Banana</SelectItem>+ <SelectItem value="blueberry">Blueberry</SelectItem>+ <SelectItem value="grapes">Grapes</SelectItem>+ <SelectItem value="pineapple">Pineapple</SelectItem>+ <SelectSeparator />+ <SelectLabel>Fast Food</SelectLabel>+ {/* Use SelectLabel to label the group of options */}+ <SelectItem value="burger">Burger</SelectItem>+ <SelectItem value="pizza">Pizza</SelectItem>+ <SelectItem value="pasta">Pasta</SelectItem>+ <SelectItem value="salad">Salad</SelectItem>+ <SelectItem value="ice-cream">Ice Cream</SelectItem>+ </SelectGroup>+ </SelectContent>+ </Select>+ );+};diff --git a/frontend-sdk/pnpm-lock.yaml b/frontend-sdk/pnpm-lock.yamlindex 753d04e3f..3ee5145a0 100644--- a/frontend-sdk/pnpm-lock.yaml+++ b/frontend-sdk/pnpm-lock.yaml@@ -77,6 +77,9 @@ importers:'@radix-ui/react-slider':specifier: ^1.2.2+ '@radix-ui/react-select':+ specifier: ^2.1.4'@storybook/addon-styling-webpack':specifier: ^1.0.1@@ -620,6 +623,21 @@ packages:resolution: {integrity: sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}+ peerDependencies:+ react: '>=16.8.0'+ react-dom: '>=16.8.0'++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==}+'@humanfs/[email protected]':resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}engines: {node: '>=18.18.0'}@@ -792,6 +810,25 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==}++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==}++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-NaVpZfmv8SKeZbn4ijN2V3jlHA9ngBG16VnIIm22nUR0Yk8KUALyBxT3KYEUnNuch9sTE8UTsS3whzBgKOL30w==}+ 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-kNU4FIpcFMBLkOUcgeIteH06/8JLBcYY6Le1iKenDGCYNYFX3TQqCZjzkOsz37h7r94/99GTb7YhEr98ZBJibw==}peerDependencies:@@ -845,6 +882,68 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-onrWn/72lQoEucDmJnr8uczSNTujT0vJnA/X5+3AkChVPowr8n1yvIKIabhWyMQeMvvmdpsvcyDqx3X1LEXCPg==}+ 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-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-01omzJAYRxXdG2/he/+xy+c8a8gCydoQ1yOxnWNcRhrrBW5W+RQJ22EK1SaO8tb3WoUsuEw7mJjBozPzihDFjA==}+ 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-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-UUw5E4e/2+4kFMH7+YxORXGWggtY6sM8WIwh5RZchhLuUg2H1hc98Py+pr8HMz6rdaYrK2t296ZEjYLOCO5uUw==}peerDependencies:@@ -858,6 +957,32 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-3kn5Me69L+jv82EKRuQCXdYyf1DqHwD2U/sxoNgBGCB7K9TRc3bQamQ+5EPM9EvyPdli0W41sROd+ZU1dTCztw==}+ 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-NciRqhXnGojhT93RPyDaMPfLH3ZSl4jjIFbZQ1b/vxvZEdHsBZ49wP9w8L3HzUQwep01LcWtkUvm0OVB5JAHTw==}+ 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-sHCWTtxwNn3L3fH8qAfnF3WbUZycW93SM1j3NFDzXBiz8D6F5UTTy8G1+WFEaiCdvCVRJWj6N2R4Xq6HdiHmDg==}peerDependencies:@@ -884,6 +1009,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-pOkb2u8KgO47j/h7AylCj7dJsm69BXcjkrvTqMptFqsE2i0p8lHkfgneXKjAgPzBMivnoMyt8o4KiV4wYzDdyQ==}+ 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-RApLLOcINYJA+dMVbOju7MYv1Mb2EBp2nH4HdDzXTSyaR5optlm6Otrz1euW3HbdOR8UmmFK06TD+A9frYWv+g==}peerDependencies:@@ -938,6 +1076,85 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-vVfA2IZ9q/J+gEamvj761Oq1FpWgCDaNOOIfbPVp2MVPLEomUr5+Vf7kJGwQ24YxZSlQVar7Bes8kyTo5Dshpg==}+ 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-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}+'@rollup/[email protected]':resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}engines: {node: '>=14.0.0'}@@ -1474,6 +1691,10 @@ packages:resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+ resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}@@ -1667,6 +1888,9 @@ packages:engines: {node: '>=0.10'}hasBin: true+ resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}+resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}@@ -1932,6 +2156,10 @@ packages:resolution: {integrity: sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}engines: {node: '>= 6'}@@ -2443,6 +2671,36 @@ packages:resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}+ resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-KmONPx5fnlXYJQqC62Q+lwIeAk64ws/cUw6omIumRzMRPqgnYqhSSti99nbj0Ry13bv7dF+BKn7NB+OqkdZGTw==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}engines: {node: '>=0.10.0'}@@ -2749,6 +3007,26 @@ packages:resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}+ resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==}peerDependencies:@@ -3241,6 +3519,23 @@ snapshots:dependencies:levn: 0.4.1+ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/utils': 0.2.9++ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/core': 1.6.9+ '@floating-ui/utils': 0.2.9++ dependencies:+ '@floating-ui/dom': 1.6.13+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])++ '@floating-ui/[email protected]': {}+'@humanfs/[email protected]': {}'@humanfs/[email protected]':@@ -3383,6 +3678,18 @@ snapshots:'@radix-ui/[email protected]': {}+ '@radix-ui/[email protected]': {}++ '@radix-ui/[email protected]': {}++ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2+'@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])@@ -3391,6 +3698,17 @@ snapshots:optionalDependencies:'@types/react': 19.0.2+ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2+'@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])@@ -3402,18 +3720,119 @@ snapshots:optionalDependencies:'@types/react': 19.0.2+ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ optionalDependencies:+ '@types/react': 19.0.2++ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.1+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ optionalDependencies:+ '@types/react': 19.0.2++ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ react: 19.0.0-rc-66855b96-20241106+ optionalDependencies:+ '@types/react': 19.0.2+dependencies:react: 18.3.1optionalDependencies:'@types/react': 19.0.2+ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.0+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2++ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ optionalDependencies:+ '@types/react': 19.0.2+dependencies:react: 18.3.1optionalDependencies:'@types/react': 19.0.2+ '@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.0+ '@radix-ui/primitive': 1.1.1+ '@radix-ui/react-collection': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.3(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.3(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])+ aria-hidden: 1.2.4+ react: 19.0.0-rc-66855b96-20241106+ react-dom: 19.0.0-rc-66855b96-20241106([email protected])+ react-remove-scroll: 2.6.2(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.0.2+dependencies:react: 18.3.1@@ -4131,6 +4550,10 @@ snapshots:+ dependencies:+ tslib: 2.8.1+dependencies:dequal: 2.0.3@@ -4295,6 +4718,8 @@ snapshots:optional: true+ [email protected]: {}+@@ -4605,6 +5030,8 @@ snapshots:hasown: 2.0.2math-intrinsics: 1.1.0+ [email protected]: {}+dependencies:is-glob: 4.0.3@@ -5036,6 +5463,33 @@ snapshots:+ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ get-nonce: 1.0.1+ react: 19.0.0-rc-66855b96-20241106+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.2+dependencies:loose-envify: 1.4.0@@ -5366,6 +5820,21 @@ snapshots:dependencies:punycode: 2.3.1+ dependencies:+ react: 19.0.0-rc-66855b96-20241106+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.2++ dependencies:+ detect-node-es: 1.1.0+ react: 19.0.0-rc-66855b96-20241106+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.2+dependencies:react: 19.0.0-rc-66855b96-20241106