@khipu/design-system 0.2.0-alpha.35 → 0.2.0-alpha.37

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-06-09T19:35:12.251Z
16
+ * Generated: 2026-06-09T21:03:55.063Z
17
17
  *
18
18
  * To regenerate:
19
19
  * cd design-system && npm run tokens:generate
@@ -856,7 +856,10 @@
856
856
 
857
857
  /* Interaction */
858
858
  cursor: pointer;
859
- transition: background .15s, box-shadow .15s, transform .05s;
859
+ transition: background-color var(--kds-transition-shorter) var(--kds-easing-standard),
860
+ color var(--kds-transition-shorter) var(--kds-easing-standard),
861
+ box-shadow var(--kds-transition-shorter) var(--kds-easing-standard),
862
+ transform var(--kds-transition-shortest) var(--kds-easing-standard);
860
863
  box-sizing: border-box;
861
864
  vertical-align: middle;
862
865
  }
@@ -998,6 +1001,30 @@
998
1001
  box-shadow: none;
999
1002
  }
1000
1003
 
1004
+ /* Error text (destructive, ghost) — red text, no fill/border. Para acciones
1005
+ destructivas secundarias que no deben competir con el CTA primario. */
1006
+ .kds-theme-root button.kds-btn-error-text,
1007
+ .kds-theme-root a.kds-btn-error-text {
1008
+ background: transparent;
1009
+ color: var(--kds-color-error-main);
1010
+ border: none;
1011
+ padding: 6px var(--kds-spacing-2);
1012
+ min-height: 32px;
1013
+ box-shadow: none;
1014
+ }
1015
+
1016
+ .kds-theme-root button.kds-btn-error-text:hover:not(:disabled),
1017
+ .kds-theme-root a.kds-btn-error-text:hover:not(:disabled) {
1018
+ color: var(--kds-color-error-dark);
1019
+ }
1020
+
1021
+ .kds-theme-root button.kds-btn-error-text:disabled,
1022
+ .kds-theme-root a.kds-btn-error-text:disabled {
1023
+ background: transparent;
1024
+ color: var(--kds-color-action-disabled);
1025
+ box-shadow: none;
1026
+ }
1027
+
1001
1028
  /* Icon wrapper - control size via span container */
1002
1029
  .kds-theme-root button.kds-btn > .kds-icon,
1003
1030
  .kds-theme-root a.kds-btn > .kds-icon {