@khipu/design-system 0.2.0-alpha.31 → 0.2.0-alpha.33

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-04T13:33:39.898Z
16
+ * Generated: 2026-06-09T13:05:49.029Z
17
17
  *
18
18
  * To regenerate:
19
19
  * cd design-system && npm run tokens:generate
@@ -50,16 +50,20 @@
50
50
  --kds-color-success-main: #2E7D32;
51
51
  --kds-color-success-light: #4CAF50;
52
52
  --kds-color-success-dark: #1B5E20;
53
+ --kds-color-success-contrast: #FFFFFF;
53
54
  --kds-color-warning-main: #EF6C00;
54
55
  --kds-color-warning-light: #FF9800;
55
56
  --kds-color-warning-dark: #E65100;
57
+ --kds-color-warning-contrast: #FFFFFF;
56
58
  --kds-color-warning-warm: #8A6D1A;
57
59
  --kds-color-error-main: #D32F2F;
58
60
  --kds-color-error-light: #EF5350;
59
61
  --kds-color-error-dark: #C62828;
62
+ --kds-color-error-contrast: #FFFFFF;
60
63
  --kds-color-info-main: #0288D1;
61
64
  --kds-color-info-light: #03A9F4;
62
65
  --kds-color-info-dark: #01579B;
66
+ --kds-color-info-contrast: #FFFFFF;
63
67
  --kds-color-info-blue: #5A5FE0;
64
68
 
65
69
  /* Text colors */
@@ -5984,6 +5988,9 @@
5984
5988
  place-items: center;
5985
5989
  color: #fff;
5986
5990
  flex-shrink: 0;
5991
+ /* Clip the slightly-oversized logo (see `.kds-invoice-merchant img`) to the
5992
+ rounded square so it can fully cover the deep-purple background. */
5993
+ overflow: hidden;
5987
5994
  }
5988
5995
 
5989
5996
  .kds-theme-root .kds-invoice-merchant i {
@@ -6003,8 +6010,11 @@
6003
6010
  }
6004
6011
 
6005
6012
  .kds-theme-root .kds-invoice-merchant img {
6006
- width: 100%;
6007
- height: 100%;
6013
+ /* Slightly larger than the container (+2px, centered by the grid) so the
6014
+ logo overflows under the parent's rounded clip and the deep-purple
6015
+ background never peeks through at the corners when the logo shrinks. */
6016
+ width: calc(100% + 2px);
6017
+ height: calc(100% + 2px);
6008
6018
  object-fit: cover;
6009
6019
  border-radius: var(--kds-radius-md);
6010
6020
  }
@@ -6207,6 +6217,39 @@
6207
6217
  box-shadow: none;
6208
6218
  }
6209
6219
 
6220
+ /* -- Button Warning (amber CTA) -- */
6221
+ .kds-theme-root button.kds-btn-warning,
6222
+ .kds-theme-root a.kds-btn-warning {
6223
+ background: var(--kds-color-warning-main);
6224
+ color: var(--kds-color-warning-contrast);
6225
+ border: none;
6226
+ }
6227
+
6228
+ .kds-theme-root button.kds-btn-warning:hover:not(:disabled),
6229
+ .kds-theme-root a.kds-btn-warning:hover:not(:disabled) {
6230
+ background: var(--kds-color-warning-dark);
6231
+ }
6232
+
6233
+ .kds-theme-root button.kds-btn-warning:active:not(:disabled),
6234
+ .kds-theme-root button.kds-btn-warning:focus-visible:not(:disabled),
6235
+ .kds-theme-root a.kds-btn-warning:active:not(:disabled),
6236
+ .kds-theme-root a.kds-btn-warning:focus-visible:not(:disabled) {
6237
+ background: var(--kds-color-warning-dark);
6238
+ outline: 2px solid var(--kds-color-warning-main);
6239
+ outline-offset: 2px;
6240
+ }
6241
+
6242
+ .kds-theme-root button.kds-btn-warning:disabled,
6243
+ .kds-theme-root a.kds-btn-warning:disabled {
6244
+ background-color: var(--kds-color-action-disabled-bg);
6245
+ color: var(--kds-color-action-disabled);
6246
+ box-shadow: none;
6247
+ }
6248
+
6249
+ .kds-theme-root button.kds-btn-warning::after {
6250
+ display: none;
6251
+ }
6252
+
6210
6253
  /* -- Field Helper Text -- */
6211
6254
  .kds-theme-root .kds-field-helper {
6212
6255
  font-size: var(--kds-font-size-xs);
@@ -7417,7 +7460,8 @@
7417
7460
  margin-bottom: var(--kds-spacing-4);
7418
7461
  }
7419
7462
 
7420
- .kds-theme-root .kds-payment-total .kds-payment-amount .kds-payment-total-decimal-sup {
7463
+ .kds-theme-root .kds-payment-total .kds-payment-amount .kds-payment-total-decimal-sup,
7464
+ .kds-theme-root .kds-invoice-amount .kds-payment-total-decimal-sup {
7421
7465
  font-size: var(--kds-font-size-decimal-sup);
7422
7466
  font-weight: var(--kds-font-weight-semibold);
7423
7467
  position: relative;