Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ export const Image = forwardRef<HTMLImageElement, ImgHTMLAttributes<HTMLImageEle
{...props}
ref={ref}
/>
)
),
);
+1 -1
View File
@@ -23,5 +23,5 @@ export const MediaControl = as<'div', MediaControlProps>(
{after && <Box direction="Column">{after}</Box>}
{children}
</Box>
)
),
);
+30 -17
View File
@@ -44,13 +44,13 @@ export const Video = forwardRef<HTMLVideoElement, VideoProps>(
if (disableControls) {
return (
// eslint-disable-next-line jsx-a11y/media-has-caption
<video
className={classNames(css.Video, className)}
{...props}
ref={videoRef}
loop={props.autoPlay}
muted={props.autoPlay}
playsInline
<video
className={classNames(css.Video, className)}
{...props}
ref={videoRef}
loop={props.autoPlay}
muted={props.autoPlay}
playsInline
/>
);
}
@@ -62,19 +62,32 @@ export const Video = forwardRef<HTMLVideoElement, VideoProps>(
onMouseLeave={() => setShowControls(false)}
>
{/* eslint-disable-next-line jsx-a11y/media-has-caption */}
<video
className={classNames(css.Video, className)}
{...props}
ref={videoRef}
loop={props.autoPlay}
muted={props.autoPlay}
<video
className={classNames(css.Video, className)}
{...props}
ref={videoRef}
loop={props.autoPlay}
muted={props.autoPlay}
playsInline
controlsList={onExpand ? 'nofullscreen' : undefined}
onDoubleClick={onExpand ? (e) => { e.stopPropagation(); onExpand(); } : undefined}
onDoubleClick={
onExpand
? (e) => {
e.stopPropagation();
onExpand();
}
: undefined
}
/>
{onExpand && (
<Box className={classNames(videoCss.VideoControlsOverlay, !showControls && videoCss.VideoControlsOverlayHidden)} gap="200">
<Box
className={classNames(
videoCss.VideoControlsOverlay,
!showControls && videoCss.VideoControlsOverlayHidden,
)}
gap="200"
>
<TooltipProvider
tooltip={
<Tooltip variant="Secondary">
@@ -101,5 +114,5 @@ export const Video = forwardRef<HTMLVideoElement, VideoProps>(
)}
</Box>
);
}
},
);