Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
Checks / checks (push) Successful in 2m6s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-02 00:51:31 +11:00
parent 45f38f2ac8
commit 1e3d630b1a
30 changed files with 134 additions and 98 deletions
@@ -1,19 +1,22 @@
import { keyframes, style } from '@vanilla-extract/css';
import { color, config, toRem } from 'folds';
import { AppRegionStyleRule } from '../../../types/utils';
const indeterminate = keyframes({
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(250%)' },
});
export const IdleSlot = style({
const idleSlot: AppRegionStyleRule = {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
height: '100%',
WebkitAppRegion: 'no-drag',
flexShrink: 0,
});
};
export const IdleSlot = style(idleSlot);
export const GhostCheck = style({
all: 'unset',
@@ -38,7 +41,7 @@ export const GhostCheck = style({
},
});
export const Bar = style({
const bar: AppRegionStyleRule = {
display: 'flex',
alignItems: 'center',
gap: config.space.S200,
@@ -52,7 +55,9 @@ export const Bar = style({
WebkitAppRegion: 'no-drag',
flexShrink: 0,
boxSizing: 'border-box',
});
};
export const Bar = style(bar);
export const BarTrack = style({
position: 'relative',
@@ -92,7 +97,7 @@ export const BarLabel = style({
textAlign: 'right',
});
export const Chip = style({
const chip: AppRegionStyleRule = {
height: toRem(22),
maxWidth: toRem(260),
padding: `0 ${config.space.S100} 0 ${config.space.S200}`,
@@ -102,7 +107,9 @@ export const Chip = style({
WebkitAppRegion: 'no-drag',
flexShrink: 0,
boxSizing: 'border-box',
});
};
export const Chip = style(chip);
export const ChipText = style({
maxWidth: toRem(140),