@khipu/design-system 0.2.0-alpha.121 → 0.2.0-alpha.123
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.
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
15
15
|
* Source: design-system/src/tokens/tokens.json
|
|
16
|
-
* Generated: 2026-07-
|
|
16
|
+
* Generated: 2026-07-15T17:26:35.885Z
|
|
17
17
|
*
|
|
18
18
|
* To regenerate:
|
|
19
19
|
* cd design-system && npm run tokens:generate
|
|
@@ -8610,6 +8610,62 @@
|
|
|
8610
8610
|
}
|
|
8611
8611
|
}
|
|
8612
8612
|
|
|
8613
|
+
/* === Accordion (componente KdsAccordion) ============================= */
|
|
8614
|
+
/* El bundle solo estilaba .kds-contract-accordion; estas son las clases
|
|
8615
|
+
que emite el componente React (details/summary con chevron propio). */
|
|
8616
|
+
|
|
8617
|
+
.kds-theme-root .kds-accordion {
|
|
8618
|
+
border: 1px solid var(--kds-accordion-border);
|
|
8619
|
+
border-radius: var(--kds-radius-md);
|
|
8620
|
+
overflow: hidden;
|
|
8621
|
+
}
|
|
8622
|
+
|
|
8623
|
+
.kds-theme-root .kds-accordion + .kds-accordion {
|
|
8624
|
+
margin-top: var(--kds-spacing-1);
|
|
8625
|
+
}
|
|
8626
|
+
|
|
8627
|
+
.kds-theme-root .kds-accordion-summary {
|
|
8628
|
+
align-items: center;
|
|
8629
|
+
background: var(--kds-accordion-header-bg);
|
|
8630
|
+
color: var(--kds-color-text-primary);
|
|
8631
|
+
cursor: pointer;
|
|
8632
|
+
display: flex;
|
|
8633
|
+
font-weight: var(--kds-font-weight-semibold);
|
|
8634
|
+
justify-content: space-between;
|
|
8635
|
+
list-style: none;
|
|
8636
|
+
padding: var(--kds-spacing-1) var(--kds-spacing-2);
|
|
8637
|
+
transition: background 0.2s ease;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
.kds-theme-root .kds-accordion-summary::-webkit-details-marker {
|
|
8641
|
+
display: none;
|
|
8642
|
+
}
|
|
8643
|
+
|
|
8644
|
+
.kds-theme-root .kds-accordion-summary:hover {
|
|
8645
|
+
background: var(--kds-color-background-elevated);
|
|
8646
|
+
}
|
|
8647
|
+
|
|
8648
|
+
.kds-theme-root .kds-accordion-summary > .material-symbols-outlined {
|
|
8649
|
+
transition: transform 0.3s ease;
|
|
8650
|
+
}
|
|
8651
|
+
|
|
8652
|
+
.kds-theme-root .kds-accordion[open] > .kds-accordion-summary > .material-symbols-outlined {
|
|
8653
|
+
transform: rotate(180deg);
|
|
8654
|
+
}
|
|
8655
|
+
|
|
8656
|
+
.kds-theme-root .kds-accordion[open] > .kds-accordion-summary {
|
|
8657
|
+
background: var(--kds-accordion-bg-open);
|
|
8658
|
+
border-bottom: 1px solid var(--kds-accordion-border);
|
|
8659
|
+
}
|
|
8660
|
+
|
|
8661
|
+
.kds-theme-root .kds-accordion-details {
|
|
8662
|
+
background: var(--kds-accordion-bg-open);
|
|
8663
|
+
color: var(--kds-color-text-secondary);
|
|
8664
|
+
font-size: var(--kds-font-size-sm);
|
|
8665
|
+
line-height: var(--kds-line-height-relaxed);
|
|
8666
|
+
padding: var(--kds-spacing-1) var(--kds-spacing-2);
|
|
8667
|
+
}
|
|
8668
|
+
|
|
8613
8669
|
|
|
8614
8670
|
/* coexistence: scope wrapper must not impose layout on the host */
|
|
8615
8671
|
.kds-theme-root{display:contents}
|