@club-employes/utopia 4.350.0 → 4.351.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,2 +1,2 @@
1
1
  export { default as DeliveryMethodSelector } from './DeliveryMethodSelector';
2
- export type { DeliveryMethodSelectorProps } from './types';
2
+ export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './types';
@@ -13,7 +13,7 @@ export interface DeliveryMethodProductRecap {
13
13
  /** A single selectable shipping/delivery method. */
14
14
  export interface DeliveryMethod {
15
15
  /** Whether this method is currently selected. Selection is driven externally. */
16
- active: boolean;
16
+ active?: boolean;
17
17
  /** Method name, e.g. "Lettre suivie". */
18
18
  title?: string;
19
19
  /** Pre-formatted price, e.g. "3,30 €". The component never formats. */
@@ -5,7 +5,7 @@ export interface OrderRecapPriceLine {
5
5
  export interface OrderRecapDiscountSection {
6
6
  label: string;
7
7
  total: string;
8
- color: 'accent' | 'subvention';
8
+ color?: 'accent' | 'subvention' | 'secondary';
9
9
  lines: OrderRecapPriceLine[];
10
10
  defaultExpanded?: boolean;
11
11
  }
@@ -33,4 +33,4 @@ export { OrderRecap, type OrderRecapProps, type OrderRecapMessage } from './Orde
33
33
  export { SummaryMetricCard } from './SummaryMetricCard';
34
34
  export type { SummaryMetricCardProps } from './SummaryMetricCard';
35
35
  export { DeliveryMethodSelector } from './DeliveryMethodSelector';
36
- export type { DeliveryMethodSelectorProps } from './DeliveryMethodSelector';
36
+ export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './DeliveryMethodSelector';
package/dist/index.d.ts CHANGED
@@ -98,7 +98,7 @@ export type { InputSearchProps } from './components/organisms/InputSearch/types'
98
98
  export type { ProductRecapProps } from './components/organisms/ProductRecap/types';
99
99
  export type { OrderRecapProps, OrderRecapMessage } from './components/organisms/OrderRecap/types';
100
100
  export type { SummaryMetricCardProps } from './components/organisms/SummaryMetricCard/types';
101
- export type { DeliveryMethodSelectorProps } from './components/organisms/DeliveryMethodSelector/types';
101
+ export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './components/organisms/DeliveryMethodSelector/types';
102
102
  export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
103
103
  export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
104
104
  export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';