@snksergio/design-system 0.43.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4090,6 +4090,16 @@ const floatingPanelStyles = tv({
4090
4090
  "rounded-radius-xl border border-border-default outline-float shadow-sh-2xl",
4091
4091
  // Desktop (md+) — gutter top/bottom 24px
4092
4092
  "md:top-pad-4xl md:bottom-pad-4xl",
4093
+ // …e o mesmo gutter de 24px como TETO de largura, simétrico (24+24=48).
4094
+ //
4095
+ // Sem isto o painel estoura a viewport com props DEFAULT: `side="right"` ancora a
4096
+ // 24px da borda e `resizableMaxWidth` default é 800 → 800+24 = 824px de necessidade.
4097
+ // Em qualquer janela entre 768 e 824 (≥md, então sem o sheet mobile) a borda esquerda
4098
+ // ia pra fora da tela. Mesmo caso com `size={n}` grande num monitor pequeno.
4099
+ //
4100
+ // O `min`/`max` do hook de resize é em PIXEL e cego à viewport — quem clampa é isto.
4101
+ // Não regride nada: `max-width` só age quando a largura já estouraria.
4102
+ "md:max-w-[calc(100vw-48px)]",
4093
4103
  // Mobile (max-md) — sheet bottom-up colado nas bordas do device:
4094
4104
  // flush nas laterais + bottom, só top arredondado, sem outline/shadow, cap 92vh
4095
4105
  "max-md:inset-x-0 max-md:bottom-0 max-md:top-auto max-md:!w-auto",
@@ -13034,4 +13044,4 @@ export {
13034
13044
  DataTableActionsCell as y,
13035
13045
  DataTableEditCell as z
13036
13046
  };
13037
- //# sourceMappingURL=panel-DFhNjXRJ.mjs.map
13047
+ //# sourceMappingURL=panel-CCPe1H70.mjs.map