@club-employes/utopia 4.392.0 → 4.393.0

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.
@@ -1,9 +1,17 @@
1
1
  import { ProductRecapProps } from '../ProductRecap/types';
2
- /** A read-only info block — delivery/billing address or payment details.
2
+ /** A read-only info block — delivery/billing address.
3
3
  * `lines` are pre-formatted strings, each rendered as its own row. */
4
- export interface CartConfirmationInfoBlock {
4
+ export interface CartConfirmationAddress {
5
5
  title: string;
6
- lines: string[];
6
+ lines?: string[];
7
+ }
8
+ export type CartConfirmationPaymentType = 'default' | 'google-pay' | 'apple-pay';
9
+ /** A read-only info block — payment details.
10
+ * `lines` are pre-formatted strings, each rendered as its own row. */
11
+ export interface CartConfirmationPayment {
12
+ title: string;
13
+ type: CartConfirmationPaymentType;
14
+ lines?: string[];
7
15
  }
8
16
  /** Color of the leading bullet on a savings line. */
9
17
  export type CartConfirmationSavingColor = 'accent' | 'subvention' | 'echeque' | 'secondary';
@@ -48,9 +56,9 @@ export interface CartConfirmationProps {
48
56
  /** Product rows. Rendered read-only (no stepper, no delete) by CartConfirmation. */
49
57
  products?: ProductRecapProps[];
50
58
  /** Delivery & billing address block. */
51
- address?: CartConfirmationInfoBlock[];
59
+ address?: CartConfirmationAddress[];
52
60
  /** Payment details block. */
53
- payment?: CartConfirmationInfoBlock;
61
+ payment?: CartConfirmationPayment;
54
62
  /** Totals + savings column. */
55
63
  summary?: CartConfirmationSummary;
56
64
  }
@@ -13,6 +13,9 @@ export interface OrderRecapCagnotte {
13
13
  title: string;
14
14
  captionLabel: string;
15
15
  captionValue: string;
16
+ coinConversionReminder?: string;
17
+ coinDiscountLabel?: string;
18
+ coinDiscountValue?: string;
16
19
  maxValue: number;
17
20
  appliedValue: number;
18
21
  currencyIcon: string;
@@ -42,6 +45,7 @@ export interface OrderRecapProps {
42
45
  title: string;
43
46
  manageLabel?: string;
44
47
  hasSubvention?: boolean;
48
+ disabled?: boolean;
45
49
  };
46
50
  discounts?: OrderRecapDiscountSection[];
47
51
  /** Cagnotte block — hidden when absent */