@khipu/design-system 0.3.5-alpha.27 → 0.3.5-alpha.28

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.
@@ -15,7 +15,7 @@
15
15
  *
16
16
  * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
17
17
  * Source: design-system/src/tokens/tokens.json
18
- * Generated: 2026-10-02T15:51:02.237Z
18
+ * Generated: 2026-10-05T17:43:38.354Z
19
19
  *
20
20
  * To regenerate:
21
21
  * cd design-system && npm run tokens:generate
@@ -6854,6 +6854,48 @@
6854
6854
  min-height: 0;
6855
6855
  }
6856
6856
 
6857
+ /* Variante alta (size="full"): contenido largo (documentos, textos legales) usa todo el alto
6858
+ máximo del sheet y el body se estira para que un hijo lo llene. Los .kds-theme-root son
6859
+ envoltorios transparentes que el consumidor puede meter entre el body y el contenido (p. ej.
6860
+ un KdsRoot dentro de un div display:contents), así que se estiran a cualquier profundidad. */
6861
+ .kds-theme-root .kds-bottom-sheet-full {
6862
+ height: 90vh;
6863
+ height: 90dvh;
6864
+ }
6865
+
6866
+ .kds-theme-root .kds-bottom-sheet-full .kds-bottom-sheet-body,
6867
+ .kds-theme-root .kds-bottom-sheet-full .kds-bottom-sheet-body .kds-theme-root {
6868
+ display: flex;
6869
+ flex: 1;
6870
+ flex-direction: column;
6871
+ }
6872
+
6873
+ /* ========================================
6874
+ DOCUMENT FRAME (.kds-document-frame)
6875
+ Documento embebido (iframe) que llena su contenedor. --kds-document-frame-scale achica
6876
+ documentos pensados para un viewport de escritorio: el iframe se arma más ancho y se
6877
+ escala, así letra, títulos y márgenes bajan juntos.
6878
+ ======================================== */
6879
+
6880
+ .kds-theme-root .kds-document-frame {
6881
+ --kds-document-frame-scale: 1;
6882
+ position: relative;
6883
+ flex: 1;
6884
+ min-height: var(--kds-document-frame-min-height, 12rem);
6885
+ overflow: hidden;
6886
+ }
6887
+
6888
+ .kds-theme-root .kds-document-frame > iframe {
6889
+ position: absolute;
6890
+ top: 0;
6891
+ left: 0;
6892
+ width: calc(100% / var(--kds-document-frame-scale));
6893
+ height: calc(100% / var(--kds-document-frame-scale));
6894
+ border: 0;
6895
+ transform: scale(var(--kds-document-frame-scale));
6896
+ transform-origin: 0 0;
6897
+ }
6898
+
6857
6899
  .kds-theme-root .kds-bottom-sheet-icon {
6858
6900
  font-size: var(--kds-font-size-4xl);
6859
6901
  }