Alpha revision (#811)

* style: less space for direction button

* chore: cleanup unused

* refactor: prevent CSS pollution

* refactor: force render on swatch

* refactor: force render on swatch

* refactor: improve import of blocks and skip import

* chore: remove unused

* chore: clarify effect

* chore: updata dataset

* fix: integrations not triggering

* chore: remove unused

* fix: onair derives from playback

* fix: gap day after
This commit is contained in:
Carlos Valente
2024-03-12 21:30:16 +01:00
committed by GitHub
parent 63983fc39a
commit 12d9e5922c
27 changed files with 554 additions and 217 deletions
@@ -31,7 +31,7 @@ export function ExtraTimer() {
return (
<div className={style.extraRow}>
<ExtraTimeInput />
<TapButton onClick={toggleDirection}>
<TapButton onClick={toggleDirection} aspect='tight'>
{direction === SimpleDirection.CountDown && <IoArrowDown />}
{direction === SimpleDirection.CountUp && <IoArrowUp />}
</TapButton>
@@ -79,6 +79,11 @@ $button-color-white: $gray-50;
font-size: calc(1rem - 2px);
}
.tapButton.tight {
padding-inline: 0.5rem;
width: fit-content
}
.tapButton.fill {
aspect-ratio: unset;
height: 100%;
@@ -7,7 +7,7 @@ import style from './TapButton.module.scss';
interface TapButtonProps {
disabled?: boolean;
aspect?: 'normal' | 'square' | 'fill';
aspect?: 'normal' | 'square' | 'fill' | 'tight';
free?: boolean;
onClick: () => void;
theme?: Playback | 'neutral';