Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(ui): throttle slider drag updates (#7071)

白熱7e8a1aee276b
diff --git a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png
index f61f7982d6..dbe3bb6bd2 100644
Binary files a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png and b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-current-worksheet-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-current-worksheet-ci-chromium-linux.png
index 8bc08e828f..ea6787da36 100644
Binary files a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-current-worksheet-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-current-worksheet-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-other-worksheet-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-other-worksheet-ci-chromium-linux.png
index 442f7680a9..5b614d37f9 100644
Binary files a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-other-worksheet-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-filter-row-other-worksheet-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-hide-row-current-worksheet-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-hide-row-current-worksheet-ci-chromium-linux.png
index 313bf5977a..387a965353 100644
Binary files a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-hide-row-current-worksheet-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts-snapshots/formula-hide-row-current-worksheet-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png
index d246c66a7f..f582e30e93 100644
Binary files a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png
index 17d1af21ae..12fe950da1 100644
Binary files a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png
index da6b630f18..a91871f360 100644
Binary files a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png differ
diff --git a/packages/design/package.json b/packages/design/package.json
index 385c989b32..e1d38f684b 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -74,13 +74,13 @@
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"dependencies": {
- "@radix-ui/react-dialog": "^1.1.15",
- "@radix-ui/react-direction": "^1.1.1",
- "@radix-ui/react-dropdown-menu": "^2.1.16",
- "@radix-ui/react-hover-card": "^1.1.15",
- "@radix-ui/react-popover": "^1.1.15",
- "@radix-ui/react-separator": "^1.1.8",
- "@radix-ui/react-slot": "^1.2.4",
+ "@radix-ui/react-dialog": "^1.1.16",
+ "@radix-ui/react-direction": "^1.1.2",
+ "@radix-ui/react-dropdown-menu": "^2.1.17",
+ "@radix-ui/react-hover-card": "^1.1.16",
+ "@radix-ui/react-popover": "^1.1.16",
+ "@radix-ui/react-separator": "^1.1.9",
+ "@radix-ui/react-slot": "^1.2.5",
"@univerjs/icons": "1.12.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
diff --git a/packages/docs-ui/src/components/side-menu/index.tsx b/packages/docs-ui/src/components/side-menu/index.tsx
index d02f855c34..ba32d6d736 100644
--- a/packages/docs-ui/src/components/side-menu/index.tsx
+++ b/packages/docs-ui/src/components/side-menu/index.tsx
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+import type { CSSProperties } from 'react';
import { clsx, scrollbarClassName } from '@univerjs/design';
import { CatalogueIcon, LeftIcon } from '@univerjs/icons';
import { forwardRef, useEffect, useImperativeHandle, useMemo, useRef } from 'react';
@@ -29,7 +30,7 @@ export interface ISideMenuProps {
menus?: ISideMenuItem[];
onClick?: (menu: ISideMenuItem) => void;
className?: string;
- style?: React.CSSProperties;
+ style?: CSSProperties;
mode?: 'float' | 'side-bar';
maxHeight: number;
activeId?: string;
@@ -37,9 +38,9 @@ export interface ISideMenuProps {
onOpenChange?: (open: boolean) => void;
maxWidth?: number;
wrapperClass?: string;
- wrapperStyle?: React.CSSProperties;
+ wrapperStyle?: CSSProperties;
iconClass?: string;
- iconStyle?: React.CSSProperties;
+ iconStyle?: CSSProperties;
}
export interface ISideMenuInstance {
diff --git a/packages/docs-ui/src/views/rich-text-editor/hooks/use-editor-click-outside.ts b/packages/docs-ui/src/views/rich-text-editor/hooks/use-editor-click-outside.ts
index 2f48780fae..7457e6f342 100644
--- a/packages/docs-ui/src/views/rich-text-editor/hooks/use-editor-click-outside.ts
+++ b/packages/docs-ui/src/views/rich-text-editor/hooks/use-editor-click-outside.ts
@@ -14,13 +14,14 @@
* limitations under the License.
*/
+import type { RefObject } from 'react';
import { useDependency } from '@univerjs/ui';
import { useEffect } from 'react';
import { IEditorService } from '../../../services/editor/editor-manager.service';
export const useEditorClickOutside = (
editorId: string,
- containerRef: React.RefObject<HTMLElement | null>,
+ containerRef: RefObject<HTMLElement | null>,
onClickOutside?: () => void
) => {
const editorService = useDependency(IEditorService);
diff --git a/packages/sheets-drawing-ui/src/controllers/sheet-drawing-printing.controller.tsx b/packages/sheets-drawing-ui/src/controllers/sheet-drawing-printing.controller.tsx
index 8389932f00..9feebd8361 100644
--- a/packages/sheets-drawing-ui/src/controllers/sheet-drawing-printing.controller.tsx
+++ b/packages/sheets-drawing-ui/src/controllers/sheet-drawing-printing.controller.tsx
@@ -16,6 +16,7 @@
import type { IRange } from '@univerjs/core';
import type { IFloatDomData } from '@univerjs/sheets-drawing';
+import type { ComponentType } from '@univerjs/ui';
import type { IPrintingFloatDomProps } from '../views/printing-float-dom';
import { Disposable, DrawingTypeEnum, Inject, Injector, PRINT_CHART_COMPONENT_KEY, Tools } from '@univerjs/core';
import { render, unmount } from '@univerjs/design';
@@ -152,7 +153,7 @@ export class SheetDrawingPrintingController extends Disposable {
return null;
}).filter(Boolean) as IFloatDomData[];
- const PrintingFloatDomInjector = connectInjector(PrintingFloatDom, this._injector) as React.ComponentType<IPrintingFloatDomProps>;
+ const PrintingFloatDomInjector = connectInjector(PrintingFloatDom, this._injector) as ComponentType<IPrintingFloatDomProps>;
render(
<PrintingFloatDomInjector floatDomInfos={floatDomInfos} scene={pos.scene} skeleton={pos.skeleton} worksheet={pos.worksheet} />,
diff --git a/packages/sheets-formula-ui/src/views/range-selector/index.tsx b/packages/sheets-formula-ui/src/views/range-selector/index.tsx
index 13698f4ded..21e131d8d1 100644
--- a/packages/sheets-formula-ui/src/views/range-selector/index.tsx
+++ b/packages/sheets-formula-ui/src/views/range-selector/index.tsx
@@ -17,6 +17,7 @@
import type { IUnitRangeName, Nullable } from '@univerjs/core';
import type { Editor, IRichTextEditorProps } from '@univerjs/docs-ui';
import type { ISelectionWithStyle, ISetSelectionsOperationParams } from '@univerjs/sheets';
+import type { RefObject } from 'react';
import { ICommandService, LocaleService, RichTextBuilder } from '@univerjs/core';
import { Button, clsx, Dialog, Input, scrollbarClassName, Tooltip } from '@univerjs/design';
import { IEditorService, RichTextEditor } from '@univerjs/docs-ui';
@@ -50,7 +51,7 @@ export interface IRangeSelectorProps extends IRichTextEditorProps {
* always return range ref with sheet name, default: false
*/
keepSheetReference?: boolean;
- selectorRef?: React.RefObject<IRangeSelectorInstance | null>;
+ selectorRef?: RefObject<IRangeSelectorInstance | null>;
onVerify?: (res: boolean, rangeText: string) => void;
onRangeSelectorDialogVisibleChange?: (visible: boolean) => void;
hideEditor?: boolean;
diff --git a/packages/sheets-ui/src/basics/editor/range.ts b/packages/sheets-ui/src/basics/editor/range.ts
index d2e469231c..97f194c316 100644
--- a/packages/sheets-ui/src/basics/editor/range.ts
+++ b/packages/sheets-ui/src/basics/editor/range.ts
@@ -16,6 +16,7 @@
import type { Nullable } from '@univerjs/core';
import type { Editor, IRichTextEditorProps } from '@univerjs/docs-ui';
+import type { RefObject } from 'react';
export interface IRangeSelectorInstance {
editor: Nullable<Editor>;
@@ -30,7 +31,7 @@ export interface IRangeSelectorProps extends IRichTextEditorProps {
subUnitId: string;
maxRangeCount?: number;
supportAcrossSheet?: boolean;
- selectorRef?: React.RefObject<IRangeSelectorInstance>;
+ selectorRef?: RefObject<IRangeSelectorInstance>;
onVerify?: (res: boolean, rangeText: string) => void;
onRangeSelectorDialogVisibleChange?: (visible: boolean) => void;
};
diff --git a/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts b/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
index c3026769d4..eae8b5c5b9 100644
--- a/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
+++ b/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
@@ -102,6 +102,8 @@ export const FREEZE_COLUMN_HEADER_NAME = '__SpreadsheetFreezeColumnHeaderName__'
const FREEZE_SIZE_NORMAL = 2;
+const FREEZE_SIZE_BOUNDARY_RATIO = 1.5;
+
const AUXILIARY_CLICK_HIDDEN_OBJECT_TRANSPARENCY = 0.01;
export const FREEZE_PERMISSION_CHECK = createInterceptorKey<boolean, null>('freezePermissionCheck');
@@ -222,7 +224,7 @@ export class HeaderFreezeRenderController extends Disposable implements IRenderM
if (freezeDirectionType === FREEZE_DIRECTION_TYPE.ROW) {
if (freezeRow === -1 || freezeRow === 0) {
- freezeSize = freezeSize * 2;
+ freezeSize = freezeSize * FREEZE_SIZE_BOUNDARY_RATIO;
}
const freezeOffset = freezeSize;
@@ -253,7 +255,7 @@ export class HeaderFreezeRenderController extends Disposable implements IRenderM
scene.addObjects([this._rowFreezeHeaderRect, this._rowFreezeMainRect], SHEET_COMPONENT_HEADER_LAYER_INDEX);
} else {
if (freezeColumn === -1 || freezeColumn === 0) {
- freezeSize = freezeSize * 2;
+ freezeSize = freezeSize * FREEZE_SIZE_BOUNDARY_RATIO;
}
const FREEZE_OFFSET = freezeSize;
diff --git a/packages/sheets-ui/src/services/cell-alert-manager.service.ts b/packages/sheets-ui/src/services/cell-alert-manager.service.ts
index c6476c2f48..982f0aa5c3 100644
--- a/packages/sheets-ui/src/services/cell-alert-manager.service.ts
+++ b/packages/sheets-ui/src/services/cell-alert-manager.service.ts
@@ -16,6 +16,7 @@
import type { IDisposable } from '@univerjs/core';
import type { ISheetLocationBase } from '@univerjs/sheets';
+import type { ReactNode } from 'react';
import { Disposable, Inject } from '@univerjs/core';
import { IRenderManagerService } from '@univerjs/engine-render';
import { Subject } from 'rxjs';
@@ -30,8 +31,8 @@ export enum CellAlertType {
export interface ICellAlert {
type: CellAlertType;
- title: React.ReactNode;
- message: React.ReactNode;
+ title: ReactNode;
+ message: ReactNode;
location: ISheetLocationBase;
width: number;
height: number;
diff --git a/packages/ui/src/components/slider/Slider.tsx b/packages/ui/src/components/slider/Slider.tsx
index 47c21b789b..d8fa216f7c 100644
--- a/packages/ui/src/components/slider/Slider.tsx
+++ b/packages/ui/src/components/slider/Slider.tsx
@@ -15,10 +15,9 @@
*/
import type { IDropdownMenuProps } from '@univerjs/design';
-import { LocaleService } from '@univerjs/core';
-import { Button, clsx, DropdownMenu } from '@univerjs/design';
-import * as React from 'react';
-import { useMemo, useRef, useState } from 'react';
+import type { PointerEvent as ReactPointerEvent } from 'react';
+import { borderClassName, Button, clsx, DropdownMenu, Input } from '@univerjs/design';
+import { useEffect, useRef, useState } from 'react';
import { ComponentManager } from '../../common';
import { useDependency } from '../../utils/di';
@@ -58,18 +57,40 @@ export interface ISliderProps {
}
const SLIDER_WIDTH = 116;
+const DRAG_COMMIT_INTERVAL = 50;
/**
* Slider Component
*/
export function Slider(props: ISliderProps) {
- const localeService = useDependency(LocaleService);
const componentManager = useDependency(ComponentManager);
const { value, min = 0, max = 400, disabled = false, resetPoint = 100, shortcuts, onChange } = props;
const sliderInnerRailRef = useRef<HTMLDivElement>(null);
+ const isEditingZoomRef = useRef(false);
+ const dragValueRef = useRef(value);
+ const pendingDragValueRef = useRef<number | null>(null);
+ const lastCommittedDragValueRef = useRef(value);
+ const dragCommitTimerRef = useRef<number | null>(null);
const [zoomListVisible, setZoomListVisible] = useState(false);
+ const [isDragging, setIsDragging] = useState(false);
+ const [dragValue, setDragValue] = useState(value);
+ const [zoomInputValue, setZoomInputValue] = useState(() => `${value}%`);
+
+ useEffect(() => {
+ if (!isEditingZoomRef.current) {
+ setZoomInputValue(`${value}%`);
+ }
+ }, [value]);
+
+ useEffect(() => () => {
+ clearDragCommitTimer();
+ }, []);
+
+ function clampValue(value: number) {
+ return Math.min(Math.max(value, min), max);
+ }
function handleReset() {
if (disabled) return;
@@ -89,62 +110,129 @@ export function Slider(props: ISliderProps) {
onChange && onChange(result);
}
- const offset = useMemo(() => {
- if (value <= resetPoint) {
+ function getSliderOffset(sliderValue: number) {
+ if (sliderValue <= resetPoint) {
const ratio = 50 / (resetPoint - min);
- return (value - min) * ratio;
+ return (sliderValue - min) * ratio;
}
- if (value <= max) {
- return resetPoint * 0.5 + ((value - resetPoint) / (max - resetPoint)) * 50;
+ if (sliderValue <= max) {
+ return resetPoint * 0.5 + ((sliderValue - resetPoint) / (max - resetPoint)) * 50;
}
- }, [min, max, resetPoint, value]);
+ }
- function handleMouseDown(e: React.MouseEvent<HTMLButtonElement>) {
- if (disabled) return;
- e.preventDefault();
+ function getValueByClientX(clientX: number, rail: HTMLDivElement) {
+ const railRect = rail.getBoundingClientRect();
+ const railWidth = railRect.width || SLIDER_WIDTH;
+ const pureOffsetX = clientX - railRect.x;
- const rail = sliderInnerRailRef.current!;
- let isDragging = true;
+ let offsetX = pureOffsetX;
- function onMouseMove(e: MouseEvent) {
- if (isDragging) {
- const pureOffsetX = e.clientX - rail.getBoundingClientRect().x;
+ if (offsetX <= 0) {
+ offsetX = 0;
+ } else if (offsetX >= railWidth) {
+ offsetX = railWidth;
+ }
+
+ const ratio = offsetX / railWidth;
+
+ if (ratio <= 0.5) {
+ return min + ratio * (resetPoint - min) * 2;
+ }
+
+ return resetPoint + (ratio - 0.5) * (max - resetPoint) * 2;
+ }
+
+ function getRoundedSliderValue(clientX: number, rail: HTMLDivElement) {
+ return Math.ceil(clampValue(getValueByClientX(clientX, rail)));
+ }
+
+ function clearDragCommitTimer() {
+ if (dragCommitTimerRef.current != null) {
+ window.clearTimeout(dragCommitTimerRef.current);
+ dragCommitTimerRef.current = null;
+ }
+ }
+
+ function commitDragValue(nextValue: number) {
+ if (nextValue === lastCommittedDragValueRef.current) {
+ return;
+ }
+
+ lastCommittedDragValueRef.current = nextValue;
+ onChange && onChange(nextValue);
+ }
+
+ function flushDragCommit() {
+ clearDragCommitTimer();
- let offsetX = pureOffsetX;
+ const nextValue = pendingDragValueRef.current;
+ pendingDragValueRef.current = null;
- if (offsetX <= 0) {
- offsetX = 0;
- } else if (offsetX >= SLIDER_WIDTH) {
- offsetX = SLIDER_WIDTH;
- }
+ if (nextValue != null) {
+ commitDragValue(nextValue);
+ }
+ }
- const ratio = offsetX / SLIDER_WIDTH;
+ function scheduleDragCommit(nextValue: number) {
+ pendingDragValueRef.current = nextValue;
- let result = 0;
- if (ratio <= 0.5) {
- result = min + ratio * (resetPoint - min) * 2;
- } else {
- result = resetPoint + (ratio - 0.5) * (max - resetPoint) * 2;
- }
+ if (dragCommitTimerRef.current != null) {
+ return;
+ }
- onChange && onChange(Math.ceil(result));
+ dragCommitTimerRef.current = window.setTimeout(() => {
+ dragCommitTimerRef.current = null;
+ const pendingValue = pendingDragValueRef.current;
+ pendingDragValueRef.current = null;
+
+ if (pendingValue != null) {
+ commitDragValue(pendingValue);
+ }
+ }, DRAG_COMMIT_INTERVAL);
+ }
+
+ function updateDragValue(clientX: number, rail: HTMLDivElement) {
+ const nextValue = getRoundedSliderValue(clientX, rail);
+ dragValueRef.current = nextValue;
+ setDragValue(nextValue);
+ return nextValue;
+ }
+
+ function handlePointerDown(e: ReactPointerEvent<HTMLElement>) {
+ if (disabled) return;
+ e.preventDefault();
+ e.stopPropagation();
+
+ const rail = sliderInnerRailRef.current!;
+ let isDragging = true;
+ lastCommittedDragValueRef.current = value;
+ setIsDragging(true);
+ scheduleDragCommit(updateDragValue(e.clientX, rail));
+
+ function onPointerMove(e: PointerEvent) {
+ if (isDragging) {
+ scheduleDragCommit(updateDragValue(e.clientX, rail));
}
}
- function onMouseUp() {
+ function onPointerUp() {
isDragging = false;
- document.removeEventListener('pointermove', onMouseMove);
- window.removeEventListener('pointerup', onMouseUp);
+ setIsDragging(false);
+ window.removeEventListener('pointermove', onPointerMove);
+ window.removeEventListener('pointerup', onPointerUp);
+ window.removeEventListener('pointerout', onPointerOut);
+
+ flushDragCommit();
}
- function onMouseOut(e: MouseEvent) {
- e.relatedTarget === null && onMouseUp();
+ function onPointerOut(e: PointerEvent) {
+ e.relatedTarget === null && onPointerUp();
}
- window.addEventListener('pointermove', onMouseMove);
- window.addEventListener('pointerup', onMouseUp);
- window.addEventListener('pointerout', onMouseOut);
+ window.addEventListener('pointermove', onPointerMove);
+ window.addEventListener('pointerup', onPointerUp);
+ window.addEventListener('pointerout', onPointerOut);
}
function handleSelectZoomLevel(value: number) {
@@ -154,19 +242,75 @@ export function Slider(props: ISliderProps) {
onChange && onChange(value);
}
+ function parseExactZoomInput(rawValue: string) {
+ const normalizedValue = rawValue.trim().replace(/%$/, '').trim();
+ if (normalizedValue === '') {
+ return null;
+ }
+
+ const parsedValue = Number(normalizedValue);
+ if (!Number.isFinite(parsedValue)) {
+ return null;
+ }
+
+ return Math.round(clampValue(parsedValue));
+ }
+
+ function handleExactZoomFocus() {
+ if (disabled) return;
+
+ isEditingZoomRef.current = true;
+ setZoomInputValue(String(value));
+ }
+
+ function commitExactZoomInput() {
+ if (disabled) return;
+ if (!isEditingZoomRef.current) return;
+
+ const parsedValue = parseExactZoomInput(zoomInputValue);
+ isEditingZoomRef.current = false;
+
+ if (parsedValue == null) {
+ setZoomInputValue(`${value}%`);
+ return;
+ }
+
+ setZoomInputValue(`${parsedValue}%`);
+ if (parsedValue !== value) {
+ onChange && onChange(parsedValue);
+ }
+ }
+
+ function handleExactZoomChange(value: string) {
+ setZoomInputValue(value);
+ }
+
+ function handleInputKeyDown(e: React.KeyboardEvent<HTMLInputElement>) {
+ e.stopPropagation();
+
+ if (e.key === 'Enter') {
+ e.preventDefault();
+ commitExactZoomInput();
+ e.currentTarget.blur();
+ }
+ }
+
const items: IDropdownMenuProps['items'] = [{
type: 'radio',
value: value.toString(),
options: shortcuts.map((item) => ({ value: item.toString(), label: `${item}%` })),
onSelect: (value: string) => handleSelectZoomLevel(+value),
}];
+ const visualValue = isDragging ? dragValue : value;
+ const sliderOffset = Math.min(Math.max(getSliderOffset(visualValue) ?? 0, 0), 100);
const ReduceIcon = componentManager.get('ReduceIcon');
const IncreaseIcon = componentManager.get('IncreaseIcon');
+ const MoreDownIcon = componentManager.get('MoreDownIcon');
return (
<div
- className={clsx('univer-flex univer-select-none univer-items-center univer-gap-1', {
+ className={clsx('univer-flex univer-select-none univer-items-center univer-gap-1.5', {
'univer-cursor-not-allowed': disabled,
})}
>
@@ -181,41 +325,77 @@ export function Slider(props: ISliderProps) {
</Button>
<div
- className={`
- univer-relative univer-hidden univer-h-0.5 univer-rounded-2xl univer-bg-gray-400 univer-px-1.5
- sm:!univer-block
- `}
- style={{
- width: `${SLIDER_WIDTH}px`,
- }}
+ className="
+ univer-hidden univer-h-6 univer-items-center
+ sm:!univer-flex
+ "
>
- <div ref={sliderInnerRailRef} role="track" className="univer-relative univer-h-0.5">
- <a
- key="reset-button"
- className={`
- univer-absolute univer-left-1/2 univer-top-1/2 univer-box-border univer-block univer-size-0.5
- -univer-translate-x-1/2 -univer-translate-y-1/2 univer-cursor-pointer univer-rounded-full
- univer-bg-white
- `}
- role="button"
- onClick={handleReset}
- />
-
- <button
- className={clsx(`
- univer-absolute univer-top-[calc(50%-6px)] univer-size-3 -univer-translate-x-1/2
- univer-rounded-full univer-border-none univer-bg-white univer-shadow univer-transition-colors
- `, {
- 'hover:univer-gray-200 univer-cursor-pointer': !disabled,
- 'univer-cursor-not-allowed': disabled,
- })}
- role="handle"
- type="button"
- style={{
- left: `${offset}%`,
- }}
- onPointerDown={handleMouseDown}
- />
+ <div
+ className={clsx(`
+ univer-relative univer-h-1.5 univer-rounded-full univer-bg-gray-200 univer-px-1.5
+ univer-transition-colors
+ dark:!univer-bg-gray-600
+ `, {
+ 'univer-opacity-60': disabled,
+ })}
+ style={{
+ width: `${SLIDER_WIDTH}px`,
+ }}
+ >
+ <div
+ ref={sliderInnerRailRef}
+ role="track"
+ className="
+ univer-relative univer-h-1.5 univer-bg-gray-200
+ dark:!univer-bg-gray-600
+ "
+ onPointerDown={handlePointerDown}
+ >
+ <div
+ className={`
+ univer-bg-primary-500/60 univer-absolute univer-left-0 univer-top-0 univer-h-full
+ univer-rounded-full
+ `}
+ style={{
+ width: `${sliderOffset}%`,
+ }}
+ />
+ <a
+ key="reset-button"
+ className={`
+ univer-absolute univer-left-1/2 univer-top-1/2 univer-box-border univer-block
+ univer-size-1.5 -univer-translate-x-1/2 -univer-translate-y-1/2 univer-cursor-pointer
+ univer-rounded-full univer-border univer-border-white univer-bg-gray-400
+ dark:!univer-border-gray-700 dark:!univer-bg-gray-300
+ `}
+ role="button"
+ onClick={handleReset}
+ />
+
+ <button
+ className={clsx(`
+ univer-absolute univer-top-1/2 univer-size-3.5 -univer-translate-x-1/2
+ -univer-translate-y-1/2 univer-rounded-full univer-bg-white univer-shadow-sm
+ univer-transition-colors
+ focus-visible:univer-outline-none focus-visible:univer-ring-2
+ focus-visible:univer-ring-primary-100
+ dark:!univer-bg-gray-800
+ `, borderClassName, {
+ 'univer-cursor-pointer hover:univer-border-primary-600 hover:univer-shadow-md': !disabled,
+ 'univer-cursor-not-allowed': disabled,
+ 'univer-scale-125 univer-border-primary-600 univer-shadow-md': isDragging,
+ })}
+ role="slider"
+ aria-valuemin={min}
+ aria-valuemax={max}
+ aria-valuenow={visualValue}
+ type="button"
+ style={{
+ left: `${sliderOffset}%`,
+ }}
+ onPointerDown={handlePointerDown}
+ />
+ </div>
</div>
</div>
@@ -229,20 +409,56 @@ export function Slider(props: ISliderProps) {
<IncreaseIcon />
</Button>
- <DropdownMenu
- align="end"
- items={items}
- open={zoomListVisible}
- onOpenChange={setZoomListVisible}
+ <div
+ className={clsx(`
+ univer-flex univer-h-6 univer-w-[68px] univer-flex-shrink-0 univer-items-center univer-overflow-hidden
+ univer-rounded-md univer-border univer-border-gray-200 univer-bg-white
+ dark:!univer-border-gray-600 dark:!univer-bg-gray-800
+ `, {
+ 'univer-opacity-60': disabled,
+ })}
>
- <Button
- size="small"
- variant="text"
+ <Input
+ className={`
+ univer-box-border univer-h-6 univer-w-[52px] univer-border-none univer-bg-transparent
+ [&_input:focus]:!univer-ring-0
+ [&_input]:univer-h-6 [&_input]:univer-w-[52px] [&_input]:univer-border-none
+ [&_input]:!univer-bg-transparent [&_input]:univer-px-1 [&_input]:univer-text-center
+ [&_input]:univer-text-xs [&_input]:univer-tabular-nums
+ `}
+ inputClass="univer-w-[52px]"
+ size="mini"
+ value={zoomInputValue}
+ disabled={disabled}
+ type="text"
+ onChange={handleExactZoomChange}
+ onFocus={handleExactZoomFocus}
+ onBlur={commitExactZoomInput}
+ onKeyDown={handleInputKeyDown}
+ />
+
+ <DropdownMenu
+ align="end"
+ items={items}
+ open={zoomListVisible}
+ disabled={disabled}
+ onOpenChange={setZoomListVisible}
>
- {value}
- %
- </Button>
- </DropdownMenu>
+ <Button
+ className="univer-h-6 univer-w-4 univer-rounded-none univer-p-0"
+ size="small"
+ variant="text"
+ disabled={disabled}
+ >
+ <MoreDownIcon
+ className="
+ univer-size-3 univer-text-gray-500
+ dark:!univer-text-gray-300
+ "
+ />
+ </Button>
+ </DropdownMenu>
+ </div>
</div>
);
}
diff --git a/packages/ui/src/components/slider/__tests__/Slider.spec.tsx b/packages/ui/src/components/slider/__tests__/Slider.spec.tsx
new file mode 100644
index 0000000000..f77ae726db
--- /dev/null
+++ b/packages/ui/src/components/slider/__tests__/Slider.spec.tsx
@@ -0,0 +1,251 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @vitest-environment jsdom
+ */
+
+import type { ISliderProps } from '../Slider';
+import { cleanup, fireEvent, render } from '@testing-library/react';
+import { Injector } from '@univerjs/core';
+import { afterEach, describe, expect, it } from 'vitest';
+import { ComponentManager } from '../../../common';
+import { RediProvider } from '../../../utils/di';
+import { Slider } from '../Slider';
+
+type SliderTestProps = Partial<Omit<ISliderProps, 'onChange'>> & {
+ onChange?: (value: number) => void;
+};
+
+describe('Slider', () => {
+ afterEach(() => {
+ cleanup();
+ });
+
+ function renderSlider(props: SliderTestProps = {}) {
+ const injector = new Injector([[ComponentManager]]);
+ const { onChange = () => {}, ...sliderProps } = props;
+
+ return render(
+ <RediProvider value={{ injector }}>
+ <Slider value={100} shortcuts={[50, 100, 200, 400]} onChange={onChange} {...sliderProps} />
+ </RediProvider>
+ );
+ }
+
+ function defineTrackRect(track: HTMLDivElement) {
+ Object.defineProperty(track, 'getBoundingClientRect', {
+ configurable: true,
+ value: () => ({
+ x: 0,
+ y: 0,
+ top: 0,
+ left: 0,
+ width: 200,
+ height: 6,
+ right: 200,
+ bottom: 6,
+ toJSON: () => ({}),
+ } as DOMRect),
+ });
+ }
+
+ function wait(ms: number) {
+ return new Promise((resolve) => setTimeout(resolve, ms));
+ }
+
+ function getTrack(container: HTMLElement) {
+ return container.querySelector('[role="track"]') as HTMLDivElement;
+ }
+
+ function getNativeButtons(container: HTMLElement) {
+ return Array.from(container.querySelectorAll('button'));
+ }
+
+ it('keeps drag visual responsive, throttles real zoom updates and flushes on pointer up', async () => {
+ const changes: number[] = [];
+ const { container, getByRole } = renderSlider({ onChange: (value) => changes.push(value) });
+ const track = getTrack(container);
+ const handle = getByRole('slider');
+ defineTrackRect(track);
+
+ fireEvent.pointerDown(track, { clientX: 120 });
+ expect(changes).toEqual([]);
+ expect(handle.getAttribute('aria-valuenow')).toBe('160');
+
+ fireEvent.pointerMove(window, { clientX: 200 });
+ expect(changes).toEqual([]);
+ expect(handle.getAttribute('aria-valuenow')).toBe('400');
+
+ await wait(60);
+ expect(changes).toEqual([400]);
+
+ fireEvent.pointerMove(window, { clientX: 0 });
+ expect(handle.getAttribute('aria-valuenow')).toBe('0');
+ expect(changes).toEqual([400]);
+
+ fireEvent.pointerUp(window);
+ expect(changes).toEqual([400, 0]);
+
+ await wait(60);
+ expect(changes).toEqual([400, 0]);
+ });
+
+ it('clamps dragging to min and max', async () => {
+ const changes: number[] = [];
+ const { container, getByRole } = renderSlider({ min: 10, max: 300, onChange: (value) => changes.push(value) });
+ const track = getTrack(container);
+ const handle = getByRole('slider');
+ defineTrackRect(track);
+
+ fireEvent.pointerDown(track, { clientX: -80 });
+ expect(handle.getAttribute('aria-valuenow')).toBe('10');
+
+ await wait(60);
+ expect(changes).toEqual([10]);
+
+ fireEvent.pointerMove(window, { clientX: 280 });
+ expect(handle.getAttribute('aria-valuenow')).toBe('300');
+
+ fireEvent.pointerUp(window);
+ expect(changes).toEqual([10, 300]);
+ });
+
+ it('steps down, resets, and steps up with the toolbar buttons', () => {
+ const changes: number[] = [];
+ const { container } = renderSlider({ value: 125, onChange: (value) => changes.push(value) });
+ const buttons = getNativeButtons(container);
+ const reduceButton = buttons[0];
+ const increaseButton = buttons[2];
+ const resetButton = container.querySelector('a[role="button"]') as HTMLElement;
+
+ fireEvent.click(reduceButton);
+ fireEvent.click(resetButton);
+ fireEvent.click(increaseButton);
+
+ expect(changes).toEqual([115, 100, 135]);
+ });
+
+ it('clamps step buttons at the min and max boundaries', () => {
+ const minChanges: number[] = [];
+ const minRender = renderSlider({ value: 10, min: 10, onChange: (value) => minChanges.push(value) });
+ fireEvent.click(getNativeButtons(minRender.container)[0]);
+ expect(minChanges).toEqual([]);
+ minRender.unmount();
+
+ const maxChanges: number[] = [];
+ const maxRender = renderSlider({ value: 400, max: 400, onChange: (value) => maxChanges.push(value) });
+ fireEvent.click(getNativeButtons(maxRender.container)[2]);
+ expect(maxChanges).toEqual([]);
+ });
+
+ it('selects shortcut zoom values from the dropdown', async () => {
+ const changes: number[] = [];
+ const { container, getByText } = renderSlider({ onChange: (value) => changes.push(value) });
+ const dropdownButton = getNativeButtons(container)[3];
+
+ fireEvent.pointerDown(dropdownButton);
+ await wait(0);
+ fireEvent.click(getByText('200%'));
+
+ expect(changes).toEqual([200]);
+ });
+
+ it('edits exact zoom without committing until blur', () => {
+ const changes: number[] = [];
+ const { getByDisplayValue } = renderSlider({ onChange: (value) => changes.push(value) });
+ const input = getByDisplayValue('100%');
+
+ fireEvent.focus(input);
+ expect((input as HTMLInputElement).value).toBe('100');
+
+ fireEvent.change(input, { target: { value: '125' } });
+ expect(changes).toEqual([]);
+
+ fireEvent.blur(input);
+ expect(changes).toEqual([125]);
+ });
+
+ it('restores invalid exact zoom input without committing', () => {
+ const changes: number[] = [];
+ const { getByDisplayValue } = renderSlider({ onChange: (value) => changes.push(value) });
+ const input = getByDisplayValue('100%') as HTMLInputElement;
+
+ fireEvent.focus(input);
+ fireEvent.change(input, { target: { value: 'abc' } });
+ fireEvent.blur(input);
+
+ expect(changes).toEqual([]);
+ expect(input.value).toBe('100%');
+ });
+
+ it('rounds and clamps exact zoom input on blur', () => {
+ const changes: number[] = [];
+ const { getByDisplayValue } = renderSlider({ max: 400, onChange: (value) => changes.push(value) });
+ const input = getByDisplayValue('100%') as HTMLInputElement;
+
+ fireEvent.focus(input);
+ fireEvent.change(input, { target: { value: '399.4%' } });
+ fireEvent.blur(input);
+ expect(changes).toEqual([399]);
+ expect(input.value).toBe('399%');
+
+ fireEvent.focus(input);
+ fireEvent.change(input, { target: { value: '999' } });
+ fireEvent.blur(input);
+ expect(changes).toEqual([399, 400]);
+ expect(input.value).toBe('400%');
+ });
+
+ it('commits exact zoom input on Enter and removes focus', () => {
+ const changes: number[] = [];
+ const { getByDisplayValue } = renderSlider({ onChange: (value) => changes.push(value) });
+ const input = getByDisplayValue('100%') as HTMLInputElement;
+
+ input.focus();
+ fireEvent.focus(input);
+ fireEvent.change(input, { target: { value: '150' } });
+ fireEvent.keyDown(input, { key: 'Enter' });
+
+ expect(changes).toEqual([150]);
+ expect(document.activeElement).not.toBe(input);
+ });
+
+ it('does not commit interactions when disabled', async () => {
+ const changes: number[] = [];
+ const { container, getByDisplayValue, getByRole } = renderSlider({
+ disabled: true,
+ onChange: (value) => changes.push(value),
+ });
+ const buttons = getNativeButtons(container);
+ const track = getTrack(container);
+ const input = getByDisplayValue('100%') as HTMLInputElement;
+ defineTrackRect(track);
+
+ fireEvent.click(buttons[0]);
+ fireEvent.click(buttons[2]);
+ fireEvent.click(container.querySelector('a[role="button"]') as HTMLElement);
+ fireEvent.pointerDown(track, { clientX: 200 });
+ fireEvent.focus(input);
+
+ await wait(60);
+
+ expect(changes).toEqual([]);
+ expect(getByRole('slider').getAttribute('aria-valuenow')).toBe('100');
+ expect(input.disabled).toBe(true);
+ expect(input.value).toBe('100%');
+ });
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bde6b87016..b3ed667e89 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -867,26 +867,26 @@ importers:
packages/design:
dependencies:
'@radix-ui/react-dialog':
- specifier: ^1.1.15
+ specifier: ^1.1.16
'@radix-ui/react-direction':
- specifier: ^1.1.1
- version: 1.1.1(@types/[email protected])([email protected])
+ specifier: ^1.1.2
+ version: 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-dropdown-menu':
- specifier: ^2.1.16
+ specifier: ^2.1.17
'@radix-ui/react-hover-card':
- specifier: ^1.1.15
+ specifier: ^1.1.16
'@radix-ui/react-popover':
- specifier: ^1.1.15
+ specifier: ^1.1.16
'@radix-ui/react-separator':
- specifier: ^1.1.8
+ specifier: ^1.1.9
'@radix-ui/react-slot':
- specifier: ^1.2.4
- version: 1.2.4(@types/[email protected])([email protected])
+ specifier: ^1.2.5
+ version: 1.2.5(@types/[email protected])([email protected])
'@univerjs/icons':
specifier: 1.12.0
@@ -5477,11 +5477,11 @@ packages:
'@quansync/[email protected]':
resolution: {integrity: sha512-4TJ3DFtlf1L5LDMaM6CanJ/0lckGNtJcMjQ1NAV6zDmA0tEHKZtxNKin8EgPaVX1YzljbxckyT2tJrpQKAtngQ==}
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-7AdCK9PQyiljKoBDbN8OuctCbd/esdwZPQ8RtOE3SsyQtUpiPb+ND75q0jEhC1m1ecBI0MFNeLJvwIh9iKHRcQ==}
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-yqHW5WQ/cTpU/un7dqqIKNy2iRU8BC0JB78PEzTfCCYvZu1U6W9KwObAniMk9nhSfyotKPQTYaUD/HB0f5muig==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5493,8 +5493,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-zuSVi7ziP7uQRqc+yGxsKJfNkdyHv3ZKDaHe0gzg4dRgws96TPKWIiz84tVHP4GEcEl8bC0mdt17NkcxaJHmaQ==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5506,8 +5506,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5515,8 +5515,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-QwH4PO5urrbO+FaGd5Aglg+YJgWTyyuZ3g/6mKvsqraLkglDdckw9JafgL5McL5VEJ6EPNduPaT3ZE9BttDAqg==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5524,8 +5524,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-l9ok83YBclEZhbjgzt76Hw733e6cvRKPNgO6GJ/IETlufXG9p+fRu2wlvpImQvR6xdJ8h7J8J2DBvsPEiEsKMw==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5537,8 +5537,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-C3vFhbyi4SW3PmbAi6Awpu4OzJtd0MxGurvSsYtr7p7nM8RNB3VAF3CUmnp2j50knpkrRcB7+ycVXzgLgF6yNA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5546,8 +5546,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-MhoruH6xEzsbvOmo4TNgMfmtvRGyDZw4MDSdf4ybMHfezjqwzv6hyd4lsMzBp8K9Sn6sGzCF62x1I7BYUECXOg==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5559,8 +5559,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-S6b3Jm57sY5EdDyOMLkacbB0qMnKhy1RCKZCt795ZkmtUOAvojYIZ5p7dXHIh5Cyr3jCLLI5/g64V3FKLudZmw==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5572,8 +5572,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-cot/aB/mOm0IYVYTTmQcEEK1M48lZWi8FlYe5nDPQQ8NYZUlXEFgncJ9p2Kzer3RKSrY7cTTpEMLZKNo9QoP5Q==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5581,8 +5581,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-9Se8t+Zry+1rEOL7Y6l/4ANYU/TOtAtf8O2fKdwLltcaMcm6kOqYGbzO4tMFQ0bvzO920pRAoHpFZ4W85S3keQ==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5594,8 +5594,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-hAileDBtd6CX7nlZOarOnISQ6PP4q0e16BX51ulzdZ+7IzjL0sDTVpFdmSYrIjw6zVNsfQBao5gG6AWr3qwfvA==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5607,8 +5607,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-orBC88futVpqCmhX1p4cvquNHsELQ+w+vBJnuj3ftETI5bJb0bZn3Tqu3SWN2IOcPycTnMGnhwoermvISt72sA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5616,8 +5616,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-fmbNnFyf+JYCN0DhhWnEdUTDnZD1mXaPQWivdsPIb8oOSbARfD3LIQJbLCG8a8QLCwoMxiJ7GVPIFcC8Dw8v2Q==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5629,8 +5629,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-8brVpAU5Uq7Bh0c8EFc4ZTf2JJTYn0o+1L+CUJB3UYIOkTjKGMgoHvduylrahdmNlr3DfH0rFq2DrbNZXgaspw==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5642,8 +5642,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-9PB589e1aWZbrlFUHdz6WiPCL+xLZHQFX7oibqG/6Q0SwOkxDyQX9W/cyPa+sAPPKuC8cpLCpRczE5a/1DiwVQ==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5655,8 +5655,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-UEytdjgEh2tJGgD/gZK4FUx6t1rNIlM3U0DENhSrG7I75FGm1DnaDuVUWF1pWAWUwGmn1sCJ1VGHn8LhN1aTOw==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5668,8 +5668,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-zdTk4PlUO0E18HnZ3wYbW0KkJJxWCdiNYp6g6X1PtONFhxVkg01vliTJAmwIszU6mHiyBOoW9P0rAugl5/hULQ==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5681,8 +5681,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-zifXeB8Y88qCYx8PLZ5oQb32KwZub+s925mMoZsBBq9KUQqWKkREubTfs6ASjRPPBe7Jt9O8OHH89+95VG+grA==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5694,8 +5694,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-FvgPt1bRmg8Xt2QpF7NUZW3dE0ZQHGm41dAdgT2J2GJPoIXz+9Em3NobAxf4fupcxhgHu03E5CRiU2MWvObXyg==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5707,8 +5707,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-gvgW+JV/Mbjj6darztTetnmElpQEzZrXpJvfj+dOxNAxiyHEAyUvEjjl4zxblvmjmKmi3jfPoy7ZdxzCuUBJSA==}
peerDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3
@@ -5720,21 +5720,17 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-rCMO3QsIVKv5JTY5CVbo2MvO77SpEqqYc8AvRE7OWqRDOIqAKjsp+DrmnY9uc8NPdxB5E2z47HTYGeE2+NTptg==}
peerDependencies:
'@types/react': 19.2.16
- '@types/react-dom': 19.2.3
react: 19.2.7
- react-dom: 19.2.7
peerDependenciesMeta:
'@types/react':
optional: true
- '@types/react-dom':
- optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-xCso9j1/u8sEgP1RNHjFrXJLApL8LiqOkI1R4ywuN00rxWdYg4oQXuwKLS3i0j5NWLromUD27/4nlxj2UFVvIw==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5742,8 +5738,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-PLzC90MS+ReootmjC597dvopoelpZ8Q61HJkDXZSExitIq7PL55vHNnesAHwguHK0aPfBnpdNzQtv1uliaqQrA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5751,8 +5747,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-6c8ZqvPTWILEKnyVkP53EGRCcpnJiKTC21sS/6R1GF5xKyHJJWQEPfkqlcgUkdRQivd6tb23abUwe4ngWmY0JA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5760,8 +5756,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-2uVLvLjgO7NZCWw01/FdqRwmA42J0BcjPMUCA+koFEOAb+zjqIP7SiFz/7zWPrKnVmSqr76Omq2ALyCuX4dhLw==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5769,8 +5765,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-jrBWOxZITuGcnjRCM2t2U5ZPkCLxD+Ym6DjfssS5haTj2iiak/DOb64JeN6OdLfLgptb6/e2kKR+ZuTrGoZTPA==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5778,8 +5774,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-d8a+bBY/FxikNPlgJJoaBHZX+zKVbWHYJGTLnLvveQgFSTntkGdEKv3JDtHrMS0DNYpllz2nRsTLGLKYttbpmw==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5787,8 +5783,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-giWQp+4mxjBPt4KZ0MmyuykFNWfbDxKt4x+fPkRYmgRFJSbCZFzUglvMb/Kjn38tm10YP4ufiQZDx3zna4LU6w==}
peerDependencies:
'@types/react': 19.2.16
react: 19.2.7
@@ -5796,26 +5792,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==}
- peerDependencies:
- '@types/react': 19.2.16
- react: 19.2.7
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==}
- peerDependencies:
- '@types/react': 19.2.16
- react: 19.2.7
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-xnXE7wG13PI+cxieVssYXlQJuYVRhH9NBoxt3KNwzghDIA69GMm7d4wXRouHIYjE+KvS6U/MsMO73NdS2MH9ZA==}
'@react-dnd/[email protected]':
resolution: {integrity: sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==}
@@ -10714,8 +10692,8 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==}
+ resolution: {integrity: sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==}
engines: {node: '>=10'}
peerDependencies:
'@types/react': 19.2.16
@@ -13837,332 +13815,315 @@ snapshots:
dependencies:
quansync: 1.0.0
- '@radix-ui/[email protected]': {}
+ '@radix-ui/[email protected]': {}
dependencies:
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@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-slot': 1.2.3(@types/[email protected])([email protected])
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.5(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
- dependencies:
- '@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-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-controllable-state': 1.2.2(@types/[email protected])([email protected])
+ dependencies:
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-guards': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.5(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.2.3(@types/[email protected])([email protected])
aria-hidden: 1.2.6
react: 19.2.7
react-dom: 19.2.7([email protected])
- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])
+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/primitive': 1.1.3
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-escape-keydown': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@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-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.2.3(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@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-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
+ dependencies:
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-use-controllable-state': 1.2.3(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
- dependencies:
- '@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-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([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])
+ dependencies:
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-direction': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-guards': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-roving-focus': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-slot': 1.2.5(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
aria-hidden: 1.2.6
react: 19.2.7
react-dom: 19.2.7([email protected])
- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])
+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@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-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-controllable-state': 1.2.2(@types/[email protected])([email protected])
+ dependencies:
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-guards': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.5(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.2.3(@types/[email protected])([email protected])
aria-hidden: 1.2.6
react: 19.2.7
react-dom: 19.2.7([email protected])
- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])
+ react-remove-scroll: 2.7.2(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.6([email protected]([email protected]))([email protected])
- '@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-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/rect': 1.1.1
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-rect': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-size': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/rect': 1.1.2
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.5(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])
+ dependencies:
+ '@radix-ui/primitive': 1.1.4
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.4(@types/[email protected])([email protected])
+ '@radix-ui/react-direction': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.2.3(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@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-id': 1.1.1(@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])
- react: 19.2.7
- react-dom: 19.2.7([email protected])
- optionalDependencies:
- '@types/react': 19.2.16
- '@types/react-dom': 19.2.3(@types/[email protected])
-
dependencies:
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
'@types/react': 19.2.16
'@types/react-dom': 19.2.3(@types/[email protected])
- dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
- react: 19.2.7
- optionalDependencies:
- '@types/react': 19.2.16
-
dependencies:
- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-effect-event': 0.0.3(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/rect': 1.1.1
+ '@radix-ui/rect': 1.1.2
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
dependencies:
- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
react: 19.2.7
optionalDependencies:
'@types/react': 19.2.16
- '@radix-ui/[email protected]': {}
+ '@radix-ui/[email protected]': {}
'@react-dnd/[email protected]': {}
@@ -19629,7 +19590,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.16
dependencies:
react: 19.2.7
react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])