From da3e622749cb040edb187b11eba3cdb0d9c766d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Piaggio?= Date: Tue, 17 Dec 2024 16:34:48 -0300 Subject: [PATCH] publish sequence row heights --- modules/ui/src/main/scala/lucuma/ui/sequence/package.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ui/src/main/scala/lucuma/ui/sequence/package.scala b/modules/ui/src/main/scala/lucuma/ui/sequence/package.scala index 421f9d05b..7939e2d91 100644 --- a/modules/ui/src/main/scala/lucuma/ui/sequence/package.scala +++ b/modules/ui/src/main/scala/lucuma/ui/sequence/package.scala @@ -12,14 +12,20 @@ import lucuma.core.math.SignalToNoise import lucuma.core.model.sequence.Step import lucuma.core.model.sequence.gmos.DynamicConfig import lucuma.core.util.NewType +import lucuma.react.SizePx import lucuma.react.common.* import lucuma.react.primereact.Tooltip import lucuma.react.primereact.tooltip.* +import lucuma.react.syntax.* import lucuma.ui.LucumaIcons import lucuma.ui.LucumaStyles import lucuma.ui.utils.* import lucuma.ui.utils.Render +object SequenceRowHeight: + val Regular: SizePx = 25.toPx + val WithExtra: SizePx = 60.toPx + object StepIndex extends NewType[PosInt]: val One: StepIndex = StepIndex(PosInt.unsafeFrom(1)) type StepIndex = StepIndex.Type