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