@khipu/design-system 0.2.0-alpha.133 → 0.2.0-alpha.135
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.
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
13
13
|
* Source: design-system/src/tokens/tokens.json
|
|
14
|
-
* Generated: 2026-07-
|
|
14
|
+
* Generated: 2026-07-21T22:01:58.921Z
|
|
15
15
|
*
|
|
16
16
|
* To regenerate:
|
|
17
17
|
* cd design-system && npm run tokens:generate
|
|
@@ -1010,6 +1010,17 @@ a.kds-btn {
|
|
|
1010
1010
|
vertical-align: middle;
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
|
+
/* Sin anillo de focus en botones: decision de diseno (KTUF-210) — el estado de
|
|
1014
|
+
focus/active se comunica solo con el cambio de fondo de cada variante. */
|
|
1015
|
+
button.kds-btn:focus,
|
|
1016
|
+
button.kds-btn:focus-visible,
|
|
1017
|
+
a.kds-btn:focus,
|
|
1018
|
+
a.kds-btn:focus-visible,
|
|
1019
|
+
button.kds-fab:focus,
|
|
1020
|
+
button.kds-fab:focus-visible {
|
|
1021
|
+
outline: none;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1013
1024
|
/* Active state - add subtle press effect */
|
|
1014
1025
|
button.kds-btn:active:not(:disabled),
|
|
1015
1026
|
a.kds-btn:active:not(:disabled) {
|
|
@@ -1048,8 +1059,6 @@ button.kds-btn-primary:focus-visible:not(:disabled),
|
|
|
1048
1059
|
a.kds-btn-primary:active:not(:disabled),
|
|
1049
1060
|
a.kds-btn-primary:focus-visible:not(:disabled) {
|
|
1050
1061
|
background: var(--kds-color-primary-dark);
|
|
1051
|
-
outline: 2px solid var(--kds-color-primary-main);
|
|
1052
|
-
outline-offset: 2px;
|
|
1053
1062
|
}
|
|
1054
1063
|
|
|
1055
1064
|
/* Dark mode: the button is a light lavender with dark text, so hover/active must
|
|
@@ -1136,14 +1145,13 @@ a.kds-btn-outlined-white:hover:not(:disabled) {
|
|
|
1136
1145
|
opacity: 0.9;
|
|
1137
1146
|
}
|
|
1138
1147
|
|
|
1139
|
-
/* Text button
|
|
1148
|
+
/* Text button — mismo tamaño que el resto de variantes (hereda min-height/padding
|
|
1149
|
+
del base): solo cambia la superficie, no la caja. */
|
|
1140
1150
|
button.kds-btn-text,
|
|
1141
1151
|
a.kds-btn-text {
|
|
1142
1152
|
background: transparent;
|
|
1143
1153
|
color: var(--kds-color-primary-main);
|
|
1144
1154
|
border: none;
|
|
1145
|
-
padding: 6px var(--kds-spacing-2); /* Menor padding para text variant */
|
|
1146
|
-
min-height: 32px; /* Menor altura para text variant */
|
|
1147
1155
|
box-shadow: none;
|
|
1148
1156
|
}
|
|
1149
1157
|
|
|
@@ -1172,8 +1180,6 @@ a.kds-btn-error-text {
|
|
|
1172
1180
|
background: transparent;
|
|
1173
1181
|
color: var(--kds-color-error-main);
|
|
1174
1182
|
border: none;
|
|
1175
|
-
padding: 6px var(--kds-spacing-2);
|
|
1176
|
-
min-height: 32px;
|
|
1177
1183
|
box-shadow: none;
|
|
1178
1184
|
}
|
|
1179
1185
|
|
|
@@ -5971,10 +5977,7 @@ button.kds-fab:active:not(:disabled) {
|
|
|
5971
5977
|
transform: translateY(var(--kds-spacing-0-25));
|
|
5972
5978
|
}
|
|
5973
5979
|
|
|
5974
|
-
|
|
5975
|
-
outline: var(--kds-spacing-0-25) solid var(--kds-color-primary-main);
|
|
5976
|
-
outline-offset: var(--kds-spacing-0-25);
|
|
5977
|
-
}
|
|
5980
|
+
|
|
5978
5981
|
|
|
5979
5982
|
.kds-fab > i.material-symbols-outlined {
|
|
5980
5983
|
font-size: var(--kds-spacing-button-icon-size);
|
|
@@ -7334,8 +7337,6 @@ button.kds-btn-warning:focus-visible:not(:disabled),
|
|
|
7334
7337
|
a.kds-btn-warning:active:not(:disabled),
|
|
7335
7338
|
a.kds-btn-warning:focus-visible:not(:disabled) {
|
|
7336
7339
|
background: var(--kds-color-warning-dark);
|
|
7337
|
-
outline: 2px solid var(--kds-color-warning-main);
|
|
7338
|
-
outline-offset: 2px;
|
|
7339
7340
|
}
|
|
7340
7341
|
|
|
7341
7342
|
button.kds-btn-warning:disabled,
|
|
@@ -7367,8 +7368,6 @@ button.kds-btn-error:focus-visible:not(:disabled),
|
|
|
7367
7368
|
a.kds-btn-error:active:not(:disabled),
|
|
7368
7369
|
a.kds-btn-error:focus-visible:not(:disabled) {
|
|
7369
7370
|
background: var(--kds-color-error-dark);
|
|
7370
|
-
outline: 2px solid var(--kds-color-error-main);
|
|
7371
|
-
outline-offset: 2px;
|
|
7372
7371
|
}
|
|
7373
7372
|
|
|
7374
7373
|
button.kds-btn-error:disabled,
|