feat(webui): add spring-based range sliders
Replace native range inputs with an accessible Radix-backed control that preserves keyboard and assistive-technology semantics. Reproduce the elastic handle, track stretch, tick visibility, and reduced-motion behavior while keeping SnowLuma theme tokens. Adopt the component for interface scale and background image controls.
This commit is contained in:
5 files changed
+774
-103
No files matched your search
@@ -17,6 +17,7 @@
|
||||
"@radix-ui/react-label": "^2.1.3",
|
||||
"@radix-ui/react-scroll-area": "^1.2.4",
|
||||
"@radix-ui/react-separator": "^1.1.3",
|
||||
"@radix-ui/react-slider": "^1.4.3",
|
||||
"@radix-ui/react-slot": "^1.1.3",
|
||||
"@radix-ui/react-tooltip": "^1.1.9",
|
||||
"@snowluma/common": "workspace:*",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createContext, useContext, useId, useRef, useState, type ReactNode } from 'react';
|
||||
import { createContext, useContext, useId, useRef, useState, type ComponentProps, type ReactNode } from 'react';
|
||||
import { motion } from 'motion/react';
|
||||
import {
|
||||
Accessibility, AlertTriangle, Bell, Bug, Check, Clock, Code2, Download, ExternalLink, Github, Image as ImageIcon,
|
||||
@@ -252,6 +252,27 @@ function SettingRow({
|
||||
);
|
||||
}
|
||||
|
||||
function SliderSettingRow({
|
||||
label,
|
||||
hint,
|
||||
...sliderProps
|
||||
}: {
|
||||
label: string;
|
||||
hint?: ReactNode;
|
||||
} & Omit<ComponentProps<typeof Slider>, 'label'>) {
|
||||
const hintId = useId();
|
||||
return (
|
||||
<div className="flex flex-col gap-2.5 px-5 py-4">
|
||||
<Slider
|
||||
{...sliderProps}
|
||||
label={label}
|
||||
aria-describedby={hint ? hintId : undefined}
|
||||
/>
|
||||
{hint && <p id={hintId} className="text-[12px] leading-snug text-muted-foreground">{hint}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// A settings group: a card whose header sits above a hairline-divided list of rows.
|
||||
function Group({
|
||||
title, description, icon: Icon, children,
|
||||
@@ -497,21 +518,17 @@ function AppearancePanel() {
|
||||
<SettingRow label="圆角">
|
||||
<Segmented value={a.radius} options={RADIUS_OPTIONS.map((r) => ({ value: r.value, label: r.label }))} onChange={(radius) => setAppearance({ radius })} />
|
||||
</SettingRow>
|
||||
<SettingRow label={`界面缩放(${Math.round(a.uiScale * 100)}%)`} hint="整体放大或缩小界面,适合高分屏或视力需要。" layout="stack">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="text-meta text-muted-foreground tabular-nums">{Math.round(UI_SCALE.min * 100)}%</span>
|
||||
<Slider
|
||||
min={UI_SCALE.min}
|
||||
max={UI_SCALE.max}
|
||||
step={UI_SCALE.step}
|
||||
value={a.uiScale}
|
||||
onChange={(e) => setAppearance({ uiScale: Number(e.target.value) })}
|
||||
className="flex-1"
|
||||
aria-label="界面缩放"
|
||||
/>
|
||||
<span className="text-meta text-muted-foreground tabular-nums">{Math.round(UI_SCALE.max * 100)}%</span>
|
||||
</div>
|
||||
</SettingRow>
|
||||
<SliderSettingRow
|
||||
label="界面缩放"
|
||||
hint="整体放大或缩小界面,适合高分屏或视力需要。"
|
||||
min={UI_SCALE.min}
|
||||
max={UI_SCALE.max}
|
||||
step={UI_SCALE.step}
|
||||
value={a.uiScale}
|
||||
valueLabelFormat={(nextValue) => `${Math.round(nextValue * 100)}%`}
|
||||
onValueChange={(uiScale) => setAppearance({ uiScale })}
|
||||
aria-valuetext={`${Math.round(a.uiScale * 100)}%`}
|
||||
/>
|
||||
<SettingRow label="显示密度">
|
||||
<Segmented value={a.density} options={DENSITY_OPTIONS} onChange={(density) => setAppearance({ density })} />
|
||||
</SettingRow>
|
||||
@@ -660,26 +677,27 @@ function BackgroundCard({
|
||||
|
||||
{a.background.hasImage && (
|
||||
<>
|
||||
<SettingRow label={`遮罩强度(${Math.round(a.background.imageOpacity * 100)}%)`} hint="越高越能盖住壁纸、提升前景可读性。" layout="stack">
|
||||
<Slider
|
||||
min={0}
|
||||
max={1}
|
||||
step={0.05}
|
||||
value={a.background.imageOpacity}
|
||||
onChange={(e) => setAppearance({ background: { imageOpacity: Number(e.target.value) } })}
|
||||
aria-label="遮罩强度"
|
||||
/>
|
||||
</SettingRow>
|
||||
<SettingRow label={`模糊(${a.background.imageBlur}px)`} layout="stack">
|
||||
<Slider
|
||||
min={0}
|
||||
max={40}
|
||||
step={1}
|
||||
value={a.background.imageBlur}
|
||||
onChange={(e) => setAppearance({ background: { imageBlur: Number(e.target.value) } })}
|
||||
aria-label="背景模糊"
|
||||
/>
|
||||
</SettingRow>
|
||||
<SliderSettingRow
|
||||
label="遮罩强度"
|
||||
hint="越高越能盖住壁纸、提升前景可读性。"
|
||||
min={0}
|
||||
max={1}
|
||||
step={0.05}
|
||||
value={a.background.imageOpacity}
|
||||
valueLabelFormat={(nextValue) => `${Math.round(nextValue * 100)}%`}
|
||||
onValueChange={(imageOpacity) => setAppearance({ background: { imageOpacity } })}
|
||||
aria-valuetext={`${Math.round(a.background.imageOpacity * 100)}%`}
|
||||
/>
|
||||
<SliderSettingRow
|
||||
label="背景模糊"
|
||||
min={0}
|
||||
max={40}
|
||||
step={1}
|
||||
value={a.background.imageBlur}
|
||||
valueLabelFormat={(nextValue) => `${nextValue}px`}
|
||||
onValueChange={(imageBlur) => setAppearance({ background: { imageBlur } })}
|
||||
aria-valuetext={`${a.background.imageBlur} 像素`}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -1,28 +1,365 @@
|
||||
import * as React from 'react';
|
||||
import * as SliderPrimitive from '@radix-ui/react-slider';
|
||||
import {
|
||||
motion,
|
||||
useMotionTemplate,
|
||||
useMotionValue,
|
||||
useMotionValueEvent,
|
||||
useReducedMotion,
|
||||
useSpring,
|
||||
useTransform,
|
||||
type MotionValue,
|
||||
} from 'motion/react';
|
||||
import { useTheme } from '@/contexts/ThemeContext';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'value'> {
|
||||
type RootProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
|
||||
type ObscuredRanges = [[number, number], [number, number]];
|
||||
|
||||
export interface SliderProps extends Omit<
|
||||
RootProps,
|
||||
'children' | 'defaultValue' | 'min' | 'max' | 'orientation' | 'step' | 'value' | 'onValueChange'
|
||||
> {
|
||||
value: number;
|
||||
min: number;
|
||||
max: number;
|
||||
step?: number;
|
||||
label: string;
|
||||
valueLabelFormat?: (value: number) => React.ReactNode;
|
||||
onValueChange?: (value: number) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Themed range input. Styling lives in index.css (`.slider`); here we just
|
||||
* compute the filled-track percentage and expose it as `--slider-pct` for the
|
||||
* WebKit track gradient (Firefox fills natively via ::-moz-range-progress).
|
||||
*/
|
||||
export function Slider({ value, min, max, className, style, ...props }: SliderProps) {
|
||||
const pct = max > min ? Math.min(100, Math.max(0, ((value - min) / (max - min)) * 100)) : 0;
|
||||
const POSITION_SPRING = { type: 'spring', stiffness: 2000, damping: 40, mass: 0.01 } as const;
|
||||
const STRETCH_SPRING = { stiffness: 2000, damping: 40, mass: 1 } as const;
|
||||
const VISIBILITY_SPRING = { stiffness: 1000, damping: 20, mass: 0.01 } as const;
|
||||
const HANDLE_WIDTH = 24;
|
||||
|
||||
function clamp(value: number, min: number, max: number): number {
|
||||
return Math.min(max, Math.max(min, value));
|
||||
}
|
||||
|
||||
function mapRange(
|
||||
value: number,
|
||||
inputMin: number,
|
||||
inputMax: number,
|
||||
outputMin: number,
|
||||
outputMax: number,
|
||||
shouldClamp = true,
|
||||
): number {
|
||||
if (inputMin === inputMax) return outputMin;
|
||||
const progress = (value - inputMin) / (inputMax - inputMin);
|
||||
const mapped = outputMin + (outputMax - outputMin) * progress;
|
||||
return shouldClamp ? clamp(mapped, Math.min(outputMin, outputMax), Math.max(outputMin, outputMax)) : mapped;
|
||||
}
|
||||
|
||||
function snapValue(value: number, min: number, max: number, step: number): number {
|
||||
const snapped = min + Math.round((value - min) / step) * step;
|
||||
return clamp(Number(snapped.toFixed(12)), min, max);
|
||||
}
|
||||
|
||||
function circleEase(value: number): number {
|
||||
return Math.sqrt(Math.max(0, 1 - (value - 1) ** 2));
|
||||
}
|
||||
|
||||
function SliderTick({
|
||||
springX,
|
||||
percentage,
|
||||
position,
|
||||
last,
|
||||
obscuredRanges,
|
||||
}: {
|
||||
springX: MotionValue<number>;
|
||||
percentage: number;
|
||||
position: string;
|
||||
last: boolean;
|
||||
obscuredRanges: React.RefObject<ObscuredRanges>;
|
||||
}) {
|
||||
const opacity = useTransform(springX, (current) => {
|
||||
const coveredByText = obscuredRanges.current.some(([start, end]) => start <= percentage && end >= percentage);
|
||||
if (last || coveredByText) return 0;
|
||||
return Number(current + 8 <= percentage || current - 8 > percentage);
|
||||
});
|
||||
const transition = useTransform(springX, (current) => (
|
||||
current + 8 <= percentage || current - 8 > percentage ? 'opacity 0.1s' : 'opacity 0s'
|
||||
));
|
||||
|
||||
return (
|
||||
<input
|
||||
type="range"
|
||||
value={value}
|
||||
min={min}
|
||||
max={max}
|
||||
className={cn('slider', className)}
|
||||
style={{ '--slider-pct': `${pct}%`, ...style } as React.CSSProperties}
|
||||
{...props}
|
||||
<motion.span
|
||||
className="slider-tick"
|
||||
style={{ left: position, opacity, transition }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function SliderTicks({
|
||||
springX,
|
||||
min,
|
||||
max,
|
||||
step,
|
||||
obscuredRanges,
|
||||
}: {
|
||||
springX: MotionValue<number>;
|
||||
min: number;
|
||||
max: number;
|
||||
step: number;
|
||||
obscuredRanges: React.RefObject<ObscuredRanges>;
|
||||
}) {
|
||||
const rawIntervals = (max - min) / step;
|
||||
const intervals = Math.round(rawIntervals);
|
||||
if (Math.abs(rawIntervals - intervals) > 1e-6 || intervals <= 1 || intervals > 16) return null;
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
className="slider-ticks"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.3 }}
|
||||
>
|
||||
{Array.from({ length: intervals }, (_, index) => {
|
||||
const ratio = (index + 1) / intervals;
|
||||
const percentage = ratio * 100;
|
||||
const compensation = percentage < 50
|
||||
? ratio * HANDLE_WIDTH - HANDLE_WIDTH / 2
|
||||
: -ratio * HANDLE_WIDTH + HANDLE_WIDTH / 2;
|
||||
|
||||
return (
|
||||
<SliderTick
|
||||
key={index}
|
||||
springX={springX}
|
||||
percentage={percentage}
|
||||
position={`calc(${percentage}% + ${compensation}px)`}
|
||||
last={index === intervals - 1}
|
||||
obscuredRanges={obscuredRanges}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</motion.div>
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* SnowLuma's themed integration of Mikk Martin's slider interaction model.
|
||||
* The Radix thumb owns keyboard, pointer and assistive-technology semantics;
|
||||
* the remaining layers reproduce the original visual and spring behavior.
|
||||
*
|
||||
* Reference: https://mikkmartin.co/repo/slider
|
||||
*/
|
||||
export function Slider({
|
||||
value,
|
||||
min,
|
||||
max,
|
||||
step = 1,
|
||||
label,
|
||||
valueLabelFormat,
|
||||
onValueChange,
|
||||
className,
|
||||
style,
|
||||
disabled,
|
||||
onPointerDown,
|
||||
onPointerMove,
|
||||
onPointerUp,
|
||||
onPointerCancel,
|
||||
'aria-label': ariaLabel,
|
||||
'aria-valuetext': ariaValueText,
|
||||
'aria-describedby': ariaDescribedBy,
|
||||
...props
|
||||
}: SliderProps) {
|
||||
const { appearance } = useTheme();
|
||||
const systemReducedMotion = useReducedMotion();
|
||||
const reduceMotion = Boolean(appearance.reduceMotion || appearance.disableMotion || systemReducedMotion);
|
||||
const initialValue = snapValue(value, min, max, step);
|
||||
const [currentValue, setCurrentValue] = React.useState(initialValue);
|
||||
const rootRef = React.useRef<HTMLDivElement>(null);
|
||||
const labelRef = React.useRef<HTMLSpanElement>(null);
|
||||
const valueLabelRef = React.useRef<HTMLSpanElement>(null);
|
||||
const draggingRef = React.useRef(false);
|
||||
const obscuredRanges = React.useRef<ObscuredRanges>([[0, 0], [0, 0]]);
|
||||
|
||||
const valueMotion = useMotionValue(currentValue);
|
||||
const pointerProgress = useMotionValue(0);
|
||||
const pointerPercent = useTransform(pointerProgress, [0, 1], [0, 100], { clamp: false });
|
||||
const valuePercent = useTransform(valueMotion, [min, max], [0, 100], { clamp: false });
|
||||
const blendedPercent = useTransform(pointerPercent, (pointer) => (
|
||||
draggingRef.current ? (pointer + 2 * valuePercent.get()) / 3 : valuePercent.get()
|
||||
));
|
||||
const springX = useSpring(blendedPercent, POSITION_SPRING);
|
||||
|
||||
const stretch = useSpring(1, STRETCH_SPRING);
|
||||
const inverseStretch = useTransform(stretch, (scale) => 2 - scale);
|
||||
const transformOrigin = useMotionValue<'left' | 'right'>('left');
|
||||
const shiftX = useTransform(stretch, (scale) => (
|
||||
(1 - scale) * (transformOrigin.get() === 'right' ? 100 : -100)
|
||||
));
|
||||
|
||||
const handleCompensation = useTransform(springX, (percentage) => (
|
||||
percentage <= 50
|
||||
? HANDLE_WIDTH * percentage / 100
|
||||
: HANDLE_WIDTH * (100 - percentage) / 100
|
||||
));
|
||||
const fillWidth = useMotionTemplate`calc(${springX}% + ${handleCompensation}px)`;
|
||||
|
||||
const handleVisibility = useSpring(1, VISIBILITY_SPRING);
|
||||
const handleHeight = useTransform(handleVisibility, [0, 1], [32, 24]);
|
||||
|
||||
const formattedValue = valueLabelFormat ? valueLabelFormat(currentValue) : currentValue;
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
const snapped = snapValue(value, min, max, step);
|
||||
valueMotion.set(snapped);
|
||||
if (snapped !== currentValue) setCurrentValue(snapped);
|
||||
const nextPercentage = mapRange(snapped, min, max, 0, 100);
|
||||
if (reduceMotion) springX.jump(nextPercentage);
|
||||
else blendedPercent.set(nextPercentage);
|
||||
}, [blendedPercent, currentValue, max, min, reduceMotion, springX, step, value, valueMotion]);
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
const root = rootRef.current;
|
||||
const labelNode = labelRef.current;
|
||||
const valueNode = valueLabelRef.current;
|
||||
if (!root || !labelNode || !valueNode) return;
|
||||
|
||||
const update = () => {
|
||||
const width = root.offsetWidth;
|
||||
if (width <= 0) return;
|
||||
const toPercentage = (pixels: number) => pixels / width * 100;
|
||||
obscuredRanges.current = [
|
||||
[toPercentage(labelNode.offsetLeft), toPercentage(labelNode.offsetLeft + labelNode.offsetWidth)],
|
||||
[toPercentage(valueNode.offsetLeft), toPercentage(valueNode.offsetLeft + valueNode.offsetWidth)],
|
||||
];
|
||||
};
|
||||
|
||||
update();
|
||||
const observer = new ResizeObserver(update);
|
||||
observer.observe(root);
|
||||
observer.observe(labelNode);
|
||||
observer.observe(valueNode);
|
||||
return () => observer.disconnect();
|
||||
}, [formattedValue, label]);
|
||||
|
||||
useMotionValueEvent(blendedPercent, 'change', (latest) => {
|
||||
if (reduceMotion) springX.jump(latest);
|
||||
});
|
||||
|
||||
useMotionValueEvent(springX, 'change', (percentage) => {
|
||||
const root = rootRef.current;
|
||||
if (!root) return;
|
||||
const toPercentage = (pixels: number) => pixels / root.offsetWidth * 100;
|
||||
const handleHalf = toPercentage(12);
|
||||
const padding = toPercentage(4);
|
||||
const [labelRange, valueRange] = obscuredRanges.current;
|
||||
const hidden = (
|
||||
(percentage > labelRange[0] - padding + handleHalf && percentage < labelRange[1] + handleHalf + padding)
|
||||
|| (percentage > valueRange[0] - padding + handleHalf && percentage < 99)
|
||||
);
|
||||
if (reduceMotion) handleVisibility.jump(hidden ? 0 : 1);
|
||||
else handleVisibility.set(hidden ? 0 : 1);
|
||||
});
|
||||
|
||||
const release = React.useCallback(() => {
|
||||
pointerProgress.set(valuePercent.get() / 100);
|
||||
draggingRef.current = false;
|
||||
if (reduceMotion) stretch.jump(1);
|
||||
else stretch.set(1);
|
||||
}, [pointerProgress, reduceMotion, stretch, valuePercent]);
|
||||
|
||||
React.useEffect(() => {
|
||||
window.addEventListener('pointerup', release);
|
||||
window.addEventListener('pointercancel', release);
|
||||
return () => {
|
||||
window.removeEventListener('pointerup', release);
|
||||
window.removeEventListener('pointercancel', release);
|
||||
};
|
||||
}, [release]);
|
||||
|
||||
const updatePointer = React.useCallback((clientX: number) => {
|
||||
const root = rootRef.current;
|
||||
if (!root) return;
|
||||
const { left, width } = root.getBoundingClientRect();
|
||||
if (width <= 0) return;
|
||||
|
||||
const normalized = (clientX - left) / width;
|
||||
pointerProgress.set(clamp(normalized, 0, 1));
|
||||
|
||||
if (reduceMotion) return;
|
||||
if (normalized < 0) {
|
||||
transformOrigin.set('right');
|
||||
const eased = circleEase(mapRange(normalized, 0, -3, 0, 1));
|
||||
stretch.jump(mapRange(eased, 0, 1, 1, 1.02));
|
||||
} else if (normalized > 1) {
|
||||
transformOrigin.set('left');
|
||||
const eased = circleEase(mapRange(normalized, 1, 3, 0, 1));
|
||||
stretch.jump(mapRange(eased, 0, 1, 1, 1.02));
|
||||
}
|
||||
}, [pointerProgress, reduceMotion, stretch, transformOrigin]);
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
ref={rootRef}
|
||||
className={cn('slider-root group/slider', className)}
|
||||
data-disabled={disabled ? '' : undefined}
|
||||
style={{ ...style, x: shiftX, scaleX: stretch, scaleY: inverseStretch, transformOrigin }}
|
||||
onPointerDown={(event) => {
|
||||
draggingRef.current = true;
|
||||
updatePointer(event.clientX);
|
||||
onPointerDown?.(event);
|
||||
}}
|
||||
onPointerMove={(event) => {
|
||||
if (draggingRef.current) updatePointer(event.clientX);
|
||||
onPointerMove?.(event);
|
||||
}}
|
||||
onPointerUp={(event) => {
|
||||
release();
|
||||
onPointerUp?.(event);
|
||||
}}
|
||||
onPointerCancel={(event) => {
|
||||
release();
|
||||
onPointerCancel?.(event);
|
||||
}}
|
||||
>
|
||||
<SliderPrimitive.Root
|
||||
{...props}
|
||||
className="slider-radix-root"
|
||||
min={min}
|
||||
max={max}
|
||||
step={step}
|
||||
value={[currentValue]}
|
||||
disabled={disabled}
|
||||
onValueChange={([nextValue]) => {
|
||||
setCurrentValue(nextValue);
|
||||
valueMotion.set(nextValue);
|
||||
blendedPercent.jump(mapRange(nextValue, min, max, 0, 100));
|
||||
onValueChange?.(nextValue);
|
||||
}}
|
||||
>
|
||||
<SliderPrimitive.Thumb
|
||||
className="slider-native-thumb"
|
||||
aria-label={ariaLabel ?? label}
|
||||
aria-valuetext={ariaValueText}
|
||||
aria-describedby={ariaDescribedBy}
|
||||
/>
|
||||
</SliderPrimitive.Root>
|
||||
|
||||
<motion.div className="slider-active-range" style={{ width: fillWidth }} aria-hidden>
|
||||
<span className="slider-handle-slot">
|
||||
<motion.span
|
||||
className="slider-handle-line"
|
||||
style={{ opacity: handleVisibility, height: handleHeight }}
|
||||
/>
|
||||
</span>
|
||||
</motion.div>
|
||||
|
||||
<SliderTicks
|
||||
springX={springX}
|
||||
min={min}
|
||||
max={max}
|
||||
step={step}
|
||||
obscuredRanges={obscuredRanges}
|
||||
/>
|
||||
|
||||
<div className="slider-labels" aria-hidden>
|
||||
<span ref={labelRef}>{label}</span>
|
||||
<span ref={valueLabelRef} className="slider-value-label">{formattedValue}</span>
|
||||
</div>
|
||||
</motion.div>
|
||||
);
|
||||
}
|
||||
+134
-51
@@ -431,67 +431,150 @@ html {
|
||||
}
|
||||
|
||||
/* ──────────────────────────────────────────────
|
||||
Custom range slider (via the <Slider> component, class `.slider`).
|
||||
The component sets `--slider-pct` for the WebKit filled track; Firefox
|
||||
uses native ::-moz-range-progress.
|
||||
Elastic range slider. Interaction and geometry intentionally follow the
|
||||
Mikk Martin slider demo; only the palette and focus treatment are themed.
|
||||
────────────────────────────────────────────── */
|
||||
.slider {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
.slider-root {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
/* Match the track height so WebKit can't top-align a short track inside a
|
||||
taller input; the 1rem thumb overflows symmetrically as the grab target. */
|
||||
height: 0.375rem;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
.slider::-webkit-slider-runnable-track {
|
||||
height: 0.375rem;
|
||||
border-radius: 9999px;
|
||||
background: linear-gradient(to right,
|
||||
var(--primary) var(--slider-pct, 0%),
|
||||
var(--muted) var(--slider-pct, 0%));
|
||||
}
|
||||
.slider::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
margin-top: -0.3125rem; /* center the 1rem thumb on the 0.375rem track */
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
border-radius: 9999px;
|
||||
background: var(--background);
|
||||
border: 2px solid var(--primary);
|
||||
box-shadow: 0 1px 2px rgb(0 0 0 / 0.18);
|
||||
transition: transform 0.12s ease;
|
||||
}
|
||||
.slider:active::-webkit-slider-thumb { transform: scale(1.12); }
|
||||
.slider:focus-visible::-webkit-slider-thumb {
|
||||
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 40%, transparent);
|
||||
}
|
||||
.slider::-moz-range-track {
|
||||
height: 0.375rem;
|
||||
border-radius: 9999px;
|
||||
min-width: 0;
|
||||
height: 3rem;
|
||||
align-items: center;
|
||||
overflow: clip;
|
||||
border: 0.5px solid var(--border);
|
||||
border-radius: 0.75rem;
|
||||
background: var(--muted);
|
||||
cursor: grab;
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
backdrop-filter: blur(20px);
|
||||
transition-property: background-color, border-color, box-shadow;
|
||||
transition-duration: 150ms;
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
.slider::-moz-range-progress {
|
||||
height: 0.375rem;
|
||||
.slider-root:hover {
|
||||
border-color: color-mix(in oklab, var(--primary) 24%, var(--border));
|
||||
background: color-mix(in oklab, var(--primary) 6%, var(--muted));
|
||||
}
|
||||
.slider-root:active { cursor: grabbing; }
|
||||
.slider-root:has(.slider-native-thumb:focus-visible) {
|
||||
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 30%, transparent);
|
||||
}
|
||||
.slider-root[data-disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.slider-radix-root {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.slider-native-thumb {
|
||||
width: 1.25rem;
|
||||
height: 2.75rem;
|
||||
border: 0;
|
||||
border-radius: 9999px;
|
||||
background: transparent;
|
||||
opacity: 0;
|
||||
outline: none;
|
||||
}
|
||||
.slider-active-range {
|
||||
height: 100%;
|
||||
border-radius: 0.75rem;
|
||||
background: color-mix(in oklab, var(--primary) 18%, var(--muted));
|
||||
transition-property: background-color;
|
||||
transition-duration: 150ms;
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
.slider-root:hover .slider-active-range {
|
||||
background: color-mix(in oklab, var(--primary) 26%, var(--muted));
|
||||
}
|
||||
.slider-handle-slot {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
width: 1.5rem;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: grab;
|
||||
}
|
||||
.slider-root:active .slider-handle-slot { cursor: grabbing; }
|
||||
.slider-handle-line {
|
||||
display: block;
|
||||
width: 0.125rem;
|
||||
border-radius: 9999px;
|
||||
background: color-mix(in oklab, var(--primary) 64%, transparent);
|
||||
transition-property: background-color;
|
||||
transition-duration: 150ms;
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
.slider-root:hover .slider-handle-line {
|
||||
background: var(--primary);
|
||||
}
|
||||
.slider::-moz-range-thumb {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
border: 2px solid var(--primary);
|
||||
.slider-ticks {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
pointer-events: none;
|
||||
}
|
||||
.slider-tick {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0.25rem;
|
||||
height: 0.25rem;
|
||||
border-radius: 9999px;
|
||||
background: var(--background);
|
||||
box-shadow: 0 1px 2px rgb(0 0 0 / 0.18);
|
||||
background: color-mix(in oklab, var(--muted-foreground) 24%, transparent);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.slider:focus-visible::-moz-range-thumb {
|
||||
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 40%, transparent);
|
||||
.slider-root:hover .slider-tick {
|
||||
background: color-mix(in oklab, var(--primary) 34%, transparent);
|
||||
}
|
||||
.slider-labels {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-inline: 1.25rem;
|
||||
color: var(--muted-foreground);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
pointer-events: none;
|
||||
transition-property: color;
|
||||
transition-duration: 150ms;
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
.slider-root:hover .slider-labels {
|
||||
color: var(--foreground);
|
||||
}
|
||||
.slider-value-label {
|
||||
color: var(--foreground);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: -0.025em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
html[data-reduce-motion="1"] .slider-root,
|
||||
html[data-reduce-motion="1"] .slider-active-range,
|
||||
html[data-reduce-motion="1"] .slider-handle-line,
|
||||
html[data-reduce-motion="1"] .slider-labels {
|
||||
transition-duration: 0s !important;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.slider-root,
|
||||
.slider-active-range,
|
||||
.slider-handle-line,
|
||||
.slider-labels {
|
||||
transition-duration: 0s !important;
|
||||
}
|
||||
}
|
||||
/* The global reduce-motion rule can't match pseudo-elements, so kill the
|
||||
thumb's active-scale transition explicitly. */
|
||||
html[data-reduce-motion="1"] .slider::-webkit-slider-thumb { transition: none !important; }
|
||||
|
||||
/* ──────────────────────────────────────────────
|
||||
gridstack dashboard — mesh the library's item shell with our cards.
|
||||
|
||||
Generated
+232
@@ -370,6 +370,9 @@ importers:
|
||||
'@radix-ui/react-separator':
|
||||
specifier: ^1.1.3
|
||||
version: 1.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
|
||||
'@radix-ui/react-slider':
|
||||
specifier: ^1.4.3
|
||||
version: 1.4.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
|
||||
'@radix-ui/react-slot':
|
||||
specifier: ^1.1.3
|
||||
version: 1.2.4(@types/[email protected])([email protected])
|
||||
@@ -928,9 +931,15 @@ packages:
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-ceTwaxc4I5IOi97DgCotl3pqiyRGvffcc0oOsE2dQYaJOFIDsDt4VWG6xEbg1QePv9QWausCEIppud/tJ1wNig==}
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-d86WIWFYNtGA0H/d8exstrTRTp7eWJYlYJbtNofxr/3ljupZYn6EFDG/Qgu/0Kc8v7yMUxySagqJsL1+PdYjWg==}
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==}
|
||||
peerDependencies:
|
||||
@@ -970,6 +979,19 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-nb67INpE0IahJKN7EYPp9m9YGwYeKlnzxT3MwXVkgCskaSJia97kG4T0ywpjNUSSnoJk/uvk12V8vbrEHEj+/Q==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}
|
||||
peerDependencies:
|
||||
@@ -992,6 +1014,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==}
|
||||
peerDependencies:
|
||||
@@ -1001,6 +1032,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-fOE+JtN9rygNZkCnHRBEP0TAvLldlhyOxMsbwFvTP4nAs+nBmfnna+o/Zski2wkmY1YMrFC0aSzsHoLY47iLrg==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}
|
||||
peerDependencies:
|
||||
@@ -1023,6 +1063,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-C3vFhbyi4SW3PmbAi6Awpu4OzJtd0MxGurvSsYtr7p7nM8RNB3VAF3CUmnp2j50knpkrRcB7+ycVXzgLgF6yNA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}
|
||||
peerDependencies:
|
||||
@@ -1158,6 +1207,19 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-bC3NiwsprbxKjuon9l7X6BUTw7FPVzEYaL92MPEY5SCd/9hUTPXVFtVwRix7778wtRsVao+zE062gL79FZleeQ==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}
|
||||
peerDependencies:
|
||||
@@ -1210,6 +1272,19 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-CWVVj+XaTom0SKCqw1EUgb0NuiLwS+N3OFG73mVEezKEjgNIvZiu0EevMelSSU+CbX3owbqJweG2gPU31WGC5A==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==}
|
||||
peerDependencies:
|
||||
@@ -1228,6 +1303,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==}
|
||||
peerDependencies:
|
||||
@@ -1285,6 +1369,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-PLzC90MS+ReootmjC597dvopoelpZ8Q61HJkDXZSExitIq7PL55vHNnesAHwguHK0aPfBnpdNzQtv1uliaqQrA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}
|
||||
peerDependencies:
|
||||
@@ -1294,6 +1387,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-6c8ZqvPTWILEKnyVkP53EGRCcpnJiKTC21sS/6R1GF5xKyHJJWQEPfkqlcgUkdRQivd6tb23abUwe4ngWmY0JA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}
|
||||
peerDependencies:
|
||||
@@ -1312,6 +1414,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-jrBWOxZITuGcnjRCM2t2U5ZPkCLxD+Ym6DjfssS5haTj2iiak/DOb64JeN6OdLfLgptb6/e2kKR+ZuTrGoZTPA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ==}
|
||||
peerDependencies:
|
||||
@@ -1321,6 +1432,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-IGBQPtRFdhN6MQ8dbegVmBq1LVZluya3F1jWY+puIcQC3MHctRwTDSBWCkL/3ZcnMJLTMJ++Z+ktmvg0F89iCw==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==}
|
||||
peerDependencies:
|
||||
@@ -1339,6 +1459,15 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-giWQp+4mxjBPt4KZ0MmyuykFNWfbDxKt4x+fPkRYmgRFJSbCZFzUglvMb/Kjn38tm10YP4ufiQZDx3zna4LU6w==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
peerDependenciesMeta:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/[email protected]':
|
||||
resolution: {integrity: sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug==}
|
||||
peerDependencies:
|
||||
@@ -3669,8 +3798,12 @@ snapshots:
|
||||
|
||||
'@radix-ui/[email protected]': {}
|
||||
|
||||
'@radix-ui/[email protected]': {}
|
||||
|
||||
'@radix-ui/[email protected]': {}
|
||||
|
||||
'@radix-ui/[email protected]': {}
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
@@ -3710,6 +3843,18 @@ snapshots:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.2.0(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-primitive': 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
|
||||
'@radix-ui/react-slot': 1.3.0(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
react-dom: 19.2.5([email protected])
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
|
||||
@@ -3728,12 +3873,24 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
@@ -3762,6 +3919,12 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
@@ -3887,6 +4050,15 @@ snapshots:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-slot': 1.3.0(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
react-dom: 19.2.5([email protected])
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
@@ -3959,6 +4131,25 @@ snapshots:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/number': 1.1.2
|
||||
'@radix-ui/primitive': 1.1.5
|
||||
'@radix-ui/react-collection': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
|
||||
'@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.2.0(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-direction': 1.1.2(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-primitive': 2.1.7(@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])
|
||||
'@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-use-previous': 1.1.2(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-use-size': 1.1.2(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
react-dom: 19.2.5([email protected])
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
'@types/react-dom': 19.2.3(@types/[email protected])
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
|
||||
@@ -3973,6 +4164,13 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-compose-refs': 1.1.3(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
@@ -4038,6 +4236,14 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@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.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
|
||||
@@ -4045,6 +4251,13 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
|
||||
@@ -4058,12 +4271,24 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/rect': 1.1.1
|
||||
@@ -4078,6 +4303,13 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected])([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-use-layout-effect': 1.1.2(@types/[email protected])([email protected])
|
||||
react: 19.2.5
|
||||
optionalDependencies:
|
||||
'@types/react': 19.2.14
|
||||
|
||||
'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':
|
||||
dependencies:
|
||||
'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
|
||||
|
||||
Reference in new issue
Block a user