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

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-05T18:10:35.572Z
19
19
  *
20
20
  * To regenerate:
21
21
  * cd design-system && npm run tokens:generate
@@ -6743,6 +6743,26 @@
6743
6743
  --kds-typography-h2-margin-block-end: 0;
6744
6744
  }
6745
6745
 
6746
+ /* Inline with description (KdsStatusBlock inline + description): the description is a
6747
+ full-width paragraph below the icon+title row, spacing-1 under it. The block drops its
6748
+ bottom padding and owns the gap to what follows (spacing-2), so consumers never add
6749
+ margins around the description. kds-btn-stack and kds-share-card already carry that
6750
+ top margin themselves. */
6751
+ .kds-theme-root .kds-status-block.inline.kds-status-block--described {
6752
+ flex-wrap: wrap;
6753
+ row-gap: var(--kds-spacing-1);
6754
+ padding-bottom: 0;
6755
+ }
6756
+
6757
+ .kds-theme-root .kds-status-block--described > .kds-status-block-description {
6758
+ flex-basis: 100%;
6759
+ }
6760
+
6761
+ .kds-theme-root .kds-status-block--described + .kds-alert,
6762
+ .kds-theme-root .kds-status-block--described + .kds-copy-row {
6763
+ margin-top: var(--kds-spacing-2);
6764
+ }
6765
+
6746
6766
  /* Banda: el bloque de estado sobre una superficie sutil, para cuando acompaña
6747
6767
  al contenido en lugar de encabezar la pantalla. Va después de `.inline`
6748
6768
  porque marca igual en especificidad y necesita ganarle el padding. */
@@ -6854,6 +6874,48 @@
6854
6874
  min-height: 0;
6855
6875
  }
6856
6876
 
6877
+ /* Variante alta (size="full"): contenido largo (documentos, textos legales) usa todo el alto
6878
+ máximo del sheet y el body se estira para que un hijo lo llene. Los .kds-theme-root son
6879
+ envoltorios transparentes que el consumidor puede meter entre el body y el contenido (p. ej.
6880
+ un KdsRoot dentro de un div display:contents), así que se estiran a cualquier profundidad. */
6881
+ .kds-theme-root .kds-bottom-sheet-full {
6882
+ height: 90vh;
6883
+ height: 90dvh;
6884
+ }
6885
+
6886
+ .kds-theme-root .kds-bottom-sheet-full .kds-bottom-sheet-body,
6887
+ .kds-theme-root .kds-bottom-sheet-full .kds-bottom-sheet-body .kds-theme-root {
6888
+ display: flex;
6889
+ flex: 1;
6890
+ flex-direction: column;
6891
+ }
6892
+
6893
+ /* ========================================
6894
+ DOCUMENT FRAME (.kds-document-frame)
6895
+ Documento embebido (iframe) que llena su contenedor. --kds-document-frame-scale achica
6896
+ documentos pensados para un viewport de escritorio: el iframe se arma más ancho y se
6897
+ escala, así letra, títulos y márgenes bajan juntos.
6898
+ ======================================== */
6899
+
6900
+ .kds-theme-root .kds-document-frame {
6901
+ --kds-document-frame-scale: 1;
6902
+ position: relative;
6903
+ flex: 1;
6904
+ min-height: var(--kds-document-frame-min-height, 12rem);
6905
+ overflow: hidden;
6906
+ }
6907
+
6908
+ .kds-theme-root .kds-document-frame > iframe {
6909
+ position: absolute;
6910
+ top: 0;
6911
+ left: 0;
6912
+ width: calc(100% / var(--kds-document-frame-scale));
6913
+ height: calc(100% / var(--kds-document-frame-scale));
6914
+ border: 0;
6915
+ transform: scale(var(--kds-document-frame-scale));
6916
+ transform-origin: 0 0;
6917
+ }
6918
+
6857
6919
  .kds-theme-root .kds-bottom-sheet-icon {
6858
6920
  font-size: var(--kds-font-size-4xl);
6859
6921
  }