Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user