Skip to content

The Open Standard for Generative UI

Story book & charts (#24)

Ankit Dasdb3c44b894c0
diff --git a/js/packages/react-ui/package.json b/js/packages/react-ui/package.json
index 7dd8eabf8..bbbe7cee3 100644
--- a/js/packages/react-ui/package.json
+++ b/js/packages/react-ui/package.json
@@ -90,6 +90,7 @@
"@types/node": "^22.12.0",
"@types/postcss-js": "^4.0.4",
"@types/react": ">=18.0.0",
+ "@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
diff --git a/js/packages/react-ui/src/components/Charts/AreaChart/AreaChart.tsx b/js/packages/react-ui/src/components/Charts/AreaChart/AreaChart.tsx
index 656b99511..e083b6965 100644
--- a/js/packages/react-ui/src/components/Charts/AreaChart/AreaChart.tsx
+++ b/js/packages/react-ui/src/components/Charts/AreaChart/AreaChart.tsx
@@ -7,6 +7,7 @@ import {
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
+ keyTransform,
} from "../Charts";
import { cartesianGrid } from "../cartesianGrid";
import { getDistributedColors, getPalette } from "../utils/PalletUtils";
@@ -92,7 +93,8 @@ export const AreaChart = <T extends AreaChartData>({
<ChartTooltip content={<ChartTooltipContent indicator="dot" />} />
{dataKeys.map((key) => {
- const color = `var(--color-${key})`;
+ const transformedKey = keyTransform(key);
+ const color = `var(--color-${transformedKey})`;
if (label) {
return (
<Area
diff --git a/js/packages/react-ui/src/components/Charts/BarChart/BarChart.tsx b/js/packages/react-ui/src/components/Charts/BarChart/BarChart.tsx
index 2370124fb..d3a590adb 100644
--- a/js/packages/react-ui/src/components/Charts/BarChart/BarChart.tsx
+++ b/js/packages/react-ui/src/components/Charts/BarChart/BarChart.tsx
@@ -7,6 +7,7 @@ import {
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
+ keyTransform,
} from "../Charts";
import { cartesianGrid } from "../cartesianGrid";
import { getDistributedColors, getPalette } from "../utils/PalletUtils";
@@ -90,7 +91,8 @@ export const BarChart = <T extends BarChartData>({
<ChartTooltip content={<ChartTooltipContent />} />
{dataKeys.map((key) => {
- const color = `var(--color-${key})`;
+ const transformedKey = keyTransform(key);
+ const color = `var(--color-${transformedKey})`;
if (label) {
return (
<Bar
diff --git a/js/packages/react-ui/src/components/Charts/Charts.tsx b/js/packages/react-ui/src/components/Charts/Charts.tsx
index 1e97aa521..944e250ee 100644
--- a/js/packages/react-ui/src/components/Charts/Charts.tsx
+++ b/js/packages/react-ui/src/components/Charts/Charts.tsx
@@ -51,6 +51,10 @@ function useChart() {
return context;
}
+export function keyTransform(key: string) {
+ return key.replaceAll(/\s/g, "-");
+}
+
/**
* Component that generates theme-specific styles for chart elements
*/
@@ -70,9 +74,10 @@ const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {
${prefix} [data-chart=${id}] {
${colorConfig
.map(([key, itemConfig]) => {
+ const transformedKey = keyTransform(key);
const color =
itemConfig.theme?.[theme as keyof typeof itemConfig.theme] || itemConfig.color;
- return color ? ` --color-${key}: ${color};` : null;
+ return color ? ` --color-${transformedKey}: ${color};` : null;
})
.filter(Boolean)
.join("\n")}
diff --git a/js/packages/react-ui/src/components/Charts/LineChart/LineChart.tsx b/js/packages/react-ui/src/components/Charts/LineChart/LineChart.tsx
index c1c39e493..36c5616bf 100644
--- a/js/packages/react-ui/src/components/Charts/LineChart/LineChart.tsx
+++ b/js/packages/react-ui/src/components/Charts/LineChart/LineChart.tsx
@@ -7,6 +7,7 @@ import {
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
+ keyTransform,
} from "../Charts";
import { cartesianGrid } from "../cartesianGrid";
import { getDistributedColors, getPalette } from "../utils/PalletUtils";
@@ -91,7 +92,8 @@ export const LineChart = <T extends LineChartData>({
/>
<ChartTooltip content={<ChartTooltipContent indicator="dot" />} />
{dataKeys.map((key) => {
- const color = `var(--color-${key})`;
+ const transformedKey = keyTransform(key);
+ const color = `var(--color-${transformedKey})`;
if (label) {
return (
<Line
diff --git a/js/packages/react-ui/src/components/Charts/RadarChart/RadarChart.tsx b/js/packages/react-ui/src/components/Charts/RadarChart/RadarChart.tsx
index 05f20f4ff..a1e66a886 100644
--- a/js/packages/react-ui/src/components/Charts/RadarChart/RadarChart.tsx
+++ b/js/packages/react-ui/src/components/Charts/RadarChart/RadarChart.tsx
@@ -7,6 +7,7 @@ import {
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
+ keyTransform,
} from "../Charts";
import { getDistributedColors, getPalette } from "../utils/PalletUtils";
@@ -71,7 +72,8 @@ export const RadarChart = <T extends RadarChartData>({
<ChartTooltip cursor={false} content={<ChartTooltipContent indicator="line" />} />
{dataKeys.map((key) => {
- const color = `var(--color-${key})`;
+ const transformedKey = keyTransform(key);
+ const color = `var(--color-${transformedKey})`;
if (variant === "line") {
return (
<Radar
diff --git a/js/packages/react-ui/src/components/Charts/dependencies.ts b/js/packages/react-ui/src/components/Charts/dependencies.ts
new file mode 100644
index 000000000..f6ded9582
--- /dev/null
+++ b/js/packages/react-ui/src/components/Charts/dependencies.ts
@@ -0,0 +1,2 @@
+const dependencies = ["Charts"];
+export default dependencies;
diff --git a/js/packages/react-ui/src/components/DatePicker/dependencies.ts b/js/packages/react-ui/src/components/DatePicker/dependencies.ts
new file mode 100644
index 000000000..007e9558c
--- /dev/null
+++ b/js/packages/react-ui/src/components/DatePicker/dependencies.ts
@@ -0,0 +1,6 @@
+import IconButtonDeps from "../IconButton/dependencies";
+import SelectDeps from "../Select/dependencies";
+
+const dependencies = ["DatePicker", ...IconButtonDeps, ...SelectDeps];
+
+export default dependencies;
diff --git a/js/packages/react-ui/src/components/DatePicker/helpers/components/FloatingDatePickerRenderer.tsx b/js/packages/react-ui/src/components/DatePicker/helpers/components/FloatingDatePickerRenderer.tsx
index 3811036bd..5ac638bfa 100644
--- a/js/packages/react-ui/src/components/DatePicker/helpers/components/FloatingDatePickerRenderer.tsx
+++ b/js/packages/react-ui/src/components/DatePicker/helpers/components/FloatingDatePickerRenderer.tsx
@@ -1,7 +1,8 @@
-import { autoUpdate, flip, useFloating } from "@floating-ui/react-dom";
+import { autoUpdate, flip, offset, useFloating } from "@floating-ui/react-dom";
import clsx from "clsx";
import { ChevronDown } from "lucide-react";
import { forwardRef, useEffect, useLayoutEffect, useRef, useState } from "react";
+import { createPortal } from "react-dom";
import { useMultipleRefs } from "../../../../hooks/useMultipleRefs";
import { useDatePicker } from "../context/DatePickerContext";
import { formatDateRange, formatSingleDate } from "../utils/helperFn";
@@ -55,7 +56,7 @@ const FloatingDatePicker = forwardRef<HTMLDivElement>((_, ref) => {
strategy: "absolute",
placement: "bottom-start",
whileElementsMounted: autoUpdate,
- middleware: [flip()],
+ middleware: [offset(5), flip()],
});
const menuPositionDivRefs = useMultipleRefs(setReference, menuPositionDivRef);
@@ -68,15 +69,18 @@ const FloatingDatePicker = forwardRef<HTMLDivElement>((_, ref) => {
return (
<>
<div ref={menuPositionDivRefs} className="crayon-date-picker-renderer-floating-reference" />
- <div
- ref={floatingRef}
- style={{ ...floatingStyles, width: `${width}px`, marginTop: "5px" }}
- className="crayon-date-picker-renderer-floating-content"
- >
- <div className="crayon-date-picker-renderer-floating-menu">
- <DatepickerRenderer />
- </div>
- </div>
+ {createPortal(
+ <div
+ ref={floatingRef}
+ style={{ ...floatingStyles, width: `${width}px` }}
+ className="crayon-date-picker-renderer-floating-content"
+ >
+ <div className="crayon-date-picker-renderer-floating-menu">
+ <DatepickerRenderer />
+ </div>
+ </div>,
+ document.body,
+ )}
</>
);
});
diff --git a/js/packages/react-ui/src/components/DatePicker/stories/DatePicker.stories.tsx b/js/packages/react-ui/src/components/DatePicker/stories/DatePicker.stories.tsx
index bf8ecde9d..cbf78dcf7 100644
--- a/js/packages/react-ui/src/components/DatePicker/stories/DatePicker.stories.tsx
+++ b/js/packages/react-ui/src/components/DatePicker/stories/DatePicker.stories.tsx
@@ -21,8 +21,7 @@ const meta: Meta<typeof DatePicker> = {
(Story) => (
<div
style={{
- width: "400px",
- height: "400px",
+ width: "350px",
}}
>
<Story />
@@ -231,6 +230,8 @@ export const ControlledRange: Story = {
docs: {
source: {
code: `
+import { DateRange } from "react-day-picker";
+
const ControlledRangePicker = () => {
const [dateRange, setDateRange] = useState<DateRange>();
diff --git a/js/packages/react-ui/src/components/Input/Input.tsx b/js/packages/react-ui/src/components/Input/Input.tsx
index 7ef5d79a8..d19d99b68 100644
--- a/js/packages/react-ui/src/components/Input/Input.tsx
+++ b/js/packages/react-ui/src/components/Input/Input.tsx
@@ -7,12 +7,18 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
size?: "small" | "medium" | "large";
}
+const sizes = {
+ small: "crayon-input-small",
+ medium: "crayon-input-medium",
+ large: "crayon-input-large",
+} as const;
+
export const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, styles, size = "medium", ...props }, ref) => {
return (
<input
ref={ref}
- className={clsx("crayon-input", `crayon-input-${size}`, className)}
+ className={clsx("crayon-input", sizes[size], className)}
style={styles}
{...props}
/>
diff --git a/js/pnpm-lock.yaml b/js/pnpm-lock.yaml
index 00c689791..e15f38095 100644
--- a/js/pnpm-lock.yaml
+++ b/js/pnpm-lock.yaml
@@ -107,31 +107,31 @@ importers:
'@radix-ui/react-accordion':
specifier: ^1.2.2
'@radix-ui/react-aspect-ratio':
specifier: ^1.1.1
'@radix-ui/react-checkbox':
specifier: ^1.1.3
'@radix-ui/react-label':
specifier: ^2.1.1
'@radix-ui/react-radio-group':
specifier: ^1.2.2
'@radix-ui/react-select':
specifier: ^2.1.5
'@radix-ui/react-slider':
specifier: ^1.2.2
'@radix-ui/react-switch':
specifier: ^1.1.2
'@radix-ui/react-tabs':
specifier: ^1.1.2
'@storybook/addon-styling-webpack':
specifier: ^1.0.1
@@ -223,6 +223,9 @@ importers:
'@types/react':
specifier: '>=18.0.0'
version: 19.0.8
+ '@types/react-dom':
+ specifier: ^19.0.3
+ version: 19.0.3(@types/[email protected])
'@typescript-eslint/eslint-plugin':
specifier: ^8.18.0
@@ -1805,6 +1808,11 @@ packages:
resolution: {integrity: sha512-j5+GMZVIPCJpRTwI/mO64mCzv7X+zAEq3JP0EV2lo/BrLWHAohEubUJimIAY23rH27+wKce0fXUYjAdBoqlaYw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==}
+ peerDependencies:
+ '@types/react': ^19.0.0
+
resolution: {integrity: sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw==}
@@ -4177,45 +4185,48 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
'@radix-ui/primitive': 1.1.1
- '@radix-ui/react-collapsible': 1.1.2(@types/[email protected])([email protected]([email protected]))([email protected])
- '@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-id': 1.1.0(@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-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
- '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
- '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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-context': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-presence': 1.1.2(@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-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
@@ -4223,32 +4234,35 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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-context': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-presence': 1.1.2(@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-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])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -4268,17 +4282,18 @@ snapshots:
optionalDependencies:
'@types/react': 19.0.8
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: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -4286,15 +4301,16 @@ snapshots:
optionalDependencies:
'@types/react': 19.0.8
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: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -4303,21 +4319,22 @@ snapshots:
optionalDependencies:
'@types/react': 19.0.8
dependencies:
- '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([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])
@@ -4327,17 +4344,19 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
@@ -4345,24 +4364,26 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
'@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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-context': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-presence': 1.1.2(@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-roving-focus': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
@@ -4370,60 +4391,63 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
'@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-id': 1.1.0(@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-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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.4(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.4(@types/[email protected](@types/[email protected]))(@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])
+ '@radix-ui/react-visually-hidden': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
aria-hidden: 1.2.4
react: 18.3.1
react-dom: 18.3.1([email protected])
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[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-primitive': 2.0.1(@types/[email protected])([email protected]([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])
@@ -4432,6 +4456,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -4440,12 +4465,12 @@ snapshots:
optionalDependencies:
'@types/react': 19.0.8
dependencies:
'@radix-ui/primitive': 1.1.1
'@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-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
@@ -4453,21 +4478,23 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.1
'@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-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-presence': 1.1.2(@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-roving-focus': 1.1.1(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -4515,13 +4542,14 @@ snapshots:
optionalDependencies:
'@types/react': 19.0.8
dependencies:
- '@radix-ui/react-primitive': 2.0.1(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -4938,6 +4966,10 @@ snapshots:
dependencies:
postcss: 8.5.1
+ dependencies:
+ '@types/react': 19.0.8
+
dependencies:
csstype: 3.1.3